Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index a39c4a3cdfbf855295c043abd095c082e9457b60..6635436e8745d088e1e83dd05f047006b48de0f6 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -292,7 +292,8 @@ bool GrClipMaskManager::setupClipping(GrPipelineBuilder* pipelineBuilder, |
SkVector clipToRTOffset = { SkIntToScalar(-clip.origin().fX), |
SkIntToScalar(-clip.origin().fY) }; |
if (elements.isEmpty() || |
- this->installClipEffects(pipelineBuilder, arfp, elements, clipToRTOffset, devBounds)) { |
+ (requiresAA && this->installClipEffects(pipelineBuilder, arfp, elements, clipToRTOffset, |
+ devBounds))) { |
SkIRect scissorSpaceIBounds(clipSpaceIBounds); |
scissorSpaceIBounds.offset(-clip.origin()); |
if (NULL == devBounds || |