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 .
This commit is contained in:
parent
b775e91e87
commit
362c900625
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user