diff options
Diffstat (limited to 'src/gpu/GrStencilAndCoverTextContext.h')
-rw-r--r-- | src/gpu/GrStencilAndCoverTextContext.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gpu/GrStencilAndCoverTextContext.h b/src/gpu/GrStencilAndCoverTextContext.h index e42989b90f..37498b7e07 100644 --- a/src/gpu/GrStencilAndCoverTextContext.h +++ b/src/gpu/GrStencilAndCoverTextContext.h @@ -70,17 +70,18 @@ private: GrStencilAndCoverTextContext(GrContext*, SkGpuDevice*, const SkDeviceProperties&); - bool canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) SK_OVERRIDE; + bool canDraw(const GrRenderTarget*, const GrClip&, const GrPaint&, + const SkPaint&, const SkMatrix& viewMatrix) SK_OVERRIDE; - virtual void onDrawText(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, - const SkMatrix& viewMatrix, - const char text[], size_t byteLength, - SkScalar x, SkScalar y, const SkIRect& regionClipBounds) SK_OVERRIDE; - virtual void onDrawPosText(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, - const SkMatrix& viewMatrix, - const char text[], size_t byteLength, - const SkScalar pos[], int scalarsPerPosition, - const SkPoint& offset, const SkIRect& regionClipBounds) SK_OVERRIDE; + void onDrawText(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, + const SkMatrix& viewMatrix, + const char text[], size_t byteLength, + SkScalar x, SkScalar y, const SkIRect& regionClipBounds) SK_OVERRIDE; + void onDrawPosText(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, + const SkMatrix& viewMatrix, + const char text[], size_t byteLength, + const SkScalar pos[], int scalarsPerPosition, + const SkPoint& offset, const SkIRect& regionClipBounds) SK_OVERRIDE; void init(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, size_t textByteLength, RenderMode, const SkMatrix& viewMatrix, |