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
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index cfb27f6..612cc64 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -95,7 +95,7 @@
}
GrAutoUnref au(texture);
- GrContext::AutoClip acs(ctx, GrRect::MakeWH(2*S, 2*S));
+ GrContext::AutoClip acs(ctx, SkRect::MakeWH(2*S, 2*S));
ctx->setRenderTarget(target);
@@ -115,7 +115,7 @@
tm.postIDiv(2*S, 2*S);
paint.addColorTextureEffect(texture, tm);
- ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S));
+ ctx->drawRect(paint, SkRect::MakeWH(2*S, 2*S));
// now update the lower right of the texture in first pass
// or upper right in second pass
@@ -129,7 +129,7 @@
texture->writePixels(S, (i ? 0 : S), S, S,
texture->config(), gTextureData,
4 * stride);
- ctx->drawRect(paint, GrRect::MakeWH(2*S, 2*S));
+ ctx->drawRect(paint, SkRect::MakeWH(2*S, 2*S));
}
}
}