platform/core/uifw/lottie-player.git
3 years agoModify: Update .gitignore accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113123 accepted/tizen/6.0/unified/hotfix/20201103.001003 accepted/tizen/unified/20200928.072822 submit/tizen/20200927.213403 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
msnodeve [Wed, 23 Sep 2020 16:01:08 +0000 (01:01 +0900)]
Modify: Update .gitignore

- Add the text 'builddir_wasm' in .gitignore

3 years agoDocs: Fix README typo
sjh7141 [Wed, 23 Sep 2020 08:23:56 +0000 (17:23 +0900)]
Docs: Fix README typo

- with -> width
- Scale -> Rotation

3 years agoupdated license in spec file. accepted/tizen/unified/20200923.024105 submit/tizen/20200920.213436
Hermet Park [Thu, 17 Sep 2020 03:22:43 +0000 (12:22 +0900)]
updated license in spec file.

rlottie newly use MPL license code at vInterpolator

Change-Id: I7c0513949f9f355df20f3ba80fa23769025a9a8e

3 years agoDocs: Fix README typo
서지훈 [Sun, 13 Sep 2020 16:02:18 +0000 (01:02 +0900)]
Docs: Fix README typo

Change-Id: Iad58c140db68a3e0778209bb664682555e91485d

3 years agoUpdate README.md accepted/tizen/unified/20200914.131351 submit/tizen/20200913.215058
Hermet Park [Thu, 10 Sep 2020 01:54:58 +0000 (10:54 +0900)]
Update README.md

3 years agoFixed README typo
신채린 [Sun, 6 Sep 2020 17:47:46 +0000 (02:47 +0900)]
Fixed README typo

3 years agofixed readme typo accepted/tizen/unified/20200907.045101 submit/tizen/20200830.214225 submit/tizen/20200901.214039 submit/tizen/20200906.212734
Moein Mohammadian [Sat, 29 Aug 2020 23:25:11 +0000 (03:55 +0430)]
fixed readme typo

3 years agoci: upgrade windows build chain to VS2017 accepted/tizen/unified/20200824.134430 submit/tizen/20200823.213148
Subhransu Mohanty [Fri, 21 Aug 2020 05:23:08 +0000 (14:23 +0900)]
ci: upgrade windows build chain to VS2017

3 years agofixed sign extension warning
Subhransu Mohanty [Thu, 20 Aug 2020 01:28:56 +0000 (10:28 +0900)]
fixed sign extension warning

3 years agobuild: use shared_module instead of shared_library
Vincent Torri [Wed, 19 Aug 2020 04:55:22 +0000 (06:55 +0200)]
build: use shared_module instead of shared_library

3 years agorelease: prepare for 0.2 release
Subhransu Mohanty [Wed, 19 Aug 2020 02:50:33 +0000 (11:50 +0900)]
release: prepare for 0.2 release

3 years agofix warnings
Subhransu Mohanty [Wed, 19 Aug 2020 01:36:54 +0000 (10:36 +0900)]
fix warnings

3 years agovector: refactor vrle class
Subhransu Mohanty [Tue, 18 Aug 2020 01:53:57 +0000 (10:53 +0900)]
vector: refactor vrle class

3 years agorender: fix issue with mask opacity handling
Subhransu Mohanty [Tue, 18 Aug 2020 04:10:40 +0000 (13:10 +0900)]
render: fix issue with mask opacity handling

3 years agoexample: added a perf test to keep track of performance accepted/tizen/unified/20200820.034626 submit/tizen/20200817.223215
sub.mohanty@samsung.com [Mon, 17 Aug 2020 07:11:47 +0000 (16:11 +0900)]
example: added a perf test to keep track of performance

3 years agovs2019: up-to-date some missed file list.
Hermet Park [Sat, 15 Aug 2020 05:16:08 +0000 (14:16 +0900)]
vs2019: up-to-date some missed file list.

3 years agovs2019: fix all visible configuration errors & warnings.
Hermet Park [Sat, 15 Aug 2020 03:30:54 +0000 (12:30 +0900)]
vs2019: fix all visible configuration errors & warnings.

