diff options
author | 2016-02-11 12:00:33 -0800 | |
---|---|---|
committer | 2016-02-11 12:00:33 -0800 | |
commit | 27004b7e653a38570d3fd1621ed0107e5443b31a (patch) | |
tree | 7caf6bccabc7d075ea26e6304491f6efaad93dda /src/gpu/text/GrStencilAndCoverTextContext.h | |
parent | 7ea5e28065e5eb797e95f5d81c1a65cf3209d741 (diff) |
Remove GrContext* from GrTextContext
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1686143003
Review URL: https://codereview.chromium.org/1686143003
Diffstat (limited to 'src/gpu/text/GrStencilAndCoverTextContext.h')
-rw-r--r-- | src/gpu/text/GrStencilAndCoverTextContext.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.h b/src/gpu/text/GrStencilAndCoverTextContext.h index 053fbd3d69..302df0b5fc 100644 --- a/src/gpu/text/GrStencilAndCoverTextContext.h +++ b/src/gpu/text/GrStencilAndCoverTextContext.h @@ -28,20 +28,20 @@ class SkSurfaceProps; */ class GrStencilAndCoverTextContext : public GrTextContext { public: - static GrStencilAndCoverTextContext* Create(GrContext*); + static GrStencilAndCoverTextContext* Create(); - void drawText(GrDrawContext* dc, + void drawText(GrContext*, GrDrawContext* dc, const GrClip&, const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[], size_t byteLength, SkScalar x, SkScalar y, const SkIRect& clipBounds) override; - void drawPosText(GrDrawContext*, + void drawPosText(GrContext*, GrDrawContext*, const GrClip&, const GrPaint&, const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset, const SkIRect& clipBounds) override; - void drawTextBlob(GrDrawContext*, const GrClip&, const SkPaint&, + void drawTextBlob(GrContext*, GrDrawContext*, const GrClip&, const SkPaint&, const SkMatrix& viewMatrix, const SkSurfaceProps&, const SkTextBlob*, SkScalar x, SkScalar y, SkDrawFilter*, const SkIRect& clipBounds) override; @@ -49,7 +49,7 @@ public: virtual ~GrStencilAndCoverTextContext(); private: - GrStencilAndCoverTextContext(GrContext*); + GrStencilAndCoverTextContext(); bool canDraw(const SkPaint& skPaint, const SkMatrix&) { return this->internalCanDraw(skPaint); @@ -57,7 +57,7 @@ private: bool internalCanDraw(const SkPaint&); - void uncachedDrawTextBlob(GrDrawContext* dc, + void uncachedDrawTextBlob(GrContext*, GrDrawContext* dc, const GrClip& clip, const SkPaint& skPaint, const SkMatrix& viewMatrix, const SkSurfaceProps&, |