aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu
diff options
context:
space:
mode:
authorGravatar cdalton <cdalton@nvidia.com>2016-05-12 15:09:48 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-05-12 15:09:48 -0700
commit862cff30eaa16206d76d7de7594c9167375ca87e (patch)
treeb8f177f4d401b8c0361141ce834eaa9898d7beb4 /include/gpu
parent193d9cf8f2280cd4f8e509c6f3af6b47cea04935 (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 'include/gpu')
-rw-r--r--include/gpu/GrDrawContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gpu/GrDrawContext.h b/include/gpu/GrDrawContext.h
index 1f5b3d2d2b..04b03d4b60 100644
--- a/include/gpu/GrDrawContext.h
+++ b/include/gpu/GrDrawContext.h
@@ -308,7 +308,7 @@ private:
// This entry point allows the GrTextContext-derived classes to add their batches to
// the drawTarget.
- void drawBatch(GrPipelineBuilder* pipelineBuilder, GrDrawBatch* batch);
+ void drawBatch(GrPipelineBuilder* pipelineBuilder, const GrClip&, GrDrawBatch* batch);
GrDrawTarget* getDrawTarget();