DescriptionThe SkArithmeticMode_gpu GL filters support clamping to valid
premultiplied colors, however the flag for whether or not to do this,
which is present in their parent filters, is dropped when creating the
GL implementations. This change adds logic to forward the value from
the parent filter to the GL implementation.
This makes GPU behavior match software and fixes a WebKit
LayoutTest. See referenced bug.
BUG=473186
Committed: https://skia.googlesource.com/skia/+/af96fce87937aba4aa5d394ee6316ba790308490
Patch Set 1 #Patch Set 2 : add unit test #Patch Set 3 : fix case #
Messages
Total messages: 14 (4 generated)
|