sw_engine image: ++optimization
authorHermet Park <chuneon.park@samsung.com>
Mon, 15 Nov 2021 05:47:11 +0000 (14:47 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Tue, 16 Nov 2021 08:37:47 +0000 (17:37 +0900)
commit9852a41181ab95d7e51715a640131b56e1385bdc
treec13f150b96bf6efb1b5c70701957aed03f80e467
parent9e7abd1a3275a040a5e2f3b1461928da7839c3d3
sw_engine image: ++optimization

apply fast track to fast up the image rasterization.

only shifted image doesn't need to have the matrix-transform computation,
we can avoid it by just shifting offset xy by simple caculating.

@Issue: https://github.com/Samsung/thorvg/issues/206
src/lib/sw_engine/tvgSwCommon.h
src/lib/sw_engine/tvgSwImage.cpp
src/lib/sw_engine/tvgSwRaster.cpp