Index: src/gpu/batches/GrAAConvexPathRenderer.cpp |
diff --git a/src/gpu/batches/GrAAConvexPathRenderer.cpp b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
index ef6c0ae65964e18b6d9dfd023b8d8f93f97ca6a6..e875f1c3ec296c6fde341d35acd5df0d76f0b69f 100644 |
--- a/src/gpu/batches/GrAAConvexPathRenderer.cpp |
+++ b/src/gpu/batches/GrAAConvexPathRenderer.cpp |
@@ -997,6 +997,8 @@ private: |
bool GrAAConvexPathRenderer::onDrawPath(const DrawPathArgs& args) { |
GR_AUDIT_TRAIL_AUTO_FRAME(args.fDrawContext->auditTrail(), |
"GrAAConvexPathRenderer::onDrawPath"); |
+ SkASSERT(!args.fDrawContext->isUnifiedMultisampled()); |
+ |
if (args.fPath->isEmpty()) { |
return true; |
} |
@@ -1008,7 +1010,7 @@ bool GrAAConvexPathRenderer::onDrawPath(const DrawPathArgs& args) { |
SkAutoTUnref<GrDrawBatch> batch(AAConvexPathBatch::Create(geometry)); |
- GrPipelineBuilder pipelineBuilder(*args.fPaint, args.fDrawContext->isUnifiedMultisampled()); |
+ GrPipelineBuilder pipelineBuilder(*args.fPaint); |
pipelineBuilder.setUserStencil(args.fUserStencilSettings); |
args.fDrawContext->drawBatch(pipelineBuilder, *args.fClip, batch); |