52 Commits

Author SHA1 Message Date
subhransu mohanty
b67be0a4e2 lottie/example: workaround to render at 60fps.
Change-Id: I6e2ad981467679357a75310027d9482a28e1bc94
2018-07-20 05:45:31 +00:00
subhransu mohanty
812f816138 lottie/example: updated example to use async rendering .
Change-Id: I6929f00bb6a26f18f7276890c40993329d94ae03
2018-07-20 05:45:18 +00:00
subhransu mohanty
cfdac7e78c lottie/vector: refactor the vregion class
Change-Id: I093000d097cee2045b32b04ef8774b1aaa2706d8
2018-07-20 05:44:07 +00:00
subhransu mohanty
1aea5d64d8 lottie/render: implement render_scheduler to enable multithreading render job.
Change-Id: If3ab28cd7fab0e16703fae5b8f3d158bf40a77e3
2018-07-20 05:43:54 +00:00
Jaeun Choi
4067491267 lottie: handle trim path
Change-Id: I05f1daec3c7e0c4cbb953c5c0a076d81e82d8e30
2018-07-20 05:43:24 +00:00
Jaeun Choi
a411696b12 vector: implement vpathmesure
Change-Id: I562df481e72b4e356821b1a44b7749c29ea0b1ca
2018-07-20 05:07:07 +00:00
subhransu mohanty
f2bf8eabc9 lottie/vector: make all copy_on_write class in vector thread safe.
Change-Id: Ibf3781775d0d26c0240970b720a59fbfed43f6b2
2018-07-20 09:48:09 +09:00
subhransu mohanty
048dd0d7a3 lottie/render: fixed memory leak regression from last refactoring.
Change-Id: I67c83f67a8efe1f367070c05497ec419da2753cb
2018-07-19 16:10:41 +09:00
subhransu mohanty
cf111a2a2d lottie/example: update the example to do stress test.
Change-Id: I701fa71d0a05be453c26c252e57ab1ce3b110b0d
2018-07-19 15:50:48 +09:00
subhransu mohanty
393b84e2a1 lottie/render: start all preprocess task at once before rendering the frame.
Change-Id: I6c625a3ed069c40d4f42fbb3579120ffbcc30d54
2018-07-19 15:04:57 +09:00
subhransu mohanty
b63e2ac43f lottie/parser: update the static property of gradient model properly.
Change-Id: I28bca148869b3a063926bfe56bb8b5adc33000c6
2018-07-19 04:13:22 +00:00
subhransu mohanty
cb48dc4627 lottie: fixed valgrind warning for unintialized variable
Change-Id: I90e80585f3b217df86e948650e5f6128aef65ac3
2018-07-19 04:10:11 +00:00
subhransu mohanty
1728e6955f lottie:render: added task stealing scheduler for async rle generation.
Change-Id: Ie5a48bb018db8bccef499aac5cb7788de5df5b61
2018-07-19 04:09:56 +00:00
subhransu mohanty
2e9d054a7b lottie/vector: added taskqueue class in preparation for multithreaded backend
Change-Id: I0b5e5cab84b383bc48f846f99807870178672a1f
2018-07-19 04:09:26 +00:00
subhransu mohanty
db5e2e788c lottie/render: refactor rle generation to enable multi thread.
Change-Id: Ia3bda91545241ef64919c9a1674ad1fa94dabea9
2018-07-19 04:09:16 +00:00
subhransu mohanty
0e5e0eba87 lottie/example: update example to handle window resize.
Change-Id: Idb67bff5a1900e5ff779ae283fb2a6b1366d97b9
2018-07-19 13:08:38 +09:00
subhransu mohanty
04fe68f5af lottie/render: fixed Mask substarct implementation.
Change-Id: I1fcf0a9da76dc027b0c8b397ae8655cfbff24b00
2018-07-19 04:05:34 +00:00
subhransu mohanty
bad22db716 lottie/vector: update the available variable only when we find a valid span data.
Change-Id: I5cad6ac11d2e8574b01399165cd8fc11909ed226
2018-07-19 04:01:11 +00:00
subhransu mohanty
3aff15cf42 lottie/example: delay rendering of view till pre render callback to mimic the evas rendering pipeline.
Change-Id: I1d7711feda273f9e69712e2bb37c672f76e68515
2018-07-19 03:52:29 +00:00
subhransu mohanty
1442d9c22d lottie/model: convert highlightangle and highlightlength of radial from lottie to vector space.
Change-Id: I9874ccb53e3fe85a14c2ecd6394dbdb4d9f42790
2018-07-19 03:52:03 +00:00
subhransu mohanty
95004fcf34 lottie/model: refactored path direction handling.
Change-Id: I6a41f72e3635f3ad91f188d99868b3e8e44d3174
2018-07-19 10:06:05 +09:00
subhransu mohanty
8779be1e9f lottie/example: removed bad polystar sample file
Change-Id: If03001ace0dfbb0a3f359933dfdd8c3a71c0a15d
2018-07-18 09:18:08 +09:00
subhransu mohanty
007ad71a39 lottie/example: add ux sample files
Change-Id: I7b632fa515411becc26f07dced2cdcc30a9f21cd
2018-07-18 09:14:47 +09:00
Hermet Park
1707193e15 vector: clean up single, double-decision comparison
Change-Id: I9ed37192c9c1236103aeeb7f239bbae2dabe6368
2018-07-17 10:41:52 +00:00
Hermet Park
5c0a4f4414 player: update seek behavior.
1. set default position 0
2. renamed to setPos()
3. add getter()

