Home
last modified time | relevance | path

Searched refs:BufferSlot (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/libs/gui/
DBufferSlot.cpp21 const char* BufferSlot::bufferStateName(BufferState state) { in bufferStateName()
23 case BufferSlot::DEQUEUED: return "DEQUEUED"; in bufferStateName()
24 case BufferSlot::QUEUED: return "QUEUED"; in bufferStateName()
25 case BufferSlot::FREE: return "FREE"; in bufferStateName()
26 case BufferSlot::ACQUIRED: return "ACQUIRED"; in bufferStateName()
DBufferQueueCore.cpp116 const BufferSlot& slot(mSlots[s]); in dump()
117 if (slot.mBufferState != BufferSlot::FREE || in dump()
125 const BufferSlot& slot(mSlots[s]); in dump()
128 (slot.mBufferState == BufferSlot::ACQUIRED) ? ">" : " ", in dump()
130 BufferSlot::bufferStateName(slot.mBufferState)); in dump()
174 BufferSlot::BufferState state = mSlots[s].mBufferState; in getMaxBufferCountLocked()
175 if (state == BufferSlot::QUEUED || state == BufferSlot::DEQUEUED) { in getMaxBufferCountLocked()
203 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in freeBufferLocked()
206 if (mSlots[slot].mBufferState != BufferSlot::FREE) { in freeBufferLocked()
214 mSlots[slot].mBufferState = BufferSlot::FREE; in freeBufferLocked()
[all …]
DBufferQueueConsumer.cpp53 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in acquireBuffer()
133 mSlots[front->mSlot].mBufferState = BufferSlot::FREE; in acquireBuffer()
175 mSlots[slot].mBufferState = BufferSlot::ACQUIRED; in acquireBuffer()
222 } else if (mSlots[slot].mBufferState != BufferSlot::ACQUIRED) { in detachBuffer()
252 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in attachBuffer()
291 mSlots[*outSlot].mBufferState = BufferSlot::ACQUIRED; in attachBuffer()
353 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in releaseBuffer()
357 mSlots[slot].mBufferState = BufferSlot::FREE; in releaseBuffer()
DBufferQueueProducer.cpp64 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in requestBuffer()
97 if (mSlots[s].mBufferState == BufferSlot::DEQUEUED) { in setBufferCount()
157 assert(mSlots[s].mBufferState == BufferSlot::FREE); in waitForFreeSlotThenRelock()
168 case BufferSlot::DEQUEUED: in waitForFreeSlotThenRelock()
171 case BufferSlot::ACQUIRED: in waitForFreeSlotThenRelock()
328 mSlots[found].mBufferState = BufferSlot::DEQUEUED; in dequeueBuffer()
433 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in detachBuffer()
532 mSlots[*outSlot].mBufferState = BufferSlot::DEQUEUED; in attachBuffer()
604 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in queueBuffer()
636 mSlots[slot].mBufferState = BufferSlot::QUEUED; in queueBuffer()
[all …]
DAndroid.mk49 BufferSlot.cpp \
/frameworks/native/include/gui/
DBufferSlot.h32 struct BufferSlot { struct
34 BufferSlot() in BufferSlot() function
36 mBufferState(BufferSlot::FREE), in BufferSlot()
DBufferQueueDefs.h31 typedef BufferSlot SlotsType[NUM_BUFFER_SLOTS];
DSurface.h202 struct BufferSlot { struct
219 BufferSlot mSlots[NUM_BUFFER_SLOTS]; argument
DBufferQueueProducer.h25 class BufferSlot; variable