| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index f8859df2ee562a7fe9acd5c8646a21ef739c7e22..8978c6b54238b898e8c0ce53e5aa6dd9065cf609 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -136,22 +136,6 @@ void GrDrawContext::drawTextBlob(const GrClip& clip, const SkPaint& skPaint,
|
| fTextContext->drawTextBlob(this, clip, skPaint, viewMatrix, blob, x, y, filter, clipBounds);
|
| }
|
|
|
| -void GrDrawContext::drawPathsFromRange(const GrPipelineBuilder* pipelineBuilder,
|
| - const SkMatrix& viewMatrix,
|
| - const SkMatrix& localMatrix,
|
| - GrColor color,
|
| - GrPathRange* range,
|
| - GrPathRangeDraw* draw,
|
| - int /*GrPathRendering::FillType*/ fill,
|
| - const SkRect& bounds) {
|
| - RETURN_IF_ABANDONED
|
| - SkDEBUGCODE(this->validate();)
|
| -
|
| - this->getDrawTarget()->drawPathsFromRange(*pipelineBuilder, viewMatrix, localMatrix, color,
|
| - range, draw, (GrPathRendering::FillType) fill,
|
| - bounds);
|
| -}
|
| -
|
| void GrDrawContext::discard() {
|
| RETURN_IF_ABANDONED
|
| SkDEBUGCODE(this->validate();)
|
| @@ -638,6 +622,16 @@ void GrDrawContext::drawBatch(const GrClip& clip,
|
| this->getDrawTarget()->drawBatch(pipelineBuilder, batch);
|
| }
|
|
|
| +void GrDrawContext::drawPathBatch(const GrPipelineBuilder& pipelineBuilder,
|
| + GrDrawPathBatchBase* batch) {
|
| + RETURN_IF_ABANDONED
|
| + SkDEBUGCODE(this->validate();)
|
| +
|
| + AutoCheckFlush acf(fDrawingManager);
|
| +
|
| + this->getDrawTarget()->drawPathBatch(pipelineBuilder, batch);
|
| +}
|
| +
|
| void GrDrawContext::drawPath(const GrClip& clip,
|
| const GrPaint& paint,
|
| const SkMatrix& viewMatrix,
|
|
|