3 years agorender: keep a path object in solid and image layer for reuse
Subhransu Mohanty [Fri, 14 Aug 2020 09:10:56 +0000 (18:10 +0900)]
render: keep a path object in solid and image layer for reuse

3 years agoignore ds_store
nokeya [Fri, 14 Aug 2020 09:03:01 +0000 (12:03 +0300)]
ignore ds_store

3 years agovector/vrle: added free function for + and & operator
Subhransu Mohanty [Fri, 14 Aug 2020 07:54:35 +0000 (16:54 +0900)]
vector/vrle: added free function for + and & operator

- removed unused functions.

3 years agorlottie: fix mask logic when inverted flag is set.
Subhransu Mohanty [Fri, 14 Aug 2020 06:44:29 +0000 (15:44 +0900)]
rlottie: fix mask logic when inverted flag is set.

Added the test resource that is fixed by this patch.

3 years agoparser: remove dead code
Subhransu Mohanty [Thu, 13 Aug 2020 08:15:56 +0000 (17:15 +0900)]
parser: remove dead code

3 years agolottie: mark render classes final when possible
Subhransu Mohanty [Thu, 13 Aug 2020 07:02:06 +0000 (16:02 +0900)]
lottie: mark render classes final when possible

3 years agooptimization: optimize VBezier::length()
Subhransu Mohanty [Wed, 12 Aug 2020 04:51:09 +0000 (13:51 +0900)]
optimization: optimize VBezier::length()
- force VLine::length() function to be inline.

3 years agovector: added V_ALWAYS_INLINE macro.
Subhransu Mohanty [Wed, 12 Aug 2020 04:29:28 +0000 (13:29 +0900)]
vector: added V_ALWAYS_INLINE macro.

3 years agooptimization: refactor Property class for size optimization.
Subhransu Mohanty [Wed, 12 Aug 2020 02:09:44 +0000 (11:09 +0900)]
optimization: refactor Property class for size optimization.

As only Property<VPointF> in Transform object has the tangent info
added a tag in Property to differentiate form other property.
This will add tangent info to only property that require them.

3 years agobuild: change LOT_BUILD to RLOTTIE_BUILD
Subhransu Mohanty [Tue, 11 Aug 2020 09:25:01 +0000 (18:25 +0900)]
build: change LOT_BUILD to RLOTTIE_BUILD

3 years agoimprove README
nokeya [Tue, 11 Aug 2020 08:39:06 +0000 (11:39 +0300)]
improve README

3 years agoexample: updated test example.
Subhransu Mohanty [Tue, 11 Aug 2020 08:02:32 +0000 (17:02 +0900)]
example: updated test example.

3 years agoexample: update test example with fps info
Subhransu Mohanty [Tue, 11 Aug 2020 06:29:36 +0000 (15:29 +0900)]
example: update test example with fps info

3 years agorlottie/rapidjson: updated to latest rapidjson
Subhransu Mohanty [Tue, 11 Aug 2020 02:15:33 +0000 (11:15 +0900)]
rlottie/rapidjson: updated to latest rapidjson

3 years agoparser: Fix the keyframe cache logic.
Subhransu Mohanty [Tue, 11 Aug 2020 04:40:49 +0000 (13:40 +0900)]
parser: Fix the keyframe cache logic.

For some keyframes the cache function was not getting called.
so move the cache logic to outer function and call it when the property
is fully parsed.

3 years agoparser: optimize zero length path keyframes
Subhransu Mohanty [Tue, 11 Aug 2020 03:32:19 +0000 (12:32 +0900)]
parser: optimize zero length path keyframes

3 years agorlottie: mark all user defined destructor's as noexcept
sub.mohanty@samsung.com [Sun, 9 Aug 2020 03:48:25 +0000 (12:48 +0900)]
rlottie: mark all  user defined destructor's as noexcept

3 years agoAttention, rlottie now has a MIT license. 90/240590/1
Hermet Park [Thu, 6 Aug 2020 11:43:45 +0000 (20:43 +0900)]
Attention, rlottie now has a MIT license.

