diff options
Diffstat (limited to 'src/gpu/ops/GrDrawPathOp.cpp')
-rw-r--r-- | src/gpu/ops/GrDrawPathOp.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/gpu/ops/GrDrawPathOp.cpp b/src/gpu/ops/GrDrawPathOp.cpp index fa08ae6d54..0a3df45cae 100644 --- a/src/gpu/ops/GrDrawPathOp.cpp +++ b/src/gpu/ops/GrDrawPathOp.cpp @@ -148,13 +148,7 @@ bool GrDrawPathRangeOp::onCombineIfPossible(GrOp* t, const GrCaps& caps) { GrPathRendering::kWinding_FillType != that->fillType()) { return false; } - // If we have non-clipping coverage processors we don't try to merge as its unclear whether it - // will be correct. We don't expect this to happen in practice. - if (this->processors().numCoverageFragmentProcessors()) { - return false; - } - bool opaque = this->fragmentProcessorAnalysis().isOutputColorOpaque(); - if (!GrXPFactory::CanCombineOverlappedStencilAndCover(this->processors().xpFactory(), opaque)) { + if (!this->fragmentProcessorAnalysis().canCombineOverlappedStencilAndCover()) { return false; } fTotalPathCount += that->fTotalPathCount; |