Description[4fGradient] Veto blitters for non-opaque paints
The current blitters don't support SrcOver, so we must ensure the colors
are opaque. Checking shader.colorsAreOpaque() is not enough as it
doesn't reflect the paint alpha.
Instead we should check for context flags & kOpaqueAlpha_Flag, which is
only set when both the color stops AND the paint are opaque.
R=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1870773002
Committed: https://skia.googlesource.com/skia/+/eadf3cf899d87b9c96fb7ede5c8eb54f63900193
Patch Set 1 #
Messages
Total messages: 8 (3 generated)
|