We switch rlottie base license from LGPL2 to MIT
since we hope our project is more freely used by other projects for better world.

Change-Id: Ibb3023c628cc9d683bc5e577790e016605523f7b

3 years agofix msvc 2019 build accepted/tizen/unified/20200810.123124 submit/tizen/20200809.214919
Александр Першин [Fri, 7 Aug 2020 09:42:14 +0000 (12:42 +0300)]
fix msvc 2019 build

3 years agoparser: Refactor cache computation to fix the issue when no start value provided
sub.mohanty@samsung.com [Sun, 9 Aug 2020 00:10:12 +0000 (09:10 +0900)]
parser: Refactor cache computation to fix the issue when no  start value provided

3 years agoperf: added tAtLength(len, totalLength) api to Bezier.
Subhransu Mohanty [Fri, 7 Aug 2020 02:08:09 +0000 (11:08 +0900)]
perf: added tAtLength(len, totalLength) api to Bezier.

When length of the bezier is known , then pass it to tAtLength function
to avoid doing expensive length() operation again.

3 years agorlottie: rename LOT_EXPORT to RLOTTIE_API
Subhransu Mohanty [Fri, 7 Aug 2020 01:40:05 +0000 (10:40 +0900)]
rlottie: rename LOT_EXPORT to RLOTTIE_API

3 years agorlottie: update license in source and header files
Subhransu Mohanty [Fri, 7 Aug 2020 01:12:34 +0000 (10:12 +0900)]
rlottie: update license in source and header files

3 years agoparser: cache some comutaion during parsing
Subhransu Mohanty [Thu, 6 Aug 2020 03:56:48 +0000 (12:56 +0900)]
parser: cache some comutaion during parsing

3 years agorlottie: remove Qt license as we are no more using any code form Qt
Subhransu Mohanty [Tue, 4 Aug 2020 02:18:46 +0000 (11:18 +0900)]
rlottie: remove Qt license as we are no more using any code form Qt

3 years agolottie/model: Refactor filter model
Subhransu Mohanty [Mon, 3 Aug 2020 04:25:54 +0000 (13:25 +0900)]
lottie/model: Refactor filter model

3 years agobuild: provide cross file for arm build accepted/tizen/unified/20200729.165610 submit/tizen/20200728.225405
Subhransu Mohanty [Mon, 27 Jul 2020 05:24:24 +0000 (14:24 +0900)]
build: provide cross file for arm build

3 years agovector: rendering refactor.
Subhransu Mohanty [Thu, 23 Jul 2020 06:31:16 +0000 (15:31 +0900)]
vector: rendering refactor.
- replaced implementation form qt.
- refactor render function table.
- ran clang-format

3 years agorlottie: update VInterpolator license header
Subhransu Mohanty [Wed, 22 Jul 2020 05:50:19 +0000 (14:50 +0900)]
rlottie: update VInterpolator license header

3 years agoUpdate README.md
Hermet Park [Tue, 21 Jul 2020 04:23:04 +0000 (13:23 +0900)]
Update README.md

adjust icon size.

3 years agowasm: update the build flag to reduce generated wasm file size
Subhransu Mohanty [Tue, 21 Jul 2020 01:43:52 +0000 (10:43 +0900)]
wasm: update the build flag to reduce generated wasm file size

3 years agoexample: discarded efl_animview accepted/tizen/unified/20200721.142252 submit/tizen/20200720.225554
Hermet Park [Mon, 20 Jul 2020 11:13:57 +0000 (20:13 +0900)]
example: discarded efl_animview

this example is no more valid.

3 years agomeson: Added Emscripten wasm build support
Subhransu Mohanty [Mon, 20 Jul 2020 08:07:39 +0000 (17:07 +0900)]
meson: Added Emscripten wasm build support

3 years agoupdated logo resources.
Hermet Park [Mon, 20 Jul 2020 08:07:50 +0000 (17:07 +0900)]
updated logo resources.

re-touched for better quality.

3 years agoREADME: added rlottie logo
Hermet Park [Mon, 20 Jul 2020 08:00:03 +0000 (17:00 +0900)]
README: added rlottie logo

