Index: src/gpu/GrOvalRenderer.h |
diff --git a/src/gpu/GrOvalRenderer.h b/src/gpu/GrOvalRenderer.h |
index 66182b24e8cff5998481883eb12d1d4bebdb7db7..c4ea4968d781ce0e11a341e0817128f2247b00be 100644 |
--- a/src/gpu/GrOvalRenderer.h |
+++ b/src/gpu/GrOvalRenderer.h |
@@ -12,6 +12,7 @@ |
class GrDrawBatch; |
class GrShaderCaps; |
+class GrStyle; |
class SkMatrix; |
struct SkRect; |
class SkRRect; |
@@ -26,15 +27,21 @@ public: |
const SkMatrix& viewMatrix, |
const SkRect& oval, |
const SkStrokeRec& stroke, |
- GrShaderCaps* shaderCaps); |
+ const GrShaderCaps* shaderCaps); |
static GrDrawBatch* CreateRRectBatch(GrColor, |
const SkMatrix& viewMatrix, |
const SkRRect& rrect, |
const SkStrokeRec& stroke, |
- GrShaderCaps* shaderCaps); |
+ const GrShaderCaps* shaderCaps); |
-private: |
- GrOvalRenderer(); |
+ static GrDrawBatch* CreateArcBatch(GrColor, |
+ const SkMatrix& viewMatrix, |
+ const SkRect& oval, |
+ SkScalar startAngle, |
+ SkScalar sweepAngle, |
+ bool useCenter, |
+ const GrStyle&, |
+ const GrShaderCaps* shaderCaps); |
}; |
#endif // GrOvalRenderer_DEFINED |