platform/core/uifw/lottie-player.git
5 years ago[rlottie]: clear any existing brush data before drawing bitmap. 70/201370/1 submit/tizen/20190314.062257 submit/tizen/20190314.080413 submit/tizen/20190314.103410
subhransu mohanty [Wed, 13 Mar 2019 06:57:03 +0000 (15:57 +0900)]
[rlottie]: clear any existing brush data before drawing bitmap.

Change-Id: I13328147ffd29d09dd8bfc8a9b374bbf20fea4a4

5 years agocapi: update doc. 68/201268/1
Hermet Park [Tue, 12 Mar 2019 04:50:23 +0000 (13:50 +0900)]
capi: update doc.

add missing parameter description.

Change-Id: I01795768914a77b62ce47218d7f2aae5834cfa63

5 years ago[rlottie] Added setDrawRegion api to Surface for supporting subsurface rendering. 07/201007/1 submit/tizen/20190307.054450 submit/tizen/20190311.042353 submit/tizen/20190311.104527
subhransu mohanty [Wed, 6 Mar 2019 06:46:09 +0000 (15:46 +0900)]
[rlottie] Added setDrawRegion api to Surface for supporting subsurface rendering.

Change-Id: Ia0d740625858931116103303e1eb398d7f7a00fa

5 years agorlottie: now loadFromData() api takes resourcePath for loading external resource 40/200840/1
subhransu mohanty [Mon, 4 Mar 2019 04:19:47 +0000 (13:19 +0900)]
rlottie: now loadFromData() api takes resourcePath for loading external resource

Change-Id: Ide58a5b1282a91d099785c4b63976a75dd267775

5 years agorlottie: remove dependancy of -stdc++14 flag to link against rlottie library. 34/200834/1
subhransu mohanty [Mon, 4 Mar 2019 08:05:01 +0000 (17:05 +0900)]
rlottie: remove dependancy of -stdc++14 flag to link against rlottie library.

Change-Id: I7254b04daebbd1a796b3195a63fcc1de8df5da9d

5 years agoexample : Change keyframe_set/get to progress_set/get APIs 94/200594/1
JunsuChoi [Wed, 27 Feb 2019 06:47:53 +0000 (15:47 +0900)]
example : Change keyframe_set/get to progress_set/get APIs

Change-Id: Ic5e5a7bf91c73d2d43ec5a6e02c2afbaa4747434

5 years agovector stb: check oom for safety. 59/200259/1 accepted/tizen/unified/20190225.232726 submit/tizen/20190222.001114 submit/tizen/20190222.044455 submit/tizen/20190225.055416 submit/tizen/20190225.071954
Hermet Park [Thu, 21 Feb 2019 01:58:44 +0000 (10:58 +0900)]
vector stb: check oom for safety.

Change-Id: I35d9eff0dde7b9ba2b2d5a1a6a9b1f85a14261c3

5 years agoupdated READE file. 18/199818/1
Hermet Park [Mon, 11 Feb 2019 12:17:27 +0000 (21:17 +0900)]
updated READE file.

Change-Id: Ic668f95534504d1b221391beaff6b3b1b0494b23

5 years agolottieitem: Add alpha property in LOTMask 75/199275/2 accepted/tizen/unified/20190214.060609 submit/tizen/20190211.061543 submit/tizen/20190211.061921 submit/tizen/20190213.001307 submit/tizen/20190213.060634 submit/tizen/20190213.062652
JunsuChoi [Fri, 8 Feb 2019 05:51:11 +0000 (14:51 +0900)]
lottieitem: Add alpha property in LOTMask

Change-Id: I929839c5a0a1677a530b5197e45ec230ea145dd1

5 years agofix typo. 58/199258/2 accepted/tizen/unified/20190208.061716 submit/tizen/20190208.021412 submit/tizen/20190208.043508
Hermet Park [Fri, 8 Feb 2019 02:08:08 +0000 (11:08 +0900)]
fix typo.

Package name must be lottie-player,
Also, we could have an internal name rlottie.

Change-Id: Id8670e85d1905062133b12c871bee37d10e496ec

5 years agolottie/parser: only keep the 1st interpolatr string from the array and discard rest. 11/198511/1 accepted/tizen/unified/20190201.061433 accepted/tizen/unified/20190202.022444 submit/tizen/20190128.112154 submit/tizen/20190128.120547 submit/tizen/20190131.061936 submit/tizen/20190201.062521
subhransu mohanty [Fri, 25 Jan 2019 05:31:30 +0000 (14:31 +0900)]
lottie/parser: only keep the 1st interpolatr string from the array and discard rest.
Fixed issue with resource peli-canon.json

