| Index: src/gpu/GrStencilAndCoverPathRenderer.h
|
| diff --git a/src/gpu/GrStencilAndCoverPathRenderer.h b/src/gpu/GrStencilAndCoverPathRenderer.h
|
| index 7e3c005f3e42a091a53da6ca4ec52196d54df0ad..62a378b0a71db8d29b490dc90f0f62411de7313b 100644
|
| --- a/src/gpu/GrStencilAndCoverPathRenderer.h
|
| +++ b/src/gpu/GrStencilAndCoverPathRenderer.h
|
| @@ -21,41 +21,39 @@ class GrGpu;
|
| class GrStencilAndCoverPathRenderer : public GrPathRenderer {
|
| public:
|
|
|
| - static GrPathRenderer* Create(GrContext*);
|
| + static GrPathRenderer* Create(GrResourceProvider*, const GrCaps&);
|
|
|
| - virtual ~GrStencilAndCoverPathRenderer();
|
| -
|
| - virtual bool canDrawPath(const GrDrawTarget*,
|
| - const GrPipelineBuilder*,
|
| - const SkMatrix& viewMatrix,
|
| - const SkPath&,
|
| - const GrStrokeInfo&,
|
| - bool antiAlias) const override;
|
| + bool canDrawPath(const GrDrawTarget*,
|
| + const GrPipelineBuilder*,
|
| + const SkMatrix& viewMatrix,
|
| + const SkPath&,
|
| + const GrStrokeInfo&,
|
| + bool antiAlias) const override;
|
|
|
| protected:
|
| - virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
|
| - const GrPipelineBuilder*,
|
| - const SkPath&,
|
| - const GrStrokeInfo&) const override;
|
| -
|
| - virtual bool onDrawPath(GrDrawTarget*,
|
| - GrPipelineBuilder*,
|
| - GrColor,
|
| - const SkMatrix& viewMatrix,
|
| - const SkPath&,
|
| - const GrStrokeInfo&,
|
| - bool antiAlias) override;
|
| -
|
| - virtual void onStencilPath(GrDrawTarget*,
|
| - GrPipelineBuilder*,
|
| - const SkMatrix& viewMatrix,
|
| - const SkPath&,
|
| - const GrStrokeInfo&) override;
|
| + StencilSupport onGetStencilSupport(const GrDrawTarget*,
|
| + const GrPipelineBuilder*,
|
| + const SkPath&,
|
| + const GrStrokeInfo&) const override;
|
| +
|
| + bool onDrawPath(GrDrawTarget*,
|
| + GrPipelineBuilder*,
|
| + GrColor,
|
| + const SkMatrix& viewMatrix,
|
| + const SkPath&,
|
| + const GrStrokeInfo&,
|
| + bool antiAlias) override;
|
| +
|
| + void onStencilPath(GrDrawTarget*,
|
| + GrPipelineBuilder*,
|
| + const SkMatrix& viewMatrix,
|
| + const SkPath&,
|
| + const GrStrokeInfo&) override;
|
|
|
| private:
|
| - GrStencilAndCoverPathRenderer(GrGpu*);
|
| + GrStencilAndCoverPathRenderer(GrResourceProvider*);
|
|
|
| - GrGpu* fGpu;
|
| + GrResourceProvider* fResourceProvider;
|
|
|
| typedef GrPathRenderer INHERITED;
|
| };
|
|
|