| Index: src/gpu/GrPathRenderer.h
|
| diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h
|
| index 5144597ab5f344654433b0dec102532de4741aec..74ae82b187bb960fdd8f77c4929ea8a9657469a0 100644
|
| --- a/src/gpu/GrPathRenderer.h
|
| +++ b/src/gpu/GrPathRenderer.h
|
| @@ -84,7 +84,7 @@ public:
|
| StencilSupport getStencilSupport(const GrDrawTarget* target,
|
| const GrPipelineBuilder* pipelineBuilder,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke) const {
|
| + const GrStrokeInfo& stroke) const {
|
| SkASSERT(!path.isInverseFillType());
|
| return this->onGetStencilSupport(target, pipelineBuilder, path, stroke);
|
| }
|
| @@ -107,7 +107,7 @@ public:
|
| const GrPipelineBuilder* pipelineBuilder,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const SkStrokeRec& rec,
|
| + const GrStrokeInfo& stroke,
|
| bool antiAlias) const = 0;
|
| /**
|
| * Draws the path into the draw target. If getStencilSupport() would return kNoRestriction then
|
| @@ -125,7 +125,7 @@ public:
|
| GrColor color,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke,
|
| + const GrStrokeInfo& stroke,
|
| bool antiAlias) {
|
| SkASSERT(!path.isEmpty());
|
| SkASSERT(this->canDrawPath(target, ds, viewMatrix, path, stroke, antiAlias));
|
| @@ -147,7 +147,7 @@ public:
|
| GrPipelineBuilder* ds,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke) {
|
| + const GrStrokeInfo& stroke) {
|
| SkASSERT(!path.isEmpty());
|
| SkASSERT(kNoSupport_StencilSupport != this->getStencilSupport(target, ds, path, stroke));
|
| this->onStencilPath(target, ds, viewMatrix, path, stroke);
|
| @@ -174,7 +174,7 @@ protected:
|
| virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
|
| const GrPipelineBuilder*,
|
| const SkPath&,
|
| - const SkStrokeRec&) const {
|
| + const GrStrokeInfo&) const {
|
| return kNoRestriction_StencilSupport;
|
| }
|
|
|
| @@ -186,7 +186,7 @@ protected:
|
| GrColor,
|
| const SkMatrix& viewMatrix,
|
| const SkPath&,
|
| - const SkStrokeRec&,
|
| + const GrStrokeInfo&,
|
| bool antiAlias) = 0;
|
|
|
| /**
|
| @@ -197,7 +197,7 @@ protected:
|
| GrPipelineBuilder* pipelineBuilder,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke) {
|
| + const GrStrokeInfo& stroke) {
|
| GR_STATIC_CONST_SAME_STENCIL(kIncrementStencil,
|
| kReplace_StencilOp,
|
| kReplace_StencilOp,
|
|
|