Searched refs:fBytesFree (Results 1 – 3 of 3) sorted by relevance
18 size_t fBytesFree; member27 block->fBytesFree = size; in Create()33 return bytes <= fBytesFree; in canAlloc()37 GrAssert(bytes <= fBytesFree); in alloc()38 fBytesFree -= bytes; in alloc()46 size_t free = GrMin(bytes, fBytesTotal - fBytesFree); in release()47 fBytesFree += free; in release()52 bool empty() const { return fBytesTotal == fBytesFree; } in empty()
111 size_t flushSize = block.fBuffer->sizeInBytes() - block.fBytesFree; in unlock()137 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree; in validate()163 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; in makeSpace()166 if ((size + pad) <= back.fBytesFree) { in makeSpace()170 back.fBytesFree -= size + pad; in makeSpace()192 back.fBytesFree -= size; in makeSpace()202 size_t usedBytes = back.fBuffer->sizeInBytes() - back.fBytesFree; in currentBufferItems()204 return (back.fBytesFree - pad) / itemSize; in currentBufferItems()232 size_t bytesUsed = block.fBuffer->sizeInBytes() - block.fBytesFree; in putBack()243 block.fBytesFree += bytes; in putBack()[all …]
157 size_t fBytesFree; member