platform/core/uifw/lottie-player.git
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

5 years agolottie/vector: optimize RleTask structure packing. 97/194297/1
subhransu mohanty [Mon, 3 Dec 2018 00:52:31 +0000 (09:52 +0900)]
lottie/vector: optimize RleTask structure packing.

Change-Id: I5c0be929f51b35720d5c53bdeabec75227274761

5 years agolottie/parser: Asset id can be number for effect object. 24/194224/1
subhransu mohanty [Fri, 30 Nov 2018 06:12:36 +0000 (15:12 +0900)]
lottie/parser: Asset id can be number for effect object.

Change-Id: I6a8b447960a3d10e714125279b83efa27d21581a

5 years agolottie/vector: remove @todo as the issue is fixed. 42/194142/2
subhransu mohanty [Thu, 29 Nov 2018 08:59:03 +0000 (17:59 +0900)]
lottie/vector: remove @todo as the issue is fixed.

Change-Id: Ieb62efbed8939e7f9776cbcfb6091f71851783a4

5 years agolottie/vector: make dashoffset optional data in dash array. 30/194130/3
subhransu mohanty [Thu, 29 Nov 2018 08:04:01 +0000 (17:04 +0900)]
lottie/vector: make dashoffset optional data in dash array.

Change-Id: Ieb3358a05f3d671f30d57147e2c4db0482ea1a54

5 years agolottie/vector: take the fast path in addPath() api only when path is null. 14/194114/2
subhransu mohanty [Thu, 29 Nov 2018 06:38:40 +0000 (15:38 +0900)]
lottie/vector: take the fast path in addPath() api only when path is null.
This patch is to avoid unnecessary allocation and deallocation when the path is empty but not null during addPath

Change-Id: Iab3820419257fbbecaddc93d73e5868b1889e6c5

5 years agolottie/trim: return early when trim operation is not needed. 29/194129/2
subhransu mohanty [Thu, 29 Nov 2018 07:58:13 +0000 (16:58 +0900)]
lottie/trim: return early when trim operation is not needed.

Change-Id: Ie059e1af4df01cbd7c77117d9fe5e7e8b7c56919

5 years agolottie/vector: added unique(), refCount() and null() api to vpath class. 13/194113/2
subhransu mohanty [Thu, 29 Nov 2018 06:36:11 +0000 (15:36 +0900)]
lottie/vector: added unique(), refCount() and null() api to vpath class.

Change-Id: Iff4ad6a37760b885ab390afe0b7748c924a646be

5 years agopackage: remove ldconfig command to ready for official binary install. 15/194115/1 submit/tizen/20181129.071502 submit/tizen_5.0/20181129.071828
Hermet Park [Thu, 29 Nov 2018 06:53:54 +0000 (15:53 +0900)]
package: remove ldconfig command to ready for official binary install.

Change-Id: I7823b8af97ab3e02bdebcfd90e29c1885899d276

5 years agolottie: refactor pathChange computation without keeping cache. 51/193851/1
subhransu mohanty [Tue, 27 Nov 2018 05:44:13 +0000 (14:44 +0900)]
lottie: refactor pathChange computation without keeping cache.

Change-Id: I14ed8b36e33dd5d4a20b632b26d329fde68ae55b

5 years agolottie: Make path dirty only when it has changed from last frame. 37/193837/3
subhransu mohanty [Tue, 27 Nov 2018 02:28:27 +0000 (11:28 +0900)]
lottie: Make path dirty only when it has changed from last frame.

Change-Id: I827baef9bac182a25aa98479108307d03c45f5ce

5 years agointerface: fix to compatible with C language. 35/193635/2
Hermet Park [Thu, 22 Nov 2018 11:44:18 +0000 (20:44 +0900)]
interface: fix to compatible with C language.

C++ structure type declaration is more flexible than C's.
C always need to declare "struct Name" to use.
That's way we use typedef struct Name as a alias "Name".

Here patch just reorder the structure declaration for C language.

