| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index c2256a84d8c7cf5cac2df1b09df4bd76b01e4f52..5390f9ca7aaf33ca4f71f970165b8b28ff48b9f3 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -524,6 +524,14 @@ void GrDrawTarget::stencilPath(const GrPath* path, const SkStrokeRec& stroke, Sk
|
| this->onStencilPath(path, stroke, fill);
|
| }
|
|
|
| +void GrDrawTarget::drawPath(const GrPath* path, const SkStrokeRec& stroke, SkPath::FillType fill) {
|
| + // TODO: extract portions of checkDraw that are relevant to path stenciling.
|
| + SkASSERT(NULL != path);
|
| + SkASSERT(!SkPath::IsInverseFillType(fill));
|
| + SkASSERT(this->caps()->pathStencilingSupport());
|
| + this->onDrawPath(path, stroke, fill);
|
| +}
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| bool GrDrawTarget::willUseHWAALines() const {
|
|
|