Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrBufferAllocPool.cpp33 (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()
[all …]
DGrBufferAllocPool.h123 size_t fBytesFree; member
/external/skia/src/gpu/
DGrBufferAllocPool.cpp83 (float)((block).fBytesFree) / (block).fBuffer->size()); \
133 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap()
165 size_t bytes = fBlocks[i].fBuffer->size() - fBlocks[i].fBytesFree; in validate()
202 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpace()
209 if (alignedSize <= back.fBytesFree) { in makeSpace()
214 back.fBytesFree -= alignedSize; in makeSpace()
237 back.fBytesFree -= size; in makeSpace()
256 fBlocks.back().fBytesFree; in makeSpaceAtLeast()
258 if (fBlocks.empty() || (minSize + pad) > fBlocks.back().fBytesFree) { in makeSpaceAtLeast()
272 fBlocks.back().fBytesFree -= pad; in makeSpaceAtLeast()
[all …]
DGrBufferAllocPool.h147 size_t fBytesFree; member