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)
committerJongmin Lee <jm105.lee@samsung.com>
Mon, 11 Nov 2019 20:58:15 +0000 (05:58 +0900)
commita2debbf1bea982da0935284bf4f3ea34a069de0c
treeedb6e93e04083b50fc2c8f1a2f75b8f745713e42
parentdd27c60813a6a909815c9e12e77517724ed9198b
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