Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 96f4b209e385944584f1339d87bc5bdd57e6b82b..2f60c4501792719d0a1adbfac47abea4e87480c4 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -268,7 +268,7 @@ bool GrClipMaskManager::setupClipping(const GrClipData* clipDataIn, |
SkVector clipToRTOffset = { SkIntToScalar(-clipDataIn->fOrigin.fX), |
SkIntToScalar(-clipDataIn->fOrigin.fY) }; |
if (elements.isEmpty() || |
- this->installClipEffects(elements, are, clipToRTOffset, devBounds)) { |
+ (requiresAA && this->installClipEffects(elements, are, clipToRTOffset, devBounds))) { |
SkIRect scissorSpaceIBounds(clipSpaceIBounds); |
scissorSpaceIBounds.offset(-clipDataIn->fOrigin); |
if (NULL == devBounds || |