rlottie/opt: refactor renderList() api to return a Span to optimize the LayerObject...
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 30 Oct 2019 00:19:36 +0000 (09:19 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Wed, 13 Nov 2019 00:44:45 +0000 (09:44 +0900)
commite22a5b176a10a2978ef265ead0714eff819cee2f
tree9f279fff7e22d1db4244ed2bf333dbab6b43d070
parent8ffae051ead225a7ba60cf2c875ba3e752e3a2f6
rlottie/opt: refactor renderList() api to return a Span to optimize the LayerObject size"

previously renderList() was returning a vector by keeping a vector object which was adding to
the overal size of the layer objects. by changing to a simple span object now only shpelayer has to keep
the vector and rest of the layer object types don't have to.
src/lottie/lottieitem.cpp
src/lottie/lottieitem.h
src/lottie/lottieitem_capi.cpp