Change-Id: If0ab2a6b6227b25ae193749a9618b81a08361bbd

5 years agolottie: Add image_loader plugin for cmake build. 83/198383/2
subhransu mohanty [Thu, 24 Jan 2019 09:02:00 +0000 (18:02 +0900)]
lottie: Add image_loader plugin for cmake build.

Change-Id: I21217f6c1b8f45d4183bf58f9c86c0de62bd7a44

5 years agolottie: Added support for rendering embedded image resource 77/198277/3
subhransu mohanty [Wed, 23 Jan 2019 08:20:17 +0000 (17:20 +0900)]
lottie: Added support for rendering embedded image resource

Change-Id: I330ee46e7bccabbebe2b15b54d21582212c1f020

5 years agoSpec: fix pc file 78/198378/1
JunsuChoi [Thu, 24 Jan 2019 08:05:38 +0000 (17:05 +0900)]
Spec: fix pc file

Change-Id: I98532f5ddd26d9792a4ba3401b577284f5c61a82

5 years agolottie: final changes to rename from lottie-player to rlottie 44/198344/2 submit/tizen/20190124.051235
subhransu mohanty [Thu, 24 Jan 2019 02:28:50 +0000 (11:28 +0900)]
lottie: final changes to rename from lottie-player to rlottie

Change-Id: Ie2ed4d7c3fb08abd3f8fe484021d478e90bc9d91

5 years agoremove lottie player naming usage. 02/198302/2 submit/tizen/20190123.114853
Hermet Park [Wed, 23 Jan 2019 11:07:45 +0000 (20:07 +0900)]
remove lottie player naming usage.

Change-Id: Id2549402e8aa6d8db328e14908f1d4f62ca05603

5 years agopackaging: rename lottie-player to rlottie. 93/198293/2
Hermet Park [Wed, 23 Jan 2019 11:04:40 +0000 (20:04 +0900)]
packaging: rename lottie-player to rlottie.

This is a trial-error test that could be accepted by server test.

Change-Id: Ib7ccc4f5d5282df9d119b1efb1de51ffb3cbb0b9

5 years agoexample: update new header name of efl animation_view. 76/198276/3
Hermet Park [Wed, 23 Jan 2019 08:17:58 +0000 (17:17 +0900)]
example: update new header name of efl animation_view.

Change-Id: I6f2b73fc13808027e42122bed58052f99dc67a7c

5 years agolottie-player: remove old capi headers. 75/198275/1
Hermet Park [Wed, 23 Jan 2019 08:15:20 +0000 (17:15 +0900)]
lottie-player: remove old capi headers.

efl now looks at rlottie headers.

Change-Id: I6b2acfa5423c5ddceafdc85b64d551d2417ad565

5 years agoRevert "lottie: rename lottie-player to rlottie for cmake and gbs build, update names... accepted/tizen/unified/20190128.061629 submit/tizen/20190123.060112
Hermet Park [Wed, 23 Jan 2019 05:46:34 +0000 (14:46 +0900)]
Revert "lottie: rename lottie-player to rlottie for cmake and gbs build, update namespace to rlottie."

This reverts commit 569f16a7e999ad697008900948192b13c0e27f4f.

5 years agolottie: rename lottie-player to rlottie for cmake and gbs build, update namespace... 73/198173/3
subhransu mohanty [Tue, 22 Jan 2019 04:45:07 +0000 (13:45 +0900)]
lottie: rename lottie-player to rlottie for cmake and gbs build, update namespace to rlottie.

Change-Id: I51f85201c06be4cb42c2036a0162b9124149e781

5 years agolottie: rename lottie-player to rlottie in meson build 95/198095/2
sub.mohanty@samsung.com [Sat, 19 Jan 2019 00:22:16 +0000 (09:22 +0900)]
lottie: rename lottie-player to rlottie in meson build

Change-Id: Ie19ea2d849af95b348417e826dcc2fb7e6ded86b

5 years agolottie: rename public headers to rlottie namesapce. 94/198094/2
sub.mohanty@samsung.com [Fri, 18 Jan 2019 10:31:54 +0000 (19:31 +0900)]
lottie: rename  public headers to rlottie namesapce.

Change-Id: Ib8d3df2600eef84927c95eb6794de9f9074d6253

