aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrInOrderDrawBuffer.cpp
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-04-28 08:08:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-04-28 08:08:46 -0700
commit72e3ae486c66871c2043eac4f08d85d419fbca2a (patch)
tree16cd11ff49a33e4b7c1b5d5aeb6ae0bd513efc88 /src/gpu/GrInOrderDrawBuffer.cpp
parent7272935744670aebf82699c2f91aaff3cd4c3172 (diff)
Remove vertex/index buffer factilities from GrDrawTarget.
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.cpp')
-rw-r--r--src/gpu/GrInOrderDrawBuffer.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
index aaf3fd3f0e..82c8840c22 100644
--- a/src/gpu/GrInOrderDrawBuffer.cpp
+++ b/src/gpu/GrInOrderDrawBuffer.cpp
@@ -297,13 +297,6 @@ void GrInOrderDrawBuffer::onDrawRect(GrPipelineBuilder* pipelineBuilder,
this->drawBatch(pipelineBuilder, batch, &bounds);
}
-void GrInOrderDrawBuffer::onDraw(const GrGeometryProcessor* gp,
- const DrawInfo& info,
- const PipelineInfo& pipelineInfo) {
- GrTargetCommands::Cmd* cmd = fCommands.recordDraw(this, gp, info, pipelineInfo);
- this->recordTraceMarkersIfNecessary(cmd);
-}
-
void GrInOrderDrawBuffer::onDrawBatch(GrBatch* batch,
const PipelineInfo& pipelineInfo) {
GrTargetCommands::Cmd* cmd = fCommands.recordDrawBatch(this, batch, pipelineInfo);
@@ -407,13 +400,3 @@ void GrInOrderDrawBuffer::recordTraceMarkersIfNecessary(GrTargetCommands::Cmd* c
}
}
}
-
-void GrInOrderDrawBuffer::willReserveVertexAndIndexSpace(int vertexCount,
- size_t vertexStride,
- int indexCount) {
-#ifndef USE_BITMAP_TEXTBLOBS
- fCommands.closeBatch();
-#endif
-
- this->INHERITED::willReserveVertexAndIndexSpace(vertexCount, vertexStride, indexCount);
-}