Index: src/gpu/GrAADistanceFieldPathRenderer.cpp |
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.cpp b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
index 1858f000e46e5e54b4c4faaed90e35f4fb70d259..32a7262da7162b278ba1b476c98baf56b42d3228 100755 |
--- a/src/gpu/GrAADistanceFieldPathRenderer.cpp |
+++ b/src/gpu/GrAADistanceFieldPathRenderer.cpp |
@@ -85,7 +85,7 @@ bool GrAADistanceFieldPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) c |
// TODO: Support inverse fill |
// TODO: Support strokes |
- if (!args.fTarget->caps()->shaderCaps()->shaderDerivativeSupport() || !args.fAntiAlias || |
+ if (!args.fShaderCaps->shaderDerivativeSupport() || !args.fAntiAlias || |
args.fPath->isInverseFillType() || args.fPath->isVolatile() || |
!args.fStroke->isFillStyle()) { |
return false; |
@@ -104,14 +104,6 @@ bool GrAADistanceFieldPathRenderer::onCanDrawPath(const CanDrawPathArgs& args) c |
return maxDim < 64.f && maxDim * maxScale < 256.f; |
} |
-GrPathRenderer::StencilSupport |
-GrAADistanceFieldPathRenderer::onGetStencilSupport(const GrDrawTarget*, |
- const GrPipelineBuilder*, |
- const SkPath&, |
- const GrStrokeInfo&) const { |
- return GrPathRenderer::kNoSupport_StencilSupport; |
-} |
- |
//////////////////////////////////////////////////////////////////////////////// |
// padding around path bounds to allow for antialiased pixels |