Index: src/gpu/GrDrawContextPriv.h |
diff --git a/src/gpu/GrDrawContextPriv.h b/src/gpu/GrDrawContextPriv.h |
index 973315b17286acadb8675b51b6800062b1f1d077..7f70f8958291b329809f8105372d6b86af86b0e5 100644 |
--- a/src/gpu/GrDrawContextPriv.h |
+++ b/src/gpu/GrDrawContextPriv.h |
@@ -17,7 +17,7 @@ struct GrUserStencilSettings; |
data members or virtual methods. */ |
class GrDrawContextPriv { |
public: |
- bool drawAndStencilRect(const SkIRect* scissorRect, |
+ bool drawAndStencilRect(const GrClip&, |
const GrUserStencilSettings*, |
SkRegion::Op op, |
bool invert, |
@@ -25,7 +25,7 @@ public: |
const SkMatrix& viewMatrix, |
const SkRect&); |
- bool drawAndStencilPath(const SkIRect* scissorRect, |
+ bool drawAndStencilPath(const GrClip&, |
const GrUserStencilSettings*, |
SkRegion::Op op, |
bool invert, |
@@ -34,7 +34,8 @@ public: |
const SkPath&); |
void testingOnly_drawBatch(const GrPipelineBuilder& pipelineBuilder, |
- GrDrawBatch* batch); |
+ GrDrawBatch* batch, |
+ const GrClip* = nullptr); |
private: |
explicit GrDrawContextPriv(GrDrawContext* drawContext) : fDrawContext(drawContext) {} |