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

Unified Diff: include/gpu/GrOvalRenderer.h

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 | « include/gpu/GrGlyph.h ('k') | include/gpu/GrRect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrOvalRenderer.h
diff --git a/include/gpu/GrOvalRenderer.h b/include/gpu/GrOvalRenderer.h
index a9d41b40e04f407ac5ea93b96e89b1cacd30dc6f..08d3d3d9357ff773dd2092f104be39f4f61aa186 100644
--- a/include/gpu/GrOvalRenderer.h
+++ b/include/gpu/GrOvalRenderer.h
@@ -5,18 +5,17 @@
* found in the LICENSE file.
*/
-
#ifndef GrOvalRenderer_DEFINED
#define GrOvalRenderer_DEFINED
#include "GrContext.h"
#include "GrPaint.h"
#include "GrRefCnt.h"
-#include "GrRect.h"
class GrContext;
class GrDrawTarget;
class GrPaint;
+struct SkRect;
class SkStrokeRec;
/*
@@ -34,16 +33,16 @@ public:
void reset();
bool drawOval(GrDrawTarget* target, const GrContext* context, bool useAA,
- const GrRect& oval, const SkStrokeRec& stroke);
+ const SkRect& oval, const SkStrokeRec& stroke);
bool drawSimpleRRect(GrDrawTarget* target, GrContext* context, bool useAA,
const SkRRect& rrect, const SkStrokeRec& stroke);
private:
bool drawEllipse(GrDrawTarget* target, bool useAA,
- const GrRect& ellipse,
+ const SkRect& ellipse,
const SkStrokeRec& stroke);
void drawCircle(GrDrawTarget* target, bool useAA,
- const GrRect& circle,
+ const SkRect& circle,
const SkStrokeRec& stroke);
GrIndexBuffer* rRectIndexBuffer(GrGpu* gpu);
« no previous file with comments | « include/gpu/GrGlyph.h ('k') | include/gpu/GrRect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698