platform/core/uifw/lottie-player.git
6 years agolottie/player: make sure model or composition available before calling api. 03/186303/2
subhransu mohanty [Thu, 9 Aug 2018 00:52:20 +0000 (09:52 +0900)]
lottie/player: make sure model or composition available before calling api.

Change-Id: Ia1351bbd076d0e3189d033f708bd3ec281c30cd4

6 years agolottie/vector: added isEmpty() api in size class. 02/186302/1
subhransu mohanty [Thu, 9 Aug 2018 00:51:43 +0000 (09:51 +0900)]
lottie/vector: added isEmpty() api in size class.

Change-Id: Ia49254b2d83c047d268ff7510c058c6b25873564

6 years agolottie/render : fixed dash regression 05/186205/1
subhransu mohanty [Mon, 6 Aug 2018 08:09:23 +0000 (17:09 +0900)]
lottie/render : fixed dash regression

Change-Id: I7a79295348ba23d8328718014a49760c2e11e731

6 years agolottie/vector: fixed dasher issue. 04/186204/1
subhransu mohanty [Mon, 6 Aug 2018 06:56:10 +0000 (15:56 +0900)]
lottie/vector: fixed dasher issue.

Change-Id: If602ac7441469c5ed8bfe0500154a585087f433f

6 years agolottie/vector: refactored VRle class to use cow_ptr. 11/185911/4
subhransu mohanty [Wed, 1 Aug 2018 02:04:29 +0000 (11:04 +0900)]
lottie/vector: refactored VRle class to use cow_ptr.

Change-Id: I00dd76c57e94a255efb478a61465ce6b20e8d0b5

6 years agolottie/render: Implement drawRle() with position information. 62/185962/1
subhransu mohanty [Mon, 6 Aug 2018 01:19:57 +0000 (10:19 +0900)]
lottie/render: Implement drawRle() with position information.

Change-Id: Ia5bbcf911baaaa4b684045a6ac28c4dcfc14f841

6 years agolottie/render: don't redraw stroke/dash if there is no change 91/185891/2
Youngbok Shin [Fri, 3 Aug 2018 08:46:02 +0000 (17:46 +0900)]
lottie/render: don't redraw stroke/dash if there is no change

It will improve performance.

Change-Id: I3764d126d7eae19d009d72998247789e620205a1

6 years agolottie: don't redraw path item if its properties are not changed 56/185856/3
Youngbok Shin [Fri, 3 Aug 2018 04:38:04 +0000 (13:38 +0900)]
lottie: don't redraw path item if its properties are not changed

A path item has few animation frames, it has to be redrawn only in
animated frames. If the path item became static after animation frames,
it shouldn't redraw its path.
It will improve performance.

Change-Id: I583f2b8a889208a07530f6d06ed90469bcee726c

6 years agolottie: always get the item by ref or const ref. 96/185796/1
subhransu mohanty [Thu, 2 Aug 2018 05:57:08 +0000 (14:57 +0900)]
lottie: always get the item by ref or const ref.

Change-Id: Id798812b135d2e1ef1fb593412808f15e2645761

6 years agolottie/raster: remove Const qualifier from VPath parameters 75/185775/1
Youngbok Shin [Thu, 2 Aug 2018 07:59:59 +0000 (16:59 +0900)]
lottie/raster: remove Const qualifier from VPath parameters

The given VPath should be moved by std::move.
The std:move only work as our purpose when it is non-const variable.
And it also fix a crash issue when its path is not changed, but its other properties are changed.

Change-Id: I4135066f99c0eed07e033c368dc4b60e6703ca37

6 years agolottie/vector: move VPath to raster/drawable methods 63/185763/1
Youngbok Shin [Thu, 2 Aug 2018 07:05:20 +0000 (16:05 +0900)]
lottie/vector: move VPath to raster/drawable methods

It prevents to increase ref count of VPath meaninglessly.
It could be helpful to improve performance by avoiding alloc/dealloc/copy.

Change-Id: I597ca0ea99cdc10bfe9c83a644d20caeab6162b3

6 years agolottie/vector: add clone method to copy data without increasing ref count 52/185752/2
Youngbok Shin [Thu, 2 Aug 2018 04:43:59 +0000 (13:43 +0900)]
lottie/vector: add clone method to copy data without increasing ref count

