| Index: src/gpu/GrDrawTarget.h
|
| diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h
|
| index 7b268c28270697b5a097a9d5f23379bc2ff4db49..5f91baa33b6e4ffe8711d4a56881c5a254946fa4 100644
|
| --- a/src/gpu/GrDrawTarget.h
|
| +++ b/src/gpu/GrDrawTarget.h
|
| @@ -106,6 +106,8 @@ public:
|
|
|
| void drawBatch(const GrPipelineBuilder&, GrDrawContext*, const GrClip&, GrDrawBatch*);
|
|
|
| + void addBatch(sk_sp<GrBatch>);
|
| +
|
| /**
|
| * Draws path into the stencil buffer. The fill must be either even/odd or
|
| * winding (not inverse or hairline). It will respect the HW antialias flag
|
| @@ -116,16 +118,6 @@ public:
|
| const GrClip&, const SkMatrix& viewMatrix,
|
| const GrPath*, GrPathRendering::FillType);
|
|
|
| - /**
|
| - * Clear the passed in drawContext. Ignores the GrPipelineBuilder and clip. Clears the whole
|
| - * thing if rect is nullptr, otherwise just the rect. If canIgnoreRect is set then the entire
|
| - * drawContext can be optionally cleared.
|
| - */
|
| - void clear(const SkIRect* rect,
|
| - GrColor color,
|
| - bool canIgnoreRect,
|
| - GrDrawContext*);
|
| -
|
| /** Discards the contents render target. */
|
| void discard(GrRenderTarget*);
|
|
|
|
|