int GrVertexBufferAllocPool::currentBufferVertices(size_t vertexSize) const { return currentBufferItems(vertexSize); }
int GrIndexBufferAllocPool::currentBufferIndices() const { return currentBufferItems(sizeof(uint16_t)); }
int GrVertexBufferAllocPool::currentBufferVertices(GrVertexLayout layout) const { return currentBufferItems(GrDrawTarget::VertexSize(layout)); }