Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrAllocator.h33 , fItemsPerBlock(itemsPerBlock) in GrAllocator()
38 fBlockSize = fItemSize * fItemsPerBlock; in GrAllocator()
41 fInsertionIndexInBlock = fItemsPerBlock; in GrAllocator()
55 if (fItemsPerBlock == fInsertionIndexInBlock) { in push_back()
78 fInsertionIndexInBlock = fItemsPerBlock; in pop_back()
94 fInsertionIndexInBlock = fItemsPerBlock; in reset()
162 , fIndexInBlock(allocator->fItemsPerBlock - 1) in Iter()
171 if (fIndexInBlock == fAllocator->fItemsPerBlock) { in next()
199 return (char*)fBlocks[i / fItemsPerBlock] +
200 fItemSize * (i % fItemsPerBlock);
[all …]