Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DBufferQueueCore.cpp70 mFreeSlots(), in BufferQueueCore()
102 mFreeSlots.insert(s); in BufferQueueCore()
165 for (int s : mFreeSlots) { in dumpState()
228 for (int s : mFreeSlots) { in freeAllBuffersLocked()
233 mFreeSlots.insert(s); in freeAllBuffersLocked()
239 mFreeSlots.insert(s); in freeAllBuffersLocked()
260 mFreeSlots.insert(s); in discardFreeBuffersLocked()
280 mFreeSlots.insert(slot); in adjustAvailableSlotsLocked()
285 if (-delta > static_cast<int>(mFreeSlots.size() + in adjustAvailableSlotsLocked()
290 if (!mFreeSlots.empty()) { in adjustAvailableSlotsLocked()
[all …]
DBufferQueueProducer.cpp240 if (mCore->mFreeSlots.empty()) { in getFreeSlotLocked()
243 int slot = *(mCore->mFreeSlots.begin()); in getFreeSlotLocked()
244 mCore->mFreeSlots.erase(slot); in getFreeSlotLocked()
425 mCore->mFreeSlots.insert(found); in dequeueBuffer()
520 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer()
527 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer()
609 mCore->mFreeSlots.insert(slot); in detachBuffer()
663 mCore->mFreeSlots.insert(found); in detachNextBuffer()
1341 newBufferCount = mCore->mFreeSlots.size(); in allocateBuffers()
1390 if (mCore->mFreeSlots.empty()) { in allocateBuffers()
[all …]
DBufferQueueConsumer.cpp310 mCore->mFreeSlots.insert(slot); in detachBuffer()
361 if (!mCore->mFreeSlots.empty()) { in attachBuffer()
362 auto slot = mCore->mFreeSlots.begin(); in attachBuffer()
364 mCore->mFreeSlots.erase(slot); in attachBuffer()
/frameworks/native/libs/gui/include/gui/
DBufferQueueCore.h206 std::set<int> mFreeSlots; variable