Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(814)

Unified Diff: src/gpu/GrClipMaskCache.h

Issue 19449002: Replace all instances of GrRect with SkRect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/GrClipData.cpp ('k') | src/gpu/GrClipMaskManager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrClipMaskCache.h
diff --git a/src/gpu/GrClipMaskCache.h b/src/gpu/GrClipMaskCache.h
index 9a091c4b3a408a80bbb5d58e69fce7e9d47b64bf..330a1f215f072d01f31881259c2dc8840cfe1598 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;
« no previous file with comments | « src/gpu/GrClipData.cpp ('k') | src/gpu/GrClipMaskManager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698