Index: src/gpu/batches/GrStencilPathBatch.h |
diff --git a/src/gpu/batches/GrStencilPathBatch.h b/src/gpu/batches/GrStencilPathBatch.h |
index 33189c2885b9d2c6db3586a29ddc654416953aab..84778225a58406eb312f524cd2e010da7064b23e 100644 |
--- a/src/gpu/batches/GrStencilPathBatch.h |
+++ b/src/gpu/batches/GrStencilPathBatch.h |
@@ -21,11 +21,14 @@ public: |
static GrBatch* Create(const SkMatrix& viewMatrix, |
bool useHWAA, |
- const GrStencilSettings& stencil, |
+ const GrUserStencilSettings& userStencil, |
+ bool hasStencilClip, |
+ int numStencilBits, |
const GrScissorState& scissor, |
GrRenderTarget* renderTarget, |
const GrPath* path) { |
- return new GrStencilPathBatch(viewMatrix, useHWAA, stencil, scissor, renderTarget, path); |
+ return new GrStencilPathBatch(viewMatrix, useHWAA, userStencil, hasStencilClip, |
+ numStencilBits, scissor, renderTarget, path); |
} |
const char* name() const override { return "StencilPath"; } |
@@ -42,14 +45,16 @@ public: |
private: |
GrStencilPathBatch(const SkMatrix& viewMatrix, |
bool useHWAA, |
- const GrStencilSettings& stencil, |
+ const GrUserStencilSettings& userStencil, |
+ bool hasStencilClip, |
+ int numStencilBits, |
const GrScissorState& scissor, |
GrRenderTarget* renderTarget, |
const GrPath* path) |
: INHERITED(ClassID()) |
, fViewMatrix(viewMatrix) |
, fUseHWAA(useHWAA) |
- , fStencil(stencil) |
+ , fStencil(userStencil, hasStencilClip, numStencilBits) |
, fScissor(scissor) |
, fRenderTarget(renderTarget) |
, fPath(path) { |