Home
last modified time | relevance | path

Searched refs:fInsertionIndexInBlock (Results 1 – 1 of 1) sorted by relevance

/external/skqp/src/gpu/
DGrAllocator.h36 , fInsertionIndexInBlock(0) { in GrAllocator()
41 fInsertionIndexInBlock = fItemsPerBlock; in GrAllocator()
44 fInsertionIndexInBlock = 0; in GrAllocator()
55 if (fItemsPerBlock == fInsertionIndexInBlock) { in push_back()
57 fInsertionIndexInBlock = 0; in push_back()
59 void* ret = (char*)fBlocks.back() + fItemSize * fInsertionIndexInBlock; in push_back()
61 ++fInsertionIndexInBlock; in push_back()
70 SkASSERT(fInsertionIndexInBlock > 0); in pop_back()
71 --fInsertionIndexInBlock; in pop_back()
73 if (0 == fInsertionIndexInBlock) { in pop_back()
[all …]