5 years agolottie: Fix incorrect return value of totalFrame() api. 30/197730/2
subhransu mohanty [Wed, 16 Jan 2019 03:20:30 +0000 (12:20 +0900)]
lottie: Fix incorrect return value of totalFrame() api.

Change-Id: I930e5b9624b87b512394951d616e73531b2d5b9d

5 years agolottie/example: Added image_test.json(resource with image resource ) 80/197680/1 master submit/tizen/20190116.045417 submit/tizen/20190116.084147 submit/tizen/20190117.121937 submit/tizen/20190118.024659 submit/tizen/20190118.084922
subhransu mohanty [Tue, 15 Jan 2019 08:12:40 +0000 (17:12 +0900)]
lottie/example: Added image_test.json(resource with image resource )

Change-Id: If79f5892347be0dcc850380f1520dfd0f2c70724

5 years agolottie/render: Support rendering lottie image object. 78/197678/1
subhransu mohanty [Tue, 15 Jan 2019 07:06:52 +0000 (16:06 +0900)]
lottie/render: Support rendering lottie image object.

Change-Id: I1b15263cd27248ccef57eff1d771b627cf0f59d8

5 years agolottie/vector: Added transform image rendering support in the render backend. 77/197677/1
subhransu mohanty [Tue, 15 Jan 2019 06:54:12 +0000 (15:54 +0900)]
lottie/vector: Added transform image rendering support in the render backend.

Change-Id: I84ae9229446b1f46a91b28544641c62dee96a23f

5 years agolottie/vector: Added texture and transformation support in brush. 76/197676/1
subhransu mohanty [Tue, 15 Jan 2019 06:52:04 +0000 (15:52 +0900)]
lottie/vector: Added texture  and  transformation support in brush.

Change-Id: I4e433a8f09342051a9ec062f45184709e578fd98

5 years agolottie/vector: added image loading support in vector. 34/197534/3
subhransu mohanty [Mon, 14 Jan 2019 01:31:03 +0000 (10:31 +0900)]
lottie/vector: added image loading support in vector.

Change-Id: I37fd0c436ec396b186f78dfe1f0c0304204a942b

5 years agolottie/example : added segmented animation support in lottieview 56/197656/3
subhransu mohanty [Tue, 15 Jan 2019 04:33:17 +0000 (13:33 +0900)]
lottie/example : added segmented animation support in lottieview

Change-Id: I7af3109576217e3b92a6a6d9fd9492b5fb4c6bcb

5 years agolottie/parser: added support for image asset parsing. 37/197637/3
subhransu mohanty [Tue, 15 Jan 2019 00:52:31 +0000 (09:52 +0900)]
lottie/parser: added support for image asset parsing.

Change-Id: Ib7a4ec1b7d6d7f5c9357e451c3908d88c671bc37

5 years agolottie/stb: fixed warning regarding unused function. 33/197533/2
subhransu mohanty [Mon, 14 Jan 2019 01:50:04 +0000 (10:50 +0900)]
lottie/stb: fixed warning regarding unused function.

Change-Id: I4558829cc73135bcf5d454e97e13db5925df1655

5 years agolottie/vector: create a wraper library of stb_image loader 32/197532/3
subhransu mohanty [Mon, 14 Jan 2019 01:17:55 +0000 (10:17 +0900)]
lottie/vector: create a wraper library of stb_image loader

Change-Id: If3ebb5d399d81c4435419c6f728f2f73b0cb7faa

5 years agocopying: fix wrong path. 08/197408/2
Hermet Park [Fri, 11 Jan 2019 05:13:15 +0000 (14:13 +0900)]
copying: fix wrong path.

Change-Id: I47ad76591dd8b5cba24361f110028a476723feb0

5 years agolottie/parser: fix a crash when the color string is empty. 23/197423/1
subhransu mohanty [Fri, 11 Jan 2019 06:01:52 +0000 (15:01 +0900)]
lottie/parser: fix a crash when the color string is empty.

Change-Id: Ic9b17764b322e5d6528759dad8e29e1accea9c2a

5 years agolottie/render: Refactor matte rendering to support luma matte. 60/197360/1
subhransu mohanty [Fri, 11 Jan 2019 01:16:07 +0000 (10:16 +0900)]
lottie/render: Refactor matte rendering to support luma matte.

Change-Id: I25d0855815fb3b4a3c5786c2b85692eac8220eb6

