tvg_saver: optimize binary format.
authorHermet Park <chuneon.park@samsung.com>
Thu, 5 Aug 2021 11:05:03 +0000 (20:05 +0900)
committerHermet Park <chuneon.park@samsung.com>
Mon, 9 Aug 2021 06:35:17 +0000 (15:35 +0900)
commit52b4eb3c63ed7e520c21b9230d476cc70376af2a
tree98219add6b4775a5df9dffa864fe0632f1ce4b91
parent4877bbaf4e0888ed60f160e3a708ec2cbd40d9ba
tvg_saver: optimize binary format.

Skip to save transform data by accumulating them through the scene tree,
and then applying the final transform to the path points.

Assume that each transform have 36 bytes, it could be increased linear to paints node count
if every paints has transform in the worst case.

Fudamentally, this save their memory and only remains to Bitmap Pictures,
also helps to reduce the loading/rendering workloads since
it doesn't need to perform any transform jobs after converting.
src/examples/images/test.tvg
src/savers/tvg/tvgTvgSaver.cpp
src/savers/tvg/tvgTvgSaver.h