Searched refs:CpuBufferCache (Results 1 – 6 of 6) sorted by relevance
42 class CpuBufferCache : public GrNonAtomicRef<CpuBufferCache> {44 static sk_sp<CpuBufferCache> Make(int maxBuffersToCache);50 CpuBufferCache(int maxBuffersToCache);86 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache);162 sk_sp<CpuBufferCache> fCpuBufferCache;182 GrVertexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache);261 GrIndexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache);320 GrDrawIndirectBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache) in GrDrawIndirectBufferAllocPool()
23 sk_sp<GrBufferAllocPool::CpuBufferCache> GrBufferAllocPool::CpuBufferCache::Make( in Make()25 return sk_sp<CpuBufferCache>(new CpuBufferCache(maxBuffersToCache)); in Make()28 GrBufferAllocPool::CpuBufferCache::CpuBufferCache(int maxBuffersToCache) in CpuBufferCache() function in GrBufferAllocPool::CpuBufferCache35 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer()64 void GrBufferAllocPool::CpuBufferCache::releaseAll() { in releaseAll()91 sk_sp<CpuBufferCache> cpuBufferCache) in GrBufferAllocPool()426 GrVertexBufferAllocPool::GrVertexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache) in GrVertexBufferAllocPool()479 GrIndexBufferAllocPool::GrIndexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache) in GrIndexBufferAllocPool()
196 sk_sp<GrBufferAllocPool::CpuBufferCache> fCpuBufferCache;
25 sk_sp<GrBufferAllocPool::CpuBufferCache> cpuBufferCache) in GrOpFlushState()
33 sk_sp<GrBufferAllocPool::CpuBufferCache> = nullptr);
147 fCpuBufferCache = GrBufferAllocPool::CpuBufferCache::Make(maxCachedBuffers); in flush()