sw_engine: fixing overlapping masks
authorMira Grudzinska <m.grudzinska@samsung.com>
Wed, 28 Apr 2021 12:10:25 +0000 (14:10 +0200)
committerHermet Park <chuneon.park@samsung.com>
Fri, 30 Apr 2021 10:31:22 +0000 (19:31 +0900)
commitb722cea56be5847cbe7572298708bfe9a25156e5
treefa56cea27a1295e3beb6c415b85a6a5ea13e5643
parent45f1fbe6b75cfc0310e421706f9600818c9c7145
sw_engine: fixing overlapping masks

The buffer to which the mask is rastered is only partially cleared.
If the object to which the mask is applied overlaps an area where
another mask was used, an erroneous image is generated. The buffer
clearing area has been increased to the size of the object to which
the mask is applied.
src/lib/tvgPaint.cpp