Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index e4669a25c506fa30baee1349a9d86b1822186ce8..54fe471c88c2fceccbed9013337333277d8a4e72 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -141,25 +141,6 @@ |
* @return The index buffer if successful, otherwise NULL. |
*/ |
GrIndexBuffer* createIndexBuffer(size_t size, bool dynamic); |
- |
- /** |
- * Creates an index buffer for instance drawing with a specific pattern. |
- * |
- * @param pattern the pattern to repeat |
- * @param patternSize size in bytes of the pattern |
- * @param reps number of times to repeat the pattern |
- * @param vertCount number of vertices the pattern references |
- * @param dynamic hints whether the data will be frequently changed |
- * by either GrIndexBuffer::map() or |
- * GrIndexBuffer::updateData(). |
- * |
- * @return The index buffer if successful, otherwise NULL. |
- */ |
- GrIndexBuffer* createInstancedIndexBuffer(const uint16_t* pattern, |
- int patternSize, |
- int reps, |
- int vertCount, |
- bool isDynamic = false); |
/** |
* Returns an index buffer that can be used to render quads. |