| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 288841c1120abbcb8e61db4d49b447a369d547c3..4087692518cea9dacdd0c0842add3368cdd4f407 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -1058,7 +1058,9 @@ void GrDrawContext::drawPath(GrRenderTarget* rt,
|
| const GrPaint& paint,
|
| const SkMatrix& viewMatrix,
|
| const SkPath& path,
|
| - const GrStrokeInfo& strokeInfo) {
|
| + const GrStrokeInfo& strokeInfo,
|
| + const SkPath* origSrcPath,
|
| + const GrStrokeInfo* origStrokeInfo) {
|
| RETURN_IF_ABANDONED
|
| if (path.isEmpty()) {
|
| if (path.isInverseFillType()) {
|
| @@ -1110,7 +1112,7 @@ void GrDrawContext::drawPath(GrRenderTarget* rt,
|
| }
|
| }
|
| this->internalDrawPath(fDrawTarget, &pipelineBuilder, viewMatrix, color, paint.isAntiAlias(),
|
| - path, strokeInfo);
|
| + path, strokeInfo, origSrcPath, origStrokeInfo);
|
| }
|
|
|
| void GrDrawContext::internalDrawPath(GrDrawTarget* target,
|
| @@ -1119,7 +1121,9 @@ void GrDrawContext::internalDrawPath(GrDrawTarget* target,
|
| GrColor color,
|
| bool useAA,
|
| const SkPath& path,
|
| - const GrStrokeInfo& strokeInfo) {
|
| + const GrStrokeInfo& strokeInfo,
|
| + const SkPath* origSrcPath,
|
| + const GrStrokeInfo* origStrokeInfo) {
|
| RETURN_IF_ABANDONED
|
| SkASSERT(!path.isEmpty());
|
|
|
| @@ -1199,6 +1203,8 @@ void GrDrawContext::internalDrawPath(GrDrawTarget* target,
|
| args.fPath = pathPtr;
|
| args.fStroke = strokeInfoPtr;
|
| args.fAntiAlias = useCoverageAA;
|
| + args.fOrigSrcPath = origSrcPath;
|
| + args.fOrigStrokeInfo = origStrokeInfo;
|
| pr->drawPath(args);
|
| }
|
|
|
|
|