Index: src/gpu/GrTextContext.h |
diff --git a/src/gpu/GrTextContext.h b/src/gpu/GrTextContext.h |
index 6dfd8601fb6c97f36a16ba46883d7afd72d78647..0a4beae5ffa9382182ebb808e9ba9eef3e02db51 100644 |
--- a/src/gpu/GrTextContext.h |
+++ b/src/gpu/GrTextContext.h |
@@ -62,7 +62,8 @@ protected: |
GrTextContext(GrContext*, SkGpuDevice*, const SkDeviceProperties&); |
- virtual bool canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) = 0; |
+ virtual bool canDraw(const GrRenderTarget*, const GrClip&, const GrPaint&, |
+ const SkPaint&, const SkMatrix& viewMatrix) = 0; |
virtual void onDrawText(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, |
const SkMatrix& viewMatrix, const char text[], size_t byteLength, |
@@ -72,9 +73,6 @@ protected: |
const char text[], size_t byteLength, |
const SkScalar pos[], int scalarsPerPosition, |
const SkPoint& offset, const SkIRect& clipBounds) = 0; |
- virtual void onDrawTextBlob(GrRenderTarget*, const GrClip&, const SkPaint&, |
- const SkMatrix& viewMatrix, const SkTextBlob*, |
- SkScalar x, SkScalar y, SkDrawFilter*, const SkIRect& clipBounds); |
void drawTextAsPath(const SkPaint& origPaint, const SkMatrix& viewMatrix, |
const char text[], size_t byteLength, SkScalar x, SkScalar y, |