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