| Index: src/gpu/GrDistanceFieldTextContext.h
|
| diff --git a/src/gpu/GrDistanceFieldTextContext.h b/src/gpu/GrDistanceFieldTextContext.h
|
| index 3fe44888ce47a91be85f0d11407168311e8e30f1..5dea62c80ff0ee630acdadaa67ca9702110cefba 100644
|
| --- a/src/gpu/GrDistanceFieldTextContext.h
|
| +++ b/src/gpu/GrDistanceFieldTextContext.h
|
| @@ -51,17 +51,18 @@ private:
|
|
|
| GrDistanceFieldTextContext(GrContext*, SkGpuDevice*, const SkDeviceProperties&, bool enable);
|
|
|
| - 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&,
|
| const SkIRect& regionClipBounds);
|
|
|