Change-Id: I43bc8d1fafb10e42cb22fcad4bc1115925a3cda2

5 years agolottie/parser: Added warning message for no support of Merge Path Object. 49/193749/1
subhransu mohanty [Mon, 26 Nov 2018 04:44:37 +0000 (13:44 +0900)]
lottie/parser: Added warning message for no support of Merge Path Object.

Change-Id: I1948f86d8370564e733fba82be9785fbad4766bb

5 years agolottie: add lottie_animation_render_tree() c api . 46/192946/2
subhransu mohanty [Tue, 13 Nov 2018 06:16:48 +0000 (15:16 +0900)]
lottie: add lottie_animation_render_tree() c api .

Change-Id: I23004c1c2a4aed7e285624e095295ee8e4b18894

5 years agolottie: Added renderTree() api to the lottie animation object. 44/192944/2
subhransu mohanty [Tue, 13 Nov 2018 02:36:34 +0000 (11:36 +0900)]
lottie: Added renderTree() api to the lottie animation object.

Change-Id: I137180d0d46036523357d3b7966dc441b57f9d0c

5 years agolottie: refactor trim object handling 77/193477/1
subhransu mohanty [Wed, 21 Nov 2018 06:37:28 +0000 (15:37 +0900)]
lottie: refactor trim object handling
1. compute start and end with offset in the model before returning the segment.
2. modify pathmesure object to only handle start and end.

Change-Id: I8db4c2f818e8ef8c777bf1618aa143a83dabb5c0

5 years agoexample: revise capi sample code. 57/193457/3
Hermet Park [Wed, 21 Nov 2018 02:28:39 +0000 (11:28 +0900)]
example: revise capi sample code.

added missing feature implements - stroke & gradient

Change-Id: I755d304648eb8faded8fae767b1414b7ce29c47f

5 years agolottie/trim: fix regression, always modify the path in trim::update() call. 56/193456/1
subhransu mohanty [Wed, 21 Nov 2018 01:50:21 +0000 (10:50 +0900)]
lottie/trim: fix regression, always modify the path in trim::update() call.

Change-Id: I54e288bea3e2a84d574ebeb545dd36c033029233

5 years agolottie/vector: optimize when the rle bounding rect is inside the clip rect. 14/193314/2
subhransu mohanty [Mon, 19 Nov 2018 07:23:49 +0000 (16:23 +0900)]
lottie/vector: optimize when the rle bounding rect is inside the clip rect.

Change-Id: I30c512af527fe8f34d3259b0ec9579aa50765716

5 years agolottie: Use the max float value for gap to generate only 1 segment. 01/193201/2
subhransu mohanty [Fri, 16 Nov 2018 03:01:18 +0000 (12:01 +0900)]
lottie: Use the max float value for gap to generate only 1 segment.

Change-Id: Ifa8a2688a49f1675567ec5e11869c67d78a83f90

5 years agolottie/performance: clip out path early during rle generation. 96/193296/2
subhransu mohanty [Mon, 19 Nov 2018 05:41:13 +0000 (14:41 +0900)]
lottie/performance: clip out path early during rle generation.

Change-Id: I0e7c8f9b8408a56e9fd197fe53c49b0a87517608

5 years agolottie/vector: add support for clip during rle generation. 95/193295/3
subhransu mohanty [Mon, 19 Nov 2018 05:19:10 +0000 (14:19 +0900)]
lottie/vector: add support for clip during  rle generation.

Change-Id: Ifbd6c3e1b362369298dd6b9333af6f9a90731dbe

5 years agolottie: support for individual trim operation. 38/193238/2
subhransu mohanty [Fri, 16 Nov 2018 10:37:30 +0000 (19:37 +0900)]
lottie: support for individual trim operation.

Change-Id: I421c073c0d0f907d07107de5eb0ee141a8d16ebe

