Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBufferAllocPool.cpp98 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap() local
99 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
297 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
302 SkASSERT(flushSize <= buffer->gpuMemorySize()); in flushCpuData()
306 flushSize > fGeometryBufferMapThreshold) { in flushCpuData()
309 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
314 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h109 void flushCpuData(const BufferBlock& block, size_t flushSize);