| Index: src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| index 296343da7a6267f1c19965c4b8a2a4a3db91fdf9..1e6675a9a13892e229bcd52d1de2e0cafdd3d4e9 100644
|
| --- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| @@ -69,12 +69,14 @@ static GrPath* get_gr_path(GrResourceProvider* resourceProvider, const SkPath& s
|
| void GrStencilAndCoverPathRenderer::onStencilPath(const StencilPathArgs& args) {
|
| GR_AUDIT_TRAIL_AUTO_FRAME(args.fDrawContext->auditTrail(),
|
| "GrStencilAndCoverPathRenderer::onStencilPath");
|
| + SkASSERT(!args.fIsAA || args.fDrawContext->isStencilBufferMultisampled());
|
|
|
| GrPaint paint;
|
| SkSafeUnref(paint.setXPFactory(GrDisableColorXPFactory::Create()));
|
| paint.setAntiAlias(args.fIsAA);
|
|
|
| - const GrPipelineBuilder pipelineBuilder(paint, args.fDrawContext->isUnifiedMultisampled());
|
| + GrPipelineBuilder pipelineBuilder(paint, args.fDrawContext->isUnifiedMultisampled());
|
| + pipelineBuilder.setState(GrPipelineBuilder::kHWAntialias_Flag, args.fIsAA);
|
|
|
| SkASSERT(!args.fPath->isInverseFillType());
|
| SkAutoTUnref<GrPath> path(get_gr_path(fResourceProvider, *args.fPath, GrStyle::SimpleFill()));
|
|
|