Index: src/gpu/effects/GrBitmapTextGeoProc.h |
diff --git a/src/gpu/effects/GrBitmapTextGeoProc.h b/src/gpu/effects/GrBitmapTextGeoProc.h |
index d2d0422fc9d683ed0447f3e9e32c5a610b7861ab..dc4e1a85670f589ebefe65a0b26d0fb69d1c7df5 100644 |
--- a/src/gpu/effects/GrBitmapTextGeoProc.h |
+++ b/src/gpu/effects/GrBitmapTextGeoProc.h |
@@ -35,6 +35,7 @@ public: |
const Attribute* inColor() const { return fInColor; } |
const Attribute* inTextureCoords() const { return fInTextureCoords; } |
GrMaskFormat maskFormat() const { return fMaskFormat; } |
+ GrColor color() const { return fColor; } |
virtual void getGLProcessorKey(const GrBatchTracker& bt, |
const GrGLSLCaps& caps, |
@@ -49,6 +50,7 @@ private: |
GrBitmapTextGeoProc(GrColor, GrTexture* texture, const GrTextureParams& params, |
GrMaskFormat format, const SkMatrix& localMatrix); |
+ GrColor fColor; |
GrTextureAccess fTextureAccess; |
const Attribute* fInPosition; |
const Attribute* fInColor; |