3 years agomeson: Fix build issue when thread support is disabled.
Subhransu Mohanty [Mon, 20 Jul 2020 01:57:19 +0000 (10:57 +0900)]
meson: Fix build issue when thread support is disabled.
updated travis to check this setup.

3 years agotravis: update travis to test for all combination of meson options
Subhransu Mohanty [Mon, 20 Jul 2020 00:24:10 +0000 (09:24 +0900)]
travis: update travis to test for all combination of meson options

3 years agobuildfix: Fix build break when cache support is turned off
Subhransu Mohanty [Mon, 20 Jul 2020 00:26:49 +0000 (09:26 +0900)]
buildfix: Fix build break when cache support is turned off

3 years agolottie: refactor lottie_animation_property_override implementation.
Subhransu Mohanty [Wed, 15 Jul 2020 04:08:33 +0000 (13:08 +0900)]
lottie: refactor lottie_animation_property_override implementation.

as va_arg() is a macro it affects the function size . this reduces the function size by .5KB.

3 years agoparser: Fix build break in parser debug mode
Subhransu Mohanty [Mon, 13 Jul 2020 07:23:13 +0000 (16:23 +0900)]
parser: Fix build break in parser debug mode

3 years agorlottie: refactor lottie model and renderer code. accepted/tizen/unified/20200714.065703 submit/tizen/20200713.050659
Subhransu Mohanty [Wed, 8 Jul 2020 08:17:30 +0000 (17:17 +0900)]
rlottie: refactor lottie model and renderer code.

- move all the internal code to rlottie::internal namespace
- move model related code to rlottie::internal::model namespace
- move rendering code to rlottie::internal::renderer namespace.
- run clang-format
- removed LOT class prefix.

3 years agolottie/model: refactor code to remove LOTAnimatableShape class
Subhransu Mohanty [Wed, 8 Jul 2020 04:50:50 +0000 (13:50 +0900)]
lottie/model: refactor code to remove LOTAnimatableShape class

3 years agorlottie/api: Added loadFromData() api with ColorFilter support
Subhransu Mohanty [Fri, 3 Jul 2020 03:57:03 +0000 (12:57 +0900)]
rlottie/api: Added loadFromData() api with ColorFilter support

Some usecase needs to apply the color filter during parsing for theme
support.
Ex: Same resource can be used for different theme with different colorfilter
    which will update the color pallet according to the theme.

3 years agoUse round in frameAtPos
Anton Sergeev [Sat, 25 Apr 2020 11:15:37 +0000 (14:15 +0300)]
Use round in frameAtPos

Without this fix frameAtPos doesn't return last frame
for position (1 - eps)

3 years agolottie/parser: refactor shape data parsing
Subhransu Mohanty [Thu, 2 Jul 2020 06:56:58 +0000 (15:56 +0900)]
lottie/parser: refactor shape data parsing

3 years agofreetype: cherry pick optimization patches from freetype.
Subhransu Mohanty [Tue, 30 Jun 2020 03:30:25 +0000 (12:30 +0900)]
freetype: cherry pick optimization patches from freetype.

3 years agooptimization: added SurfaceCache to reduce intermediate buffers. accepted/tizen/unified/20200701.032327 submit/tizen/20200629.001406 submit/tizen/20200629.234316 submit/tizen/20200630.101739
Subhransu Mohanty [Thu, 25 Jun 2020 07:41:15 +0000 (16:41 +0900)]
optimization: added SurfaceCache to reduce intermediate buffers.

During rendering layers with mask/matte we need intermediate buffers
by keeping the surface cache we can reuse the same buffer for different
layer rendering to reduce memory footprint.

3 years agovector: cleanup ft_raster header
Subhransu Mohanty [Thu, 25 Jun 2020 03:46:49 +0000 (12:46 +0900)]
vector: cleanup ft_raster header

3 years agobuild fix accepted/tizen/unified/20200622.134451 submit/tizen/20200621.214257
Subhransu Mohanty [Fri, 19 Jun 2020 07:09:22 +0000 (16:09 +0900)]
build fix

