lottie/render: optimize rendering by passing rle clip to painter instead of creating... 78/195278/2
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 12 Dec 2018 06:30:16 +0000 (15:30 +0900)
committerHermet Park <chuneon.park@samsung.com>
Thu, 13 Dec 2018 06:26:42 +0000 (06:26 +0000)
commitcbf5a3245eb6e5275da2dd353b5edfd5b2422e8a
treed2dfd9b3a7cf3f2853c8cfda8a22bbb28ab77635
parentfb6bf7bef90771997f6c67c2297f9d03a4ada45a
lottie/render: optimize rendering by passing rle clip to painter instead of creating a new rle.

Rle operations usually generate new rle which means memory allocation.
by using drawRle() with clip version we can avoid the intermediate rle generation.

Change-Id: I8b3010b1dfc296ee9288631d7b5df1ac4265210b
src/lottie/lottieitem.cpp