diff options
author | 2016-05-12 15:09:48 -0700 | |
---|---|---|
committer | 2016-05-12 15:09:48 -0700 | |
commit | 862cff30eaa16206d76d7de7594c9167375ca87e (patch) | |
tree | b8f177f4d401b8c0361141ce834eaa9898d7beb4 /src/gpu/text/GrStencilAndCoverTextContext.h | |
parent | 193d9cf8f2280cd4f8e509c6f3af6b47cea04935 (diff) |
Remove clip from GrPipelineBuilder
This eliminates a copy and will allow us to make the GrClip class
virutal.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1966903004
Review-Url: https://codereview.chromium.org/1966903004
Diffstat (limited to 'src/gpu/text/GrStencilAndCoverTextContext.h')
-rw-r--r-- | src/gpu/text/GrStencilAndCoverTextContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/text/GrStencilAndCoverTextContext.h b/src/gpu/text/GrStencilAndCoverTextContext.h index 2c13ca035c..64bcd4dfbe 100644 --- a/src/gpu/text/GrStencilAndCoverTextContext.h +++ b/src/gpu/text/GrStencilAndCoverTextContext.h @@ -78,8 +78,8 @@ private: void setPosText(const char text[], size_t byteLength, const SkScalar pos[], int scalarsPerPosition, const SkPoint& offset); - void draw(GrContext*, GrDrawContext*, GrPipelineBuilder*, GrColor, const SkMatrix&, - const SkSurfaceProps&, + void draw(GrContext*, GrDrawContext*, GrPipelineBuilder*, const GrClip&, GrColor, + const SkMatrix&, const SkSurfaceProps&, SkScalar x, SkScalar y, const SkIRect& clipBounds, GrAtlasTextContext* fallbackTextContext, const SkPaint& originalSkPaint) const; |