3 years agomeson: added minimum meson version requirement
Subhransu Mohanty [Fri, 19 Jun 2020 01:26:43 +0000 (10:26 +0900)]
meson: added minimum meson version requirement

3 years agocorrected version number of lottie library
Subhransu Mohanty [Fri, 19 Jun 2020 01:04:12 +0000 (10:04 +0900)]
corrected version number of lottie library

3 years agoexample: Fix memory leak accepted/tizen/unified/20200615.135405 submit/tizen/20200611.221942 submit/tizen/20200614.220219
Subhransu Mohanty [Mon, 8 Jun 2020 02:07:59 +0000 (11:07 +0900)]
example: Fix memory leak

4 years agouse c++ standard type integer. accepted/tizen/unified/20200421.150359 submit/tizen/20200414.010532 submit/tizen/20200414.064511 submit/tizen/20200414.100322 submit/tizen/20200416.001154 submit/tizen/20200416.215157 submit/tizen/20200417.234115 submit/tizen/20200419.220844 submit/tizen/20200420.213352
Hermet Park [Wed, 8 Apr 2020 06:56:56 +0000 (15:56 +0900)]
use c++ standard type integer.

vc++ doesn't recognize uint type?

4 years agoexample: return the value properly. accepted/tizen/unified/20200409.083726 submit/tizen/20200406.235844 submit/tizen/20200407.212858 submit/tizen/20200408.212617
Hermet Park [Mon, 6 Apr 2020 07:46:44 +0000 (16:46 +0900)]
example: return the value properly.

this fixes a compile warning:

Change-Id: I40979b54309f62c25a6a9a65400f743c74135288
warning: no return statement in function returning non-void [-Wreturn-type]

4 years agoupdated license in the spec. 66/228266/1 accepted/tizen/unified/20200324.101721 submit/tizen/20200322.220136 submit/tizen/20200323.121436
Hermet Park [Fri, 20 Mar 2020 04:36:42 +0000 (13:36 +0900)]
updated license in the spec.

Changed this by protex guidance.

Change-Id: Ica8974af5d06ee5ea9e6e7f06f0d82c551599915

4 years agoSpec: Update license 57/228257/1
JunsuChoi [Fri, 20 Mar 2020 04:10:28 +0000 (13:10 +0900)]
Spec: Update license

Change-Id: I8d4a8ddfa38707dc15df25e4fbe49792aae80ed9

4 years agovdrawable: Don't strdup for name data 87/227887/1
JunsuChoi [Wed, 11 Mar 2020 12:42:55 +0000 (21:42 +0900)]
vdrawable: Don't strdup for name data

The name information passed in is allocated and managed by the parser.
There is no need to duplicate the same data.

Change-Id: I9c488e654c01bdfe7c48388c29fad350cd261deb

4 years agocorrect rlottie license. 81/227881/1
Hermet Park [Tue, 17 Mar 2020 04:58:03 +0000 (13:58 +0900)]
correct rlottie license.

Change-Id: I947ab1db61d542d5d2e8adf729f35ecd83562ab7

4 years agorlottie/capi: expose name info of node object accepted/tizen/unified/20200316.220934 submit/tizen/20200313.022654 submit/tizen/20200315.214142
JunsuChoi [Tue, 10 Mar 2020 10:40:42 +0000 (19:40 +0900)]
rlottie/capi: expose name info of node object

expose the keypath data of nodes such as fill and stroke.

Change-Id: I6d5f45a6cf1694f50b56f719d2d38a330812c575

4 years agobuild: disable thread_local if the thread is not supported.
Hermet Park [Tue, 10 Mar 2020 14:20:33 +0000 (23:20 +0900)]
build: disable thread_local if the thread is not supported.

Some version of ios/i386 compiler doesn support this thread_local feature.

Actually, thread_local doesn't necessary if the thread doesn't supported.

Change-Id: Ifcebef55f0809603695ce83cf4b35edab2e87188

4 years agovector: Add name member in VDrawable
JunsuChoi [Tue, 10 Mar 2020 09:31:55 +0000 (18:31 +0900)]
vector: Add name member in VDrawable

