| Index: src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| index cf5db3fc630d294686a22902a23daf3fc1a66bcd..848c82104d6438dd3421f288a119e778f1c8a738 100644
|
| --- a/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrStencilAndCoverPathRenderer.cpp
|
| @@ -10,6 +10,7 @@
|
| #include "GrStencilAndCoverPathRenderer.h"
|
| #include "GrCaps.h"
|
| #include "GrContext.h"
|
| +#include "GrDrawPathBatch.h"
|
| #include "GrGpu.h"
|
| #include "GrPath.h"
|
| #include "GrRenderTarget.h"
|
| @@ -131,7 +132,9 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const DrawPathArgs& args) {
|
| 0xffff);
|
|
|
| pipelineBuilder->setStencil(kStencilPass);
|
| - args.fTarget->drawPath(*pipelineBuilder, viewMatrix, args.fColor, p, p->getFillType());
|
| + SkAutoTUnref<GrDrawPathBatchBase> batch(
|
| + GrDrawPathBatch::Create(viewMatrix, args.fColor, p->getFillType(), p));
|
| + args.fTarget->drawPathBatch(*pipelineBuilder, batch);
|
| }
|
|
|
| pipelineBuilder->stencil()->setDisabled();
|
|
|