aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp/gmslides.gypi
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2014-10-31 06:55:45 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-10-31 06:55:45 -0700
commited3af6648ffe1044d6fb3f6deac53711cb1280c8 (patch)
treed796bb157f76dfcfa44c73124a4cda0ec61dd6db /gyp/gmslides.gypi
parentbd1605905b1ce165e6b5891547c2b612358b47a8 (diff)
Use Color Processor for color bitmap text draws on gpu.
This change is here since previously color bitmap text was rendered using a geometry processor in the coverage stage. The problem with this is that we cannot correctly do xfer modes with this method. So I now make color bitmap text draw using a color stage in the same was as a draw bitmap call. One issue that arrises from this fix is that we end up adding this final color processor after any previous color processors. Thus if we have a custom blend implemented as a color processor it will be before this text one and we won't blend correctly. This issue will get fixed once an xfer processor is fully implemented. I have hacked a test locally to show that if we can add the text color processor to the begining of the color stages we do blend correctly in all cases (so the xfer processor will be a fix). BUG=skia: Review URL: https://codereview.chromium.org/689923004
Diffstat (limited to 'gyp/gmslides.gypi')
-rw-r--r--gyp/gmslides.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gyp/gmslides.gypi b/gyp/gmslides.gypi
index b9ff1d9904..66427e83ff 100644
--- a/gyp/gmslides.gypi
+++ b/gyp/gmslides.gypi
@@ -49,6 +49,7 @@
'../gm/colorfilters.cpp',
'../gm/colormatrix.cpp',
'../gm/colortype.cpp',
+ '../gm/colortypexfermode.cpp',
'../gm/colorwheel.cpp',
'../gm/complexclip.cpp',
'../gm/complexclip2.cpp',