/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | HwcBufferCacheTest.cpp | 27 void getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, uint32_t* outSlot, in getHwcBuffer() argument 29 HwcBufferCache::getHwcBuffer(slot, buffer, outSlot, outBuffer); in getHwcBuffer() 38 uint32_t outSlot; in testSlot() local 42 mCache.getHwcBuffer(inSlot, mBuffer1, &outSlot, &outBuffer); in testSlot() 43 EXPECT_EQ(expectedSlot, outSlot); in testSlot() 47 mCache.getHwcBuffer(inSlot, mBuffer1, &outSlot, &outBuffer); in testSlot() 48 EXPECT_EQ(expectedSlot, outSlot); in testSlot() 52 mCache.getHwcBuffer(inSlot, mBuffer2, &outSlot, &outBuffer); in testSlot() 53 EXPECT_EQ(expectedSlot, outSlot); in testSlot() 57 mCache.getHwcBuffer(inSlot, mBuffer2, &outSlot, &outBuffer); in testSlot() [all …]
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | HwcBufferCache.cpp | 27 void HwcBufferCache::getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, uint32_t* outSlot, in getHwcBuffer() argument 32 *outSlot = 0; in getHwcBuffer() 34 *outSlot = slot; in getHwcBuffer() 37 auto& currentBuffer = mBuffers[*outSlot]; in getHwcBuffer()
|
/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/services/surfaceflinger/DisplayHardware/ |
D | FramebufferSurface.cpp | 106 status_t FramebufferSurface::nextBuffer(uint32_t& outSlot, in nextBuffer() argument 114 mHwcBufferCache.getHwcBuffer(mCurrentBufferSlot, mCurrentBuffer, &outSlot, &outBuffer); in nextBuffer() 140 mHwcBufferCache.getHwcBuffer(mCurrentBufferSlot, mCurrentBuffer, &outSlot, &outBuffer); in nextBuffer() 142 status_t result = mHwc.setClientTarget(mDisplayId, outSlot, outFence, outBuffer, outDataspace); in nextBuffer()
|
D | FramebufferSurface.h | 64 status_t nextBuffer(uint32_t& outSlot, sp<GraphicBuffer>& outBuffer,
|
/frameworks/native/libs/gui/ |
D | BufferQueueProducer.cpp | 356 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, in dequeueBuffer() argument 458 *outSlot = found; in dequeueBuffer() 514 BQ_LOGV("dequeueBuffer: allocating a new buffer for slot %d", *outSlot); in dequeueBuffer() 526 mSlots[*outSlot].mGraphicBuffer = graphicBuffer; in dequeueBuffer() 533 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer() 534 mCore->clearBufferSlotLocked(*outSlot); in dequeueBuffer() 540 mCore->mFreeSlots.insert(*outSlot); in dequeueBuffer() 541 mCore->clearBufferSlotLocked(*outSlot); in dequeueBuffer() 570 *outSlot, in dequeueBuffer() 571 mSlots[*outSlot].mFrameNumber, in dequeueBuffer() [all …]
|
D | BufferQueueConsumer.cpp | 322 status_t BufferQueueConsumer::attachBuffer(int* outSlot, in attachBuffer() argument 326 if (outSlot == nullptr) { in attachBuffer() 379 *outSlot = found; in attachBuffer() 380 ATRACE_BUFFER_INDEX(*outSlot); in attachBuffer() 381 BQ_LOGV("attachBuffer: returning slot %d", *outSlot); in attachBuffer() 383 mSlots[*outSlot].mGraphicBuffer = buffer; in attachBuffer() 384 mSlots[*outSlot].mBufferState.attachConsumer(); in attachBuffer() 385 mSlots[*outSlot].mNeedsReallocation = true; in attachBuffer() 386 mSlots[*outSlot].mFence = Fence::NO_FENCE; in attachBuffer() 387 mSlots[*outSlot].mFrameNumber = 0; in attachBuffer() [all …]
|
D | GLConsumer.cpp | 807 sp<GraphicBuffer> GLConsumer::getCurrentBuffer(int* outSlot) const { in getCurrentBuffer() 810 if (outSlot != nullptr) { in getCurrentBuffer() 811 *outSlot = mCurrentTexture; in getCurrentBuffer()
|
/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 | 84 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width, 97 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 | 182 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
|
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/ |
D | HwcBufferCache.h | 48 void getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, uint32_t* outSlot,
|
/frameworks/native/services/surfaceflinger/ |
D | MonitoredProducer.cpp | 75 status_t MonitoredProducer::attachBuffer(int* outSlot, in attachBuffer() argument 77 return mProducer->attachBuffer(outSlot, buffer); in attachBuffer()
|
D | BufferLayerConsumer.cpp | 386 sp<GraphicBuffer> BufferLayerConsumer::getCurrentBuffer(int* outSlot, sp<Fence>* outFence) const { in getCurrentBuffer() argument 389 if (outSlot != nullptr) { in getCurrentBuffer() 390 *outSlot = mCurrentTexture; in getCurrentBuffer()
|
D | MonitoredProducer.h | 48 virtual status_t attachBuffer(int* outSlot,
|
D | BufferLayerConsumer.h | 160 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr, sp<Fence>* outFence = nullptr) const;
|
/frameworks/native/libs/gui/bufferqueue/2.0/ |
D | H2BGraphicBufferProducer.cpp | 219 int* outSlot, sp<GraphicBuffer> const& buffer) { in attachBuffer() argument 230 [&converted, &bStatus, outSlot]( in attachBuffer() 233 *outSlot = static_cast<int>(hSlot); in attachBuffer()
|
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/ |
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()
|
D | H2BGraphicBufferProducer.h | 72 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer)
|
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/ |
D | H2BGraphicBufferProducer.h | 67 int* outSlot,
|
/frameworks/av/media/codec2/vndk/platform/ |
D | C2BqBuffer.cpp | 741 int *outSlot = &slot; in migrate() local 744 [&converted, &bStatus, outSlot]( in migrate() 747 *outSlot = static_cast<int>(hSlot); in migrate()
|