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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 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

5 years agolottie/example: add ux sample files 98/184398/1
subhransu mohanty [Wed, 18 Jul 2018 00:14:47 +0000 (09:14 +0900)]
lottie/example: add ux sample files

Change-Id: I7b632fa515411becc26f07dced2cdcc30a9f21cd

5 years agovector: clean up single, double-decision comparison 54/184354/5
Hermet Park [Tue, 17 Jul 2018 10:23:22 +0000 (19:23 +0900)]
vector: clean up single, double-decision comparison

Change-Id: I9ed37192c9c1236103aeeb7f239bbae2dabe6368

5 years agoplayer: update seek behavior. 31/184331/6
Hermet Park [Tue, 17 Jul 2018 08:20:29 +0000 (17:20 +0900)]
player: update seek behavior.

1. set default position 0
2. renamed to setPos()
3. add getter()

Change-Id: Ibf4038f666e686ff00d17066c012e7fb2d8e2709

5 years agolottie/example: added a new example to test ux sample images 51/184351/2
subhransu mohanty [Tue, 17 Jul 2018 09:50:34 +0000 (18:50 +0900)]
lottie/example: added a new example to test ux sample images

Change-Id: Ife2496e90c56e1facb6b83b7bc03b25445c6a018

5 years agolottie/example: remove the evas object when lottivew gets destroyed. 50/184350/2
subhransu mohanty [Tue, 17 Jul 2018 09:48:41 +0000 (18:48 +0900)]
lottie/example: remove the evas object when  lottivew gets destroyed.

Change-Id: Ic14ab134b42377200f439b9a7c50cb654221e7e4

5 years agoloader: replace to logging system. 39/184239/2
Hermet Park [Mon, 16 Jul 2018 12:49:12 +0000 (21:49 +0900)]
loader: replace to logging system.

Change-Id: I3c81a2c27a0df1e68b1281b0a79d827ada4f11a1

5 years agoplayer: return as soon as possible. 38/184238/2
Hermet Park [Mon, 16 Jul 2018 12:47:57 +0000 (21:47 +0900)]
player: return as soon as possible.

We need to take account of user side, not internal ones.

Change-Id: Ic7bccc343c771870d10b25fc7dec01217a1d4e35

5 years agoplayer: remove missing member functions. 36/184236/2
Hermet Park [Mon, 16 Jul 2018 12:35:25 +0000 (21:35 +0900)]
player: remove missing member functions.

Change-Id: I805e8cfcb99f972019faa88b082948357865a74e

5 years agoplayer: remove constructor that accepts functional arguments. 33/184233/5
Hermet Park [Mon, 16 Jul 2018 12:08:26 +0000 (21:08 +0900)]
player: remove constructor that accepts functional arguments.

it's not good usage than explicitly function call by users,
if the function is possibly failed.

Change-Id: I0e008093f6627ff24e8bc1d2e9ce0979dcca57bd

5 years agolottie/example: move resourcelist generation to evasapp class for reuse. 30/184330/1
subhransu mohanty [Tue, 17 Jul 2018 08:17:43 +0000 (17:17 +0900)]
lottie/example: move resourcelist generation to evasapp class for reuse.

Change-Id: If96683fe079a6484195b87c2fdd96c385114af12

5 years agolottie/example: updated evasapp to handle keyevent propagation. 91/184291/1
subhransu mohanty [Tue, 17 Jul 2018 04:58:17 +0000 (13:58 +0900)]
lottie/example: updated evasapp to handle keyevent propagation.

Change-Id: Iecc3479ef011e64e113a50f3914676e0a6341f49

5 years agolottie: Added default coding style file of clang-format. 82/184282/2
subhransu mohanty [Tue, 17 Jul 2018 02:23:59 +0000 (11:23 +0900)]
lottie: Added default coding style file of clang-format.
     We can modify this file according to tizen coding guideline and
    then run the clang-format tool on the source tree which will do auto formatting.
    clang-format -style=file -i filename

