Index: src/gpu/GrGpu.h |
diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
index 54fe471c88c2fceccbed9013337333277d8a4e72..545673d09b1e15f8ede10754b04c784da2d72f70 100644 |
--- a/src/gpu/GrGpu.h |
+++ b/src/gpu/GrGpu.h |
@@ -142,6 +142,13 @@ public: |
*/ |
GrIndexBuffer* createIndexBuffer(size_t size, bool dynamic); |
+ //TODO comment |
+ GrIndexBuffer* createInstancedIndexBuffer(const uint16_t* pattern, |
+ int patternSize, |
+ int reps, |
+ int vertCount, |
+ bool isDynamic = false) const; |
+ |
/** |
* Returns an index buffer that can be used to render quads. |
* Six indices per quad: 0, 1, 2, 0, 2, 3, etc. |