for expose of keypath.

Change-Id: I907fcdcc76b0f66e294e4df5073de39bb8bba549

4 years agoadd Skia opensource license. 87/226687/1 accepted/tizen/unified/20200315.214751 submit/tizen/20200305.112415 submit/tizen/20200306.082439 submit/tizen/20200311.004657 submit/tizen/20200312.001621
Hermet Park [Thu, 5 Mar 2020 02:59:55 +0000 (11:59 +0900)]
add Skia opensource license.

Change-Id: I656e65534af9f0504536d0676a41d7adc7f37c6b

4 years agorlottie: Refactor transformation matrix of proxymodel submit/tizen/20200303.214157
JunsuChoi [Fri, 14 Feb 2020 06:42:06 +0000 (15:42 +0900)]
rlottie: Refactor transformation matrix of proxymodel

Move value calculation given by property to proxy model
And add more sample to the demo.

4 years agorlottie: Supports the Transform Rotation property. accepted/tizen/unified/20200129.022646 submit/tizen/20200122.213749 submit/tizen/20200127.213359
JunsuChoi [Mon, 20 Jan 2020 01:22:40 +0000 (10:22 +0900)]
rlottie: Supports the Transform Rotation property.

Use setValue<rlottie::Property::TrRotation> return float type.
The value is degree. [0 ~ 360]

Example) example/demo

4 years agorlottie: Supports the Transform Scale property.
JunsuChoi [Thu, 16 Jan 2020 12:07:22 +0000 (21:07 +0900)]
rlottie: Supports the Transform Scale property.

Use setValue<rlottie::Property::TrScale> and return rlottie::Size type.

The default value of Size is 100. If it goes to zero it won't be visible.
If it is negative it will be flipped. If it is greater than 100, it will be enlarged.

Example) example/demo

4 years agolottie: Remove duplicate model data. accepted/tizen/unified/20200120.133111 submit/tizen/20200114.214303 submit/tizen/20200115.213910 submit/tizen/20200116.005149 submit/tizen/20200116.043425 submit/tizen/20200116.051036 submit/tizen/20200119.232254
JunsuChoi [Fri, 10 Jan 2020 08:40:32 +0000 (17:40 +0900)]
lottie: Remove duplicate model data.

mData is same as mModel in LOTContentGroupItem. So remove mData member.

4 years agoUpdated showcase images. submit/tizen/20200107.215153 submit/tizen/20200108.220247 submit/tizen/20200109.005838 submit/tizen/20200109.212837 submit/tizen/20200110.001918 submit/tizen/20200111.060210 submit/tizen/20200111.071320 submit/tizen/20200112.211134
Hermet Park [Tue, 7 Jan 2020 07:13:38 +0000 (16:13 +0900)]
Updated showcase images.

4 years agorlottie: Supports the Transform Position property.
JunsuChoi [Tue, 31 Dec 2019 07:37:31 +0000 (16:37 +0900)]
rlottie: Supports the Transform Position property.

Use setValue<rlottie::Property::TrPosition> and return rlottie::Point type.
Example) example/demo

4 years agoexample : Add reference header file for updated class name accepted/tizen/unified/20191226.123013 submit/tizen/20191225.212040
JunsuChoi [Tue, 24 Dec 2019 06:22:03 +0000 (15:22 +0900)]
example : Add reference header file for updated class name

The class name will be updated.
efl_ui_animation_view -> efl_ui_vg_animation
So add referenced file path.

4 years agorlottie: reenabled optimization when paint item has no content accepted/tizen/unified/20191206.121256 submit/tizen/20191201.211113 submit/tizen/20191202.210542 submit/tizen/20191203.210336 submit/tizen/20191204.213652 submit/tizen/20191205.205324
subhransu mohanty [Fri, 29 Nov 2019 08:10:19 +0000 (17:10 +0900)]
rlottie: reenabled optimization when paint item has no content

4 years agorlottie: update the drawable before returning the result.
subhransu mohanty [Fri, 29 Nov 2019 06:34:22 +0000 (15:34 +0900)]
rlottie: update the drawable before returning the result.

