Index: src/gpu/batches/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAConvexPathRenderer.cpp b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
index 3208eadb47b09fb747013e7f71310c2b6477d65d..b0ddaeb65c43f26954c7cac7e9db669500f39e8b 100644 |
--- a/src/gpu/batches/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
@@ -17,6 +17,7 @@ |
#include "GrInvariantOutput.h" |
#include "GrPathUtils.h" |
#include "GrProcessor.h" |
+#include "GrPipelineBuilder.h" |
#include "SkGeometry.h" |
#include "SkPathPriv.h" |
#include "SkString.h" |
@@ -1000,7 +1001,10 @@ |
SkAutoTUnref<GrDrawBatch> batch(new AAConvexPathBatch(args.fPaint->getColor(), |
*args.fViewMatrix, path)); |
- args.fDrawContext->drawBatch(*args.fPaint, *args.fClip, *args.fUserStencilSettings, batch); |
+ GrPipelineBuilder pipelineBuilder(*args.fPaint); |
+ pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
+ |
+ args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |
return true; |