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.cpp210 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
238 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.cpp123 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
152 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
247 if (buf != BufferQueue::INVALID_BUFFER_SLOT) { in releaseTexImage()
274 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
419 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
469 if (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT && in bindTextureImageLocked()
538 mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setReleaseFence()
649 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in syncForReleaseLocked()
909 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DBufferQueueConsumer.cpp81 BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
203 int slot = BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
364 int found = BufferQueueCore::INVALID_BUFFER_SLOT; in attachBuffer()
373 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in attachBuffer()
520 mCore->mSharedBufferSlot = BufferQueueCore::INVALID_BUFFER_SLOT; in disconnect()
DBufferQueueCore.cpp97 mSharedBufferSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
100 mLastQueuedSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
228 mLastQueuedSlot = INVALID_BUFFER_SLOT; in clearBufferSlotLocked()
DSurface.cpp60 mSharedBufferSlot(BufferItem::INVALID_BUFFER_SLOT), in Surface()
560 BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
647 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
1338 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in disconnect()
1434 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setUsage()
1549 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersDimensions()
1566 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersUserDimensions()
1579 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()
459 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
491 if (item.mGraphicBuffer != nullptr && item.mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onBufferAvailable()
DBufferQueueLayer.h132 int mActiveBufferSlot{BufferQueue::INVALID_BUFFER_SLOT};
DBufferQueueLayer.cpp410 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()
1028 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1113 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
[all …]
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp433 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachBufferToOutputs()
630 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReleasedByOutput()
661 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReplacedLocked()
720 } else if (res != OK || (slot == BufferItem::INVALID_BUFFER_SLOT)) { in handleOutputDequeueStatusLocked()
751 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