diff options
author | 2013-07-17 21:39:42 +0000 | |
---|---|---|
committer | 2013-07-17 21:39:42 +0000 | |
commit | fd03d4a829efe2d77a712fd991927c55f59a2ffe (patch) | |
tree | b207777f1e3fe70b5823a2bc166a75c71f311036 /include/gpu/GrRenderTarget.h | |
parent | 5dd567c2a55c16c8bc2668902cdfce1734dfae8f (diff) |
Replace all instances of GrRect with SkRect.
And remove the typedef in GrRect.h. The same with GrIRect.
R=robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/19449002
git-svn-id: http://skia.googlecode.com/svn/trunk@10130 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/gpu/GrRenderTarget.h')
-rw-r--r-- | include/gpu/GrRenderTarget.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/gpu/GrRenderTarget.h b/include/gpu/GrRenderTarget.h index 2755becc21..eab65b5b1d 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; }; |