aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawTarget.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-08-18 10:33:30 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-08-18 10:33:30 -0700
commit5ea0363bf12495412649fa11b62e1a6caa71c093 (patch)
treeeedcf10c2ef211e0a83114d123285aed3047b1d9 /src/gpu/GrDrawTarget.h
parent2ad37be2b1f596a163e889ae0282227055c6b661 (diff)
ClearStencilClip in GrBatch
Diffstat (limited to 'src/gpu/GrDrawTarget.h')
-rw-r--r--src/gpu/GrDrawTarget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
index 1890883b9a..b2d4aa506d 100644
--- a/src/gpu/GrDrawTarget.h
+++ b/src/gpu/GrDrawTarget.h
@@ -236,12 +236,13 @@ protected:
GrXferProcessor::DstTexture*,
const SkRect* drawBounds);
+ virtual void onDrawBatch(GrBatch*) = 0;
+
private:
virtual void onReset() = 0;
virtual void onFlush() = 0;
- virtual void onDrawBatch(GrBatch*) = 0;
virtual void onStencilPath(const GrPipelineBuilder&,
const GrPathProcessor*,
const GrPath*,
@@ -311,7 +312,7 @@ public:
* is free to clear the remaining bits to zero if masked clears are more
* expensive than clearing all bits.
*/
- virtual void clearStencilClip(const SkIRect& rect, bool insideClip, GrRenderTarget* = NULL) = 0;
+ void clearStencilClip(const SkIRect&, bool insideClip, GrRenderTarget*);
/**
* Release any resources that are cached but not currently in use. This