Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBufferAllocPool.cpp27 : fMaxBuffersToCache(maxBuffersToCache) { in CpuBufferCache()
28 if (fMaxBuffersToCache) { in CpuBufferCache()
29 fBuffers.reset(new Buffer[fMaxBuffersToCache]); in CpuBufferCache()
39 for (; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in makeBuffer()
45 if (!result && i < fMaxBuffersToCache) { in makeBuffer()
63 for (int i = 0; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in releaseAll()
DGrBufferAllocPool.h56 int fMaxBuffersToCache = 0; variable