It helps to improve performance by avoiding copy job from writing COW data.

Change-Id: I72d1c7106fc4fe53fa6db05e7ed8c74f1b70fe95

6 years agolottie/render: fixed logic where the memory will only grow when needed. 48/185748/1
subhransu mohanty [Thu, 2 Aug 2018 04:11:28 +0000 (13:11 +0900)]
lottie/render: fixed logic where the memory will only grow when needed.

Change-Id: I2367433c69083b5c52d109ff854b9fa3b9019247

6 years agolottie: reuse path for reducing constructor/destructor calls from getPath()/toPath() 75/185675/3
Youngbok Shin [Wed, 1 Aug 2018 11:15:15 +0000 (20:15 +0900)]
lottie: reuse path for reducing constructor/destructor calls from getPath()/toPath()

It helps to improve performance by avoiding constructor/destructor calls.
The getPath function is renamed to updatePath function.
And it does not return VPath anymore.

Change-Id: I6e6cc52ec3f1560aac2ee0633cdf5a8c224dcc6e

6 years agolottie: add support for arm fast path in vector render backend. 35/185735/1
subhransu mohanty [Thu, 2 Aug 2018 01:39:56 +0000 (10:39 +0900)]
lottie: add support for arm fast path in vector render backend.

Change-Id: I6e2524290eb22cf889033ebb129b9a699bcdaf07

6 years agolottie: remove dead code. 93/185593/1
subhransu mohanty [Wed, 1 Aug 2018 04:06:44 +0000 (13:06 +0900)]
lottie: remove dead code.

Change-Id: Ia56674a813a65007f07b2a54d230743ced6b6511

6 years agolottie/optimization: move the rle object to rletask thread to reuse 86/185586/1
subhransu mohanty [Wed, 1 Aug 2018 02:46:31 +0000 (11:46 +0900)]
lottie/optimization: move the rle object to rletask thread to reuse
the object between frames.

Change-Id: Ia551fea9346c27aa4b6c020670a287b83b8a472e

6 years agolottie/vector: added reset() api to VRle class. 85/185585/1
subhransu mohanty [Wed, 1 Aug 2018 02:43:37 +0000 (11:43 +0900)]
lottie/vector: added reset() api to VRle class.

Change-Id: Iace73912f6ab4510c0adb15387029e2038ad15be

6 years agolottie/render: fixed rendering backend issue for arm. 13/185513/1
subhransu mohanty [Tue, 31 Jul 2018 08:10:30 +0000 (17:10 +0900)]
lottie/render: fixed rendering backend issue for arm.

Change-Id: I23b2f24b0ed995cb76ba554228e4ff72677806bd

6 years agolottie/render: add support for arm backend build. 12/185512/1
subhransu mohanty [Tue, 31 Jul 2018 08:08:54 +0000 (17:08 +0900)]
lottie/render: add support for arm backend build.

Change-Id: I2cd319c4f599ead2e33056b037828d417d47753b

6 years agolottie: treat undefined symbol as error while building library and enable assembly... 10/185510/1
subhransu mohanty [Tue, 31 Jul 2018 08:01:05 +0000 (17:01 +0900)]
lottie: treat undefined symbol as error while building library and enable assembly building.

Change-Id: I034d8bb84e61ecc56da6a66c18e620e8611dcb0b

6 years agolottie: remove hardcoding pathes in pkgconfig file. (.pc) 86/185486/1
Youngbok Shin [Tue, 31 Jul 2018 05:57:12 +0000 (14:57 +0900)]
lottie: remove hardcoding pathes in pkgconfig file. (.pc)

Change-Id: I284cc1fc0af6f58e0da16ea8ab3d17de7f3b4286

6 years agolottie: move logging system initialization to player. 84/185484/1
subhransu mohanty [Tue, 31 Jul 2018 05:29:01 +0000 (14:29 +0900)]
lottie: move logging system initialization to player.
disable loggin for tizen till issue resolved.

Change-Id: I24664f43128c6edfacd09f7296d63cad636c0c81

6 years agolottie: fixed pc file for linking issue of lottie library in tizen 81/185481/1
subhransu mohanty [Tue, 31 Jul 2018 04:52:57 +0000 (13:52 +0900)]
lottie: fixed pc file for linking issue of lottie library in tizen

thanks to youngbok for the help

