| Index: src/gpu/GrDrawContext.cpp
|
| diff --git a/src/gpu/GrDrawContext.cpp b/src/gpu/GrDrawContext.cpp
|
| index 6aa45a10a5fb038d8b493d4aecbdd5f8dcd056f0..c5cb8559f35f3281067801e934f8c4664af9928f 100644
|
| --- a/src/gpu/GrDrawContext.cpp
|
| +++ b/src/gpu/GrDrawContext.cpp
|
| @@ -656,6 +656,19 @@ static bool is_nested_rects(const SkMatrix& viewMatrix,
|
| return allEq || allGoE1;
|
| }
|
|
|
| +void GrDrawContext::drawBatch(GrRenderTarget* rt, const GrClip& clip,
|
| + const GrPaint& paint, GrBatch* batch) {
|
| + RETURN_IF_ABANDONED
|
| +
|
| + AutoCheckFlush acf(fContext);
|
| + if (!this->prepareToDraw(rt)) {
|
| + return;
|
| + }
|
| +
|
| + GrPipelineBuilder pipelineBuilder(paint, rt, clip);
|
| + fDrawTarget->drawBatch(pipelineBuilder, batch);
|
| +}
|
| +
|
| void GrDrawContext::drawPath(GrRenderTarget* rt,
|
| const GrClip& clip,
|
| const GrPaint& paint,
|
|
|