5 years agolottie/vector: added updateLuma() api to convert RGBA value to HSL 01/197201/2
subhransu mohanty [Thu, 10 Jan 2019 07:31:39 +0000 (16:31 +0900)]
lottie/vector: added updateLuma() api to convert RGBA value to HSL

Change-Id: Icacfe4ffdf957d10e7bd654878895b856e045136

5 years agolottie/vector: image fill support in drawhelper 00/197200/1
subhransu mohanty [Wed, 9 Jan 2019 08:01:46 +0000 (17:01 +0900)]
lottie/vector: image fill support in drawhelper

Change-Id: I678b1af37c4939d0006b33ddcb2b40f59d426169

5 years agolottie/render: added drawBitmap api to painter class. 67/196767/2
subhransu mohanty [Fri, 4 Jan 2019 06:23:56 +0000 (15:23 +0900)]
lottie/render: added drawBitmap api to painter class.

Change-Id: I07fc5f90c9988e02182f69672eeef9608aa51a2a

5 years agolottie/vector: added destIn and destOut comp function. 99/197199/1
subhransu mohanty [Wed, 9 Jan 2019 07:52:47 +0000 (16:52 +0900)]
lottie/vector: added destIn and destOut comp function.

Change-Id: I50a0cf16f5a8438006c8e82074f72da46c87a108

5 years agolottie/vector: add depth() and const data() api to VBitmap class. 98/197198/1
subhransu mohanty [Wed, 9 Jan 2019 04:29:44 +0000 (13:29 +0900)]
lottie/vector: add depth() and const data() api to VBitmap class.

Change-Id: I22f16b7c9e9b38c3c115d6b16f093bfbf492afb1

5 years agolottie/vector: don't use startFrame() of a layer when it has time remap. 64/196864/2 accepted/tizen/unified/20190111.055210 submit/tizen/20190110.045317
subhransu mohanty [Mon, 7 Jan 2019 05:07:02 +0000 (14:07 +0900)]
lottie/vector: don't use startFrame() of a layer when it has time remap.

Change-Id: I62230a2f5d9447bf7fa7ff3c9ebeed7aaa90dfa3

5 years agolottie/vector: added intersected() and size() api to vrect class. 66/196766/2
subhransu mohanty [Fri, 4 Jan 2019 06:21:30 +0000 (15:21 +0900)]
lottie/vector: added intersected() and size() api to vrect class.

Change-Id: Ibb4c764e8a12bc3b95cbd601b42c73b777793afd

5 years agolottie/example : build example only when the dependancy is resolved. 51/196851/2
subhransu mohanty [Mon, 7 Jan 2019 01:20:05 +0000 (10:20 +0900)]
lottie/example : build example only when the dependancy is resolved.

Change-Id: Ifbdd6aa4fd1f9626af2211c1873cecb3ec6065c3

5 years agolottie: reuse rendertask object to optimize memory allocation. 59/196659/4
subhransu mohanty [Thu, 3 Jan 2019 05:27:29 +0000 (14:27 +0900)]
lottie: reuse rendertask object to optimize memory allocation.

Change-Id: I028f1ea5abec38511bf8413d00d94e425a1ae8db

5 years agolottie/vector: refactor VBitmap class to use shared_ptr for refcount implementation. 39/196739/2
subhransu mohanty [Fri, 4 Jan 2019 04:22:33 +0000 (13:22 +0900)]
lottie/vector: refactor VBitmap class to use shared_ptr for refcount implementation.

Change-Id: I2a5bca2cd6a86a1f3ac69eb7799ee46b784f61cf

5 years agolottie/capi: updated cliper info in layernode. 61/196661/1
subhransu mohanty [Thu, 3 Jan 2019 07:57:50 +0000 (16:57 +0900)]
lottie/capi: updated cliper info in layernode.

Change-Id: I338dc65c6ccf2a1952f2c457ba9168faa242e08c

5 years agolottie/render: Added Clipper for nested composition layer. 58/196658/1
subhransu mohanty [Thu, 3 Jan 2019 07:41:15 +0000 (16:41 +0900)]
lottie/render: Added Clipper for nested composition layer.

Change-Id: Ic9a9b390863dc05a0391a3f17acc80ab912d172a

5 years agolottie/parser: parse precomp layer's with and height attribute. 36/196636/1 accepted/tizen/unified/20190111.055111 submit/tizen/20190109.051753
subhransu mohanty [Thu, 3 Jan 2019 06:17:55 +0000 (15:17 +0900)]
lottie/parser: parse precomp layer's with and height attribute.

