Chromium Code Reviews| Index: src/gpu/GrGpu.h |
| diff --git a/src/gpu/GrGpu.h b/src/gpu/GrGpu.h |
| index 54fe471c88c2fceccbed9013337333277d8a4e72..5a625ed228e0c66ad644ad3c122589a887b334bc 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* createIndexBufferPattern(const uint16_t* pattern, |
|
bsalomon
2014/10/22 17:51:50
I like this... but maybe we should call it createI
|
| + int patternSize, |
| + int reps, |
| + int vertCount, |
| + bool isDynamic = false); |
| + |
| /** |
| * Returns an index buffer that can be used to render quads. |
| * Six indices per quad: 0, 1, 2, 0, 2, 3, etc. |