Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/include/gui/
DBufferQueueProducer.h91 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
101 sp<Fence>* outFence);
189 sp<Fence>* outFence, float outTransformMatrix[16]) override;
192 virtual status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence,
DIGraphicBufferProducer.h264 sp<Fence>* outFence) = 0;
333 uint32_t* outTransform, sp<Fence>* outFence,
343 *outFence = fence;
644 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
655 [[maybe_unused]] sp<Fence>* outFence, in getLastQueuedBuffer() argument
DSurface.h186 sp<Fence>* outFence, float outTransformMatrix[16]);
370 sp<Fence>* outFence);
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp328 status_t BufferGenerator::get(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in get() argument
337 if (*outFence) { in get()
338 *outFence = nullptr; in get()
367 if (outFence) { in get()
368 *outFence = sp<Fence>::make(mFence); in get()
DBufferGenerator.h36 status_t get(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence);
DIPC_test.cpp59 static status_t getBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence);
252 status_t IPCTestUtils::getBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in getBuffer() argument
254 return bufferGenerator.get(outBuffer, outFence); in getBuffer()
DLayerTransactionTest.h251 static status_t getBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in getBuffer() argument
253 return bufferGenerator.get(outBuffer, outFence); in getBuffer()
/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.cpp504 sp<Fence> outFence; in TEST_F() local
516 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
527 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
534 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
535 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
548 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence)); in TEST_F()
/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.h146 sp<Fence> outFence; in detachNextBuffer() local
147 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence); in detachNextBuffer()
159 if ((outFence != nullptr) && !::android::conversion::wrapAs(&tFence, &nh, *outFence)) { in detachNextBuffer()
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp263 sp<Fence>* outFence) { in detachNextBuffer() argument
267 } else if (outFence == nullptr) { in detachNextBuffer()
290 *outFence = new Fence; in detachNextBuffer()
291 result = reply.read(**outFence); in detachNextBuffer()
294 outFence->clear(); in detachNextBuffer()
612 sp<Fence>* outFence, float outTransformMatrix[16]) override { in getLastQueuedBuffer() argument
645 *outFence = fence; in getLastQueuedBuffer()
649 virtual status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, in getLastQueuedBuffer() argument
695 *outFence = fence; in getLastQueuedBuffer()
854 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override { in detachNextBuffer() argument
[all …]
DBufferQueueProducer.cpp391 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, in dequeueBuffer() argument
567 *outFence = (mCore->mSharedBufferMode && in dequeueBuffer()
757 sp<Fence>* outFence) { in detachNextBuffer() argument
763 } else if (outFence == nullptr) { in detachNextBuffer()
801 *outFence = mSlots[found].mFence; in detachNextBuffer()
1735 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
1743 *outFence = Fence::NO_FENCE; in getLastQueuedBuffer()
1748 *outFence = mLastQueueBufferFence; in getLastQueuedBuffer()
1761 status_t BufferQueueProducer::getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, in getLastQueuedBuffer() argument
1770 *outFence = Fence::NO_FENCE; in getLastQueuedBuffer()
[all …]
DSurface.cpp188 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
189 return mGraphicBufferProducer->getLastQueuedBuffer(outBuffer, outFence, in getLastQueuedBuffer()
1946 sp<Fence>* outFence) { in detachNextBuffer() argument
1950 if (outBuffer == nullptr || outFence == nullptr) { in detachNextBuffer()
1969 *outFence = fence; in detachNextBuffer()
1971 *outFence = Fence::NO_FENCE; in detachNextBuffer()
/frameworks/native/libs/nativewindow/include/system/
Dwindow.h1232 AHardwareBuffer** outBuffer, int* outFence, in ANativeWindow_getLastQueuedBuffer() argument
1234 return window->perform(window, NATIVE_WINDOW_GET_LAST_QUEUED_BUFFER, outBuffer, outFence, in ANativeWindow_getLastQueuedBuffer()
1257 AHardwareBuffer** outBuffer, int* outFence, in ANativeWindow_getLastQueuedBuffer2() argument
1259 return window->perform(window, NATIVE_WINDOW_GET_LAST_QUEUED_BUFFER2, outBuffer, outFence, in ANativeWindow_getLastQueuedBuffer2()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DVirtualDisplaySurface.h117 virtual status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence);
134 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/libs/gui/bufferqueue/1.0/
DH2BGraphicBufferProducer.cpp1037 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in detachNextBuffer() argument
1039 *outFence = new Fence(); in detachNextBuffer()
1042 [&fnStatus, outBuffer, outFence] ( in detachNextBuffer()
1047 if (!convertTo(outFence->get(), tFence)) { in detachNextBuffer()
1198 sp<Fence>* outFence, in getLastQueuedBuffer() argument
1202 [&fnStatus, outBuffer, outFence, &outTransformMatrix] ( in getLastQueuedBuffer()
1214 *outFence = new Fence(); in getLastQueuedBuffer()
1215 if (!convertTo(outFence->get(), fence)) { in getLastQueuedBuffer()
/frameworks/native/libs/ui/
DGraphicBufferMapper.cpp170 status_t GraphicBufferMapper::unlock(buffer_handle_t handle, base::unique_fd* outFence) { in unlock() argument
173 if (outFence) { in unlock()
174 *outFence = unique_fd{fence}; in unlock()
/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/ui/include_vndk/ui/
DGraphicBufferMapper.h112 status_t unlock(buffer_handle_t handle, base::unique_fd* outFence = nullptr);
/frameworks/native/libs/ui/include/ui/
DGraphicBufferMapper.h112 status_t unlock(buffer_handle_t handle, base::unique_fd* outFence = nullptr);