aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrGpu.cpp
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2014-11-07 14:11:45 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-11-07 14:11:45 -0800
commit4b68ec08c69ee9f17e13fce2094bb04b12b54856 (patch)
tree5ce8282106955f5b4741b4a5f5dc4fe1a3196be2 /src/gpu/GrGpu.cpp
parent2b07443a58a087d1639d0ccad98a3521bf16a2be (diff)
simple cl to cleanup friends in GrGpu
Diffstat (limited to 'src/gpu/GrGpu.cpp')
-rw-r--r--src/gpu/GrGpu.cpp12
1 files changed, 6 insertions, 6 deletions
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[],