5 years agolottie: optimize VPath::length() api implementation. 63/193263/2
sub.mohanty@samsung.com [Fri, 16 Nov 2018 13:13:33 +0000 (22:13 +0900)]
lottie: optimize VPath::length() api implementation.

Change-Id: Ieb32e5e6103261fadbf4287d4e6f82353414caac

5 years agolottie/vector: extend freetype stroker to provide the contour open flag for each... 61/193261/2
sub.mohanty@samsung.com [Fri, 16 Nov 2018 12:38:30 +0000 (21:38 +0900)]
lottie/vector: extend freetype stroker to provide the contour open flag for each contour in an outline.

Change-Id: Ibe4f8e4f45c90f5b03fd528c460e040fef13b375

5 years agoresource: remove-- 00/193200/2
Hermet Park [Fri, 16 Nov 2018 02:46:15 +0000 (11:46 +0900)]
resource: remove--

Change-Id: I44dcb7e01c91a8633ed844974e8091aa59297b86

5 years agolottie/feature: Added 3D layer support in lottie player. 45/193145/1
subhransu mohanty [Thu, 15 Nov 2018 08:19:13 +0000 (17:19 +0900)]
lottie/feature: Added 3D layer support in lottie player.

Change-Id: I1f37f299761570d08ef9bda39a66df757b215e5a

5 years agolottie: added support of auto oriented feature in lottie. 33/193133/1
subhransu mohanty [Thu, 15 Nov 2018 04:51:18 +0000 (13:51 +0900)]
lottie: added support of auto oriented feature in lottie.

Change-Id: Id2290aa0949519fc24b165f9a24aff4151871507

5 years agolottie/parser: support parsing auto orient property of layer. 25/193125/1
subhransu mohanty [Thu, 15 Nov 2018 02:45:57 +0000 (11:45 +0900)]
lottie/parser: support parsing auto orient property of layer.

Change-Id: Ib7d757d43633d601fd76e8c3393219f7682c9112

5 years agolottie/vector: added angleAt() api to bezier class. 24/193124/1
subhransu mohanty [Thu, 15 Nov 2018 02:42:10 +0000 (11:42 +0900)]
lottie/vector: added angleAt() api to bezier class.

Change-Id: Ie5a3f68ad849d1a283363e1eae50ce9520bddb7a

5 years agolottie: refactor to use line api to calculate angle. 23/193123/1
subhransu mohanty [Thu, 15 Nov 2018 02:40:04 +0000 (11:40 +0900)]
lottie: refactor to use line api to calculate angle.

Change-Id: If9440f5fbf1b926a969226aad524db74881ba12f

5 years agolottie/vector: add angle api to VLine class 22/193122/1
subhransu mohanty [Thu, 15 Nov 2018 02:36:58 +0000 (11:36 +0900)]
lottie/vector: add angle api to VLine class

Change-Id: Iaa839e5a4e7a0517c7a9a01cb8e0de972dba95c6

5 years agolottie: Fix crash issue from last patch. 64/193064/1
subhransu mohanty [Wed, 14 Nov 2018 07:52:40 +0000 (16:52 +0900)]
lottie: Fix crash issue from last patch.

Change-Id: Ia8178e3454e26ae2ced8fb0bef66b1c5026f1d26

5 years agolottieitem: free alloc memory properly. 60/193060/2
Hermet Park [Wed, 14 Nov 2018 07:40:43 +0000 (16:40 +0900)]
lottieitem: free alloc memory properly.

gradient stops must be freed.

Change-Id: Ibc25e8e8e1c59762c0b757d15897a8ca5adf1f24

5 years agolottie: fix position property animation along path. 59/193059/1
subhransu mohanty [Wed, 14 Nov 2018 06:57:02 +0000 (15:57 +0900)]
lottie: fix position property animation along path.

Change-Id: I5b30f96a0e8358d2f6b75685ad9025dcdd4dee60

5 years agolottie/vector: fixed the crash in bezier::length() api. 58/193058/1
subhransu mohanty [Wed, 14 Nov 2018 07:36:04 +0000 (16:36 +0900)]
lottie/vector: fixed the crash in bezier::length() api.

