Home
last modified time | relevance | path

Searched refs:fBlocks (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/gpu/
DGrBufferAllocPool.cpp30 fBlocks(GrMax(8, 2*preallocBufferCnt)) { in GrBufferAllocPool()
56 if (fBlocks.count()) { in ~GrBufferAllocPool()
57 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; in ~GrBufferAllocPool()
62 while (!fBlocks.empty()) { in ~GrBufferAllocPool()
79 if (fBlocks.count()) { in reset()
80 GrGeometryBuffer* buffer = fBlocks.back().fBuffer; in reset()
87 while (!fBlocks.empty()) { in reset()
107 BufferBlock& block = fBlocks.back(); in unlock()
112 flushCpuData(fBlocks.back().fBuffer, flushSize); in unlock()
122 GrAssert(!fBlocks.empty()); in validate()
[all …]
DGrAllocator.h39 fBlocks.push_back() = initialBlock; in GrAllocator()
53 fBlocks.push_back() = GrMalloc(fBlockSize); in push_back()
55 fBlocks[0] = GrMalloc(fBlockSize); in push_back()
58 void* ret = (char*)fBlocks[fCount/fItemsPerBlock] + in push_back()
71 GrFree(fBlocks[i]); in reset()
74 GrFree(fBlocks[0]); in reset()
75 fBlocks[0] = NULL; in reset()
77 fBlocks.pop_back_n(blockCount-1); in reset()
114 return (char*)fBlocks[i / fItemsPerBlock] +
123 return (const char*)fBlocks[i / fItemsPerBlock] +
[all …]
DGrBufferAllocPool.h177 SkTArray<BufferBlock> fBlocks; variable