diff options
Diffstat (limited to 'src/gpu/GrDistanceFieldTextContext.h')
-rw-r--r-- | src/gpu/GrDistanceFieldTextContext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gpu/GrDistanceFieldTextContext.h b/src/gpu/GrDistanceFieldTextContext.h index ecba3405d3..129c6e9d85 100644 --- a/src/gpu/GrDistanceFieldTextContext.h +++ b/src/gpu/GrDistanceFieldTextContext.h @@ -52,17 +52,17 @@ private: bool canDraw(const SkPaint& paint, const SkMatrix& viewMatrix) SK_OVERRIDE; - virtual void onDrawText(GrRenderTarget*, const GrPaint&, const SkPaint&, + virtual void onDrawText(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix, const char text[], size_t byteLength, SkScalar x, SkScalar y) SK_OVERRIDE; - virtual void onDrawPosText(GrRenderTarget*, const GrPaint&, const SkPaint&, + 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) SK_OVERRIDE; - void init(GrRenderTarget*, const GrPaint&, const SkPaint&); + void init(GrRenderTarget*, const GrClip&, const GrPaint&, const SkPaint&); bool appendGlyph(GrGlyph::PackedID, SkScalar left, SkScalar top, GrFontScaler*); bool uploadGlyph(GrGlyph*, GrFontScaler*); void setupCoverageEffect(const SkColor& filteredColor); |