Home
last modified time | relevance | path

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

12

/frameworks/base/libs/hostgraphics/gui/
DBufferQueue.h28 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; enumerator
DBufferItem.h37 enum { INVALID_BUFFER_SLOT = -1 }; enumerator
/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/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.h59 enum { INVALID_BUFFER_SLOT = BufferItem::INVALID_BUFFER_SLOT }; enumerator
DBufferItem.h46 enum { INVALID_BUFFER_SLOT = -1 }; enumerator
/frameworks/native/libs/nativedisplay/surfacetexture/
DSurfaceTexture.cpp52 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceTexture()
77 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in SurfaceTexture()
210 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in takeConsumerOwnership()
254 if (needsRecompute && mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
258 if (needsRecompute && mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
265 sp<GraphicBuffer> buf = (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) in computeCurrentTransformMatrixLocked()
437 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DImageConsumer.cpp43 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
73 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/libs/gui/
DBufferQueueProducer.cpp257 return BufferQueueCore::INVALID_BUFFER_SLOT; in getFreeBufferLocked()
266 return BufferQueueCore::INVALID_BUFFER_SLOT; in getFreeSlotLocked()
309 *found = BufferQueueCore::INVALID_BUFFER_SLOT; in waitForFreeSlotThenRelock()
325 BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
331 if (slot != BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
339 if (slot != BufferQueueCore::INVALID_BUFFER_SLOT) { in waitForFreeSlotThenRelock()
351 tryAgain = (*found == BufferQueueCore::INVALID_BUFFER_SLOT) || in waitForFreeSlotThenRelock()
440 int found = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
441 while (found == BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
448 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.cpp108 BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
230 int slot = BufferQueueCore::INVALID_BUFFER_SLOT; in acquireBuffer()
395 int found = BufferQueueCore::INVALID_BUFFER_SLOT; in attachBuffer()
404 if (found == BufferQueueCore::INVALID_BUFFER_SLOT) { in attachBuffer()
551 mCore->mSharedBufferSlot = BufferQueueCore::INVALID_BUFFER_SLOT; in disconnect()
DBufferQueueCore.cpp128 mSharedBufferSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
131 mLastQueuedSlot(INVALID_BUFFER_SLOT), in BufferQueueCore()
276 mLastQueuedSlot = INVALID_BUFFER_SLOT; in clearBufferSlotLocked()
DSurface.cpp74 mSharedBufferSlot(BufferItem::INVALID_BUFFER_SLOT), in Surface()
645 BufferItem::INVALID_BUFFER_SLOT) { in dequeueBuffer()
733 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in dequeueBuffer()
1917 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in disconnect()
2017 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setUsage()
2132 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersDimensions()
2149 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersUserDimensions()
2162 mSharedBufferSlot = BufferItem::INVALID_BUFFER_SLOT; in setBuffersFormat()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp70 mPreviousBufferSlot(BufferQueue::INVALID_BUFFER_SLOT), in FramebufferSurface()
135 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in nextBuffer()
160 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
DVirtualDisplaySurface.cpp82 mFbProducerSlot(BufferQueue::INVALID_BUFFER_SLOT),
83 mOutputProducerSlot(BufferQueue::INVALID_BUFFER_SLOT),
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp79 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) { in BufferLayerConsumer()
164 if (slot == BufferQueue::INVALID_BUFFER_SLOT) { in setReleaseFence()
242 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
423 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
459 if (item.mGraphicBuffer != nullptr && item.mSlot != BufferQueue::INVALID_BUFFER_SLOT) { in onBufferAvailable()
DBufferLayer.h137 int mBufferSlot{BufferQueue::INVALID_BUFFER_SLOT};
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DHwcBufferCache.cpp38 if (slot == BufferQueue::INVALID_BUFFER_SLOT || slot < 0 || in getHwcBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamSplitter.cpp433 if (slot != BufferItem::INVALID_BUFFER_SLOT) { in attachBufferToOutputs()
635 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReleasedByOutput()
666 int slot = BufferItem::INVALID_BUFFER_SLOT; in onBufferReplacedLocked()
725 } else if (res != OK || (slot == BufferItem::INVALID_BUFFER_SLOT)) { in handleOutputDequeueStatusLocked()
756 return BufferItem::INVALID_BUFFER_SLOT; in getSlotForOutputLocked()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp748 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
775 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
785 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
806 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
816 slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
829 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
842 slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
882 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1037 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
1122 int slot = BufferQueue::INVALID_BUFFER_SLOT; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h164 int bufferSlot{BufferQueue::INVALID_BUFFER_SLOT};
/frameworks/native/services/surfaceflinger/tests/unittests/
DCachingTest.cpp46 EXPECT_EQ(BufferQueue::INVALID_BUFFER_SLOT, slot); in TEST_F()

12