| Index: src/gpu/GrBufferedDrawTarget.cpp
|
| diff --git a/src/gpu/GrBufferedDrawTarget.cpp b/src/gpu/GrBufferedDrawTarget.cpp
|
| index a706bf39327a1e4ac24ffec8787cef5c1eb2b447..c59d035a5916109cd6d552e87e89cf893101f808 100644
|
| --- a/src/gpu/GrBufferedDrawTarget.cpp
|
| +++ b/src/gpu/GrBufferedDrawTarget.cpp
|
| @@ -26,7 +26,7 @@ GrBufferedDrawTarget::~GrBufferedDrawTarget() {
|
| this->reset();
|
| }
|
|
|
| -void GrBufferedDrawTarget::onDrawBatch(GrDrawBatch* batch) {
|
| +void GrBufferedDrawTarget::onDrawBatch(GrBatch* batch) {
|
| fCommands->recordDrawBatch(batch, *this->caps());
|
| }
|
|
|
| @@ -69,24 +69,12 @@ void GrBufferedDrawTarget::onDrawPaths(const GrPathProcessor* pathProc,
|
| opts);
|
| }
|
|
|
| -void GrBufferedDrawTarget::onClear(const SkIRect& rect, GrColor color,
|
| - GrRenderTarget* renderTarget) {
|
| - fCommands->recordClear(rect, color, renderTarget);
|
| -}
|
| -
|
| void GrBufferedDrawTarget::clearStencilClip(const SkIRect& rect,
|
| bool insideClip,
|
| GrRenderTarget* renderTarget) {
|
| fCommands->recordClearStencilClip(rect, insideClip, renderTarget);
|
| }
|
|
|
| -void GrBufferedDrawTarget::discard(GrRenderTarget* renderTarget) {
|
| - if (!this->caps()->discardRenderTargetSupport()) {
|
| - return;
|
| - }
|
| - fCommands->recordDiscard(renderTarget);
|
| -}
|
| -
|
| void GrBufferedDrawTarget::onReset() {
|
| fCommands->reset();
|
| fPathIndexBuffer.rewind();
|
|
|