Change-Id: I397ecdc65382bd30174bc95ff34063384d12972b

5 years agolottie/model: support fractional frame number in keyframe object. 17/193017/1
subhransu mohanty [Wed, 14 Nov 2018 02:08:39 +0000 (11:08 +0900)]
lottie/model: support fractional frame number in keyframe object.

Change-Id: I1a94b3bffbe7f01e462fcf3f93b822c356bae7b0

5 years agolottie/parser: parse Hidden property of lottie objects. 74/192974/1
subhransu mohanty [Tue, 13 Nov 2018 09:09:45 +0000 (18:09 +0900)]
lottie/parser: parse Hidden property of lottie objects.

Change-Id: I6d9288404045d4332017320b4102c3c5dc6b7d96

5 years agolottieitem: apply transform for radial gradient values. 42/192942/2
Hermet Park [Tue, 13 Nov 2018 05:54:23 +0000 (14:54 +0900)]
lottieitem: apply transform for radial gradient values.

gradient and shape cooridnates must be in same space,
implement them of missing calc.

Change-Id: I21d3024718e9cb64e0072db680ec07e77b8c3d43

5 years agolottie/example: update example with gradient support for efl renderer. 66/192866/1
subhransu mohanty [Mon, 12 Nov 2018 06:48:09 +0000 (15:48 +0900)]
lottie/example: update example with gradient support for efl renderer.

Change-Id: I44bad80372b197572368bae45f109e81a2a4a989

5 years agolottieitem: apply transform for linear gradient coordinates. 60/192860/1
Hermet Park [Mon, 12 Nov 2018 05:58:04 +0000 (14:58 +0900)]
lottieitem: apply transform for linear gradient coordinates.

gradient and shape coordinates must be in same space,
gradient coordinates didn't on it.

Change-Id: Ic697c066c4303c47dd382f11af2f9afb33d6a937

6 years agointerface: updated Graident structure naming. 07/192807/2
Hermet Park [Fri, 9 Nov 2018 11:18:37 +0000 (20:18 +0900)]
interface: updated Graident structure naming.

Change-Id: Ib4b316afd353b0c4762c051bae0f3f277393cac2

6 years agolottie: update LOTNode with the gradient stop value. 36/192736/1
subhransu mohanty [Fri, 9 Nov 2018 01:50:00 +0000 (10:50 +0900)]
lottie: update LOTNode with the gradient stop value.

Change-Id: I85f882418d66341f2667428e293364e2cd916a9e

6 years agolottie: Take care of parentAlpha when drawing with gradient. 35/192735/1
subhransu mohanty [Fri, 9 Nov 2018 01:16:24 +0000 (10:16 +0900)]
lottie: Take care of parentAlpha when drawing with gradient.

Change-Id: Iacdf1df1010a8afe69d15dffa5793791aabc4fef

6 years agolottianimation: fix incorrect animation in time stretch. 89/192389/4
Hermet Park [Mon, 5 Nov 2018 08:04:07 +0000 (17:04 +0900)]
lottianimation: fix incorrect animation in time stretch.

Instead of applying startFrame at frameAtPos()
but applied it at update() in generic way.

This change could make apis useful at both raw frame control
and normalized frame controls.

This fixes "cue" animation sample.

Change-Id: I0adfd73410291cdee95455b18ef8720482c81090

6 years agolottie: added new resource from UX. 24/192224/1
subhransu mohanty [Thu, 1 Nov 2018 01:59:36 +0000 (10:59 +0900)]
lottie: added new resource from UX.

Change-Id: I22e3866f23354afecc9620982cdcc1ff1a2e5ef9

6 years agolottie: Use the new addroundrect api to get uniform corner as expected from AE. 23/192223/1
subhransu mohanty [Thu, 1 Nov 2018 01:58:37 +0000 (10:58 +0900)]
lottie: Use the new addroundrect api to get uniform corner as expected from AE.