Change-Id: Iff2cb41b58102892b8903cf17cc7847ff3c9163e

6 years agolottie: add cmake config file so that library can be found with find_package() 52/185452/2
subhransu mohanty [Tue, 31 Jul 2018 01:14:46 +0000 (10:14 +0900)]
lottie: add cmake config file so that library can be found with find_package()

Change-Id: I4e1c29f79a1a24636808079762cc88501fe2389b

6 years agolottie/vector: reserve memory ahead to minimize reallocation. 81/185381/6
subhransu mohanty [Mon, 30 Jul 2018 05:54:42 +0000 (14:54 +0900)]
lottie/vector: reserve memory ahead to minimize reallocation.

Change-Id: Idb973bb7660c4ec95f36aa36d3707aa6030f5ffc

6 years agolottie: use make_unique construct 94/185394/2
Youngbok Shin [Mon, 30 Jul 2018 06:47:36 +0000 (15:47 +0900)]
lottie: use make_unique construct

Change-Id: I8618541470fb636d2315aa39360fadc58c182dd3

6 years agolottie/vector: reserve memory space ahead for minimizing reallocation - Polystar... 87/185387/1
Youngbok Shin [Mon, 30 Jul 2018 06:24:11 +0000 (15:24 +0900)]
lottie/vector: reserve memory space ahead for minimizing reallocation - Polystar/Polygon

It also fix to use vIsZero() instead of equal(=) for floating values.

Change-Id: Iebe619a1a7be58b00e7261d8a6079e8ea817e055

6 years agolottie/vector: remove a warning message from 64 bits compilation 80/185380/1
Youngbok Shin [Mon, 30 Jul 2018 05:48:28 +0000 (14:48 +0900)]
lottie/vector: remove a warning message from 64 bits compilation

uint64_t is same as unsigned long long in 32 bits compilation.
But, it is same as unsigned long in 64 bits compilation.

Change-Id: Ibcddaf17d1fa1f6c972906f6571c05253292b752

6 years agolottie/vector: remove an unused variable warning message 75/185375/1
Youngbok Shin [Mon, 30 Jul 2018 05:41:23 +0000 (14:41 +0900)]
lottie/vector: remove an unused variable warning message

Change-Id: I1ac0b9c3ec314ac01da8d3be3d11a1b21ef9938a

6 years agolottie/vector: reserve memory only when required. 74/185374/1
subhransu mohanty [Mon, 30 Jul 2018 05:34:24 +0000 (14:34 +0900)]
lottie/vector: reserve memory only when required.

Change-Id: Ia86c292d66c1060d33ccffd2fe5922480d219eb4

6 years agolottie/vector: updated paths reserve api policy. 73/185373/1
subhransu mohanty [Mon, 30 Jul 2018 05:31:19 +0000 (14:31 +0900)]
lottie/vector: updated paths reserve api policy.

Change-Id: I9b6e97526d887ec6d342384cb7f2046584dbaf04

6 years agolottie: save extra memory allocation by reusing FtOutline object. 69/185369/1
subhransu mohanty [Mon, 30 Jul 2018 05:22:11 +0000 (14:22 +0900)]
lottie: save extra  memory allocation by reusing FtOutline object.

Change-Id: Ib3574052524cd38cd106ba27620ac825eb6a3f2a

6 years agolottie: fixed warning. 68/185368/1
subhransu mohanty [Mon, 30 Jul 2018 05:13:46 +0000 (14:13 +0900)]
lottie: fixed warning.

Change-Id: Icc12cc76584913dd1f219207c23b987c61bb4829

6 years agolottie: Enable compiler Optimization on library. 67/185367/1
subhransu mohanty [Mon, 30 Jul 2018 04:44:09 +0000 (13:44 +0900)]
lottie: Enable compiler Optimization on library.

Change-Id: I4edee092788670e5438139ea60a8daa9998c6575

6 years agolottie: remove inline from public api. 66/185366/1
subhransu mohanty [Mon, 30 Jul 2018 04:40:24 +0000 (13:40 +0900)]
lottie: remove inline from public api.

Change-Id: Ia6fdd2ddf0029f7aa1af57446e327ac6887708c8

6 years agolottie: Follow Tizen coding guideline. 65/185365/1
subhransu mohanty [Mon, 30 Jul 2018 03:03:49 +0000 (12:03 +0900)]
lottie: Follow Tizen coding guideline.

