Home
last modified time | relevance | path

Searched refs:INVALID_BUFFER_SLOT (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/hostgraphics/gui/
DBufferQueue.h28 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; enumerator
DBufferItem.h36 enum { INVALID_BUFFER_SLOT = -1 }; enumerator
/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h54 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; enumerator
132 return mBufferItem.mSlot == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
/frameworks/native/libs/gui/include/gui/
DBufferItemConsumer.h45 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; enumerator
DBufferQueue.h37 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; enumerator
DCpuConsumer.h130 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer()
135 mSlot = BufferQueue::INVALID_BUFFER_SLOT; in reset()
DBufferQueueCore.h62 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; enumerator
DBufferItem.h46 enum { INVALID_BUFFER_SLOT = -1 }; enumerator
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp54 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceTexture()
79 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceTexture()
212 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in takeConsumerOwnership()
256 if (needsRecompute && mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
260 if (needsRecompute && mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
267 sp<GraphicBuffer> buf = (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) in computeCurrentTransformMatrixLocked()
439 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DImageConsumer.cpp44 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
74 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
DEGLConsumer.cpp139 if (buf != BufferQueue::INVALID_BUFFER_SLOT) { in releaseTexImage()
164 st.mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
286 if (st.mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
336 if (st.mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT && mCurrentTextureImage == nullptr) { in bindTextureImageLocked()
435 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachToContext()
481 if (st.mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in syncForReleaseLocked()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp62 mPreviousBufferSlot(BufferQueue::INVALID_BUFFER_SLOT), in FramebufferSurface()
116 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in advanceFrame()
146 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DVirtualDisplaySurface.cpp70 mFbProducerSlot(BufferQueue::INVALID_BUFFER_SLOT),
71 mOutputProducerSlot(BufferQueue::INVALID_BUFFER_SLOT),
/frameworks/native/libs/gui/
DGLConsumer.cpp122 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
151 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
246 if (buf != BufferQueue::INVALID_BUFFER_SLOT) { in releaseTexImage()
273 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
418 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
468 if (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT && in bindTextureImageLocked()
537 mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setReleaseFence()
648 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in syncForReleaseLocked()
908 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DBufferQueueProducer.cpp269 return BufferQueueCore::INVALID_BUFFER_SLOT; in getFreeBufferLocked()
278 return BufferQueueCore::INVALID_BUFFER_SLOT; in getFreeSlotLocked()
321 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock()
337 BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
343 if (slot != BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
351 if (slot != BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
363 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock()
460 int found = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
461 while (found == BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
468 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in dequeueBuffer()
[all …]
DBufferQueueConsumer.cpp108 BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
230 int slot = BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
403 int found = BufferQueueCore::INVALID_BUFFER_SLOT; in attachBuffer()
412 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in attachBuffer()
559 mCore->mSharedBufferSlot = BufferQueueCore::INVALID_BUFFER_SLOT; in disconnect()
DBufferQueueCore.cpp127 mSharedBufferSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
130 mLastQueuedSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
274 mLastQueuedSlot = INVALID_BUFFER_SLOT; in clearBufferSlotLocked()
DSurface.cpp89 mSharedBufferSlot(BufferItem::INVALID_BUFFER_SLOT), in Surface()
601 BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
689 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
1920 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in disconnect()
2021 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setUsage()
2136 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersDimensions()
2153 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersUserDimensions()
2166 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersFormat()
DBufferItem.cpp51 mSlot(INVALID_BUFFER_SLOT), in BufferItem()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp454 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachBufferToOutputs()
656 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReleasedByOutput()
687 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReplacedLocked()
746 } else if (res != OK || (slot == BufferItem::INVALID_BUFFER_SLOT)) { in handleOutputDequeueStatusLocked()
777 return BufferItem::INVALID_BUFFER_SLOT; in getSlotForOutputLocked()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp757 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
785 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
797 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
820 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
831 slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
844 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
858 slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
899 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1066 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1159 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
[all …]