Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrBufferAllocPool.cpp84 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap() local
85 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
347 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
352 SkASSERT(flushSize <= buffer->gpuMemorySize()); in flushCpuData()
356 flushSize > fGpu->caps()->bufferMapThreshold()) { in flushCpuData()
359 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
364 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h130 void flushCpuData(const BufferBlock& block, size_t flushSize);
/external/skia/src/gpu/
DGrBufferAllocPool.cpp131 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap() local
132 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
401 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
407 SkASSERT(flushSize <= buffer->size()); in flushCpuData()
411 flushSize > fGpu->caps()->bufferMapThreshold()) { in flushCpuData()
414 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
419 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h153 void flushCpuData(const BufferBlock& block, size_t flushSize);
/external/lz4/lib/
Dlz4frame.c950 size_t const flushSize = LZ4F_flush(cctxPtr, dstBuffer, dstMaxSize, compressOptionsPtr); in LZ4F_compressEnd() local
951 if (LZ4F_isError(flushSize)) return flushSize; in LZ4F_compressEnd()
952 dstPtr += flushSize; in LZ4F_compressEnd()