Commit Graph

564 Commits

Author SHA1 Message Date
sub.mohanty@samsung.com
e99767bb90 rlottie: refactor meson build file 2019-06-29 20:19:39 +09:00
sub.mohanty@samsung.com
5b79983f0a rlottie: make dependancy to dl library optional for windows build 2019-06-29 17:48:55 +09:00
Vincent Torri
18f8caa199 Iamage loader: include windows.h and not Windows.h
Indeed, when cross-compiling on Linux, which has a case
sensitive file system, and as minwg-w64 provides windows.h,
we must use lower case name for header files.
2019-06-29 17:44:34 +09:00
sub.mohanty@samsung.com
7219aeca64 rlottie: Get size data from the model 2019-06-27 21:50:31 +09:00
JunsuChoi
abff77e985 Fix typo that incorrect matrix information. 2019-06-26 20:45:46 +09:00
subhransu mohanty
c77c7b320f rlottie/vector: backport optimization from freetype 2019-06-26 15:22:04 +09:00
subhransu mohanty
75f9d3ff29 rlottie: Update DirtyMatrix only when needed. 2019-06-26 11:19:58 +09:00
subhransu mohanty
88593df18d rlottie: use correct default opacity value. 2019-06-25 19:16:15 +09:00
Hermet Park
7339baf3e5 rapidjson: filterate BOM encoding mark out as it's necessary.
Previously, json file containing BOM(Byte Order Mark),
it wouldn't recognize it as the normal data,

Our StringStream could filter out BOM if it's necessary.