Change-Id: Ib975f753424acae422889b2ade611d664fe07392

5 years agopackaging: packaging licensing properly. 63/196563/1 accepted/tizen/unified/20190107.065410 submit/tizen/20190104.010806
Hermet Park [Wed, 2 Jan 2019 09:10:36 +0000 (18:10 +0900)]
packaging: packaging licensing properly.

As fedora guidelines, %license is the reserved keyword
to install copyright files.

We don't need to copy them manually.

Change-Id: I21d353f0fdecb86e1a662f8e336db8d84753da87

5 years agoupdated licenses info. 38/196438/2 accepted/tizen/unified/20190103.030356 submit/tizen/20190102.045226
Hermet Park [Fri, 28 Dec 2018 09:13:12 +0000 (18:13 +0900)]
updated licenses info.

Change-Id: Ib157ad848a98c34e6e7d67c4672b36447966addc

5 years agoupdated licenses info 29/196329/2
Hermet Park [Thu, 27 Dec 2018 07:23:44 +0000 (16:23 +0900)]
updated licenses info

Change-Id: Idcee492bb9f823ab2a3c7c28a150bd406ce8aa4f

5 years agoexample: remove a resouce that may have a license. 19/196319/1
Hermet Park [Thu, 27 Dec 2018 06:03:07 +0000 (15:03 +0900)]
example: remove a resouce that may have a license.

Change-Id: If7e5a70eb3547a686fccefa6c5b6725725aa862d

5 years agoadd missing copyright. 14/196314/1
Hermet Park [Thu, 27 Dec 2018 05:40:16 +0000 (14:40 +0900)]
add missing copyright.

Change-Id: I244bb60e6315153a2bb15f67b648b9f62f5f6904

5 years agolottie/vector: move pixman code to separate pixman folder. 88/196288/1
subhransu mohanty [Thu, 27 Dec 2018 03:48:00 +0000 (12:48 +0900)]
lottie/vector: move pixman code to separate pixman folder.

Change-Id: Ic2d59825403814849f46cad8496a7b409b6d3fda

5 years agofix to packaging license files properly. 49/196249/1
Hermet Park [Wed, 26 Dec 2018 12:01:40 +0000 (21:01 +0900)]
fix to packaging license files properly.

Change-Id: I3107051f975c867e757cf6f0b60f2d415b712a03

5 years agoInitialize member variables to resolve unnannoying report from static analizer tool... 41/196241/1 submit/tizen/20181226.115019
Hermet Park [Wed, 26 Dec 2018 11:11:49 +0000 (20:11 +0900)]
Initialize member variables to resolve unnannoying report from static analizer tool(SVACE)

Change-Id: I32dc2372f83ef1b8185bd5a2f14862eae7616206

5 years agoremove sneaked inserting unicodes, zero-width no-break space. 40/196240/1
Hermet Park [Wed, 26 Dec 2018 11:08:11 +0000 (20:08 +0900)]
remove sneaked inserting unicodes, zero-width no-break space.

Change-Id: Ida61de8e5f014d53bc0e08556ce778f5c055e925

5 years agolottie/parser: fixed SVACE warning regarding uninitialized member variable. 22/196222/3
subhransu mohanty [Wed, 26 Dec 2018 09:54:11 +0000 (18:54 +0900)]
lottie/parser: fixed SVACE warning regarding uninitialized member variable.

Change-Id: I0a295b50349a34f08443386cbf540b507f0f67bf

5 years agofix typo. 39/196239/1
Hermet Park [Wed, 26 Dec 2018 10:22:29 +0000 (19:22 +0900)]
fix typo.

Change-Id: I6333c27d41d6f9e5eb64ce88c9a93678259a1706

5 years agoPut samsung copyright header to all our own source code. 34/196234/1
Hermet Park [Wed, 26 Dec 2018 10:18:29 +0000 (19:18 +0900)]
Put samsung copyright header to all our own source code.

Change-Id: I3cebcfef827425d16092ee7a26c39f7733572eb7

5 years agoclean up copyright. 23/196223/2
Hermet Park [Wed, 26 Dec 2018 10:01:57 +0000 (19:01 +0900)]
clean up copyright.

Change-Id: I53d80c595c62717e8a8ec608f2388180e184aeca

5 years agoInitialize member variables to resolve unnannoying report from static analizer tool... 15/196215/1
Hermet Park [Wed, 26 Dec 2018 08:23:25 +0000 (17:23 +0900)]
Initialize member variables to resolve unnannoying report from static analizer tool(SVACE)

