Home
last modified time | relevance | path

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

/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.cpp70 sp<Fence>* outFence) { in detachNextBuffer() argument
71 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
135 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
136 return mProducer->getLastQueuedBuffer(outBuffer, outFence, in getLastQueuedBuffer()
DMonitoredProducer.h47 sp<Fence>* outFence);
65 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/libs/gui/include/gui/
DBufferQueueProducer.h83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
93 sp<Fence>* outFence);
178 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DIGraphicBufferProducer.h247 sp<Fence>* outFence) = 0;
338 uint32_t* outTransform, sp<Fence>* outFence,
347 *outFence = fence;
602 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
DSurface.h138 sp<Fence>* outFence, float outTransformMatrix[16]);
280 sp<Fence>* outFence);
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp108 sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, in nextBuffer() argument
141 outFence = item.mFence; in nextBuffer()
146 mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace); in nextBuffer()
DVirtualDisplaySurface.h109 sp<Fence>* outFence);
128 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DFramebufferSurface.h64 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()
DSurface_test.cpp419 sp<Fence> outFence; in TEST_F() local
431 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
442 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
449 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
450 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
463 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.h71 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence)
94 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp192 sp<Fence>* outFence) { in detachNextBuffer() argument
196 } else if (outFence == NULL) { in detachNextBuffer()
219 *outFence = new Fence; in detachNextBuffer()
220 result = reply.read(**outFence); in detachNextBuffer()
223 outFence->clear(); in detachNextBuffer()
436 sp<Fence>* outFence, float outTransformMatrix[16]) override { in getLastQueuedBuffer() argument
469 *outFence = fence; in getLastQueuedBuffer()
564 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override { in detachNextBuffer() argument
565 return mBase->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
635 sp<Fence>* outFence, in getLastQueuedBuffer() argument
[all …]
DBufferQueueProducer.cpp350 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, in dequeueBuffer() argument
485 *outFence = (mCore->mSharedBufferMode && in dequeueBuffer()
624 sp<Fence>* outFence) { in detachNextBuffer() argument
630 } else if (outFence == NULL) { in detachNextBuffer()
668 *outFence = mSlots[found].mFence; in detachNextBuffer()
1495 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
1502 *outFence = Fence::NO_FENCE; in getLastQueuedBuffer()
1507 *outFence = mLastQueueBufferFence; in getLastQueuedBuffer()
DSurface.cpp150 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
151 return mGraphicBufferProducer->getLastQueuedBuffer(outBuffer, outFence, in getLastQueuedBuffer()
1263 sp<Fence>* outFence) { in detachNextBuffer() argument
1267 if (outBuffer == NULL || outFence == NULL) { in detachNextBuffer()
1286 *outFence = fence; in detachNextBuffer()
1288 *outFence = Fence::NO_FENCE; in detachNextBuffer()
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
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/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp1033 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in detachNextBuffer() argument
1035 *outFence = new Fence(); in detachNextBuffer()
1038 [&fnStatus, outBuffer, outFence] ( in detachNextBuffer()
1043 if (!convertTo(outFence->get(), tFence)) { in detachNextBuffer()
1191 sp<Fence>* outFence, in getLastQueuedBuffer() argument
1195 [&fnStatus, outBuffer, outFence, &outTransformMatrix] ( in getLastQueuedBuffer()
1207 *outFence = new Fence(); in getLastQueuedBuffer()
1208 if (!convertTo(outFence->get(), fence)) { in getLastQueuedBuffer()
/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()