| Index: src/gpu/GrBatchTarget.h | 
| diff --git a/src/gpu/GrBatchTarget.h b/src/gpu/GrBatchTarget.h | 
| index 51dd8cac8941db6979bab5825f13765366e435ac..ae046c1ee1e2cb44e406d1603187682d9e3330c7 100644 | 
| --- a/src/gpu/GrBatchTarget.h | 
| +++ b/src/gpu/GrBatchTarget.h | 
| @@ -8,6 +8,7 @@ | 
| #ifndef GrBatchBuffer_DEFINED | 
| #define GrBatchBuffer_DEFINED | 
|  | 
| +#include "GrBufferAllocPool.h" | 
| #include "GrPendingProgramElement.h" | 
| #include "GrPipeline.h" | 
| #include "GrGpu.h" | 
| @@ -82,6 +83,13 @@ public: | 
|  | 
| const GrIndexBuffer* quadIndexBuffer() const { return fGpu->getQuadIndexBuffer(); } | 
|  | 
| +    // A helper for draws which overallocate and then return data to the pool | 
| +    void putBackIndices(size_t indices) { fIndexPool->putBack(indices * sizeof(uint16_t)); } | 
| + | 
| +    void putBackVertices(size_t vertices, size_t vertexStride) { | 
| +        fVertexPool->putBack(vertices * vertexStride); | 
| +    } | 
| + | 
| private: | 
| GrGpu* fGpu; | 
| GrVertexBufferAllocPool* fVertexPool; | 
|  |