Lines Matching refs:front
89 BufferQueueCore::Fifo::iterator front(mCore->mQueue.begin()); in acquireBuffer() local
151 if (!front->mIsStale) { in acquireBuffer()
153 mSlots[front->mSlot].mBufferState.freeQueued(); in acquireBuffer()
159 mSlots[front->mSlot].mBufferState.isFree()) { in acquireBuffer()
160 mSlots[front->mSlot].mBufferState.mShared = false; in acquireBuffer()
164 if (!mSlots[front->mSlot].mBufferState.isShared()) { in acquireBuffer()
165 mCore->mActiveBuffers.erase(front->mSlot); in acquireBuffer()
166 mCore->mFreeBuffers.push_back(front->mSlot); in acquireBuffer()
175 mCore->mQueue.erase(front); in acquireBuffer()
176 front = mCore->mQueue.begin(); in acquireBuffer()
180 nsecs_t desiredPresent = front->mTimestamp; in acquireBuffer()
184 front->mFrameNumber <= maxFrameNumber : true; in acquireBuffer()
192 front->mFrameNumber, maxFrameNumber); in acquireBuffer()
234 slot = front->mSlot; in acquireBuffer()
235 *outBuffer = *front; in acquireBuffer()
263 mCore->mQueue.erase(front); in acquireBuffer()
370 found = mCore->mFreeBuffers.front(); in attachBuffer()