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

Unified Diff: include/gpu/GrRenderTarget.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 | « include/gpu/GrRect.h ('k') | include/gpu/GrTextContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrRenderTarget.h
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h
index 2755becc215d8fa74989bf1c55ee808ff96e88d6..eab65b5b1d7cf76ac4112623a14511328eb6bd5b 100644
--- a/include/gpu/GrRenderTarget.h
+++ b/include/gpu/GrRenderTarget.h
@@ -8,8 +8,8 @@
#ifndef GrRenderTarget_DEFINED
#define GrRenderTarget_DEFINED
-#include "GrRect.h"
#include "GrSurface.h"
+#include "SkRect.h"
class GrStencilBuffer;
class GrTexture;
@@ -90,12 +90,12 @@ public:
* @param rect a rect bounding the area needing resolve. NULL indicates
* the whole RT needs resolving.
*/
- void flagAsNeedingResolve(const GrIRect* rect = NULL);
+ void flagAsNeedingResolve(const SkIRect* rect = NULL);
/**
* Call to override the region that needs to be resolved.
*/
- void overrideResolveRect(const GrIRect rect);
+ void overrideResolveRect(const SkIRect rect);
/**
* Call to indicate that GrRenderTarget was externally resolved. This may
@@ -111,7 +111,7 @@ public:
/**
* Returns a rect bounding the region needing resolving.
*/
- const GrIRect& getResolveRect() const { return fResolveRect; }
+ const SkIRect& getResolveRect() const { return fResolveRect; }
/**
* If the render target is multisampled this will perform a multisample
@@ -163,7 +163,7 @@ private:
GrStencilBuffer* fStencilBuffer;
GrTexture* fTexture; // not ref'ed
- GrIRect fResolveRect;
+ SkIRect fResolveRect;
typedef GrSurface INHERITED;
};
« no previous file with comments | « include/gpu/GrRect.h ('k') | include/gpu/GrTextContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698