Change-Id: I455c49b550afdadeff5d579704745da3a5753de3

5 years agovector: fix wrong naming.
Hermet Park [Wed, 26 Dec 2018 03:20:40 +0000 (12:20 +0900)]
vector: fix wrong naming.

Change-Id: Iada0616b97642f419c5a99bd4ddd98437f4154a5

5 years agolottie/vector: use snprintf instead of sprintf. 57/196157/1 accepted/tizen/unified/20181227.062023 submit/tizen/20181226.015316
subhransu mohanty [Mon, 24 Dec 2018 05:52:55 +0000 (14:52 +0900)]
lottie/vector: use snprintf instead of sprintf.

Change-Id: I4eb54b33f54e513c297224719b7b470a1eea0529

5 years agolottie: Fixed SVACE warning for uninitialized class member variable. 56/196156/3
subhransu mohanty [Mon, 24 Dec 2018 04:57:28 +0000 (13:57 +0900)]
lottie: Fixed SVACE warning for uninitialized class member variable.

Change-Id: I8c633cca49c05295499ef8ec640ec078bba369fd

5 years agolottie: Fixed SVACE warning regarding missing break statement. 54/196154/2
subhransu mohanty [Mon, 24 Dec 2018 04:28:00 +0000 (13:28 +0900)]
lottie: Fixed SVACE warning regarding missing break statement.

Change-Id: I3afe3a350333b70722c7461c2c64345db10a8c4a

5 years agolottie/render: Construct on first use of thread pool instance by moving into a single... 22/195922/2
sub.mohanty@samsung.com [Wed, 19 Dec 2018 11:48:15 +0000 (20:48 +0900)]
lottie/render: Construct on first use of thread pool instance by moving into a singleton instance() api.
Starting in C++11, scoped static initialization is now thread-safe

Change-Id: Ia6933b439407e9dd635be67328eb750acf5b0367

5 years agolottie/memoryleak: Destory the player handle properly in capi destroy() implementation. 15/195815/1
subhransu mohanty [Tue, 18 Dec 2018 08:56:24 +0000 (17:56 +0900)]
lottie/memoryleak: Destory the player handle properly in capi destroy() implementation.

Change-Id: Ie3a2b8d619e6e7c038c4296789952ecb4653b12f

5 years agolottie/example: build example only when elementary library is available. 14/195614/2 accepted/tizen/unified/20181218.152346 submit/tizen/20181217.041818
sub.mohanty@samsung.com [Sat, 15 Dec 2018 06:17:45 +0000 (15:17 +0900)]
lottie/example: build example only when elementary library is available.

Change-Id: Ie096e8c4f857c2a7097a0202649d44081137a254

5 years agolottie/example: add support for renderPost callback in evasapp class. 34/195634/1
subhransu mohanty [Mon, 17 Dec 2018 03:03:14 +0000 (12:03 +0900)]
lottie/example: add support for renderPost callback in evasapp class.

Change-Id: I0632a881c7291ac0b87886bd713ff7216bac2ad5

5 years agolottie/example: remove unused evas object from evasapp class. 09/195509/2
subhransu mohanty [Fri, 14 Dec 2018 05:21:47 +0000 (14:21 +0900)]
lottie/example: remove unused evas object from  evasapp class.

Change-Id: I84f8b0b624ba8c81af91cd6d0c2d1adb5fa82db4

5 years agolottie/capi: added missing frame_at_pos() api and changed the render_flush() signature. 02/195502/1
subhransu mohanty [Fri, 14 Dec 2018 04:30:35 +0000 (13:30 +0900)]
lottie/capi: added missing frame_at_pos() api and changed the render_flush() signature.

Change-Id: I029beb82b81448122ee6d0c59f68f758cc600895

5 years agolottie/capi: remove usage of bool in c api interface. 19/195419/2
subhransu mohanty [Thu, 13 Dec 2018 09:25:33 +0000 (18:25 +0900)]
lottie/capi: remove usage of bool in c api interface.

Change-Id: Ic9aba8f07d9ee8d085a237fa038e5ae98c0a9987

5 years agocapi: remove unused internal variables. 30/195430/4
Hermet Park [Thu, 13 Dec 2018 11:06:30 +0000 (20:06 +0900)]
capi: remove unused internal variables.

Change-Id: I03a11a0c215bc489c282c22d52fb4f93665fca54