Change-Id: Ice6a5af7cb08e768e157f8bb45bef64bb4062dce

6 years agolottie/model: unique pointer will do the job. 54/185354/3
sub.mohanty@samsung.com [Sun, 29 Jul 2018 10:53:44 +0000 (19:53 +0900)]
lottie/model: unique pointer will do the job.

Change-Id: If421eb50bfbb529dece4d42fce1b71ff70574694

6 years agolottie: Updated clang-format based on tizen coding guide line. 59/185359/4
subhransu mohanty [Mon, 30 Jul 2018 01:41:25 +0000 (10:41 +0900)]
lottie: Updated clang-format based on tizen coding guide line.

Change-Id: I25ddd59307ded91b71d7aaf46c2fc32e8e88fd33

6 years agolottie/model: refactor Keyframe class for space optimization. 53/185353/3
sub.mohanty@samsung.com [Sun, 29 Jul 2018 08:51:17 +0000 (17:51 +0900)]
lottie/model: refactor Keyframe class for space optimization.

Change-Id: I5b5a614ef69ab430459003764e7707ace4575ebd

6 years agolottie/render: ported sse2 srcOver composition from pixman. 52/185352/2
sub.mohanty@samsung.com [Sat, 28 Jul 2018 11:34:54 +0000 (20:34 +0900)]
lottie/render: ported sse2 srcOver composition from pixman.

Change-Id: I8d38caf4190a97a8575c5cecd9847fc37f4ef256

6 years agolottie/vector: Remove the hack with mutable data member. 51/185351/1
sub.mohanty@samsung.com [Sat, 28 Jul 2018 08:29:58 +0000 (17:29 +0900)]
lottie/vector: Remove the hack with mutable data member.
NOTE: if you need to modify the object in a const member function make the data as mutable.

Change-Id: I28b2cc18d75433475f75b048af878297747980db

6 years agolottie: fix some more warning. 50/185350/1
sub.mohanty@samsung.com [Sat, 28 Jul 2018 08:08:32 +0000 (17:08 +0900)]
lottie: fix some more warning.

Change-Id: I0b1fe8773ec1f795e7df603a35a02687697f3e00

6 years agolottie/render: fixed std::move copy elision warning 49/185349/1
sub.mohanty@samsung.com [Sat, 28 Jul 2018 08:02:37 +0000 (17:02 +0900)]
lottie/render: fixed std::move copy elision warning

Change-Id: I0eee41225dbc19ee958b7d747d2536532efb3445

6 years agolottie/render: fixed regression in dash rendering. 03/185303/1
subhransu mohanty [Fri, 27 Jul 2018 09:50:42 +0000 (18:50 +0900)]
lottie/render: fixed regression in dash rendering.

Change-Id: I3f4a4aa5d990b9386ddf2ceddc141c2ac83cda76

6 years agolottie/vector: clean up vpathmesure and use vdasher in it 92/185292/1
Jaeun Choi [Fri, 27 Jul 2018 08:42:16 +0000 (17:42 +0900)]
lottie/vector: clean up vpathmesure and use vdasher in it

Change-Id: Id5367613f89487f4a764010ef155d19f78e2372a

6 years agovector: add length() function in vpath 79/185279/1
Jaeun Choi [Fri, 27 Jul 2018 08:04:49 +0000 (17:04 +0900)]
vector: add length() function in vpath

Change-Id: I94e2a3d7a1441f250ca722f53de018efce191c74

6 years agolottie/render: Disable buggy sse2 implementation till it fixed. 75/185275/2
subhransu mohanty [Fri, 27 Jul 2018 07:30:46 +0000 (16:30 +0900)]
lottie/render: Disable buggy sse2 implementation till it fixed.

Change-Id: Iffc2006afc1bb29a65944a6da23fa308ce0b5955

6 years agovector: fixed variable type from int to float 67/185267/1
Jaeun Choi [Fri, 27 Jul 2018 06:42:05 +0000 (15:42 +0900)]
vector: fixed variable type from int to float

Change-Id: I5ab0d6f14de6e1aa302cb6b4df1f61781dd3468b