Change-Id: Ifcc1486a530d6ddd195bf45a4ea7bf4a4c8ddaa7

6 years agolottie/vector: added new addroundrect api with uniform roundness of corner. 22/192222/1
subhransu mohanty [Thu, 1 Nov 2018 01:57:14 +0000 (10:57 +0900)]
lottie/vector: added new addroundrect api with uniform roundness of corner.

Change-Id: Id6584d3b4fc4b81f2407ba66cafca4b6521d7fd8

6 years agolottie: Fix the issue of assuming the startframe of composition is always zero. 21/192221/1
subhransu mohanty [Thu, 1 Nov 2018 01:18:02 +0000 (10:18 +0900)]
lottie: Fix the issue of assuming the startframe of composition is always zero.
        use the start and end frame instead.

Change-Id: I16cee8b8fbf651faa8c736d979bab51a07dbfa4d

6 years agolottie: take startFrame of composition layer into account while updating 77/192177/1
subhransu mohanty [Wed, 31 Oct 2018 08:18:55 +0000 (17:18 +0900)]
lottie: take startFrame of composition layer into account while updating
        children layers.

Change-Id: I693d18d8ba5757030f8166c263641ad900b8d835

6 years agolottie: Added TimeStreatch feature to lottie. 76/192176/1
subhransu mohanty [Wed, 31 Oct 2018 07:57:55 +0000 (16:57 +0900)]
lottie: Added TimeStreatch feature to lottie.
Details: still some resources are not working ex:hiking.json need to
find out what other properties also affected by time streatch property.

Change-Id: I5846c74549e86f13606de5dd824fef00e2d5857a

6 years agolottie/feature: Added timeRemap feature implementation. 22/191722/1
subhransu mohanty [Tue, 23 Oct 2018 00:46:20 +0000 (09:46 +0900)]
lottie/feature: Added timeRemap feature implementation.

Change-Id: I89df91f3cc709fa8fa392586218676770c0aac84

6 years agolottie: make functions inline. 21/191721/2
subhransu mohanty [Tue, 23 Oct 2018 00:09:49 +0000 (09:09 +0900)]
lottie: make functions inline.

Change-Id: I0e9a085071965c95fb4867e313260f8c0b051e24

6 years agolottie: Add duration() and frameAtPos() api to CompositionData model. 19/191719/2
subhransu mohanty [Mon, 22 Oct 2018 23:55:39 +0000 (08:55 +0900)]
lottie: Add duration() and frameAtPos() api to CompositionData model.

Change-Id: I7ff968b8262270dcd7b47a16f1a9549f7ffdb7d5

6 years agolottieitem : fix wrong matrix computation order. 75/191475/1
Hermet Park [Wed, 17 Oct 2018 10:45:02 +0000 (19:45 +0900)]
lottieitem : fix wrong matrix computation order.

It occured scaled position, now it's fixed.

Change-Id: Id179c32139fb0722a6f4faaaea7044944c2e4c92

6 years agolottie: make destructor virtual for proper cleanup of derived object 09/191309/1
subhransu mohanty [Tue, 16 Oct 2018 01:19:26 +0000 (10:19 +0900)]
lottie: make  destructor virtual for proper cleanup of derived object

Change-Id: I0c91778834b46365598381e57363e36c2c91de63

6 years agoREADME: Document how to build using cmake
Bryce Harrington [Thu, 27 Sep 2018 04:50:11 +0000 (13:50 +0900)]
README: Document how to build using cmake

Reviewd-By: Hermet Park <hermetpark@gmail.com>
Change-Id: I25056d78d5b540fe0568825a617979b6439f508b

6 years agoREADME: Add docs for running testsuite
Bryce Harrington [Thu, 27 Sep 2018 04:49:30 +0000 (13:49 +0900)]
README: Add docs for running testsuite

Change-Id: Ifcbdaf1a2aecd1b61e43faf9bac603d6d1151400