5 years agoupdated gitignore. 17/195417/2
Hermet Park [Thu, 13 Dec 2018 09:09:50 +0000 (18:09 +0900)]
updated gitignore.

Change-Id: I4a67a4804ccf528b43c83139b7ddfbe4b88f9aa7

5 years agoupdated doc. 88/195388/8
Hermet Park [Thu, 13 Dec 2018 05:44:58 +0000 (14:44 +0900)]
updated doc.

Change-Id: I712379928026a2101fdada48d7482ef6926a1040

5 years agoremove redundant apis. 96/195396/4
Hermet Park [Thu, 13 Dec 2018 08:47:10 +0000 (17:47 +0900)]
remove redundant apis.

Change-Id: Iacc975f28d6a87e9994be49d291ea67037263a82

5 years agolottie/render: optimize rendering by passing rle clip to painter instead of creating... 78/195278/2
subhransu mohanty [Wed, 12 Dec 2018 06:30:16 +0000 (15:30 +0900)]
lottie/render: optimize rendering by passing rle clip to painter instead of creating a new rle.

Rle operations usually generate new rle which means memory allocation.
by using drawRle() with clip version we can avoid the intermediate rle generation.

Change-Id: I8b3010b1dfc296ee9288631d7b5df1ac4265210b

5 years agolottie/render: Added custome future/promise to optimize the heap allocation. 12/195312/3
subhransu mohanty [Wed, 12 Dec 2018 10:47:23 +0000 (19:47 +0900)]
lottie/render: Added custome future/promise to optimize the heap allocation.
As every future/promise shared data allocates in heap there was
lot of heap allocation when we generate span info using RleThread pool.
this custome future/promise will allocate 1 shared resource per drawable and
will reuse for all subsequent span info request for that drawable.

This reduced the number of heap allocation drastically and improves render performance.

Change-Id: Ic480030e7c36ad7ab730683e71417de026220297

5 years agolottie/render: add new drawRle() api with rle clip support. 77/195277/1
subhransu mohanty [Wed, 12 Dec 2018 06:19:28 +0000 (15:19 +0900)]
lottie/render: add new drawRle() api with rle clip support.

Change-Id: Ibcc16085e0df06da65f8a9f2367189d25c618a11

5 years agolottie/vector: Added a callback version of intersect() api. 76/195276/1
subhransu mohanty [Wed, 12 Dec 2018 05:59:35 +0000 (14:59 +0900)]
lottie/vector: Added a callback version of intersect() api.

Change-Id: I54aebc5d2ee5df1421054b5e5d98077e2a9a2299

5 years agolottie: use testFlag() api to test the flag. 15/195115/3
subhransu mohanty [Tue, 11 Dec 2018 01:50:07 +0000 (10:50 +0900)]
lottie: use testFlag() api to test the flag.

Change-Id: I3ee5341c66562241f0d83ee396347804d5b0eb7d

5 years agolottie: refactor mask handling of layer to a separate LOTLayerMaskItem object. 92/195092/5
sub.mohanty@samsung.com [Mon, 10 Dec 2018 13:10:46 +0000 (22:10 +0900)]
lottie: refactor mask handling of layer to a separate LOTLayerMaskItem object.

Change-Id: Ifdc588dd95dbd4f00f07d5f713c47212847941cd

5 years agolottie/optimization: optimize reuse of vpath object to reduce memory alloc/dealloc 83/195183/2
subhransu mohanty [Tue, 11 Dec 2018 09:39:58 +0000 (18:39 +0900)]
lottie/optimization: optimize reuse of vpath object to reduce memory alloc/dealloc

Change-Id: Ide35d3e56a77924a9706340c71091865125b016b

5 years agolottie/vector: Fixed vpath::clone() implementation. 82/195182/2
subhransu mohanty [Tue, 11 Dec 2018 09:39:14 +0000 (18:39 +0900)]
lottie/vector: Fixed vpath::clone() implementation.

Change-Id: I1c4a4f465508dcaa6831b3d42ca161260e3b6cef

5 years agolottie: Add Mask information to the layer node. 18/194418/2 tizen_5.0 accepted/tizen/unified/20181213.142320 submit/tizen/20181211.054046 submit/tizen/20181211.054151 submit/tizen_5.0/20181211.054718
subhransu mohanty [Tue, 4 Dec 2018 07:34:03 +0000 (16:34 +0900)]
lottie: Add Mask information to the layer node.

Change-Id: I312e178d10747f29b6a6cbde9862edf5541a6c53