6 years agolottie/render: Use AlignCenter rule when the composition dosen't scale exactly to... 56/185256/2
subhransu mohanty [Fri, 27 Jul 2018 05:42:02 +0000 (14:42 +0900)]
lottie/render: Use AlignCenter rule when the composition dosen't scale exactly to the requested size.

Change-Id: Ibd8aa929186104378287b65785afbc799cad0e04

6 years agolttie/example: fixed layouting issue. 01/185201/1
subhransu mohanty [Fri, 27 Jul 2018 03:48:53 +0000 (12:48 +0900)]
lttie/example: fixed layouting issue.

Change-Id: Id6ac76f9e4161321252e32a7a4484f69d130c04f

6 years agolottie/render: Move drawable class to vector. 95/185195/1
subhransu mohanty [Fri, 27 Jul 2018 02:09:13 +0000 (11:09 +0900)]
lottie/render: Move drawable class to vector.

Change-Id: I4cb296e7a1d86b5215ab191b4306514d3fcdeacf

6 years agolottie/vector: refactor vmatrix class as a POD class because memory allocation is... 87/185187/1
subhransu mohanty [Tue, 24 Jul 2018 00:42:24 +0000 (09:42 +0900)]
lottie/vector: refactor vmatrix class as a POD class because memory allocation is showing up in profiling.

Change-Id: Ib86e8e3766faa1f8e43e3b21b356d16adf3c9cab

6 years agolottie/optimization: reduce temporary object by calling *= operator. 62/185162/1
subhransu mohanty [Thu, 26 Jul 2018 09:29:33 +0000 (18:29 +0900)]
lottie/optimization: reduce temporary object by calling *= operator.

Change-Id: I9a5273a81cdad0ac78edf6a6564cfb6965884311

6 years agolottie/render: fixed meter join type rendering issue. 83/185083/1
subhransu mohanty [Thu, 26 Jul 2018 04:10:36 +0000 (13:10 +0900)]
lottie/render: fixed meter join type rendering issue.

Change-Id: Ie32e60b0d613a5ca7b68176d7f8cc0859aa0f315

6 years agolottie/optimization: added reserve() on lottieshapeData to optimize memory allocation 82/185082/1
subhransu mohanty [Thu, 26 Jul 2018 03:46:07 +0000 (12:46 +0900)]
lottie/optimization: added reserve() on lottieshapeData to optimize memory allocation

Change-Id: Ic41d90a4463b54c47d3f39fa72bb09d5ddbc47f0

6 years agolottie/optimization: reserve() memory ahead before calling path api 74/185074/2
subhransu mohanty [Thu, 26 Jul 2018 02:23:14 +0000 (11:23 +0900)]
lottie/optimization: reserve() memory ahead before calling path api
to optimize the number of allocation.

Change-Id: Iab0b8db715c868de0a0f4a0c688421cc11be4b01

6 years agolottie/vector: update reserve() api in vpath 73/185073/1
subhransu mohanty [Thu, 26 Jul 2018 02:11:28 +0000 (11:11 +0900)]
lottie/vector: update reserve() api in vpath

Change-Id: Ib43afa96a0c1a7764dd410ea1e7f01019f592d6d

6 years agolottie/optimization: Refactored to reduced number of allocation per task. 68/185068/1
subhransu mohanty [Thu, 26 Jul 2018 00:58:44 +0000 (09:58 +0900)]
lottie/optimization: Refactored to reduced number of allocation per task.

Change-Id: I380e0b6c720c698e84e9d157678c8abf6ac83191

6 years agolottie: updated library dependancy to c++14 65/185065/1
subhransu mohanty [Thu, 26 Jul 2018 00:43:36 +0000 (09:43 +0900)]
lottie: updated library dependancy to c++14

Change-Id: I6262065f30393830ea5192d0f549491f2c42677e

6 years agolottie: support library version in cmake build system. 63/185063/1
subhransu mohanty [Thu, 26 Jul 2018 00:33:20 +0000 (09:33 +0900)]
lottie: support library version in cmake build system.

Change-Id: I494a29cc02ddd5dbba6014f08d27f11da62ecfb3

6 years agolottie: Support tizen gbs build . 41/185041/1
subhransu mohanty [Wed, 25 Jul 2018 10:24:53 +0000 (19:24 +0900)]
lottie: Support tizen gbs build .

Change-Id: I516206ba3cc83d80770888b1d1c21e37780c3e45

