Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index 1890883b9aa1368860d662b65475ce7e2daf7fa9..b2d4aa506df8c1e880e404ccace277528aac47f4 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 |