5 years agolottie: Process Dash info inside lottie library. 94/194994/2
subhransu mohanty [Mon, 10 Dec 2018 05:58:19 +0000 (14:58 +0900)]
lottie: Process Dash info inside lottie library.

Change-Id: I7ecec5a94db20b81d0fbb9f620f3eef845b1aaa0

5 years agolottie/feature: Added support for handing lottie repeater objects. 92/188992/3
subhransu mohanty [Wed, 12 Sep 2018 08:16:05 +0000 (17:16 +0900)]
lottie/feature: Added support for handing lottie repeater objects.

Change-Id: If65b81aab08baeecd3c16ff70a38587429bd8c61

5 years agolottie/parser: support start and end opacity property in transform object. 78/194678/1
subhransu mohanty [Fri, 7 Dec 2018 02:28:58 +0000 (11:28 +0900)]
lottie/parser: support start and end opacity property in transform object.
the start and end opacity property only exists for repater's transform object.

Change-Id: I9bd7f59957ca4d90894bab5981c10c992508556c

5 years agolottie/parser: Fix issue with trasformation property parsing of repeater object. 77/194677/1
subhransu mohanty [Fri, 7 Dec 2018 01:06:22 +0000 (10:06 +0900)]
lottie/parser: Fix issue with trasformation property parsing of repeater object.

Change-Id: Id2f835cd7e14d99e3eb8cdfd1350d03c2ed83084

5 years agodoc: specify api visibility scope. 73/194573/1
Hermet Park [Thu, 6 Dec 2018 03:07:03 +0000 (12:07 +0900)]
doc: specify api visibility scope.

This lottie-player is a library for tizen platform developers.

Change-Id: Iaf3d91fde40e64cf2e3e719b1a39d6cacd4e7bcc

5 years agolottie: Test for zero dash length after applying scale factor. 31/194531/1
subhransu mohanty [Wed, 5 Dec 2018 09:37:44 +0000 (18:37 +0900)]
lottie: Test for zero dash length after applying scale factor.
the scale factor can be less which will make the dash to 0 again.

Change-Id: I2aacaa342a09f010835c23beb7c2e476c2b11825

5 years agolottie: Fix the issue when dash length is 0. 18/194518/1
subhransu mohanty [Wed, 5 Dec 2018 08:08:05 +0000 (17:08 +0900)]
lottie: Fix the issue when dash length is 0.
AE can draw zero length dash.

Change-Id: I286e0a5503952f7e4ee38e3cc05c8ac3392f7579

5 years agolottie: Refactor task queue to accept move only task object instead of pointer to... 64/194464/1
subhransu mohanty [Tue, 4 Dec 2018 01:07:34 +0000 (10:07 +0900)]
lottie: Refactor task queue to accept move only task object instead of pointer to task object.

Change-Id: Iaa94efcef94fd128681fd45efa91f6e5340f85a6

5 years agolottieitem: fill rule must be valid for stroke and shape both. 47/194447/1
Hermet Park [Tue, 4 Dec 2018 12:59:31 +0000 (21:59 +0900)]
lottieitem: fill rule must be valid for stroke and shape both.

Change-Id: I709d41267c6b45337824f088a2d5848b1c241233

5 years agolottie/render: handle AlphaInverse matte for composition layer. 06/194406/2
subhransu mohanty [Tue, 4 Dec 2018 06:37:49 +0000 (15:37 +0900)]
lottie/render: handle AlphaInverse matte for composition layer.

Change-Id: Ia477287d71dc15466e42a267e385af4cec683020

5 years agopackaging: correct library group. 05/194405/1
Hermet Park [Tue, 4 Dec 2018 06:36:30 +0000 (15:36 +0900)]
packaging: correct library group.

Change-Id: I4fa8d090c6df0676a6456f0b268087b83ceed3bb

5 years agoexample: introduce a usage of efl animation_view. 26/194326/1
Hermet Park [Mon, 3 Dec 2018 06:52:47 +0000 (15:52 +0900)]
example: introduce a usage of efl animation_view.

Change-Id: I1dfa4ae4c3652b7eee6c3064fd7662a59552d15f

5 years agolottie/vector: add boundingbox callback in freetype renderer. 90/194290/2
sub.mohanty@samsung.com [Sat, 1 Dec 2018 12:20:44 +0000 (21:20 +0900)]
lottie/vector: add  boundingbox callback in freetype renderer.

Change-Id: I50a56b109b89a3b0f1ddb4b4983e4d9ba2aaabc3