Searched refs:CpuBufferCache (Results 1 – 6 of 6) sorted by relevance
41 class CpuBufferCache : public GrNonAtomicRef<CpuBufferCache> {43 static sk_sp<CpuBufferCache> Make(int maxBuffersToCache);49 CpuBufferCache(int maxBuffersToCache);85 GrBufferAllocPool(GrGpu* gpu, GrGpuBufferType bufferType, sk_sp<CpuBufferCache> cpuBufferCache);161 sk_sp<CpuBufferCache> fCpuBufferCache;181 GrVertexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache);260 GrIndexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache);
21 sk_sp<GrBufferAllocPool::CpuBufferCache> GrBufferAllocPool::CpuBufferCache::Make( in Make()23 return sk_sp<CpuBufferCache>(new CpuBufferCache(maxBuffersToCache)); in Make()26 GrBufferAllocPool::CpuBufferCache::CpuBufferCache(int maxBuffersToCache) in CpuBufferCache() function in GrBufferAllocPool::CpuBufferCache33 sk_sp<GrCpuBuffer> GrBufferAllocPool::CpuBufferCache::makeBuffer(size_t size, in makeBuffer()62 void GrBufferAllocPool::CpuBufferCache::releaseAll() { in releaseAll()89 sk_sp<CpuBufferCache> cpuBufferCache) in GrBufferAllocPool()436 GrVertexBufferAllocPool::GrVertexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache) in GrVertexBufferAllocPool()489 GrIndexBufferAllocPool::GrIndexBufferAllocPool(GrGpu* gpu, sk_sp<CpuBufferCache> cpuBufferCache) in GrIndexBufferAllocPool()
33 sk_sp<GrBufferAllocPool::CpuBufferCache> = nullptr);
178 sk_sp<GrBufferAllocPool::CpuBufferCache> fCpuBufferCache;
20 sk_sp<GrBufferAllocPool::CpuBufferCache> cpuBufferCache) in GrOpFlushState()
250 fCpuBufferCache = GrBufferAllocPool::CpuBufferCache::Make(maxCachedBuffers); in flush()