Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrRingBuffer.cpp25 size_t modHead = head & (fTotalSize - 1); in getAllocationOffset() local
28 bool full = (head != tail && modHead == modTail); in getAllocationOffset()
35 if (modHead >= modTail) { in getAllocationOffset()
37 if (fTotalSize - modHead < size) { in getAllocationOffset()
44 head += fTotalSize - modHead; in getAllocationOffset()
45 modHead = 0; in getAllocationOffset()
48 } else if (modTail - modHead < size) { in getAllocationOffset()
54 return modHead; in getAllocationOffset()