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