Index: src/gpu/GrBitmapTextContext.cpp |
diff --git a/src/gpu/GrBitmapTextContext.cpp b/src/gpu/GrBitmapTextContext.cpp |
index 8d955bbb4ca2a60b78c04bc87d82814dd1e90618..a43c4a28746be3551b07d9dd9e68ca97df4293ed 100755 |
--- a/src/gpu/GrBitmapTextContext.cpp |
+++ b/src/gpu/GrBitmapTextContext.cpp |
@@ -70,7 +70,10 @@ void GrBitmapTextContext::flushGlyphs() { |
GrCustomCoordsTextureEffect::Create(fCurrTexture, params), |
kGlyphCoordsAttributeIndex)->unref(); |
- if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) { |
+ if (NULL != fStrike && kARGB_GrMaskFormat == fStrike->getMaskFormat()) { |
+ drawState->setBlendFunc(fPaint.getSrcBlendCoeff(), fPaint.getDstBlendCoeff()); |
+ drawState->setColor(0xffffffff); |
+ } else if (!GrPixelConfigIsAlphaOnly(fCurrTexture->config())) { |
if (kOne_GrBlendCoeff != fPaint.getSrcBlendCoeff() || |
kISA_GrBlendCoeff != fPaint.getDstBlendCoeff() || |
fPaint.numColorStages()) { |