6 years agolottie: add pc file for lottie player 40/185040/1
subhransu mohanty [Wed, 25 Jul 2018 10:23:57 +0000 (19:23 +0900)]
lottie: add pc file for lottie player

Change-Id: Ic44b84b756b0ae7939a016cddd1e51eec7d3a3bc

6 years agolottie: added cmake build system for lottie 14/185014/1
subhransu mohanty [Wed, 25 Jul 2018 07:55:40 +0000 (16:55 +0900)]
lottie: added cmake build system for lottie

Change-Id: I8e03709ae668bc221c4ec936317cf579d326876f

6 years agolottie/vector: refactor vraster to optimize number of memory allocation. 22/184922/2
subhransu mohanty [Tue, 24 Jul 2018 00:57:20 +0000 (09:57 +0900)]
lottie/vector: refactor vraster to optimize number of memory allocation.

Change-Id: I55ffb29d9a039a458830200a56ff3a6a057ff361

6 years agolottie/vector: change addPolystar* method to addPolystar/addPolygon 21/184921/1
Youngbok Shin [Tue, 24 Jul 2018 09:00:25 +0000 (18:00 +0900)]
lottie/vector: change addPolystar* method to addPolystar/addPolygon

It also move its implemented code to VPath::VPathData from VPath.

Change-Id: Idc6f04e04930f1863bb78fd1a05ba86c573e328b

6 years agolottie/vector: use callback version of intersect() for performance. 83/184783/3
subhransu mohanty [Mon, 23 Jul 2018 06:10:51 +0000 (15:10 +0900)]
lottie/vector: use callback version of intersect() for performance.

Change-Id: I194f1da65b766e59c4c5230040b8a329a39fa95b

6 years agolottie/vector: avoid copy-elision by using move on temporary object. 63/184763/3
subhransu mohanty [Mon, 23 Jul 2018 03:48:52 +0000 (12:48 +0900)]
lottie/vector: avoid copy-elision by using move on temporary object.

Change-Id: I6b54951dab7d15966760d5ec682d151e9745da63

6 years agolottie/vector: Implement intersect function with callback. 82/184782/3
subhransu mohanty [Mon, 23 Jul 2018 06:02:45 +0000 (15:02 +0900)]
lottie/vector: Implement  intersect function with callback.

Change-Id: I8d5e3be9d4a77c246ef174e716c22c8766fc82a1

6 years agolottie: give a make_unique wrapper till we move to c++14 54/184754/3
sub.mohanty@samsung.com [Sat, 21 Jul 2018 08:07:00 +0000 (17:07 +0900)]
lottie: give a make_unique wrapper till we move to c++14

Change-Id: I09061f807f6bf9ad5eea631f206d89705e3ae1bc

6 years agolottie/vector: refactor vpath class to use vcow_ptr 61/184761/2
subhransu mohanty [Mon, 23 Jul 2018 00:33:56 +0000 (09:33 +0900)]
lottie/vector: refactor vpath class to use vcow_ptr

Change-Id: Ib16da52a8a97bbee87766ee362e1d6e5678ac305

6 years agolottie/vector: added cow_ptr class to support copy_on_write class in vector. 60/184760/2
subhransu mohanty [Mon, 23 Jul 2018 00:24:36 +0000 (09:24 +0900)]
lottie/vector: added cow_ptr class to support copy_on_write class in vector.

Change-Id: I485637da44d44ce473dc760aaf484b0377bdcda1

6 years agolottie: fixed miscellaneous things regarding trim operation 11/184711/2
Jaeun Choi [Fri, 20 Jul 2018 08:59:34 +0000 (17:59 +0900)]
lottie: fixed miscellaneous things regarding trim operation

 - check if path operator is there before applying it
 - fixed comment
 - fixed indentation

Change-Id: I2b491423cea3a40e5c28436686b24f92d1e6bcfd

6 years agovector: bug fix in vpathmesure 09/184709/1
Jaeun Choi [Fri, 20 Jul 2018 08:40:50 +0000 (17:40 +0900)]
vector: bug fix in vpathmesure

Change-Id: I4936c9fe5b7db80fe6d99908086c3ebc9dab1398

