aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrAAHairLinePathRenderer.cpp
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-17 21:39:42 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-17 21:39:42 +0000
commitfd03d4a829efe2d77a712fd991927c55f59a2ffe (patch)
treeb207777f1e3fe70b5823a2bc166a75c71f311036 /src/gpu/GrAAHairLinePathRenderer.cpp
parent5dd567c2a55c16c8bc2668902cdfce1734dfae8f (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 'src/gpu/GrAAHairLinePathRenderer.cpp')
-rw-r--r--src/gpu/GrAAHairLinePathRenderer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 1895da9891..67c2a32863 100644
--- a/src/gpu/GrAAHairLinePathRenderer.cpp
+++ b/src/gpu/GrAAHairLinePathRenderer.cpp
@@ -251,7 +251,7 @@ int num_quad_subdivs(const SkPoint p[3]) {
*/
int generate_lines_and_quads(const SkPath& path,
const SkMatrix& m,
- const GrIRect& devClipBounds,
+ const SkIRect& devClipBounds,
PtArray* lines,
PtArray* quads,
PtArray* conics,
@@ -260,8 +260,8 @@ int generate_lines_and_quads(const SkPath& path,
SkPath::Iter iter(path, false);
int totalQuadCount = 0;
- GrRect bounds;
- GrIRect ibounds;
+ SkRect bounds;
+ SkIRect ibounds;
bool persp = m.hasPerspective();
@@ -986,7 +986,7 @@ bool GrAAHairLinePathRenderer::createGeom(
GrDrawState* drawState = target->drawState();
int rtHeight = drawState->getRenderTarget()->height();
- GrIRect devClipBounds;
+ SkIRect devClipBounds;
target->getClip()->getConservativeBounds(drawState->getRenderTarget(), &devClipBounds);
SkMatrix viewM = drawState->getViewMatrix();