| Index: src/gpu/GrInOrderDrawBuffer.cpp
|
| diff --git a/src/gpu/GrInOrderDrawBuffer.cpp b/src/gpu/GrInOrderDrawBuffer.cpp
|
| index 04ce17b8b6d2f55ed3291144493dbc4c76fdb37d..1e13fbacce4b08f1fac8ff6fc95e04984fd7212f 100644
|
| --- a/src/gpu/GrInOrderDrawBuffer.cpp
|
| +++ b/src/gpu/GrInOrderDrawBuffer.cpp
|
| @@ -738,34 +738,6 @@ void GrInOrderDrawBuffer::releaseReservedIndexSpace() {
|
| poolState.fPoolStartIndex = 0;
|
| }
|
|
|
| -void GrInOrderDrawBuffer::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) {
|
| - GeometryPoolState& poolState = fGeoPoolStateStack.back();
|
| - SkASSERT(0 == poolState.fUsedPoolVertexBytes);
|
| -#ifdef SK_DEBUG
|
| - bool success =
|
| -#endif
|
| - fVertexPool.appendVertices(this->getVertexSize(),
|
| - vertexCount,
|
| - vertexArray,
|
| - &poolState.fPoolVertexBuffer,
|
| - &poolState.fPoolStartVertex);
|
| - GR_DEBUGASSERT(success);
|
| -}
|
| -
|
| -void GrInOrderDrawBuffer::onSetIndexSourceToArray(const void* indexArray,
|
| - int indexCount) {
|
| - GeometryPoolState& poolState = fGeoPoolStateStack.back();
|
| - SkASSERT(0 == poolState.fUsedPoolIndexBytes);
|
| -#ifdef SK_DEBUG
|
| - bool success =
|
| -#endif
|
| - fIndexPool.appendIndices(indexCount,
|
| - indexArray,
|
| - &poolState.fPoolIndexBuffer,
|
| - &poolState.fPoolStartIndex);
|
| - GR_DEBUGASSERT(success);
|
| -}
|
| -
|
| void GrInOrderDrawBuffer::releaseVertexArray() {
|
| // When the client provides an array as the vertex source we handled it
|
| // by copying their array into reserved space.
|
|
|