6 years agolottie/example: add polystar_line_clockwise_trim.json file for testing polystar with... 92/184692/1
Youngbok Shin [Fri, 20 Jul 2018 07:48:42 +0000 (16:48 +0900)]
lottie/example: add polystar_line_clockwise_trim.json file for testing polystar with trim

Change-Id: I0a1db3400b284f973a959a194919221d28871d42

6 years agolottie/vector: apply direction to polystar path 86/184686/2
Youngbok Shin [Fri, 20 Jul 2018 07:16:40 +0000 (16:16 +0900)]
lottie/vector: apply direction to polystar path

When the given direction is counter clockwise,
it calculates polystar with reversed angle changes.

Change-Id: Iee833a946f67f0bd967369258d3df820cf3779da

6 years agolottie/vector: make the pathmesure class thread safe. 80/184680/1
subhransu mohanty [Fri, 20 Jul 2018 06:44:58 +0000 (15:44 +0900)]
lottie/vector: make the pathmesure class thread safe.

Change-Id: I10dc4e0a0c6c050bc573c792f819cf91c2982f03

6 years agolottie/example: add polystar_anim.json file for testing polystar 67/184667/2
Youngbok Shin [Fri, 20 Jul 2018 04:21:40 +0000 (13:21 +0900)]
lottie/example: add polystar_anim.json file for testing polystar

It has animation for changing its number of points. (3.0 to 15.0)

Change-Id: I133c19dc0b37380804da43ac8256f6c86085a536

6 years agolottie/example: workaround to render at 60fps. 68/184668/2
subhransu mohanty [Fri, 20 Jul 2018 05:04:33 +0000 (14:04 +0900)]
lottie/example: workaround to render at 60fps.

Change-Id: I6e2ad981467679357a75310027d9482a28e1bc94

6 years agolottie/example: updated example to use async rendering . 56/184656/2
subhransu mohanty [Fri, 20 Jul 2018 01:30:03 +0000 (10:30 +0900)]
lottie/example: updated example to use async rendering .

Change-Id: I6929f00bb6a26f18f7276890c40993329d94ae03

6 years agolottie/vector: refactor the vregion class 70/184670/2
subhransu mohanty [Fri, 20 Jul 2018 05:38:18 +0000 (14:38 +0900)]
lottie/vector: refactor the vregion class

Change-Id: I093000d097cee2045b32b04ef8774b1aaa2706d8

6 years agolottie/render: implement render_scheduler to enable multithreading render job. 55/184655/2
subhransu mohanty [Fri, 20 Jul 2018 01:25:06 +0000 (10:25 +0900)]
lottie/render: implement render_scheduler to enable multithreading render job.

Change-Id: If3ab28cd7fab0e16703fae5b8f3d158bf40a77e3

6 years agolottie: handle trim path 33/184633/3
Jaeun Choi [Thu, 19 Jul 2018 11:20:32 +0000 (20:20 +0900)]
lottie: handle trim path

Change-Id: I05f1daec3c7e0c4cbb953c5c0a076d81e82d8e30

6 years agovector: implement vpathmesure 32/184632/3
Jaeun Choi [Thu, 19 Jul 2018 10:22:19 +0000 (19:22 +0900)]
vector: implement vpathmesure

Change-Id: I562df481e72b4e356821b1a44b7749c29ea0b1ca

6 years agolottie/vector: make all copy_on_write class in vector thread safe. 52/184652/1
subhransu mohanty [Thu, 19 Jul 2018 23:36:43 +0000 (08:36 +0900)]
lottie/vector: make all copy_on_write class in vector thread safe.

Change-Id: Ibf3781775d0d26c0240970b720a59fbfed43f6b2

6 years agolottie/render: fixed memory leak regression from last refactoring. 11/184611/1
subhransu mohanty [Thu, 19 Jul 2018 07:10:41 +0000 (16:10 +0900)]
lottie/render: fixed memory leak regression from last refactoring.

Change-Id: I67c83f67a8efe1f367070c05497ec419da2753cb

6 years agolottie/example: update the example to do stress test. 07/184607/1
subhransu mohanty [Thu, 19 Jul 2018 06:50:48 +0000 (15:50 +0900)]
lottie/example: update the example to do stress test.

Change-Id: I701fa71d0a05be453c26c252e57ab1ce3b110b0d