6 years agoREADME: Fix a few typos
Bryce Harrington [Thu, 27 Sep 2018 04:48:25 +0000 (13:48 +0900)]
README: Fix a few typos

Change-Id: I6549291543f0c3f5626b0fb3011f712d1d9df34f

6 years agoFixes a spelling and some minor formatting.
Bryce Harrington [Thu, 27 Sep 2018 04:46:09 +0000 (13:46 +0900)]
Fixes a spelling and some minor formatting.

Change-Id: Ie6a0f4706eae8cf87335aaeabec2b66050109ef0

6 years agolottie: make animation class constructor private. 81/189581/1
subhransu mohanty [Wed, 19 Sep 2018 02:29:26 +0000 (11:29 +0900)]
lottie: make animation class constructor private.

we can't use make_unique to create the animation object anymore because the constructor is private.
so used unique_ptr constructor instead.

Change-Id: I23b68c68d1b960085800365662ebb1cc676731cc

6 years agolottie/camke: use ${LIB_INSTALL_DIR} instead of hard coded lib/ path. 52/189452/2 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.022314 accepted/tizen/unified/20180918.063007 submit/tizen/20180918.061016 submit/tizen_5.0/20181101.000005
subhransu mohanty [Tue, 18 Sep 2018 02:46:57 +0000 (11:46 +0900)]
lottie/camke: use ${LIB_INSTALL_DIR} instead of hard coded lib/ path.

Change-Id: I10152adb394df81b241afb3ca7ae34169917eb94

6 years agolottie/build: add sanitizer build to lottie-player library. 90/189290/1
sub.mohanty@samsung.com [Sat, 15 Sep 2018 14:03:04 +0000 (23:03 +0900)]
lottie/build: add sanitizer build to lottie-player library.

Change-Id: I51d7d4b21bae19f4b6174ccb8f48ceefcc01f434

6 years agolottie: add more test resources. 76/189176/1 submit/tizen/20180917.042405
subhransu mohanty [Fri, 14 Sep 2018 04:53:47 +0000 (13:53 +0900)]
lottie: add more test resources.

Change-Id: I778b7fe0d062043d97cc87d0ec581f2d35451f2b

6 years agolottie/parser: fixed a crash when lottie resource has empty path data. 75/189175/1
subhransu mohanty [Fri, 14 Sep 2018 04:41:56 +0000 (13:41 +0900)]
lottie/parser: fixed a crash when lottie resource has empty path data.

Change-Id: I83d04fa6a1034f71e8cf9b6468b192b56a4c8185

6 years agolottie/resource: added few more resource from internet. 61/189061/3
subhransu mohanty [Thu, 13 Sep 2018 05:58:54 +0000 (14:58 +0900)]
lottie/resource: added few more resource from internet.

Change-Id: I7a22d6b9beb4741fb047f9c7556cea3a38bc21d9

6 years agolottie/parser: Fix crash issue when interpolation string is not present in lottie... 93/189093/2
subhransu mohanty [Thu, 13 Sep 2018 09:08:21 +0000 (18:08 +0900)]
lottie/parser: Fix crash issue when interpolation string is not present in lottie file.
For some version of bodymovin file interpolation string is not part of the keyframe
in those case create one and add it to the cache.

Change-Id: I5853bd7a6f46140d16191c2b79622cfa1f6fb074

6 years agolottie: add more info to tree dump. 30/189030/1
subhransu mohanty [Thu, 13 Sep 2018 01:33:50 +0000 (10:33 +0900)]
lottie: add more info to tree dump.

Change-Id: I8565484b16dfb703586af2ba3b893c0c90298107

6 years agolottie/parser: fix code indentations and a duplicated code 80/188980/1
Youngbok Shin [Wed, 12 Sep 2018 07:48:39 +0000 (16:48 +0900)]
lottie/parser: fix code indentations and a duplicated code

Change-Id: I01280529f6ada36ded67a31d24833049762f52ca

