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

Unified Diff: src/gpu/GrAAHairLinePathRenderer.cpp

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 | « src/effects/SkMorphologyImageFilter.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAAHairLinePathRenderer.cpp
diff --git a/src/gpu/GrAAHairLinePathRenderer.cpp b/src/gpu/GrAAHairLinePathRenderer.cpp
index 1895da9891d7c33a7f19ba05f3639ad906ff14a0..67c2a32863fdcf3fcdfa6f95617643205ae6aec9 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();
« no previous file with comments | « src/effects/SkMorphologyImageFilter.cpp ('k') | src/gpu/GrAARectRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698