/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | CachingTest.cpp | 40 EXPECT_EQ(BufferQueue::INVALID_BUFFER_SLOT, slot); in TEST_F() 49 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 1, slot); in TEST_F() 55 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 2, slot); in TEST_F() 58 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 2, slot); in TEST_F() 61 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - 1, slot); in TEST_F() 69 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F() 76 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F() 79 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F() 81 EXPECT_EQ(BufferQueue::NUM_BUFFER_SLOTS - (i + 1), slot); in TEST_F() 84 for (uint32_t i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in TEST_F() [all …]
|
/frameworks/native/libs/gui/ |
D | BufferQueue.cpp | 33 BufferQueue::ProxyConsumerListener::ProxyConsumerListener( in ProxyConsumerListener() 37 BufferQueue::ProxyConsumerListener::~ProxyConsumerListener() {} in ~ProxyConsumerListener() 39 void BufferQueue::ProxyConsumerListener::onDisconnect() { in onDisconnect() 46 void BufferQueue::ProxyConsumerListener::onFrameAvailable( in onFrameAvailable() 54 void BufferQueue::ProxyConsumerListener::onFrameReplaced( in onFrameReplaced() 62 void BufferQueue::ProxyConsumerListener::onBuffersReleased() { in onBuffersReleased() 69 void BufferQueue::ProxyConsumerListener::onSidebandStreamChanged() { in onSidebandStreamChanged() 76 void BufferQueue::ProxyConsumerListener::addAndGetFrameTimestamps( in addAndGetFrameTimestamps() 85 void BufferQueue::createBufferQueue(sp<IGraphicBufferProducer>* outProducer, in createBufferQueue() 110 void BufferQueue::createBufferHubQueue(sp<IGraphicBufferProducer>* outProducer, in createBufferHubQueue()
|
D | OWNERS | 17 # BufferQueue is feature-frozen 18 per-file BufferQueue* = set noparent 19 per-file BufferQueue* = jreck@google.com, sumir@google.com, alecmouri@google.com 22 per-file include/gui/BufferQueue* = set noparent 23 per-file include/gui/BufferQueue* = jreck@google.com, sumir@google.com, alecmouri@google.com
|
D | GLConsumer.cpp | 123 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 152 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer() 198 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 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()
|
D | ConsumerBase.cpp | 70 sp<IConsumerListener> proxy = new BufferQueue::ProxyConsumerListener(listener); in ConsumerBase() 146 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in onBuffersReleased() 172 for (int i =0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked() 316 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in discardFreeBuffers() 468 if (slot < 0 || slot >= BufferQueue::NUM_BUFFER_SLOTS) { in stillTracking()
|
/frameworks/av/media/libstagefright/filters/ |
D | GraphicBufferListener.cpp | 37 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in init() 49 wp<BufferQueue::ConsumerListener> listener = in init() 50 static_cast<BufferQueue::ConsumerListener*>(this); in init() 51 sp<BufferQueue::ProxyConsumerListener> proxy = in init() 52 new BufferQueue::ProxyConsumerListener(listener); in init() 102 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in getBufferItem() 132 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in getBuffer() 144 if (item.mSlot < 0 || item.mSlot >= BufferQueue::NUM_BUFFER_SLOTS) { in releaseBuffer()
|
D | GraphicBufferListener.h | 26 struct GraphicBufferListener : public BufferQueue::ConsumerListener { 65 sp<GraphicBuffer> mBufferSlot[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/libs/gui/include/gui/ |
D | CpuConsumer.h | 30 class BufferQueue; variable 130 mSlot(BufferQueue::INVALID_BUFFER_SLOT), in AcquiredBuffer() 135 mSlot = BufferQueue::INVALID_BUFFER_SLOT; in reset()
|
D | BufferItemConsumer.h | 45 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 46 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE };
|
D | BufferQueue.h | 28 class BufferQueue { 88 BufferQueue() = delete; // Create through createBufferQueue
|
/frameworks/native/libs/gui/tests/ |
D | StreamSplitter_test.cpp | 62 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer); in TEST_F() 66 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer); in TEST_F() 128 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer); in TEST_F() 133 BufferQueue::createBufferQueue(&outputProducers[output], in TEST_F() 201 BufferQueue::createBufferQueue(&inputProducer, &inputConsumer); in TEST_F() 205 BufferQueue::createBufferQueue(&outputProducer, &outputConsumer); in TEST_F()
|
D | IGraphicBufferProducer_test.cpp | 96 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in SetUp() 100 BufferQueue::createBufferHubQueue(&mProducer, &mConsumer); in SetUp() 245 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, *slot); in setupDequeueRequestBuffer() 331 EXPECT_GE(BufferQueue::NUM_BUFFER_SLOTS, value); in TEST_P() 390 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, dequeuedSlot); in TEST_P() 432 EXPECT_EQ(BAD_VALUE, mProducer->queueBuffer(BufferQueue::NUM_BUFFER_SLOTS, in TEST_P() 537 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() 589 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P() 715 EXPECT_GT(BufferQueue::NUM_BUFFER_SLOTS, slot); in TEST_P()
|
D | BufferQueue_test.cpp | 71 BufferQueue::createBufferQueue(&mProducer, &mConsumer); in createBufferQueue() 118 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 229 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS+1)); in TEST_F() 296 BufferQueue::MAX_MAX_ACQUIRED_BUFFERS)); in TEST_F() 315 BufferQueue::NUM_BUFFER_SLOTS + 1)); in TEST_F() 739 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() [all …]
|
/frameworks/av/services/camera/libcameraservice/gui/ |
D | RingBufferConsumer.h | 56 enum { INVALID_BUFFER_SLOT = BufferQueue::INVALID_BUFFER_SLOT }; 57 enum { NO_BUFFER_AVAILABLE = BufferQueue::NO_BUFFER_AVAILABLE }; 134 return mBufferItem.mSlot == BufferQueue::INVALID_BUFFER_SLOT; in isEmpty()
|
/frameworks/base/libs/hwui/surfacetexture/ |
D | SurfaceTexture.cpp | 54 , 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()
|
D | EGLConsumer.cpp | 101 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 138 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() 478 if (st.mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in syncForReleaseLocked()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 64 mPreviousBufferSlot(BufferQueue::INVALID_BUFFER_SLOT), in FramebufferSurface() 113 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in nextBuffer() 129 if (mCurrentBufferSlot != BufferQueue::INVALID_BUFFER_SLOT && in nextBuffer() 154 mCurrentBufferSlot = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | HwcBufferCache.cpp | 30 if (slot == BufferQueue::INVALID_BUFFER_SLOT || slot < 0 || in getHwcBuffer() 31 slot >= BufferQueue::NUM_BUFFER_SLOTS) { in getHwcBuffer()
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.cpp | 76 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) { in BufferLayerConsumer() 120 if (err == BufferQueue::NO_BUFFER_AVAILABLE) { in updateTexImage() 122 } else if (err == BufferQueue::PRESENT_LATER) { in updateTexImage() 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() 512 for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { in abandonLocked()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | HwcBufferCacheTest.cpp | 78 testSlot(BufferQueue::NUM_BUFFER_SLOTS - 1, BufferQueue::NUM_BUFFER_SLOTS - 1); in TEST_F()
|
/frameworks/native/opengl/tests/EGLTest/ |
D | EGL_test.cpp | 151 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 271 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 319 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 411 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 583 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 635 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 717 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 822 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 848 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() 895 BufferQueue::createBufferQueue(&producer, &consumer); in TEST_F() [all …]
|
/frameworks/native/libs/gui/bufferqueue/ |
D | OWNERS | 1 # BufferQueue is feature-frozen
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | HwcBufferCache.h | 55 wp<GraphicBuffer> mBuffers[BufferQueue::NUM_BUFFER_SLOTS];
|
/frameworks/native/services/surfaceflinger/tests/ |
D | VirtualDisplay_test.cpp | 32 BufferQueue::createBufferQueue(&mProducer, &consumer); in SetUp()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/ |
D | LayerFECompositionState.h | 88 int bufferSlot{BufferQueue::INVALID_BUFFER_SLOT};
|