sw_engine: optimize rle rendering. 79/237779/2
authorHermet Park <chuneon.park@samsung.com>
Fri, 3 Jul 2020 09:17:43 +0000 (18:17 +0900)
committerHermet Park <chuneon.park@samsung.com>
Fri, 3 Jul 2020 09:32:50 +0000 (18:32 +0900)
commit2929fa5c57c17549da1b65e86140806b12823fc3
tree78b23a78d33dc5e7bed69dcc51a26cb0725135b5
parentadd79b07cd3de40bf5a92d571224ec2ac534e30a
sw_engine: optimize rle rendering.

we don't need to apply anti-aliasing if stroke is there.
here turns off anti-alias if stroke width is more than 2.
magic number 2 is experimentally confirmed.

Change-Id: I09031dc2a0a84f31c5904651ed1e62004645ba9a
src/lib/sw_engine/tvgSwCommon.h
src/lib/sw_engine/tvgSwRenderer.cpp
src/lib/sw_engine/tvgSwRle.cpp
src/lib/sw_engine/tvgSwShape.cpp
test/testShape.cpp