Lines Matching refs:block
101 BufferBlock* block = mFreeBlocks; in clearCache() local
102 while (block) { in clearCache()
103 BufferBlock* next = block->next; in clearCache()
104 delete block; in clearCache()
105 block = next; in clearCache()
159 BufferBlock* block = new BufferBlock(patch->offset, patch->getSize()); in clearGarbage() local
160 block->next = mFreeBlocks; in clearGarbage()
161 mFreeBlocks = block; in clearGarbage()
200 BufferBlock* block = mFreeBlocks; in setupMesh() local
201 while (block) { in setupMesh()
203 if (block->size >= size) { in setupMesh()
206 previous = block; in setupMesh()
207 block = block->next; in setupMesh()
212 if (!block) { in setupMesh()
216 block = mFreeBlocks; in setupMesh()
220 newMesh->offset = (GLintptr) (block->offset); in setupMesh()
225 if (block->size == size) { in setupMesh()
227 previous->next = block->next; in setupMesh()
229 mFreeBlocks = block->next; in setupMesh()
231 delete block; in setupMesh()
234 block->offset += size; in setupMesh()
235 block->size -= size; in setupMesh()
279 BufferBlock* block = mFreeBlocks; in dumpFreeBlocks() local
280 while (block) { in dumpFreeBlocks()
281 dump.appendFormat("->(%d, %d)", block->offset, block->size); in dumpFreeBlocks()
282 block = block->next; in dumpFreeBlocks()