lottie: don't redraw path item if its properties are not changed 56/185856/3
authorYoungbok Shin <youngb.shin@samsung.com>
Fri, 3 Aug 2018 04:38:04 +0000 (13:38 +0900)
committerYoungbok Shin <youngb.shin@samsung.com>
Fri, 3 Aug 2018 08:48:32 +0000 (08:48 +0000)
commit10cb2bda92e6825507dfd5740149f8df0a4090bc
treea2b277af949bf7995d643b2ccf66c015e5c5863b
parent649c463f4eef3923f633500912f82a5846be6491
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
example/resource/dynamic_path_test.json [new file with mode: 0644]
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h