Searched refs:fMaxBuffersToCache (Results 1 – 2 of 2) sorted by relevance
29 : 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()
57 int fMaxBuffersToCache = 0; variable