Index: src/gpu/GrSoftwarePathRenderer.cpp |
diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp |
index 2728811bc9e6935cfc3aef810831195e0b8f7083..d6e1595ba2f04ac9c577745b2f6aa67aff7e0d50 100644 |
--- a/src/gpu/GrSoftwarePathRenderer.cpp |
+++ b/src/gpu/GrSoftwarePathRenderer.cpp |
@@ -8,7 +8,6 @@ |
#include "GrSoftwarePathRenderer.h" |
#include "GrAuditTrail.h" |
#include "GrClip.h" |
-#include "GrPipelineBuilder.h" |
#include "GrSWMaskHelper.h" |
#include "GrTextureProvider.h" |
#include "batches/GrRectBatchFactory.h" |
@@ -73,10 +72,7 @@ void GrSoftwarePathRenderer::DrawNonAARect(GrDrawContext* drawContext, |
viewMatrix, rect, |
nullptr, &localMatrix)); |
- GrPipelineBuilder pipelineBuilder(paint, drawContext->mustUseHWAA(paint)); |
- pipelineBuilder.setUserStencil(&userStencilSettings); |
- |
- drawContext->drawBatch(pipelineBuilder, clip, batch); |
+ drawContext->drawBatch(paint, clip, userStencilSettings, batch); |
} |
void GrSoftwarePathRenderer::DrawAroundInvPath(GrDrawContext* drawContext, |
@@ -141,7 +137,6 @@ bool GrSoftwarePathRenderer::onDrawPath(const DrawPathArgs& args) { |
DrawAroundInvPath(args.fDrawContext, *args.fPaint, *args.fUserStencilSettings, |
*args.fClip, |
*args.fViewMatrix, devClipBounds, devShapeBounds); |
- |
} |
return true; |
} |