Lines Matching refs:mSlots

49     mSlots(core->mSlots),  in BufferQueueConsumer()
69 if (mSlots[s].mBufferState.isAcquired()) { 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()
211 outBuffer->mGraphicBuffer = mSlots[slot].mGraphicBuffer; in acquireBuffer()
222 outBuffer->mAcquireCalled = mSlots[slot].mAcquireCalled; in acquireBuffer()
242 mSlots[slot].mAcquireCalled = true; in acquireBuffer()
247 mSlots[slot].mBufferState.acquireNotInQueue(); in acquireBuffer()
249 mSlots[slot].mBufferState.acquire(); in acquireBuffer()
251 mSlots[slot].mFence = Fence::NO_FENCE; in acquireBuffer()
304 } else if (!mSlots[slot].mBufferState.isAcquired()) { in detachBuffer()
306 "(state = %s)", slot, mSlots[slot].mBufferState.string()); in detachBuffer()
310 mSlots[slot].mBufferState.detachConsumer(); in detachBuffer()
342 if (mSlots[s].mBufferState.isAcquired()) { in attachBuffer()
381 mSlots[*outSlot].mGraphicBuffer = buffer; in attachBuffer()
382 mSlots[*outSlot].mBufferState.attachConsumer(); in attachBuffer()
383 mSlots[*outSlot].mNeedsReallocation = true; in attachBuffer()
384 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer()
385 mSlots[*outSlot].mFrameNumber = 0; in attachBuffer()
402 mSlots[*outSlot].mAcquireCalled = false; in attachBuffer()
431 if (frameNumber != mSlots[slot].mFrameNumber && in releaseBuffer()
432 !mSlots[slot].mBufferState.isShared()) { in releaseBuffer()
436 if (!mSlots[slot].mBufferState.isAcquired()) { in releaseBuffer()
439 mSlots[slot].mBufferState.string()); in releaseBuffer()
443 mSlots[slot].mEglDisplay = eglDisplay; in releaseBuffer()
444 mSlots[slot].mEglFence = eglFence; in releaseBuffer()
445 mSlots[slot].mFence = releaseFence; in releaseBuffer()
446 mSlots[slot].mBufferState.release(); in releaseBuffer()
451 if (!mCore->mSharedBufferMode && mSlots[slot].mBufferState.isFree()) { in releaseBuffer()
452 mSlots[slot].mBufferState.mShared = false; in releaseBuffer()
455 if (!mSlots[slot].mBufferState.isShared()) { in releaseBuffer()
538 if (!mSlots[s].mAcquireCalled) { in getReleasedBuffers()
641 if (mSlots[slot].mBufferState.isAcquired()) { in setMaxAcquiredBufferCount()