Home
last modified time | relevance | path

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

/external/skia/src/gpu/
DGrBufferAllocPool.cpp29 fBuffers.reset(new Buffer[fMaxBuffersToCache]); in CpuBufferCache()
39 for (; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in makeBuffer()
40 SkASSERT(fBuffers[i].fBuffer->size() == kDefaultBufferSize); in makeBuffer()
41 if (fBuffers[i].fBuffer->unique()) { in makeBuffer()
42 result = &fBuffers[i]; in makeBuffer()
46 fBuffers[i].fBuffer = GrCpuBuffer::Make(size); in makeBuffer()
47 result = &fBuffers[i]; in makeBuffer()
63 for (int i = 0; i < fMaxBuffersToCache && fBuffers[i].fBuffer; ++i) { in releaseAll()
64 fBuffers[i].fBuffer.reset(); in releaseAll()
65 fBuffers[i].fCleared = false; in releaseAll()
DGrBufferAllocPool.h55 std::unique_ptr<Buffer[]> fBuffers; variable