Lines Matching refs:fBytesFree
33 (float)((block).fBytesFree) / (block).fBuffer->gpuMemorySize()); \
84 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap()
111 size_t bytes = fBlocks[i].fBuffer->gpuMemorySize() - fBlocks[i].fBytesFree; in validate()
140 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpace()
147 if (alignedSize <= back.fBytesFree) { in makeSpace()
152 back.fBytesFree -= alignedSize; in makeSpace()
175 back.fBytesFree -= size; in makeSpace()
195 size_t usedBytes = back.fBuffer->gpuMemorySize() - back.fBytesFree; in makeSpaceAtLeast()
197 if ((minSize + pad) <= back.fBytesFree) { in makeSpaceAtLeast()
201 back.fBytesFree -= pad; in makeSpaceAtLeast()
207 if (back.fBytesFree >= fallbackSize) { in makeSpaceAtLeast()
211 size = GrSizeAlignDown(back.fBytesFree, alignment); in makeSpaceAtLeast()
216 back.fBytesFree -= size; in makeSpaceAtLeast()
240 back.fBytesFree -= fallbackSize; in makeSpaceAtLeast()
253 size_t bytesUsed = block.fBuffer->gpuMemorySize() - block.fBytesFree; in putBack()
264 block.fBytesFree += bytes; in putBack()
287 block.fBytesFree = block.fBuffer->gpuMemorySize(); in createBlock()
294 this->flushCpuData(prev, prev.fBuffer->gpuMemorySize() - prev.fBytesFree); in createBlock()
314 fBufferPtr = this->resetCpuData(block.fBytesFree); in createBlock()