From fd03d4a829efe2d77a712fd991927c55f59a2ffe Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Wed, 17 Jul 2013 21:39:42 +0000 Subject: 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 --- include/gpu/GrRenderTarget.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/gpu/GrRenderTarget.h') 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; }; -- cgit v1.2.3