optimization: avoid memory allocation when shape data has animation keyframe. accepted/tizen/unified/20190927.064512 submit/tizen/20190923.005744 submit/tizen/20190923.215628 submit/tizen/20190924.053902 submit/tizen/20190924.220547 submit/tizen/20190925.214157 submit/tizen/20190926.103214
authorsubhransu mohanty <sub.mohanty@samsung.com>
Fri, 20 Sep 2019 06:50:47 +0000 (15:50 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Sun, 22 Sep 2019 21:53:45 +0000 (06:53 +0900)
commit62a506fa2ccd7a4a4d3ee06d8db0de701d6964c7
tree1d49ef12f6554f225673eca093cbbcff4b831747
parent1d5e3af771b60aff40144d8fdb34aaeefa462e81
optimization: avoid memory allocation when shape data has animation keyframe.

because of generic LOTAnimatable interface when shape has animation data
we were always created temporary shape data duting lerp. by crating a specialization
of AnimatableShape data and directly updating path value during animation we avoid
lot of memory allocation and deallocation.
src/lottie/lottieitem.cpp
src/lottie/lottiemodel.h