Change-Id: I396e3da778264e822602ab72b7a06039c6fca0a3

5 years agolottie: removed dead code. 64/184264/1
subhransu mohanty [Tue, 17 Jul 2018 01:18:58 +0000 (10:18 +0900)]
lottie: removed dead code.

Change-Id: I3be0e0d9e1d52d76d7be1ce40e7e901d26c8d772

5 years agolottie/mask: refactored mask drawing to take care of nested layer. 63/184263/1
subhransu mohanty [Tue, 17 Jul 2018 01:12:26 +0000 (10:12 +0900)]
lottie/mask: refactored mask drawing to take care of nested layer.

Change-Id: I287d27bcdebb6eda43243e6514bc1167b1e86dbf

5 years agolottie/example: fixed layout issue. 87/184187/2
subhransu mohanty [Mon, 16 Jul 2018 06:56:38 +0000 (15:56 +0900)]
lottie/example: fixed layout issue.

Change-Id: Id8795b63d13cca081d383f4e1303b990bdb723be

5 years agolottie/optimization: update the layer item only when it has change. 86/184186/2
subhransu mohanty [Mon, 16 Jul 2018 06:53:54 +0000 (15:53 +0900)]
lottie/optimization: update the layer item only when it has change.

Change-Id: If62c796f18ebea949fe598f0f5890f09bd8a42b8

5 years agolottie: fix issue of layer static property updation. 85/184185/2
subhransu mohanty [Mon, 16 Jul 2018 06:48:03 +0000 (15:48 +0900)]
lottie: fix issue of layer static property updation.

Layer can have a parent as well as can be part of the precomp layer.
so take both layers static property into consideration while updating the static property.

Change-Id: I59db01a596977896ab1e9c131ee3ff28e694ff0b

5 years agovector: port radial drawing implementation from ector library. 47/184147/4
subhransu sekhar mohanty [Sat, 14 Jul 2018 06:51:47 +0000 (15:51 +0900)]
vector: port radial drawing implementation from ector library.

Change-Id: I0885d2493a19f71bc82ecf9d03268539a2c98bec

5 years agolottie/vector: move all vector objects to its own namesapce 48/184148/3
subhransu sekhar mohanty [Sun, 15 Jul 2018 02:59:30 +0000 (11:59 +0900)]
lottie/vector: move all vector objects to its own namesapce

Change-Id: I1f7ebc743b45d2ae0857f5d645ca1495e382b3c3

5 years agolottie/vector: fixed typo issue. 75/184175/1
subhransu mohanty [Mon, 16 Jul 2018 05:32:44 +0000 (14:32 +0900)]
lottie/vector: fixed typo issue.

Change-Id: I6e5d811b3f216daff1dbf5ab73d3c2fb97872e56

5 years agovector: convert radial gradient parameter from lottie space to vector space. 46/184146/3
subhransu sekhar mohanty [Sat, 14 Jul 2018 06:48:14 +0000 (15:48 +0900)]
vector: convert radial gradient parameter from lottie space to vector space.

Change-Id: I1894dd03eb0ccd0266fa098eaaae4aa4bf1e1d57

5 years agolottie/example: disable default building of example 45/184145/2
subhransu sekhar mohanty [Fri, 13 Jul 2018 14:20:15 +0000 (23:20 +0900)]
lottie/example: disable default building of example
to enable use meson -Dexample=true build while configuring meson.
or meson configure -Dexample=true in the build directory.

Change-Id: If267e6883fb866a741bf18dbfedd2a7782e21df5

5 years agolottie/player: fixed the regression in playtime() api. 49/184149/1
subhransu mohanty [Mon, 16 Jul 2018 03:22:12 +0000 (12:22 +0900)]
lottie/player: fixed the regression in playtime() api.

Change-Id: I1ce8fc84cb75dbb6a929d9720adc5c57366f35fa