Home
last modified time | relevance | path

Searched refs:mFreeSlots (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueueCore.cpp65 mFreeSlots(), in BufferQueueCore()
104 mFreeSlots.insert(s); in BufferQueueCore()
161 for (int s : mFreeSlots) { in dump()
224 for (int s : mFreeSlots) { in freeAllBuffersLocked()
229 mFreeSlots.insert(s); in freeAllBuffersLocked()
235 mFreeSlots.insert(s); in freeAllBuffersLocked()
249 mFreeSlots.insert(s); in discardFreeBuffersLocked()
269 mFreeSlots.insert(slot); in adjustAvailableSlotsLocked()
274 if (-delta > static_cast<int>(mFreeSlots.size() + in adjustAvailableSlotsLocked()
279 if (!mFreeSlots.empty()) { in adjustAvailableSlotsLocked()
[all …]
DBufferQueueProducer.cpp233 if (mCore->mFreeSlots.empty()) { in getFreeSlotLocked()
236 int slot = *(mCore->mFreeSlots.begin()); in getFreeSlotLocked()
237 mCore->mFreeSlots.erase(slot); in getFreeSlotLocked()
419 mCore->mFreeSlots.insert(found); in dequeueBuffer()
513 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer()
520 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer()
597 mCore->mFreeSlots.insert(slot); in detachBuffer()
649 mCore->mFreeSlots.insert(found); in detachNextBuffer()
1249 newBufferCount = mCore->mFreeSlots.size(); in allocateBuffers()
1296 if (mCore->mFreeSlots.empty()) { in allocateBuffers()
[all …]
DBufferQueueConsumer.cpp305 mCore->mFreeSlots.insert(slot); in detachBuffer()
356 if (!mCore->mFreeSlots.empty()) { in attachBuffer()
357 auto slot = mCore->mFreeSlots.begin(); in attachBuffer()
359 mCore->mFreeSlots.erase(slot); in attachBuffer()
/frameworks/native/include/gui/
DBufferQueueCore.h202 std::set<int> mFreeSlots; variable