simple cl to cleanup friends in GrGpu
BUG=skia:
Review URL: https://codereview.chromium.org/709003006
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index 875734d..9835200 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -473,20 +473,20 @@
if (fInfo.isIndexed()) {
gpu->setIndexSourceToBuffer(this->indexBuffer());
}
- gpu->onDraw(fInfo, fScissorState);
+ gpu->draw(fInfo, fScissorState);
}
void GrInOrderDrawBuffer::StencilPath::execute(GrGpu* gpu) {
- gpu->onStencilPath(this->path(), fScissorState, fStencilSettings);
+ gpu->stencilPath(this->path(), fScissorState, fStencilSettings);
}
void GrInOrderDrawBuffer::DrawPath::execute(GrGpu* gpu) {
- gpu->onDrawPath(this->path(), fScissorState, fStencilSettings,
+ gpu->drawPath(this->path(), fScissorState, fStencilSettings,
fDstCopy.texture() ? &fDstCopy : NULL);
}
void GrInOrderDrawBuffer::DrawPaths::execute(GrGpu* gpu) {
- gpu->onDrawPaths(this->pathRange(), this->indices(), fCount, this->transforms(),
+ gpu->drawPaths(this->pathRange(), this->indices(), fCount, this->transforms(),
fTransformsType, fScissorState, fStencilSettings,
fDstCopy.texture() ? &fDstCopy : NULL);
}