lottie: reuse path for reducing constructor/destructor calls from getPath()/toPath() 75/185675/3
authorYoungbok Shin <youngb.shin@samsung.com>
Wed, 1 Aug 2018 11:15:15 +0000 (20:15 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Thu, 2 Aug 2018 03:12:59 +0000 (03:12 +0000)
commitb9fe04a2514075d5083e9d55de9efa8e92c030cd
tree839022d85e46a8f4e545064d48bf47020169b024
parent4b823247bd271627b2092b1045c8b1987a6b483d
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
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h
src/lottie/lottiemodel.h