svg_loader: LumaMask used only for masks other than white 16/288816/1
authorMira Grudzinska <m.grudzinska@samsung.com>
Sat, 8 Jan 2022 01:17:44 +0000 (02:17 +0100)
committerMichal Szczecinski <mihashco89@gmail.com>
Thu, 23 Feb 2023 09:04:53 +0000 (10:04 +0100)
commit038dcb0883a6d9553029571046a7abbb1f761554
tree3bf5fe679e3cfa964672bf92d9c92f79f18f737d
parent0a891ea82bf9dd8d8d8b6aa777413c0b095be27e
svg_loader: LumaMask used only for masks other than white

For the performance reasons, the LumaMask is used only when
it's necessary - when the mask color is other than white.
Otherwise the AlphaMask is enough.

Change-Id: Ia97fb753854435e2e58eeb1ead40dbb3a5ead7cc
src/loaders/svg/tvgSvgSceneBuilder.cpp