If the drawable is not updated in case of ZERO opacity it will keep the old value and
will render the old content.

4 years agorlottie: Disable optimization to fix regression
subhransu mohanty [Fri, 29 Nov 2019 05:13:43 +0000 (14:13 +0900)]
rlottie: Disable optimization to fix regression

4 years agorlottie: Fix build break for debug build. accepted/tizen/unified/20191115.084005 accepted/tizen/unified/20191120.034545 submit/tizen/20191114.210213 submit/tizen/20191117.211230 submit/tizen/20191118.220200 submit/tizen/20191119.214155
subhransu mohanty [Thu, 14 Nov 2019 06:54:49 +0000 (15:54 +0900)]
rlottie: Fix build break for debug build.

Caused by recent refactoring of the model objects.

4 years agorlottie: Add initialization of pointer members that were not
JunsuChoi [Thu, 14 Nov 2019 00:56:15 +0000 (09:56 +0900)]
rlottie: Add initialization of pointer members that were not

Change-Id: Ice67910804be88496aad47d32cca430d9865de40

4 years agorlottie: Add initialization of pointer members that were not 33/217733/1
JunsuChoi [Thu, 14 Nov 2019 00:56:15 +0000 (09:56 +0900)]
rlottie: Add initialization of pointer members that were not

Change-Id: Ia1cf809c684241fcebef618c97f38d52081611a0

4 years agoExample : Update Strategy::eflVg in lottieview accepted/tizen/unified/20191114.123438 submit/tizen/20191111.211104 submit/tizen/20191113.212006 submit/tizen/20191113.212830
JunsuChoi [Thu, 7 Nov 2019 06:38:02 +0000 (15:38 +0900)]
Example : Update Strategy::eflVg in lottieview

The existing Strategy::eflVg make a vector object treeusing a node tree
from C++ rlottie API. But it didn't work well.
Loading a vector file into evas_object_vg works the same as internally.

[Test]
Prepare for latest EFL
rlottie build
./build/example/lottieviewTest 4

4 years agofixed memory leak in demo application
subhransu mohanty [Mon, 4 Nov 2019 07:41:28 +0000 (16:41 +0900)]
fixed memory leak in demo application

4 years agorlottie/model: lazy generation of layerlist
subhransu mohanty [Mon, 4 Nov 2019 06:53:22 +0000 (15:53 +0900)]
rlottie/model: lazy generation of layerlist

4 years agorlottie/parser: refactor to use local arena allocator for model tree creation.
subhransu mohanty [Mon, 4 Nov 2019 03:52:44 +0000 (12:52 +0900)]
rlottie/parser: refactor to use local arena allocator for model tree creation.

4 years agorlottie: refactor to use a local arena allocator for shadow tree creation
subhransu mohanty [Mon, 4 Nov 2019 01:11:23 +0000 (10:11 +0900)]
rlottie: refactor to use a local arena allocator for shadow tree creation

This usecase is best suitable for local arena allocator as we have a fixed number
of objects to create and they all gets deleted at once. so by keeping a allocator
in the composition and use it to create all the objects using it will basically
flattened the memory layout of the shadow tree as all the memory comes from the one
memory allocator pool.
This improves the bencmark performance by 5%.

4 years agorlottie/vector: Added a local arena allocator to vector
subhransu mohanty [Mon, 4 Nov 2019 01:07:53 +0000 (10:07 +0900)]
rlottie/vector: Added a local arena allocator to vector

This allocator is takes from skia's local arena allocator.

4 years agorlottie: refactor Pathitem Object to keep 2 path objects instead of 3.
subhransu mohanty [Tue, 22 Oct 2019 04:12:01 +0000 (13:12 +0900)]
rlottie: refactor Pathitem Object to keep 2 path objects instead of 3.

4 years agorlottie/vector: refactor to make VPainter as POD object
subhransu mohanty [Fri, 1 Nov 2019 04:46:52 +0000 (13:46 +0900)]
rlottie/vector: refactor to make VPainter as POD object