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

Unified Diff: src/gpu/GrOvalRenderer.h

Issue 1726223008: Hide GrPipelineBuilder from GrOvalRenderer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 10 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/gpu/GrDrawContext.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrOvalRenderer.h
diff --git a/src/gpu/GrOvalRenderer.h b/src/gpu/GrOvalRenderer.h
index d34398006fd013ea168845750acef9e695ad550f..2b5272004a6f02ba033b75138f3197d91bd130ea 100644
--- a/src/gpu/GrOvalRenderer.h
+++ b/src/gpu/GrOvalRenderer.h
@@ -8,12 +8,13 @@
#ifndef GrOvalRenderer_DEFINED
#define GrOvalRenderer_DEFINED
-#include "GrPaint.h"
+#include "GrColor.h"
class GrDrawBatch;
-class GrPipelineBuilder;
class GrShaderCaps;
+class SkMatrix;
struct SkRect;
+class SkRRect;
class SkStrokeRec;
/*
@@ -21,17 +22,13 @@ class SkStrokeRec;
*/
class GrOvalRenderer {
public:
- static GrDrawBatch* CreateOvalBatch(const GrPipelineBuilder&,
- GrColor,
+ static GrDrawBatch* CreateOvalBatch(GrColor,
const SkMatrix& viewMatrix,
- bool useAA,
const SkRect& oval,
const SkStrokeRec& stroke,
GrShaderCaps* shaderCaps);
- static GrDrawBatch* CreateRRectBatch(const GrPipelineBuilder&,
- GrColor,
+ static GrDrawBatch* CreateRRectBatch(GrColor,
const SkMatrix& viewMatrix,
- bool useAA,
const SkRRect& rrect,
const SkStrokeRec& stroke,
GrShaderCaps* shaderCaps);
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698