aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrClipMaskCache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu/GrClipMaskCache.h')
-rw-r--r--src/gpu/GrClipMaskCache.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrClipMaskCache.h b/src/gpu/GrClipMaskCache.h
index 9a091c4b3a..330a1f215f 100644
--- a/src/gpu/GrClipMaskCache.h
+++ b/src/gpu/GrClipMaskCache.h
@@ -118,7 +118,7 @@ public:
void acquireMask(int32_t clipGenID,
const GrTextureDesc& desc,
- const GrIRect& bound) {
+ const SkIRect& bound) {
if (fStack.empty()) {
GrAssert(false);
@@ -162,7 +162,7 @@ public:
return back->fLastMask.texture()->height();
}
- void getLastBound(GrIRect* bound) const {
+ void getLastBound(SkIRect* bound) const {
if (fStack.empty()) {
GrAssert(false);
@@ -203,7 +203,7 @@ private:
void acquireMask(GrContext* context,
int32_t clipGenID,
const GrTextureDesc& desc,
- const GrIRect& bound) {
+ const SkIRect& bound) {
fLastClipGenID = clipGenID;
@@ -227,7 +227,7 @@ private:
GrAutoScratchTexture fLastMask;
// fLastBound stores the bounding box of the clip mask in clip-stack space. This rect is
// used by GrClipMaskManager to position a rect and compute texture coords for the mask.
- GrIRect fLastBound;
+ SkIRect fLastBound;
};
GrContext* fContext;