Searched refs:headBlock (Results 1 – 4 of 4) sorted by relevance
/external/skia/src/gpu/ |
D | GrTBlockList.h | 178 SkASSERT(this->count() > 0 && fAllocator->headBlock()->metadata() > 0); in front() 179 return GetItem(fAllocator->headBlock(), First(fAllocator->headBlock())); in front() 182 SkASSERT(this->count() > 0 && fAllocator->headBlock()->metadata() > 0); in front() 183 return GetItem(fAllocator->headBlock(), First(fAllocator->headBlock())); in front() 309 GrBlockAllocator::Block* headBlock = other.fAllocator->headBlock(); in concat() local 311 if (headBlock->metadata() > 0) { in concat() 312 int headStart = First(headBlock); in concat() 313 int headEnd = Last(headBlock) + sizeof(T); // exclusive in concat() 336 copy(headBlock, headStart, fAllocator.allocator(), std::min(headItemCount, avail)); in concat() 340 copy(headBlock, headStart + avail * sizeof(T), in concat() [all …]
|
D | GrMemoryPool.h | 70 return fAllocator.currentBlock() == fAllocator.headBlock() && in isEmpty()
|
D | GrBlockAllocator.h | 310 const Block* headBlock() const { return &fHead; } in headBlock() function 311 Block* headBlock() { return &fHead; } in headBlock() function
|
/external/skia/tests/ |
D | GrBlockAllocatorTest.cpp | 406 pool->headBlock()->setMetadata(1); in DEF_TEST() 419 REPORTER_ASSERT(r, pool->headBlock()->metadata() == 0); in DEF_TEST() 423 pool->headBlock()->setMetadata(1); in DEF_TEST() 436 REPORTER_ASSERT(r, pool->headBlock()->metadata() == 0); in DEF_TEST() 602 pool->releaseBlock(pool->headBlock()); in DEF_TEST()
|