Home
last modified time | relevance | path

Searched refs:outFence (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestBuffer.h39 int get(buffer_handle_t* outHandle, int32_t* outFence);
61 int get(buffer_handle_t* outHandle, int32_t* outFence,
105 int getOutputBuffer(buffer_handle_t* outHandle, int32_t* outFence);
DHwc2TestBuffer.cpp375 int Hwc2TestBuffer::get(buffer_handle_t* outHandle, int32_t* outFence) in get() argument
388 *outFence = mFenceGenerator->get(); in get()
692 int32_t* outFence, const Area& bufferArea, in get() argument
712 *outFence = mFenceGenerator->get(); in get()
771 int32_t* outFence) in getOutputBuffer() argument
787 *outFence = -1; in getOutputBuffer()
/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp71 sp<Fence>* outFence) { in detachNextBuffer() argument
72 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
140 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
141 return mProducer->getLastQueuedBuffer(outBuffer, outFence, in getLastQueuedBuffer()
DMonitoredProducer.h47 sp<Fence>* outFence);
66 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DBufferLayerConsumer.cpp386 sp<GraphicBuffer> BufferLayerConsumer::getCurrentBuffer(int* outSlot, sp<Fence>* outFence) const { in getCurrentBuffer()
393 if (outFence != nullptr) { in getCurrentBuffer()
394 *outFence = mCurrentFence; in getCurrentBuffer()
DBufferLayerConsumer.h160 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr, sp<Fence>* outFence = nullptr) const;
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp321 status_t BufferGenerator::get(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in get() argument
330 if (*outFence) { in get()
331 *outFence = nullptr; in get()
360 if (outFence) { in get()
361 *outFence = new Fence(mFence); in get()
DBufferGenerator.h36 status_t get(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence);
/frameworks/native/libs/gui/include/gui/
DBufferQueueProducer.h84 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
94 sp<Fence>* outFence);
182 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DIGraphicBufferProducer.h256 sp<Fence>* outFence) = 0;
347 uint32_t* outTransform, sp<Fence>* outFence,
356 *outFence = fence;
618 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
DSurface.h154 sp<Fence>* outFence, float outTransformMatrix[16]);
299 sp<Fence>* outFence);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp107 sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, in nextBuffer() argument
139 outFence = item.mFence; in nextBuffer()
142 status_t result = mHwc.setClientTarget(mDisplayId, outSlot, outFence, outBuffer, outDataspace); in nextBuffer()
DVirtualDisplaySurface.h112 sp<Fence>* outFence);
131 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DFramebufferSurface.h65 sp<Fence>& outFence, ui::Dataspace& outDataspace);
/frameworks/native/libs/gui/tests/
DMalicious.cpp47 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override { in detachNextBuffer() argument
48 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
89 status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, in getLastQueuedBuffer() argument
91 return mProducer->getLastQueuedBuffer(outBuffer, outFence, outTransformMatrix); in getLastQueuedBuffer()
DBufferItemConsumer_test.cpp78 sp<Fence> outFence; in DequeueBuffer() local
79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0, in DequeueBuffer()
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
DH2BGraphicBufferProducer.h65 sp<Fence>* outFence) override;
94 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h70 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence)
93 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DWGraphicBufferProducer.h145 sp<Fence> outFence; in detachNextBuffer() local
146 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence); in detachNextBuffer()
158 if ((outFence != nullptr) && !::android::conversion::wrapAs(&tFence, &nh, *outFence)) { in detachNextBuffer()
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp198 sp<Fence>* outFence) { in detachNextBuffer() argument
202 } else if (outFence == nullptr) { in detachNextBuffer()
225 *outFence = new Fence; in detachNextBuffer()
226 result = reply.read(**outFence); in detachNextBuffer()
229 outFence->clear(); in detachNextBuffer()
456 sp<Fence>* outFence, float outTransformMatrix[16]) override { in getLastQueuedBuffer() argument
489 *outFence = fence; in getLastQueuedBuffer()
586 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override { in detachNextBuffer() argument
587 return mBase->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
661 sp<Fence>* outFence, in getLastQueuedBuffer() argument
[all …]
DBufferQueueProducer.cpp356 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, in dequeueBuffer() argument
498 *outFence = (mCore->mSharedBufferMode && in dequeueBuffer()
637 sp<Fence>* outFence) { in detachNextBuffer() argument
643 } else if (outFence == nullptr) { in detachNextBuffer()
681 *outFence = mSlots[found].mFence; in detachNextBuffer()
1538 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
1545 *outFence = Fence::NO_FENCE; in getLastQueuedBuffer()
1550 *outFence = mLastQueueBufferFence; in getLastQueuedBuffer()
DSurface.cpp153 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
154 return mGraphicBufferProducer->getLastQueuedBuffer(outBuffer, outFence, in getLastQueuedBuffer()
1360 sp<Fence>* outFence) { in detachNextBuffer() argument
1364 if (outBuffer == nullptr || outFence == nullptr) { in detachNextBuffer()
1383 *outFence = fence; in detachNextBuffer()
1385 *outFence = Fence::NO_FENCE; in detachNextBuffer()
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp1038 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in detachNextBuffer() argument
1040 *outFence = new Fence(); in detachNextBuffer()
1043 [&fnStatus, outBuffer, outFence] ( in detachNextBuffer()
1048 if (!convertTo(outFence->get(), tFence)) { in detachNextBuffer()
1196 sp<Fence>* outFence, in getLastQueuedBuffer() argument
1200 [&fnStatus, outBuffer, outFence, &outTransformMatrix] ( in getLastQueuedBuffer()
1212 *outFence = new Fence(); in getLastQueuedBuffer()
1213 if (!convertTo(outFence->get(), fence)) { in getLastQueuedBuffer()
/frameworks/native/libs/gui/bufferqueue/2.0/
DH2BGraphicBufferProducer.cpp195 sp<GraphicBuffer>* outBuffer, sp<BFence>* outFence) { in detachNextBuffer() argument
199 [&converted, &bStatus, outBuffer, outFence] ( in detachNextBuffer()
205 h2b(hFence, outFence); in detachNextBuffer()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp122 void DequeueBuffer(int* outSlot, sp<Fence>* outFence) { in DequeueBuffer() argument
124 ASSERT_NE(nullptr, outFence); in DequeueBuffer()
127 outSlot, outFence, kDefaultWidth, kDefaultHeight, kDefaultFormat, in DequeueBuffer()

12