Home
last modified time | relevance | path

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

12

/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.h56 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; enumerator
134 return mBufferItem.mSlot == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
/frameworks/base/libs/hwui/surfacetexture/
DSurfaceTexture.cpp54 , mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) in SurfaceTexture()
79 , mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) in SurfaceTexture()
200 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in attachToContext()
218 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in attachToView()
266 if (needsRecompute && mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
270 if (needsRecompute && mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
277 sp<GraphicBuffer> buf = (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) in computeCurrentTransformMatrixLocked()
449 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DEGLConsumer.cpp138 if (buf != BufferQueue::INVALID_BUFFER_SLOT) { in releaseTexImage()
163 st.mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
285 if (st.mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
334 if (st.mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT && mCurrentTextureImage == nullptr) { in bindTextureImageLocked()
432 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachToContext()
478 if (st.mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in syncForReleaseLocked()
DImageConsumer.cpp198 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
226 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
/frameworks/native/libs/gui/include/gui/
DBufferItemConsumer.h45 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; enumerator
DBufferQueue.h34 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.h65 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; enumerator
DBufferItem.h46 enum { INVALID_BUFFER_SLOT = -1 }; enumerator
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp64 mPreviousBufferSlot(BufferQueue::INVALID_BUFFER_SLOT), in FramebufferSurface()
129 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in nextBuffer()
154 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DVirtualDisplaySurface.cpp77 mFbProducerSlot(BufferQueue::INVALID_BUFFER_SLOT),
78 mOutputProducerSlot(BufferQueue::INVALID_BUFFER_SLOT),
/frameworks/native/libs/gui/
DBufferQueueProducer.cpp234 return BufferQueueCore::INVALID_BUFFER_SLOT; in getFreeBufferLocked()
243 return BufferQueueCore::INVALID_BUFFER_SLOT; in getFreeSlotLocked()
286 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock()
302 BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
308 if (slot != BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
316 if (slot != BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
328 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock()
413 int found = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
414 while (found == BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
421 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in dequeueBuffer()
[all …]
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()
DBufferQueueConsumer.cpp81 BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
201 int slot = BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
362 int found = BufferQueueCore::INVALID_BUFFER_SLOT; in attachBuffer()
371 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in attachBuffer()
516 mCore->mSharedBufferSlot = BufferQueueCore::INVALID_BUFFER_SLOT; in disconnect()
DBufferQueueCore.cpp96 mSharedBufferSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
99 mLastQueuedSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
227 mLastQueuedSlot = INVALID_BUFFER_SLOT; in clearBufferSlotLocked()
DSurface.cpp59 mSharedBufferSlot(BufferItem::INVALID_BUFFER_SLOT), in Surface()
559 BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
646 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
1329 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in disconnect()
1425 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setUsage()
1540 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersDimensions()
1557 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersUserDimensions()
1570 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersFormat()
DBufferItem.cpp51 mSlot(INVALID_BUFFER_SLOT), in BufferItem()
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp76 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) { in BufferLayerConsumer()
177 if (slot == BufferQueue::INVALID_BUFFER_SLOT) { in setReleaseFence()
253 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
450 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
482 if (item.mGraphicBuffer != nullptr && item.mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onBufferAvailable()
DBufferQueueLayer.h135 int mActiveBufferSlot{BufferQueue::INVALID_BUFFER_SLOT};
DBufferQueueLayer.cpp411 int slot = (mActiveBufferSlot == BufferQueue::INVALID_BUFFER_SLOT) ? 0 : mActiveBufferSlot; in setHwcLayerBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DHwcBufferCache.cpp30 if (slot == BufferQueue::INVALID_BUFFER_SLOT || slot < 0 || in getHwcBuffer()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h88 int bufferSlot{BufferQueue::INVALID_BUFFER_SLOT};
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp739 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
766 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
776 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
797 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
807 slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
820 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
833 slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
873 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1009 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1087 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp431 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachBufferToOutputs()
628 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReleasedByOutput()
659 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReplacedLocked()
718 } else if (res != OK || (slot == BufferItem::INVALID_BUFFER_SLOT)) { in handleOutputDequeueStatusLocked()
749 return BufferItem::INVALID_BUFFER_SLOT; in getSlotForOutputLocked()
/frameworks/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp40 EXPECT_EQ(BufferQueue::INVALID_BUFFER_SLOT, slot); in TEST_F()

12