Index: src/gpu/GrDrawTarget.h |
diff --git a/src/gpu/GrDrawTarget.h b/src/gpu/GrDrawTarget.h |
index 955581b68368f7f3cddd766994a077b924e12d55..149eae9f90b963aed051e731ce1c9a9282e02702 100644 |
--- a/src/gpu/GrDrawTarget.h |
+++ b/src/gpu/GrDrawTarget.h |
@@ -201,25 +201,6 @@ public: |
int* indexCount) const; |
/** |
- * Sets source of vertex data for the next draw. Array must contain |
- * the vertex data when this is called. |
- * |
- * @param vertexArray cpu array containing vertex data. |
- * @param vertexCount the number of vertices in the array. Vertex size is |
- * queried from the current GrDrawState. |
- */ |
- void setVertexSourceToArray(const void* vertexArray, int vertexCount); |
- |
- /** |
- * Sets source of index data for the next indexed draw. Array must contain |
- * the indices when this is called. |
- * |
- * @param indexArray cpu array containing index data. |
- * @param indexCount the number of indices in the array. |
- */ |
- void setIndexSourceToArray(const void* indexArray, int indexCount); |
- |
- /** |
* Sets source of vertex data for the next draw. Data does not have to be |
* in the buffer until drawIndexed, drawNonIndexed, or drawIndexedInstances. |
* |
@@ -872,9 +853,6 @@ private: |
// implemented by subclass to handle release of reserved geom space |
virtual void releaseReservedVertexSpace() = 0; |
virtual void releaseReservedIndexSpace() = 0; |
- // subclass must consume array contents when set |
- virtual void onSetVertexSourceToArray(const void* vertexArray, int vertexCount) = 0; |
- virtual void onSetIndexSourceToArray(const void* indexArray, int indexCount) = 0; |
// subclass is notified that geom source will be set away from an array |
virtual void releaseVertexArray() = 0; |
virtual void releaseIndexArray() = 0; |