sw_engine raster: fix a crash at the texmap clipping. 60/288760/1
authorHermet Park <chuneon.park@samsung.com>
Fri, 17 Dec 2021 08:23:55 +0000 (17:23 +0900)
committerMichal Szczecinski <m.szczecinsk@partner.samsung.com>
Wed, 22 Feb 2023 11:26:19 +0000 (12:26 +0100)
commit875846decf78623d0cc0e623ef391d66b6fc3d38
treec122a4ca567a771fdbca679d341e690a92b57387
parent6d25bdf34cb9232d4d2668e854d8eb6bc87b1f1d
sw_engine raster: fix a crash at the texmap clipping.

Handle correctly duplicated spans from the multiple y span data.

Previous logic only expected the one single y span data from the rle.
However rle might have multiple y span data if the anti-aliasing is applied.

This patch also removed the bad design of the common engine
which handles the anti-alising option to ignore the anti-aliasing rle generation.

Just realized, it's difficult to control that condition due to scene-composition.

Change-Id: I0caab0e22b0bb88bf0c7ed25b58229c216579086
src/lib/sw_engine/tvgSwRasterTexmapInternal.h
src/lib/sw_engine/tvgSwRenderer.cpp
src/lib/tvgPaint.cpp
src/lib/tvgRender.h