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); |