Change-Id: Ibf4038f666e686ff00d17066c012e7fb2d8e2709
2018-07-17 10:19:21 +00:00
subhransu mohanty
ce0d4af58b lottie/example: added a new example to test ux sample images
Change-Id: Ife2496e90c56e1facb6b83b7bc03b25445c6a018
2018-07-17 10:07:24 +00:00
subhransu mohanty
8c4ed8b5e2 lottie/example: remove the evas object when lottivew gets destroyed.
Change-Id: Ic14ab134b42377200f439b9a7c50cb654221e7e4
2018-07-17 10:07:20 +00:00
Hermet Park
4961f33105 loader: replace to logging system.
Change-Id: I3c81a2c27a0df1e68b1281b0a79d827ada4f11a1
2018-07-17 09:59:17 +00:00
Hermet Park
2ed97dc0dc player: return as soon as possible.
We need to take account of user side, not internal ones.

Change-Id: Ic7bccc343c771870d10b25fc7dec01217a1d4e35
2018-07-17 09:58:36 +00:00
Hermet Park
3ee7184b9d player: remove missing member functions.
Change-Id: I805e8cfcb99f972019faa88b082948357865a74e
2018-07-17 09:57:23 +00:00
Hermet Park
aa3008c3fc 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
2018-07-17 09:54:14 +00:00
subhransu mohanty
ad76a433c7 lottie/example: move resourcelist generation to evasapp class for reuse.
Change-Id: If96683fe079a6484195b87c2fdd96c385114af12
2018-07-17 17:17:43 +09:00
subhransu mohanty
0347a9677f lottie/example: updated evasapp to handle keyevent propagation.
Change-Id: Iecc3479ef011e64e113a50f3914676e0a6341f49
2018-07-17 13:58:51 +09:00
subhransu mohanty
8966564ec8 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
2018-07-17 04:24:10 +00:00
subhransu mohanty
4f0d525e48 lottie: removed dead code.
Change-Id: I3be0e0d9e1d52d76d7be1ce40e7e901d26c8d772
2018-07-17 10:18:58 +09:00
subhransu mohanty
6113953d7d lottie/mask: refactored mask drawing to take care of nested layer.
Change-Id: I287d27bcdebb6eda43243e6514bc1167b1e86dbf
2018-07-17 10:12:26 +09:00
subhransu mohanty
a798a8429f lottie/example: fixed layout issue.
Change-Id: Id8795b63d13cca081d383f4e1303b990bdb723be
2018-07-16 12:20:30 +00:00
subhransu mohanty
c0c5621b53 lottie/optimization: update the layer item only when it has change.
Change-Id: If62c796f18ebea949fe598f0f5890f09bd8a42b8
2018-07-16 12:19:56 +00:00
subhransu mohanty
893e2ab5e5 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
2018-07-16 12:19:20 +00:00
subhransu sekhar mohanty
9824bafdf3 vector: port radial drawing implementation from ector library.
Change-Id: I0885d2493a19f71bc82ecf9d03268539a2c98bec
2018-07-16 12:17:28 +00:00
subhransu sekhar mohanty
13ab97b2a0 lottie/vector: move all vector objects to its own namesapce
Change-Id: I1f7ebc743b45d2ae0857f5d645ca1495e382b3c3
2018-07-16 12:17:13 +00:00
subhransu mohanty
a4710cb359 lottie/vector: fixed typo issue.
Change-Id: I6e5d811b3f216daff1dbf5ab73d3c2fb97872e56
2018-07-16 14:32:44 +09:00
subhransu sekhar mohanty
5c771a708f vector: convert radial gradient parameter from lottie space to vector space.
Change-Id: I1894dd03eb0ccd0266fa098eaaae4aa4bf1e1d57
2018-07-16 03:55:46 +00:00
subhransu sekhar mohanty
d0cea18a71 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
2018-07-16 03:54:50 +00:00
subhransu mohanty
ed69eed653 lottie/player: fixed the regression in playtime() api.
Change-Id: I1ce8fc84cb75dbb6a929d9720adc5c57366f35fa
2018-07-16 12:22:12 +09:00
Hermet Park
cb52a637aa lottieplayer: add exceptions
Change-Id: I03de73851867e78de3231131ac92154ca39c3dec
2018-07-16 12:07:42 +09:00
Hermet Park
79aa9abfa5 lottieplayer: remove framerate function.
One of unnecesary functionalities.
Please add this when it really needs.

Change-Id: I1fed313df10c15ea4aca2faa3b15c51154b07f17
2018-07-16 12:07:42 +09:00
Hermet Park
ea434398c7 lottieloader: file path for debug info.
Change-Id: I551ef127032ac2a2dda36bb14b0bd5ffa2f5762e
2018-07-16 12:07:42 +09:00
subhransu mohanty
90270aa5af lottie/parser : Fixed proper parsing of opacity stops for gradient.
Change-Id: I91a2a8f99c253fa0478ec8e8ffc76d5313fafa97
2018-07-13 16:34:24 +09:00
subhransu mohanty
e7726056b3 lottie/model: Fixed hold interpolation issue.
Change-Id: I0db56ec46a9f6fec04311d9c96dcea680e29ab5b
2018-07-13 11:26:17 +09:00