6 years agolottie/render: start all preprocess task at once before rendering the frame. 96/184596/1
subhransu mohanty [Thu, 19 Jul 2018 06:04:57 +0000 (15:04 +0900)]
lottie/render: start all preprocess task at once before rendering the frame.

Change-Id: I6c625a3ed069c40d4f42fbb3579120ffbcc30d54

6 years agolottie/parser: update the static property of gradient model properly. 93/184493/2
subhransu mohanty [Wed, 18 Jul 2018 08:50:01 +0000 (17:50 +0900)]
lottie/parser: update the static property of gradient model properly.

Change-Id: I28bca148869b3a063926bfe56bb8b5adc33000c6

6 years agolottie: fixed valgrind warning for unintialized variable 59/184459/2
subhransu mohanty [Wed, 18 Jul 2018 05:36:47 +0000 (14:36 +0900)]
lottie: fixed valgrind warning for unintialized variable

Change-Id: I90e80585f3b217df86e948650e5f6128aef65ac3

6 years agolottie:render: added task stealing scheduler for async rle generation. 52/184452/2
subhransu mohanty [Wed, 18 Jul 2018 05:03:23 +0000 (14:03 +0900)]
lottie:render: added task stealing scheduler for async rle generation.

Change-Id: Ie5a48bb018db8bccef499aac5cb7788de5df5b61

6 years agolottie/vector: added taskqueue class in preparation for multithreaded backend 28/184428/4
subhransu mohanty [Wed, 18 Jul 2018 03:27:53 +0000 (12:27 +0900)]
lottie/vector: added taskqueue class in preparation for multithreaded backend

Change-Id: I0b5e5cab84b383bc48f846f99807870178672a1f

6 years agolottie/render: refactor rle generation to enable multi thread. 13/184413/2
subhransu mohanty [Wed, 18 Jul 2018 01:46:44 +0000 (10:46 +0900)]
lottie/render: refactor rle generation to enable multi thread.

Change-Id: Ia3bda91545241ef64919c9a1674ad1fa94dabea9

6 years agolottie/example: update example to handle window resize. 78/184478/2
subhransu mohanty [Wed, 18 Jul 2018 07:37:12 +0000 (16:37 +0900)]
lottie/example: update example to handle window resize.

Change-Id: Idb67bff5a1900e5ff779ae283fb2a6b1366d97b9

6 years agolottie/render: fixed Mask substarct implementation. 06/184406/2
subhransu mohanty [Wed, 18 Jul 2018 00:40:04 +0000 (09:40 +0900)]
lottie/render: fixed Mask substarct implementation.

Change-Id: I1fcf0a9da76dc027b0c8b397ae8655cfbff24b00

6 years agolottie/vector: update the available variable only when we find a valid span data. 77/184477/2
subhransu mohanty [Wed, 18 Jul 2018 07:31:03 +0000 (16:31 +0900)]
lottie/vector: update the available variable only when we find a valid span data.

Change-Id: I5cad6ac11d2e8574b01399165cd8fc11909ed226

6 years agolottie/example: delay rendering of view till pre render callback to mimic the evas... 58/184558/2
subhransu mohanty [Thu, 19 Jul 2018 00:13:13 +0000 (09:13 +0900)]
lottie/example: delay rendering of view till pre render callback to mimic the evas rendering pipeline.

Change-Id: I1d7711feda273f9e69712e2bb37c672f76e68515

6 years agolottie/model: convert highlightangle and highlightlength of radial from lottie to... 55/184555/3
subhransu mohanty [Wed, 18 Jul 2018 23:33:50 +0000 (08:33 +0900)]
lottie/model: convert highlightangle and highlightlength of radial from lottie to vector space.

Change-Id: I9874ccb53e3fe85a14c2ecd6394dbdb4d9f42790

6 years agolottie/model: refactored path direction handling. 59/184559/1
subhransu mohanty [Thu, 19 Jul 2018 01:06:05 +0000 (10:06 +0900)]
lottie/model: refactored path direction handling.

Change-Id: I6a41f72e3635f3ad91f188d99868b3e8e44d3174

6 years agolottie/example: removed bad polystar sample file 00/184400/1
subhransu mohanty [Wed, 18 Jul 2018 00:18:08 +0000 (09:18 +0900)]
lottie/example: removed bad polystar sample file

Change-Id: If03001ace0dfbb0a3f359933dfdd8c3a71c0a15d