Home
last modified time | relevance | path

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

/external/skia/src/gpu/ganesh/
DGrBufferAllocPool.cpp29 : fMaxBuffersToCache(maxBuffersToCache) { in CpuBufferCache()
30 if (fMaxBuffersToCache) { in CpuBufferCache()
31 fBuffers = std::make_unique<Buffer[]>(fMaxBuffersToCache); in CpuBufferCache()
41 for (; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in makeBuffer()
47 if (!result && i < fMaxBuffersToCache) { in makeBuffer()
65 for (int i = 0; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in releaseAll()
DGrBufferAllocPool.h58 int fMaxBuffersToCache = 0; variable