From 4b68ec08c69ee9f17e13fce2094bb04b12b54856 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Fri, 7 Nov 2014 14:11:45 -0800 Subject: simple cl to cleanup friends in GrGpu BUG=skia: Review URL: https://codereview.chromium.org/709003006 --- src/gpu/GrGpu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gpu/GrGpu.cpp') diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp index e9bf0001aa..64ee29bde5 100644 --- a/src/gpu/GrGpu.cpp +++ b/src/gpu/GrGpu.cpp @@ -184,7 +184,7 @@ void GrGpu::clear(const SkIRect* rect, GrRenderTarget* renderTarget) { SkASSERT(renderTarget); this->handleDirtyContext(); - this->onGpuClear(renderTarget, rect, color, canIgnoreRect); + this->onClear(renderTarget, rect, color, canIgnoreRect); } void GrGpu::clearStencilClip(const SkIRect& rect, @@ -323,7 +323,7 @@ const GrIndexBuffer* GrGpu::getQuadIndexBuffer() const { //////////////////////////////////////////////////////////////////////////////// -void GrGpu::onDraw(const GrDrawTarget::DrawInfo& info, +void GrGpu::draw(const GrDrawTarget::DrawInfo& info, const GrClipMaskManager::ScissorState& scissorState) { this->handleDirtyContext(); if (!this->flushGraphicsState(PrimTypeToDrawType(info.primitiveType()), @@ -331,10 +331,10 @@ void GrGpu::onDraw(const GrDrawTarget::DrawInfo& info, info.getDstCopy())) { return; } - this->onGpuDraw(info); + this->onDraw(info); } -void GrGpu::onStencilPath(const GrPath* path, +void GrGpu::stencilPath(const GrPath* path, const GrClipMaskManager::ScissorState& scissorState, const GrStencilSettings& stencilSettings) { this->handleDirtyContext(); @@ -347,7 +347,7 @@ void GrGpu::onStencilPath(const GrPath* path, } -void GrGpu::onDrawPath(const GrPath* path, +void GrGpu::drawPath(const GrPath* path, const GrClipMaskManager::ScissorState& scissorState, const GrStencilSettings& stencilSettings, const GrDeviceCoordTexture* dstCopy) { @@ -360,7 +360,7 @@ void GrGpu::onDrawPath(const GrPath* path, this->pathRendering()->drawPath(path, stencilSettings); } -void GrGpu::onDrawPaths(const GrPathRange* pathRange, +void GrGpu::drawPaths(const GrPathRange* pathRange, const uint32_t indices[], int count, const float transforms[], -- cgit v1.2.3