/frameworks/native/libs/gui/tests/ |
D | BufferItemConsumer_test.cpp | 74 void DequeueBuffer(int* outSlot) { in DequeueBuffer() argument 75 ASSERT_NE(outSlot, nullptr); in DequeueBuffer() 88 *outSlot = slot; in DequeueBuffer() 101 void AcquireBuffer(int* outSlot) { in AcquireBuffer() argument 102 ASSERT_NE(outSlot, nullptr); in AcquireBuffer() 108 *outSlot = buffer.mSlot; in AcquireBuffer()
|
D | Malicious.cpp | 50 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override { in attachBuffer() argument 51 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
|
D | BufferQueue_test.cpp | 542 int outSlot; in TEST_F() local 543 ASSERT_EQ(BAD_VALUE, mProducer->attachBuffer(&outSlot, buffer)); in TEST_F() 544 ASSERT_EQ(BAD_VALUE, mConsumer->attachBuffer(&outSlot, buffer)); in TEST_F() 549 ASSERT_EQ(OK, mProducer->attachBuffer(&outSlot, buffer)); in TEST_F() 551 ASSERT_EQ(OK, mProducer->detachBuffer(outSlot)); in TEST_F() 554 ASSERT_EQ(OK, mConsumer->attachBuffer(&outSlot, buffer)); in TEST_F()
|
/frameworks/native/libs/gui/ |
D | BufferQueueProducer.cpp | 350 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, in dequeueBuffer() argument 445 *outSlot = found; in dequeueBuffer() 501 BQ_LOGV("dequeueBuffer: allocating a new buffer for slot %d", *outSlot); in dequeueBuffer() 513 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; in dequeueBuffer() 520 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer() 521 mCore->clearBufferSlotLocked(*outSlot); in dequeueBuffer() 527 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer() 528 mCore->clearBufferSlotLocked(*outSlot); in dequeueBuffer() 557 *outSlot, in dequeueBuffer() 558 mSlots[*outSlot].mFrameNumber, in dequeueBuffer() [all …]
|
D | BufferQueueConsumer.cpp | 320 status_t BufferQueueConsumer::attachBuffer(int* outSlot, in attachBuffer() argument 324 if (outSlot == NULL) { in attachBuffer() 377 *outSlot = found; in attachBuffer() 378 ATRACE_BUFFER_INDEX(*outSlot); in attachBuffer() 379 BQ_LOGV("attachBuffer: returning slot %d", *outSlot); in attachBuffer() 381 mSlots[*outSlot].mGraphicBuffer = buffer; in attachBuffer() 382 mSlots[*outSlot].mBufferState.attachConsumer(); in attachBuffer() 383 mSlots[*outSlot].mNeedsReallocation = true; in attachBuffer() 384 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 385 mSlots[*outSlot].mFrameNumber = 0; in attachBuffer() [all …]
|
D | GLConsumer.cpp | 933 sp<GraphicBuffer> GLConsumer::getCurrentBuffer(int* outSlot) const { in getCurrentBuffer() 936 if (outSlot != nullptr) { in getCurrentBuffer() 937 *outSlot = mCurrentTexture; in getCurrentBuffer()
|
D | IGraphicBufferProducer.cpp | 569 int* outSlot, const sp<GraphicBuffer>& buffer) override { in attachBuffer() argument 570 return mBase->attachBuffer(outSlot, buffer); in attachBuffer()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 107 status_t FramebufferSurface::nextBuffer(uint32_t& outSlot, in nextBuffer() argument 116 &outSlot, &outBuffer); in nextBuffer() 143 &outSlot, &outBuffer); in nextBuffer() 146 mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace); in nextBuffer()
|
D | HWComposerBufferCache.cpp | 30 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer) in getHwcBuffer() argument 41 *outSlot = slot; in getHwcBuffer()
|
D | HWComposerBufferCache.h | 50 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer);
|
D | FramebufferSurface.h | 63 status_t nextBuffer(uint32_t& outSlot, sp<GraphicBuffer>& outBuffer,
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
D | buffer_hub_queue_producer-test.cpp | 117 void DequeueBuffer(int* outSlot) { in DequeueBuffer() argument 119 ASSERT_NO_FATAL_FAILURE(DequeueBuffer(outSlot, &fence)); in DequeueBuffer() 122 void DequeueBuffer(int* outSlot, sp<Fence>* outFence) { in DequeueBuffer() argument 123 ASSERT_NE(nullptr, outSlot); in DequeueBuffer() 127 outSlot, outFence, kDefaultWidth, kDefaultHeight, kDefaultFormat, in DequeueBuffer() 133 ASSERT_LE(0, *outSlot); in DequeueBuffer() 134 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot); in DequeueBuffer()
|
/frameworks/native/libs/gui/include/gui/ |
D | BufferQueueProducer.h | 83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width, 96 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
|
D | BufferHubConsumer.h | 44 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override;
|
D | IGraphicBufferConsumer.h | 109 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) = 0;
|
D | GLConsumer.h | 181 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
|
D | IGraphicBufferProducer.h | 277 virtual status_t attachBuffer(int* outSlot,
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 74 status_t MonitoredProducer::attachBuffer(int* outSlot, in attachBuffer() argument 76 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
|
D | BufferLayerConsumer.cpp | 481 sp<GraphicBuffer> BufferLayerConsumer::getCurrentBuffer(int* outSlot) const { in getCurrentBuffer() 484 if (outSlot != nullptr) { in getCurrentBuffer() 485 *outSlot = mCurrentTexture; in getCurrentBuffer()
|
D | MonitoredProducer.h | 48 virtual status_t attachBuffer(int* outSlot,
|
D | BufferLayerConsumer.h | 157 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
|
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
D | WGraphicBufferProducer.h | 171 int outSlot; in attachBuffer() local 179 status_t status = mBase->attachBuffer(&outSlot, lBuffer); in attachBuffer() 181 _hidl_cb(static_cast<int32_t>(status), static_cast<int32_t>(outSlot)); in attachBuffer()
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.h | 73 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer)
|
/frameworks/native/libs/gui/bufferqueue/1.0/ |
D | H2BGraphicBufferProducer.cpp | 1058 int* outSlot, const sp<GraphicBuffer>& buffer) { in attachBuffer() argument 1063 [&fnStatus, outSlot] (Status status, int32_t slot) { in attachBuffer() 1065 *outSlot = slot; in attachBuffer()
|