Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 7a910c5744662626cc0b0f7eed5eb0aa44468cbe..4c3e236818de9ce619539e903f2e89a07fb046b5 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -486,14 +486,6 @@ static bool apply_aa_to_rect(GrDrawTarget* target, |
SkScalar strokeWidth, |
const SkMatrix& combinedMatrix, |
GrColor color) { |
- if (!pipelineBuilder->canTweakAlphaForCoverage() && |
- !pipelineBuilder->canUseFracCoveragePrimProc(color, *target->caps())) { |
-#ifdef SK_DEBUG |
- //SkDebugf("Turning off AA to correctly apply blend.\n"); |
-#endif |
- return false; |
- } |
- |
if (pipelineBuilder->getRenderTarget()->isMultisampled()) { |
return false; |
} |
@@ -889,11 +881,6 @@ static bool is_nested_rects(GrDrawTarget* target, |
return false; |
} |
- if (!pipelineBuilder->canTweakAlphaForCoverage() && |
- !pipelineBuilder->canUseFracCoveragePrimProc(color, *target->caps())) { |
- return false; |
- } |
- |
SkPath::Direction dirs[2]; |
if (!path.isNestedRects(rects, dirs)) { |
return false; |
@@ -1027,8 +1014,7 @@ void GrContext::internalDrawPath(GrDrawTarget* target, |
// aa. If we have some future driver-mojo path AA that can do the right |
// thing WRT to the blend then we'll need some query on the PR. |
bool useCoverageAA = useAA && |
- !pipelineBuilder->getRenderTarget()->isMultisampled() && |
- pipelineBuilder->canUseFracCoveragePrimProc(color, *target->caps()); |
+ !pipelineBuilder->getRenderTarget()->isMultisampled(); |
GrPathRendererChain::DrawType type = |