| Index: include/gpu/GrClipData.h
|
| ===================================================================
|
| --- include/gpu/GrClipData.h (revision 13968)
|
| +++ include/gpu/GrClipData.h (working copy)
|
| @@ -9,8 +9,8 @@
|
| #define GrClip_DEFINED
|
|
|
| #include "SkClipStack.h"
|
| +#include "GrSurface.h"
|
|
|
| -class GrSurface;
|
| struct SkIRect;
|
|
|
| /**
|
| @@ -48,6 +48,13 @@
|
|
|
| void getConservativeBounds(const GrSurface* surface,
|
| SkIRect* devResult,
|
| + bool* isIntersectionOfRects = NULL) const {
|
| + this->getConservativeBounds(surface->width(), surface->height(),
|
| + devResult, isIntersectionOfRects);
|
| + }
|
| +
|
| + void getConservativeBounds(int width, int height,
|
| + SkIRect* devResult,
|
| bool* isIntersectionOfRects = NULL) const;
|
| };
|
|
|
|
|