sw_engine: preventing a double application of the opacity (#540)
authorMira Grudzinska <67589014+mgrudzinska@users.noreply.github.com>
Mon, 19 Jul 2021 07:02:10 +0000 (09:02 +0200)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 22 Jul 2021 08:24:22 +0000 (17:24 +0900)
commitd6af8e58025f24af9ee2d0f5f8457b500f73685c
tree16cb4efb6e57c57d02e31f73e5a9c0a859849922
parentccf9f2c32cdf99c99c6b654d67b9701b8e41141c
sw_engine: preventing a double application of the opacity (#540)

For filled and stroked shapes with a gradient, the opacity
was applied during the composition and during the ctable update.
To prevent this, in case the composition occured, ctable
is updated with the opacity = 255.
src/lib/sw_engine/tvgSwRenderer.cpp