| Index: src/gpu/GrTessellatingPathRenderer.cpp
|
| diff --git a/src/gpu/GrTessellatingPathRenderer.cpp b/src/gpu/GrTessellatingPathRenderer.cpp
|
| index 5c3f45e7a478789c362cac49477ce7ee2fea0af8..949ad412a56bf33293384d22ca6390396598d138 100644
|
| --- a/src/gpu/GrTessellatingPathRenderer.cpp
|
| +++ b/src/gpu/GrTessellatingPathRenderer.cpp
|
| @@ -11,6 +11,7 @@
|
| #include "GrBatchTarget.h"
|
| #include "GrDefaultGeoProcFactory.h"
|
| #include "GrPathUtils.h"
|
| +#include "GrStrokeInfo.h"
|
| #include "SkChunkAlloc.h"
|
| #include "SkGeometry.h"
|
|
|
| @@ -1331,7 +1332,7 @@ GrPathRenderer::StencilSupport GrTessellatingPathRenderer::onGetStencilSupport(
|
| const GrDrawTarget*,
|
| const GrPipelineBuilder*,
|
| const SkPath&,
|
| - const SkStrokeRec&) const {
|
| + const GrStrokeInfo&) const {
|
| return GrPathRenderer::kNoSupport_StencilSupport;
|
| }
|
|
|
| @@ -1339,11 +1340,11 @@ bool GrTessellatingPathRenderer::canDrawPath(const GrDrawTarget* target,
|
| const GrPipelineBuilder* pipelineBuilder,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke,
|
| + const GrStrokeInfo& stroke,
|
| bool antiAlias) const {
|
| // This path renderer can draw all fill styles, but does not do antialiasing. It can do convex
|
| // and concave paths, but we'll leave the convex ones to simpler algorithms.
|
| - return stroke.isFillStyle() && !antiAlias && !path.isConvex();
|
| + return stroke.getStrokeRec().isFillStyle() && !antiAlias && !path.isConvex();
|
| }
|
|
|
| class TessellatingPathBatch : public GrBatch {
|
| @@ -1491,7 +1492,7 @@ bool GrTessellatingPathRenderer::onDrawPath(GrDrawTarget* target,
|
| GrColor color,
|
| const SkMatrix& viewM,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke,
|
| + const GrStrokeInfo& stroke,
|
| bool antiAlias) {
|
| SkASSERT(!antiAlias);
|
| const GrRenderTarget* rt = pipelineBuilder->getRenderTarget();
|
|
|