| Index: src/gpu/GrSoftwarePathRenderer.cpp
|
| diff --git a/src/gpu/GrSoftwarePathRenderer.cpp b/src/gpu/GrSoftwarePathRenderer.cpp
|
| index 466ad817793a19aadff9613f2c52f9fcac02f8ce..da9346bdf2bf9757052a052a39b9a2a5d1abe343 100644
|
| --- a/src/gpu/GrSoftwarePathRenderer.cpp
|
| +++ b/src/gpu/GrSoftwarePathRenderer.cpp
|
| @@ -9,13 +9,14 @@
|
| #include "GrSoftwarePathRenderer.h"
|
| #include "GrContext.h"
|
| #include "GrSWMaskHelper.h"
|
| +#include "GrStrokeInfo.h"
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
| bool GrSoftwarePathRenderer::canDrawPath(const GrDrawTarget*,
|
| const GrPipelineBuilder*,
|
| const SkMatrix& viewMatrix,
|
| const SkPath&,
|
| - const SkStrokeRec&,
|
| + const GrStrokeInfo&,
|
| bool antiAlias) const {
|
| if (NULL == fContext) {
|
| return false;
|
| @@ -28,7 +29,7 @@ GrPathRenderer::StencilSupport
|
| GrSoftwarePathRenderer::onGetStencilSupport(const GrDrawTarget*,
|
| const GrPipelineBuilder*,
|
| const SkPath&,
|
| - const SkStrokeRec&) const {
|
| + const GrStrokeInfo&) const {
|
| return GrPathRenderer::kNoSupport_StencilSupport;
|
| }
|
|
|
| @@ -119,7 +120,7 @@ bool GrSoftwarePathRenderer::onDrawPath(GrDrawTarget* target,
|
| GrColor color,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const SkStrokeRec& stroke,
|
| + const GrStrokeInfo& stroke,
|
| bool antiAlias) {
|
|
|
| if (NULL == fContext) {
|
| @@ -137,7 +138,7 @@ bool GrSoftwarePathRenderer::onDrawPath(GrDrawTarget* target,
|
| }
|
|
|
| SkAutoTUnref<GrTexture> texture(
|
| - GrSWMaskHelper::DrawPathMaskToTexture(fContext, path, stroke,
|
| + GrSWMaskHelper::DrawPathMaskToTexture(fContext, path, stroke.getStrokeRec(),
|
| devPathBounds,
|
| antiAlias, &viewMatrix));
|
| if (NULL == texture) {
|
|
|