Index: src/gpu/GrClipMaskManager.cpp |
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp |
index 303aeccc8a5ae8527c3a2ed4d04d203d87d96bf1..9eaf415cce6d9b897b1022e3fe46609cb5a7bd2b 100644 |
--- a/src/gpu/GrClipMaskManager.cpp |
+++ b/src/gpu/GrClipMaskManager.cpp |
@@ -357,7 +357,8 @@ bool GrClipMaskManager::setupClipping(const GrPipelineBuilder& pipelineBuilder, |
case GrClip::kClipStack_ClipType: { |
clipSpaceRTIBounds.offset(clip.origin()); |
SkIRect clipSpaceReduceQueryBounds; |
- if (devBounds) { |
+#define DISABLE_DEV_BOUNDS_FOR_CLIP_REDUCTION 1 |
+ if (devBounds && !DISABLE_DEV_BOUNDS_FOR_CLIP_REDUCTION) { |
SkIRect devIBounds = devBounds->roundOut(); |
devIBounds.offset(clip.origin()); |
if (!clipSpaceReduceQueryBounds.intersect(clipSpaceRTIBounds, devIBounds)) { |