| Index: src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| index 314e6c26497f11e0bd50aff9a9427f041ccbbb40..296343da7a6267f1c19965c4b8a2a4a3db91fdf9 100644
|
| --- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| @@ -74,8 +74,7 @@ void GrStencilAndCoverPathRenderer::onStencilPath(const StencilPathArgs& args) {
|
| SkSafeUnref(paint.setXPFactory(GrDisableColorXPFactory::Create()));
|
| paint.setAntiAlias(args.fIsAA);
|
|
|
| - GrPipelineBuilder pipelineBuilder(paint, args.fDrawContext->isUnifiedMultisampled());
|
| - pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget());
|
| + const GrPipelineBuilder pipelineBuilder(paint, args.fDrawContext->isUnifiedMultisampled());
|
|
|
| SkASSERT(!args.fPath->isInverseFillType());
|
| SkAutoTUnref<GrPath> path(get_gr_path(fResourceProvider, *args.fPath, GrStyle::SimpleFill()));
|
| @@ -113,7 +112,6 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const DrawPathArgs& args) {
|
| {
|
| GrPipelineBuilder pipelineBuilder(*args.fPaint,
|
| args.fDrawContext->isUnifiedMultisampled());
|
| - pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget());
|
| pipelineBuilder.setUserStencil(&kInvertedCoverPass);
|
| if (args.fAntiAlias) {
|
| SkASSERT(args.fDrawContext->isStencilBufferMultisampled());
|
| @@ -151,7 +149,6 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const DrawPathArgs& args) {
|
| {
|
| GrPipelineBuilder pipelineBuilder(*args.fPaint,
|
| args.fDrawContext->isUnifiedMultisampled());
|
| - pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget());
|
| pipelineBuilder.setUserStencil(&kInvertedCoverPass);
|
| if (args.fAntiAlias) {
|
| SkASSERT(args.fDrawContext->isStencilBufferMultisampled());
|
| @@ -179,7 +176,6 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const DrawPathArgs& args) {
|
|
|
| GrPipelineBuilder pipelineBuilder(*args.fPaint,
|
| args.fDrawContext->isUnifiedMultisampled());
|
| - pipelineBuilder.setRenderTarget(args.fDrawContext->accessRenderTarget());
|
| pipelineBuilder.setUserStencil(&kCoverPass);
|
| if (args.fAntiAlias) {
|
| SkASSERT(args.fDrawContext->isStencilBufferMultisampled());
|
|
|