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.cpp107 const BufferSlot& slot(mSlots[s]); in dump()
108 if (slot.mBufferState != BufferSlot::FREE || in dump()
116 const BufferSlot& slot(mSlots[s]); in dump()
119 (slot.mBufferState == BufferSlot::ACQUIRED) ? ">" : " ", in dump()
121 BufferSlot::bufferStateName(slot.mBufferState)); in dump()
165 BufferSlot::BufferState state = mSlots[s].mBufferState; in getMaxBufferCountLocked()
166 if (state == BufferSlot::QUEUED || state == BufferSlot::DEQUEUED) { in getMaxBufferCountLocked()
193 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in freeBufferLocked()
196 mSlots[slot].mBufferState = BufferSlot::FREE; in freeBufferLocked()
216 const BufferSlot& slot = mSlots[item->mSlot]; in stillTracking()
DBufferQueueProducer.cpp59 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in requestBuffer()
92 if (mSlots[s].mBufferState == BufferSlot::DEQUEUED) { in setBufferCount()
152 assert(mSlots[s].mBufferState == BufferSlot::FREE); in waitForFreeSlotThenRelock()
165 case BufferSlot::DEQUEUED: in waitForFreeSlotThenRelock()
168 case BufferSlot::ACQUIRED: in waitForFreeSlotThenRelock()
171 case BufferSlot::FREE: in waitForFreeSlotThenRelock()
303 mSlots[found].mBufferState = BufferSlot::DEQUEUED; in dequeueBuffer()
400 } else if (mSlots[slot].mBufferState != BufferSlot::DEQUEUED) { in detachBuffer()
439 if (mSlots[s].mBufferState == BufferSlot::FREE && in detachNextBuffer()
499 mSlots[*outSlot].mBufferState = BufferSlot::DEQUEUED; in attachBuffer()
[all …]
DBufferQueueConsumer.cpp49 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in acquireBuffer()
122 mSlots[front->mSlot].mBufferState = BufferSlot::FREE; in acquireBuffer()
156 mSlots[slot].mBufferState = BufferSlot::ACQUIRED; in acquireBuffer()
194 } else if (mSlots[slot].mBufferState != BufferSlot::ACQUIRED) { in detachBuffer()
225 if (mSlots[s].mBufferState == BufferSlot::ACQUIRED) { in attachBuffer()
227 } else if (mSlots[s].mBufferState == BufferSlot::FREE) { in attachBuffer()
251 mSlots[*outSlot].mBufferState = BufferSlot::ACQUIRED; in attachBuffer()
309 if (mSlots[slot].mBufferState == BufferSlot::ACQUIRED) { in releaseBuffer()
313 mSlots[slot].mBufferState = BufferSlot::FREE; in releaseBuffer()
DAndroid.mk14 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.h185 struct BufferSlot { struct
202 BufferSlot mSlots[NUM_BUFFER_SLOTS]; argument
DBufferQueueProducer.h25 class BufferSlot; variable