DescriptionWhen creating r4798, I overlooked a difference in GrClip and SkClipStack's behaviors. When a clip reduces to a single rect, GrClip ignores the bounding box passed to it from the SkClipStack and instead uses the reduced rect. A problem arises because the reduced rect is never cropped to the render target's bound. This CL adds another crop to the GrClipData::getConservativeBound helper function.
Patch Set 1 #
Total comments: 1
MessagesTotal messages: 4
|