See: https://en.wikipedia.org/wiki/Byte_order_mark
2019-06-25 16:26:51 +09:00
subhransu mohanty
a5b6a23bd5 rlottie/model: Refactor LOTTransformData object to optimize object size 2019-06-25 10:17:00 +09:00
subhransu mohanty
b2ded242de rlottie: ran clang-format with the latest code 2019-06-24 17:04:09 +09:00
subhransu mohanty
9c1cba05a6 rlottie: Fix build break 2019-06-24 15:56:38 +09:00
Hermet Park
daa83c0819 example: changed file permission.
Keep their access mode as others' same.
2019-06-24 15:52:05 +09:00
Hermet Park
93e10f906b example: remove some example resources.
These are not guranteed as free resources.
2019-06-24 15:49:21 +09:00
subhransu mohanty
49282955ac rlottie: Fix clang-tidy warning 2019-06-24 14:52:57 +09:00
subhransu mohanty
1da13ccaab rlottie: Fix issue with Line join(Miter) by using the implementation similar to what PDF uses.
Freetype has 2 types of miter join SW_FT_STROKER_LINEJOIN_MITER_VARIABLE and SW_FT_STROKER_LINEJOIN_MITER_FIXED.
SW_FT_STROKER_LINEJOIN_MITER_FIXED is similar to what PostScrip and PDF generates.
SW_FT_STROKER_LINEJOIN_MITER_VARIABLE is similar to what XPS generates.
2019-06-24 14:02:11 +09:00
sub.mohanty@samsung.com
235fe04025 rlottie: Add LOTTIE_CACHE_SUPPORT config variable to enable/disable lottie model cache strategy 2019-06-24 09:07:21 +09:00
subhransu mohanty
c86f17b94d rlottie: disable copy and move operation for layeritem and contentitem 2019-06-21 11:38:08 +09:00
Hermet Park
3f404a0218 capi: expose layer item name for utiliziing by demand. 2019-06-20 17:15:21 +09:00
subhransu mohanty
582e05af30 rlottie: Fix all cppcheck warnings. 2019-06-20 10:00:46 +09:00
Subhransu Mohanty
7dbb3845d9 rlottie: Fix a issue when shape animation data are not same size 2019-06-19 18:08:27 +09:00
subhransu mohanty
482ac8738e rlottie: fix typo which was causing invalid memory read 2019-06-19 09:10:12 +09:00
subhransu mohanty
5580a60813 rlottie: Fix issue with handling hidden Layer 2019-06-18 13:56:29 +09:00
subhransu mohanty
a3b8db4c44 rlottie/optimization: remove unnecessary pointer indirection to optimize memory allocation. 2019-06-17 15:34:21 +09:00
subhransu mohanty
9776cbeac7 rlottie: Refactor Rle Generation to optimize memory allocation.
Moved the Rle Generation to Rasterizer class which will take care of
handling async rle generation efficiently by reusing Task.
Now Rle Task scheduler will take a shared_ptr to the Task data which will
be created once in Rasterizer.
2019-06-17 12:56:34 +09:00
subhransu mohanty
f55ddc8b8c rlottie: Keep an offscreen buffer in the layer.
The offscreen buffer is created on demand if the layer has any matte.
so we only create the buffer once and reuse for subsequent frame rendering.
2019-06-12 16:53:02 +09:00
subhransu mohanty
5f6e550111 lottie/vector: Added reset api to VBitmap class 2019-06-12 16:47:19 +09:00
JunsuChoi
4bc1a193af lottieitem : Fix layer alpha transparency issue.
When a layer has transparency, we need to send it to layer node.
So I add mAlpha member to the LOTLayerItem.
2019-06-12 13:55:43 +09:00
sub.mohanty@samsung.com
244198225f rlottie/cmake: Fix cmake build issue for Mac 2019-06-08 23:50:34 +09:00
subhransu mohanty
6f5c8a074d meson/build: meson has builtin option 'b_sanitize' to run asan msan and tsan 2019-06-07 10:59:36 +09:00
subhransu mohanty
1d4716e03d rlottie/json: updated to latest rapidjson 2019-06-05 12:45:11 +09:00
subhransu mohanty
ebfe68ba55 rlottie/parser: opacity attribute can be float 2019-06-04 17:46:34 +09:00
subhransu mohanty
11c7403768 rlottie/example: refactor to use evas_object_image_pixels_dirty_set() api 2019-06-04 14:00:21 +09:00
subhransu mohanty
e521b6d8df rlottie/parser: Fix build after refactoring 2019-06-04 10:11:53 +09:00
subhransu mohanty
2b8ce3d6c3 rlottie: Fix precomp layer rendering issue when it has alpha value
When the precomp layer has alpha transparency and has more than 1 child layer and they overlap each other
if we just propagate the alpha to child layer it will be applied twice in overlapped area.
in this case we treat the precomp layer as complex content and don't propagate the alpha transparency.
instead we create a buffer and draw all the child layers and then we blend with the main buffer
with the alpha transparency value.
2019-06-04 09:57:08 +09:00
subhransu mohanty
574122b5a4 raster/drawing: updated drawbitmap api with const_alpha support 2019-06-03 16:20:33 +09:00
subhransu mohanty
4f33db73ef rlottie: optimize rendering when final opacity of layer is Zero 2019-06-03 13:50:10 +09:00
subhransu mohanty
07e065a6b0 vector: reserve some memory before starting dash operation 2019-06-03 12:30:10 +09:00
subhransu mohanty
8eab41abd3 example: update example with exploding star resource 2019-06-03 10:43:44 +09:00
subhransu mohanty
3f4ef28dfa rlottie: optimize matte rendering when both src and matte are invisible 2019-06-03 09:15:34 +09:00
subhransu mohanty
4fe3a3072b vector: refactor gradient cache 2019-05-31 10:27:37 +09:00
subhransu mohanty
710a4fd208 vector: keep a shared reference to cached color table 2019-05-31 09:44:07 +09:00
subhransu mohanty
e00ca32669 rlottie/example: Fixed asan warning of unintialized pointer access 2019-05-31 08:49:39 +09:00
Hermet Park
07ff41c457 updated AUTHORS 2019-05-30 20:33:32 +09:00
subhransu mohanty
fde9da3348 rlottie: Use optimization level -Os to further reduce library size 2019-05-30 14:12:08 +09:00
subhransu mohanty
7dc52c6b41 rlottie: Optimize library size by disabling exception table generation (.eh_frame section) 2019-05-30 13:42:02 +09:00
subhransu mohanty
8e029e1c32 rlottie: Optimize library size when logging is disabled 2019-05-30 10:08:36 +09:00
subhransu mohanty
3729f402ff rlottie: disable RTTI use to optimize library size 2019-05-30 09:58:15 +09:00
subhransu mohanty
93f4288211 refactor to remove all dynamic_cast usage 2019-05-30 09:18:14 +09:00
subhransu mohanty
998913ec5c rlottie: Added no-exception flag to build 2019-05-30 08:36:53 +09:00