lottie: refactor processing of trim objects. 34/187534/2
authorsubhransu mohanty <sub.mohanty@samsung.com>
Fri, 24 Aug 2018 02:01:48 +0000 (11:01 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Fri, 24 Aug 2018 02:07:26 +0000 (11:07 +0900)
commita73e49a6f9fd3247ce63dd40f59974156e573efb
tree3cea981b31462ee67e461e0de93da4dfdb298810
parent386e6ebbffee437bbdf264da5f2d81d6ff12423e
lottie: refactor processing of trim objects.

1. now each trim item keeps a list of path item it operates on.
2. trim update phase happens after the update phase. so that all path items are correctly updated.
3. Trim objects operate on a intermediate path so that multiple trim objects operating on same path can be possible.

Change-Id: I9a6d66aef4449b9399ebc65e29d8633cf41cd25a
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h
src/lottie/lottiemodel.h