Index: src/gpu/batches/GrPLSPathRenderer.cpp |
diff --git a/src/gpu/batches/GrPLSPathRenderer.cpp b/src/gpu/batches/GrPLSPathRenderer.cpp |
index e69889496ccc82480a67a99d00b2520342369e81..e84bd4d901fe2dbfe9212c4acb103893c4b2dbcc 100644 |
--- a/src/gpu/batches/GrPLSPathRenderer.cpp |
+++ b/src/gpu/batches/GrPLSPathRenderer.cpp |
@@ -985,7 +985,12 @@ bool GrPLSPathRenderer::onDrawPath(const DrawPathArgs& args) { |
geometry.fPath = *args.fPath; |
SkAutoTUnref<GrDrawBatch> batch(PLSPathBatch::Create(geometry)); |
- args.fTarget->drawBatch(*args.fPipelineBuilder, *args.fClip, batch); |
+ |
+ GrPipelineBuilder pipelineBuilder(*args.fPaint, args.fDrawContext->isUnifiedMultisampled()); |
+ pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget()); |
+ pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
+ |
+ args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |
SkDEBUGCODE(inPLSDraw = false;) |
return true; |