Lines Matching refs:fTotalSize
25 size_t modHead = head & (fTotalSize - 1); in getAllocationOffset()
26 size_t modTail = tail & (fTotalSize - 1); in getAllocationOffset()
31 return fTotalSize; in getAllocationOffset()
37 if (fTotalSize - modHead < size) { in getAllocationOffset()
41 return fTotalSize; in getAllocationOffset()
44 head += fTotalSize - modHead; in getAllocationOffset()
50 return fTotalSize; in getAllocationOffset()
60 if (offset < fTotalSize) { in suballocate()
65 fTotalSize *= 2; in suballocate()
69 fCurrentBuffer = resourceProvider->createBuffer(fTotalSize, fType, kDynamic_GrAccessPattern); in suballocate()
77 SkASSERT(offset < fTotalSize); in suballocate()