Home | History | Annotate | Download | only in hwui

Lines Matching refs:block

80     BufferBlock* block = mFreeBlocks;
81 while (block) {
82 BufferBlock* next = block->next;
83 delete block;
84 block = next;
138 BufferBlock* block = new BufferBlock(patch->positionOffset, patch->getSize());
139 block->next = mFreeBlocks;
140 mFreeBlocks = block;
179 // Find a block where we can fit the mesh
181 BufferBlock* block = mFreeBlocks;
182 while (block) {
184 if (block->size >= size) {
187 previous = block;
188 block = block->next;
193 if (!block) {
197 block = mFreeBlocks;
201 newMesh->positionOffset = (GLintptr)(block->offset);
207 // Remove the block since we've used it entirely
208 if (block->size == size) {
210 previous->next = block->next;
212 mFreeBlocks = block->next;
214 delete block;
216 // Resize the block now that it's occupied
217 block->offset += size;
218 block->size -= size;
254 BufferBlock* block = mFreeBlocks;
255 while (block) {
256 dump.appendFormat("->(%d, %d)", block->positionOffset, block->size);
257 block = block->next;