Lines Matching refs:GrBufferAllocPool
23 sk_sp<GrBufferAllocPool::CpuBufferCache> GrBufferAllocPool::CpuBufferCache::Make( in Make()
28 GrBufferAllocPool::CpuBufferCache::CpuBufferCache(int maxBuffersToCache) in CpuBufferCache()
35 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer()
64 void GrBufferAllocPool::CpuBufferCache::releaseAll() { in releaseAll()
88 constexpr size_t GrBufferAllocPool::kDefaultBufferSize;
90 GrBufferAllocPool::GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, in GrBufferAllocPool() function in GrBufferAllocPool
97 void GrBufferAllocPool::deleteBlocks() { in deleteBlocks()
110 GrBufferAllocPool::~GrBufferAllocPool() { in ~GrBufferAllocPool()
115 void GrBufferAllocPool::reset() { in reset()
123 void GrBufferAllocPool::unmap() { in unmap()
143 void GrBufferAllocPool::validate(bool unusedBlockAllowed) const { in validate()
191 void* GrBufferAllocPool::makeSpace(size_t size, in makeSpace()
243 void* GrBufferAllocPool::makeSpaceAtLeast(size_t minSize, in makeSpaceAtLeast()
286 void GrBufferAllocPool::putBack(size_t bytes) { in putBack()
315 bool GrBufferAllocPool::createBlock(size_t requestSize) { in createBlock()
367 void GrBufferAllocPool::destroyBlock() { in destroyBlock()
375 void GrBufferAllocPool::resetCpuData(size_t newSize) { in resetCpuData()
389 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData()
411 sk_sp<GrBuffer> GrBufferAllocPool::getBuffer(size_t size) { in getBuffer()
427 : GrBufferAllocPool(gpu, GrGpuBufferType::kVertex, std::move(cpuBufferCache)) {} in GrVertexBufferAllocPool()
480 : GrBufferAllocPool(gpu, GrGpuBufferType::kIndex, std::move(cpuBufferCache)) {} in GrIndexBufferAllocPool()