| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 2f25272e31c356e935bce4e9b9784bcfb061a34f..1eba821b1e7b87c5ae9918c7110ef4869e5ebbef 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -273,25 +273,6 @@ void GrDrawTarget::releasePreviousIndexSource() {
|
| }
|
| }
|
|
|
| -void GrDrawTarget::setVertexSourceToArray(const void* vertexArray,
|
| - int vertexCount) {
|
| - this->releasePreviousVertexSource();
|
| - GeometrySrcState& geoSrc = fGeoSrcStateStack.back();
|
| - geoSrc.fVertexSrc = kArray_GeometrySrcType;
|
| - geoSrc.fVertexSize = this->drawState()->getVertexStride();
|
| - geoSrc.fVertexCount = vertexCount;
|
| - this->onSetVertexSourceToArray(vertexArray, vertexCount);
|
| -}
|
| -
|
| -void GrDrawTarget::setIndexSourceToArray(const void* indexArray,
|
| - int indexCount) {
|
| - this->releasePreviousIndexSource();
|
| - GeometrySrcState& geoSrc = fGeoSrcStateStack.back();
|
| - geoSrc.fIndexSrc = kArray_GeometrySrcType;
|
| - geoSrc.fIndexCount = indexCount;
|
| - this->onSetIndexSourceToArray(indexArray, indexCount);
|
| -}
|
| -
|
| void GrDrawTarget::setVertexSourceToBuffer(const GrVertexBuffer* buffer) {
|
| this->releasePreviousVertexSource();
|
| GeometrySrcState& geoSrc = fGeoSrcStateStack.back();
|
|
|