DescriptionDisable the unpremultiply/remultiply in SkArithmeticMode, both raster and GPU, since the SVG spec actually defines arithmetic compositing to operate on premul colours directly.
The unpremul/remul code has been placed behind a gUseUnpremul global, which is default false. The non-unpremul path uses a min() to keep the colours to valid premult values.
Note: This change will require new baselines for the arithmode and xfermodeimagefilter GMs.
R=reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=9555
Patch Set 1 #Patch Set 2 : Here's a version with the old code back under a runtime flag. #Patch Set 3 : Fix keygen. #
Total comments: 1
Patch Set 4 : Put unpremultiply code behind if (false). #Messages
Total messages: 12 (0 generated)
|