| Index: include/gpu/GrClip.h
|
| diff --git a/include/gpu/GrClip.h b/include/gpu/GrClip.h
|
| index 9db76f094283a91ef0170bb3c4991c70f166f59f..a6a0a665bdca0174f5937bca753eb662a9a7ee34 100644
|
| --- a/include/gpu/GrClip.h
|
| +++ b/include/gpu/GrClip.h
|
| @@ -66,6 +66,9 @@ private:
|
| class GrClip {
|
| public:
|
| virtual bool quickContains(const SkRect&) const = 0;
|
| + virtual bool quickContains(const SkRRect& rrect) const {
|
| + return this->quickContains(rrect.getBounds());
|
| + }
|
| virtual void getConservativeBounds(int width, int height, SkIRect* devResult,
|
| bool* isIntersectionOfRects = nullptr) const = 0;
|
| virtual bool apply(GrContext*, GrDrawContext*, bool useHWAA, bool hasUserStencilSettings,
|
|
|