| Index: src/gpu/GrGpu.cpp
|
| diff --git a/src/gpu/GrGpu.cpp b/src/gpu/GrGpu.cpp
|
| index f7b9537ecc8eb7f98e372b73cc69d214488a8cc9..809d0021a5b2adc9f0057cb857c2c4f591a214ea 100644
|
| --- a/src/gpu/GrGpu.cpp
|
| +++ b/src/gpu/GrGpu.cpp
|
| @@ -515,35 +515,6 @@ void GrGpu::releaseReservedIndexSpace() {
|
| --fIndexPoolUseCnt;
|
| }
|
|
|
| -void GrGpu::onSetVertexSourceToArray(const void* vertexArray, int vertexCount) {
|
| - this->prepareVertexPool();
|
| - GeometryPoolState& geomPoolState = fGeomPoolStateStack.back();
|
| -#ifdef SK_DEBUG
|
| - bool success =
|
| -#endif
|
| - fVertexPool->appendVertices(this->getVertexSize(),
|
| - vertexCount,
|
| - vertexArray,
|
| - &geomPoolState.fPoolVertexBuffer,
|
| - &geomPoolState.fPoolStartVertex);
|
| - ++fVertexPoolUseCnt;
|
| - GR_DEBUGASSERT(success);
|
| -}
|
| -
|
| -void GrGpu::onSetIndexSourceToArray(const void* indexArray, int indexCount) {
|
| - this->prepareIndexPool();
|
| - GeometryPoolState& geomPoolState = fGeomPoolStateStack.back();
|
| -#ifdef SK_DEBUG
|
| - bool success =
|
| -#endif
|
| - fIndexPool->appendIndices(indexCount,
|
| - indexArray,
|
| - &geomPoolState.fPoolIndexBuffer,
|
| - &geomPoolState.fPoolStartIndex);
|
| - ++fIndexPoolUseCnt;
|
| - GR_DEBUGASSERT(success);
|
| -}
|
| -
|
| void GrGpu::releaseVertexArray() {
|
| // if vertex source was array, we stowed data in the pool
|
| const GeometrySrcState& geoSrc = this->getGeomSrc();
|
|
|