From: sub.mohanty@samsung.com Date: Sun, 18 Aug 2019 09:24:36 +0000 (+0900) Subject: lottie/model: keep a stat of model for future local allocator. X-Git-Tag: submit/tizen/20190923.005744~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a55ee2ed0263e571f0d50f8cdc8aed1c3f765173;p=platform%2Fcore%2Fuifw%2Flottie-player.git lottie/model: keep a stat of model for future local allocator. In a complex lottie resource layer counts can exceed above 100 or in some cases 1000. As in each frame rendering we visit the whole tree allocating all of them using a local allocator will speed up the tree visit as well as creation and destruction. As the number of layer objects are fixed in a resource we can make use of a dumb monotonic allocator to allocate all objects in one place. Change-Id: If824c7bba8bbd9c93dff8693fc72deac1fa4c893 ---