| Index: src/gpu/batches/GrDefaultPathRenderer.cpp
|
| diff --git a/src/gpu/batches/GrDefaultPathRenderer.cpp b/src/gpu/batches/GrDefaultPathRenderer.cpp
|
| index 638e03cb79e6987205185f047ad31c14686d508e..8ed3155a6888f41ba56596f586e8324f5babcef0 100644
|
| --- a/src/gpu/batches/GrDefaultPathRenderer.cpp
|
| +++ b/src/gpu/batches/GrDefaultPathRenderer.cpp
|
| @@ -20,6 +20,7 @@
|
| #include "SkTLazy.h"
|
| #include "SkTraceEvent.h"
|
|
|
| +#include "batches/GrRectBatchFactory.h"
|
| #include "batches/GrVertexBatch.h"
|
|
|
| GrDefaultPathRenderer::GrDefaultPathRenderer(bool separateStencilSupport,
|
| @@ -697,7 +698,10 @@ bool GrDefaultPathRenderer::internalDrawPath(GrDrawTarget* target,
|
| }
|
| const SkMatrix& viewM = (reverse && viewMatrix.hasPerspective()) ? SkMatrix::I() :
|
| viewMatrix;
|
| - target->drawNonAARect(*pipelineBuilder, color, viewM, bounds, localMatrix);
|
| + SkAutoTUnref<GrDrawBatch> batch(
|
| + GrRectBatchFactory::CreateNonAAFill(color, viewM, bounds, nullptr,
|
| + &localMatrix));
|
| + target->drawBatch(*pipelineBuilder, batch);
|
| } else {
|
| if (passCount > 1) {
|
| pipelineBuilder->setDisableColorXPFactory();
|
|
|