diff options
author | 2015-11-30 17:02:50 -0500 | |
---|---|---|
committer | 2015-11-30 17:02:50 -0500 | |
commit | 362c900625dc2ece854678455776b711c1e44c04 (patch) | |
tree | 30f6acd74de1b4762f189c280e15e6eb2e119555 | |
parent | b775e91e8760200f145a95672c29cc703b8a4f5f (diff) |
Disable using dev bounds in Gr clip reduction code.
Enabling this broke GPU raster in Chrome. Disabling until bug diagnosed/fixed.
TBR=joshualitt@googole.com
Review URL: https://codereview.chromium.org/1484973002 .
-rw-r--r-- | src/gpu/GrClipMaskManager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index 303aeccc8a..9eaf415cce 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)) { |