Index: include/gpu/GrBitmapTextContext.h |
diff --git a/include/gpu/GrBitmapTextContext.h b/include/gpu/GrBitmapTextContext.h |
index e0900ecd7d625629418dd26e29a40d6617070bee..e1b3d725a93817b51308c65f9f1a7b243b2a0f73 100755 |
--- a/include/gpu/GrBitmapTextContext.h |
+++ b/include/gpu/GrBitmapTextContext.h |
@@ -17,13 +17,14 @@ class GrTextStrike; |
*/ |
class GrBitmapTextContext : public GrTextContext { |
public: |
- GrBitmapTextContext(GrContext*, const GrPaint&, SkColor); |
- virtual ~GrBitmapTextContext(); |
- |
virtual void drawPackedGlyph(GrGlyph::PackedID, GrFixed left, GrFixed top, |
GrFontScaler*) SK_OVERRIDE; |
private: |
+ GrBitmapTextContext(GrContext*, const GrPaint&, const SkPaint&); |
+ virtual ~GrBitmapTextContext(); |
+ friend class GrTTextContextManager<GrBitmapTextContext>; |
+ |
GrContext::AutoMatrix fAutoMatrix; |
GrTextStrike* fStrike; |
@@ -36,7 +37,6 @@ private: |
kDefaultRequestedVerts = kDefaultRequestedGlyphs * 4, |
}; |
- SkColor fSkPaintColor; |
SkPoint* fVertices; |
int32_t fMaxVertices; |
GrTexture* fCurrTexture; |