Lines Matching refs:fBytesFree
81 (float)((block).fBytesFree) / (block).fBuffer->size()); \
131 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap()
163 size_t bytes = fBlocks[i].fBuffer->size() - fBlocks[i].fBytesFree; in validate()
192 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpace()
199 if (alignedSize <= back.fBytesFree) { in makeSpace()
204 back.fBytesFree -= alignedSize; in makeSpace()
227 back.fBytesFree -= size; in makeSpace()
247 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpaceAtLeast()
249 if ((minSize + pad) <= back.fBytesFree) { in makeSpaceAtLeast()
253 back.fBytesFree -= pad; in makeSpaceAtLeast()
259 if (back.fBytesFree >= fallbackSize) { in makeSpaceAtLeast()
263 size = GrSizeAlignDown(back.fBytesFree, alignment); in makeSpaceAtLeast()
268 back.fBytesFree -= size; in makeSpaceAtLeast()
292 back.fBytesFree -= fallbackSize; in makeSpaceAtLeast()
305 size_t bytesUsed = block.fBuffer->size() - block.fBytesFree; in putBack()
317 block.fBytesFree += bytes; in putBack()
340 block.fBytesFree = block.fBuffer->size(); in createBlock()
349 this->flushCpuData(prev, prev.fBuffer->size() - prev.fBytesFree); in createBlock()
370 this->resetCpuData(block.fBytesFree); in createBlock()