From 5ea0363bf12495412649fa11b62e1a6caa71c093 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Tue, 18 Aug 2015 10:33:30 -0700 Subject: ClearStencilClip in GrBatch Review URL: https://codereview.chromium.org/1288963004 --- src/gpu/GrDrawTarget.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gpu/GrDrawTarget.h') 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 -- cgit v1.2.3