| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index a381f311aa2e7ad118913c6e8edef004df42ae52..0a2592d38046085131bc9e3a41c96e3f6fa6e0a1 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -243,23 +243,6 @@ GrBuffer* GrGpu::createBuffer(size_t size, GrBufferType intendedType,
|
| return buffer;
|
| }
|
|
|
| -void GrGpu::clear(const SkIRect& rect,
|
| - GrColor color,
|
| - GrRenderTarget* renderTarget) {
|
| - SkASSERT(renderTarget);
|
| - SkASSERT(SkIRect::MakeWH(renderTarget->width(), renderTarget->height()).contains(rect));
|
| - this->handleDirtyContext();
|
| - this->onClear(renderTarget, rect, color);
|
| -}
|
| -
|
| -void GrGpu::clearStencilClip(const SkIRect& rect,
|
| - bool insideClip,
|
| - GrRenderTarget* renderTarget) {
|
| - SkASSERT(renderTarget);
|
| - this->handleDirtyContext();
|
| - this->onClearStencilClip(renderTarget, rect, insideClip);
|
| -}
|
| -
|
| bool GrGpu::copySurface(GrSurface* dst,
|
| GrSurface* src,
|
| const SkIRect& srcRect,
|
| @@ -489,18 +472,3 @@ const GrGpu::MultisampleSpecs& GrGpu::getMultisampleSpecs(GrRenderTarget* rt,
|
| return specs;
|
| }
|
|
|
| -////////////////////////////////////////////////////////////////////////////////
|
| -
|
| -bool GrGpu::draw(const GrPipeline& pipeline,
|
| - const GrPrimitiveProcessor& primProc,
|
| - const GrMesh* meshes,
|
| - int meshCount) {
|
| - if (primProc.numAttribs() > this->caps()->maxVertexAttributes()) {
|
| - fStats.incNumFailedDraws();
|
| - return false;
|
| - }
|
| - this->handleDirtyContext();
|
| -
|
| - this->onDraw(pipeline, primProc, meshes, meshCount);
|
| - return true;
|
| -}
|
|
|