Index: src/gpu/GrBitmapTextContext.h |
diff --git a/src/gpu/GrBitmapTextContext.h b/src/gpu/GrBitmapTextContext.h |
index 5137f82b70afdff93e5b887bb35bb6a27a52ae1c..c38bd07ff7c505421a52737ba9c9b32d3d6c8db9 100644 |
--- a/src/gpu/GrBitmapTextContext.h |
+++ b/src/gpu/GrBitmapTextContext.h |
@@ -40,15 +40,16 @@ private: |
bool canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) SK_OVERRIDE; |
- virtual void onDrawText(const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix, |
- const char text[], size_t byteLength, |
+ virtual void onDrawText(GrRenderTarget*, const GrPaint&, const SkPaint&, |
+ const SkMatrix& viewMatrix, const char text[], size_t byteLength, |
SkScalar x, SkScalar y) SK_OVERRIDE; |
- virtual void onDrawPosText(const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix, |
+ virtual void onDrawPosText(GrRenderTarget*, const GrPaint&, const SkPaint&, |
+ const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset) SK_OVERRIDE; |
- void init(const GrPaint&, const SkPaint&); |
+ void init(GrRenderTarget*, const GrPaint&, const SkPaint&); |
void appendGlyph(GrGlyph::PackedID, SkFixed left, SkFixed top, GrFontScaler*); |
bool uploadGlyph(GrGlyph*, GrFontScaler*); |
void flush(); // automatically called by destructor |