Lines Matching refs:mBufferBlockQueue
117 BufferBlockGarbageList() : mBufferBlockQueue(kInitialQueueCapacity) {} in BufferBlockGarbageList()
118 ~BufferBlockGarbageList() { ASSERT(mBufferBlockQueue.empty()); } in ~BufferBlockGarbageList()
123 if (mBufferBlockQueue.full()) in add()
125 size_t newCapacity = mBufferBlockQueue.capacity() << 1; in add()
126 mBufferBlockQueue.updateCapacity(newCapacity); in add()
128 mBufferBlockQueue.push(bufferBlock); in add()
135 if (!mBufferBlockQueue.empty()) in pruneEmptyBufferBlocks()
138 size_t count = mBufferBlockQueue.size(); in pruneEmptyBufferBlocks()
141 BufferBlock *block = mBufferBlockQueue.front(); in pruneEmptyBufferBlocks()
142 mBufferBlockQueue.pop(); in pruneEmptyBufferBlocks()
150 mBufferBlockQueue.push(block); in pruneEmptyBufferBlocks()
157 bool empty() const { return mBufferBlockQueue.empty(); } in empty()
162 angle::FixedQueue<BufferBlock *> mBufferBlockQueue; variable