| Index: src/gpu/GrContext.cpp
|
| diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
|
| index a4679a923c75bac501b92302947c69c1123fede8..9054d28dfd4d2d36dbf68a7a3fcede18f6c211e7 100755
|
| --- a/src/gpu/GrContext.cpp
|
| +++ b/src/gpu/GrContext.cpp
|
| @@ -480,14 +480,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;
|
| @@ -1028,8 +1015,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 =
|
|
|