aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrOvalRenderer.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-02-25 11:03:52 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-25 11:03:52 -0800
commitb56f92783a5d84347b65f4f01ec3668096649d13 (patch)
tree825d7eb1b7450bb8bc72cc033d50efd4a44058d6 /src/gpu/GrOvalRenderer.h
parente4499849df904c30c21e0eacaf11b9e9a985313f (diff)
Hide GrPipelineBuilder from GrOvalRenderer
Diffstat (limited to 'src/gpu/GrOvalRenderer.h')
-rw-r--r--src/gpu/GrOvalRenderer.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/gpu/GrOvalRenderer.h b/src/gpu/GrOvalRenderer.h
index d34398006f..2b5272004a 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);