| Index: src/gpu/GrClipStackClip.cpp
|
| diff --git a/src/gpu/GrClipStackClip.cpp b/src/gpu/GrClipStackClip.cpp
|
| index 6cb216ee0c37dbf00f462af008df8ed6d25b1d60..a3a0de509c0db3e1567d195662a174e30f7d811a 100644
|
| --- a/src/gpu/GrClipStackClip.cpp
|
| +++ b/src/gpu/GrClipStackClip.cpp
|
| @@ -30,6 +30,14 @@ bool GrClipStackClip::quickContains(const SkRect& rect) const {
|
| SkIntToScalar(fOrigin.y())));
|
| }
|
|
|
| +bool GrClipStackClip::quickContains(const SkRRect& rrect) const {
|
| + if (!fStack) {
|
| + return true;
|
| + }
|
| + return fStack->quickContains(rrect.makeOffset(SkIntToScalar(fOrigin.fX),
|
| + SkIntToScalar(fOrigin.fY)));
|
| +}
|
| +
|
| void GrClipStackClip::getConservativeBounds(int width, int height, SkIRect* devResult,
|
| bool* isIntersectionOfRects) const {
|
| if (!fStack) {
|
|
|