Searched refs:outSlot (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposerBufferCache.cpp30 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer)
41 *outSlot = slot;
28 getHwcBuffer(int slot, const sp<GraphicBuffer>& buffer, uint32_t* outSlot, sp<GraphicBuffer>* outBuffer) argument
H A DHWComposerBufferCache.h50 uint32_t* outSlot, sp<GraphicBuffer>* outBuffer);
H A DFramebufferSurface.cpp107 status_t FramebufferSurface::nextBuffer(uint32_t& outSlot, argument
116 &outSlot, &outBuffer);
143 &outSlot, &outBuffer);
146 mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
H A DFramebufferSurface.h63 status_t nextBuffer(uint32_t& outSlot, sp<GraphicBuffer>& outBuffer,
/frameworks/native/libs/gui/tests/
H A DBufferItemConsumer_test.cpp74 void DequeueBuffer(int* outSlot) { argument
75 ASSERT_NE(outSlot, nullptr);
88 *outSlot = slot;
101 void AcquireBuffer(int* outSlot) { argument
102 ASSERT_NE(outSlot, nullptr);
108 *outSlot = buffer.mSlot;
H A DMalicious.cpp50 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override {
51 return mProducer->attachBuffer(outSlot, buffer);
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp350 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, argument
445 *outSlot = found;
501 BQ_LOGV("dequeueBuffer: allocating a new buffer for slot %d", *outSlot);
513 mSlots[*outSlot].mGraphicBuffer = graphicBuffer;
520 mCore->mFreeSlots.insert(*outSlot);
521 mCore->clearBufferSlotLocked(*outSlot);
527 mCore->mFreeSlots.insert(*outSlot);
528 mCore->clearBufferSlotLocked(*outSlot);
557 *outSlot,
558 mSlots[*outSlot]
681 attachBuffer(int* outSlot, const sp<android::GraphicBuffer>& buffer) argument
[all...]
H A DBufferQueueConsumer.cpp320 status_t BufferQueueConsumer::attachBuffer(int* outSlot, argument
324 if (outSlot == NULL) {
325 BQ_LOGE("attachBuffer: outSlot must not be NULL");
377 *outSlot = found;
378 ATRACE_BUFFER_INDEX(*outSlot);
379 BQ_LOGV("attachBuffer: returning slot %d", *outSlot);
381 mSlots[*outSlot].mGraphicBuffer = buffer;
382 mSlots[*outSlot].mBufferState.attachConsumer();
383 mSlots[*outSlot].mNeedsReallocation = true;
384 mSlots[*outSlot]
[all...]
/frameworks/native/include/gui/
H A DBufferQueueProducer.h83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
96 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
H A DBufferHubConsumer.h44 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override;
H A DIGraphicBufferConsumer.h104 // * BAD_VALUE - outSlot or buffer were NULL, or the generation number of the buffer did not
109 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) = 0;
H A DGLConsumer.h179 // When outSlot is not nullptr, the current buffer slot index is also
181 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
H A DIGraphicBufferProducer.h263 // * BAD_VALUE - outSlot or buffer were NULL, invalid combination of
277 virtual status_t attachBuffer(int* outSlot,
/frameworks/native/libs/gui/include/gui/
H A DBufferQueueProducer.h83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
96 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer);
H A DBufferHubConsumer.h44 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) override;
H A DIGraphicBufferConsumer.h104 // * BAD_VALUE - outSlot or buffer were NULL, or the generation number of the buffer did not
109 virtual status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer) = 0;
H A DGLConsumer.h179 // When outSlot is not nullptr, the current buffer slot index is also
181 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr) const;
H A DIGraphicBufferProducer.h263 // * BAD_VALUE - outSlot or buffer were NULL, invalid combination of
277 virtual status_t attachBuffer(int* outSlot,
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp74 status_t MonitoredProducer::attachBuffer(int* outSlot, argument
76 return mProducer->attachBuffer(outSlot, buffer);
H A DMonitoredProducer.h48 virtual status_t attachBuffer(int* outSlot,
H A DBufferLayerConsumer.cpp481 sp<GraphicBuffer> BufferLayerConsumer::getCurrentBuffer(int* outSlot) const {
484 if (outSlot != nullptr) {
485 *outSlot = mCurrentTexture;
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp117 void DequeueBuffer(int* outSlot) { argument
119 ASSERT_NO_FATAL_FAILURE(DequeueBuffer(outSlot, &fence));
122 void DequeueBuffer(int* outSlot, sp<Fence>* outFence) { argument
123 ASSERT_NE(nullptr, outSlot);
127 outSlot, outFence, kDefaultWidth, kDefaultHeight, kDefaultFormat,
133 ASSERT_LE(0, *outSlot);
134 ASSERT_GT(BufferQueueDefs::NUM_BUFFER_SLOTS, *outSlot);
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
H A DWGraphicBufferProducer.h171 int outSlot; variable
179 status_t status = mBase->attachBuffer(&outSlot, lBuffer);
181 _hidl_cb(static_cast<int32_t>(status), static_cast<int32_t>(outSlot));
/frameworks/native/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h73 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer)
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h73 status_t attachBuffer(int* outSlot, const sp<GraphicBuffer>& buffer)

Completed in 57 milliseconds

12