6 years agolottie/parser: update the lottie tree dump method. 70/188970/1
subhransu mohanty [Wed, 12 Sep 2018 06:59:39 +0000 (15:59 +0900)]
lottie/parser: update the lottie tree dump method.

Change-Id: Ie126e11a20493517df69fdd2a03a091bc802a733

6 years agolottie/vector : add a example to test the vector module. 29/188929/2
subhransu mohanty [Wed, 12 Sep 2018 02:49:12 +0000 (11:49 +0900)]
lottie/vector : add a example to test the vector module.

Change-Id: I511b2b520b51ec8b9bf278b67a5ca94784af4c76

6 years agolottie/parser: construct interpolator from correct argument. 25/188925/1
subhransu mohanty [Wed, 12 Sep 2018 02:34:36 +0000 (11:34 +0900)]
lottie/parser: construct interpolator from correct argument.
This is the most annoying bug because of passing argument in wrong order to
the interpolaor constructor.

Change-Id: Idfc307186bc1dd7d6d3849d29985c3e6f493d9d0

6 years agolottie: update the loadfromData() api signature. 20/188920/1
subhransu mohanty [Wed, 12 Sep 2018 01:09:44 +0000 (10:09 +0900)]
lottie: update the loadfromData() api signature.

Change-Id: I801f39d06ce67d30be37dc14733ad99ae3a54da2

6 years agolottie: take a copy of the data before parsing. 65/188865/4
subhransu mohanty [Tue, 11 Sep 2018 06:53:59 +0000 (15:53 +0900)]
lottie: take a copy of the data before parsing.

Change-Id: Ic25eea21093d8b533462ffd4c46e86d87f7c6f35

6 years agolottie/optimization: efficient member packing in the VDrawable object. 34/188834/1
subhransu mohanty [Tue, 11 Sep 2018 04:18:04 +0000 (13:18 +0900)]
lottie/optimization: efficient member packing in the VDrawable object.

Change-Id: I545f9a33d1cae329bc9ee140c213e07697b8cccf

6 years agocapi: export one missing api.
Hermet Park [Mon, 10 Sep 2018 11:57:28 +0000 (20:57 +0900)]
capi: export one missing api.

Change-Id: Iba8d035febdcbbee852aa9d946ae3202ae5433ad

6 years agolottie/test: added new unit test cases for library. 58/188758/2
subhransu mohanty [Mon, 10 Sep 2018 05:54:15 +0000 (14:54 +0900)]
lottie/test: added new unit test cases for library.

Change-Id: I1c9d61d98a1028601a36c4e6118b7109d88b2ace

6 years agolottie/vector: fine tune path api. 17/188717/2
sub.mohanty@samsung.com [Sat, 8 Sep 2018 04:17:12 +0000 (13:17 +0900)]
lottie/vector: fine tune path api.

Change-Id: Ic40da16809e5e0b32f5d23cc8b06636d37072037

6 years agolottie/test: refactor unit test suite for lottie library 18/188718/3
sub.mohanty@samsung.com [Sat, 8 Sep 2018 04:15:28 +0000 (13:15 +0900)]
lottie/test: refactor unit test suite for lottie library

Change-Id: I25097f0c3c637e020c51f9f679082809d0cbdaad

6 years agolottie: rename all isEmpty() api to empty() for consistancy. 20/188720/1
sub.mohanty@samsung.com [Sun, 9 Sep 2018 02:57:30 +0000 (11:57 +0900)]
lottie: rename all isEmpty() api to empty() for consistancy.

Change-Id: Id3dddbd920ff00c7beafe0abd17f6da73442195b

6 years agolottie/vector: refactor rect class. 19/188719/2
sub.mohanty@samsung.com [Sat, 8 Sep 2018 08:12:20 +0000 (17:12 +0900)]
lottie/vector: refactor rect class.

Change-Id: I553160f74ad06b002cf2d17d1bf55615e71f9853