DescriptionFix for issue 1728: raster vs. gpu text draws with the wrong color
The blend mode for LCD text was not set up correctly when using colors with alpha. This takes the color's alpha value
into account when setting up the blending function.
BUG=Skia:1728
Committed: http://code.google.com/p/skia/source/detail?r=11980
Patch Set 1 #Patch Set 2 : Store un-premultiplied color, and remove two-pass method. #Patch Set 3 : Missed a color conversion #
Total comments: 4
Patch Set 4 : Rebase to ToT #Patch Set 5 : Remove unnecessary code; use SkColor instead of GrColor #Patch Set 6 : Fix alpha calculation #
Messages
Total messages: 8 (0 generated)
|