Home
last modified time | relevance | path

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

12

/frameworks/native/services/surfaceflinger/
DMonitoredProducer.cpp69 sp<Fence>* outFence) { in detachNextBuffer() argument
70 return mProducer->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
138 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
139 return mProducer->getLastQueuedBuffer(outBuffer, outFence, in getLastQueuedBuffer()
DMonitoredProducer.h47 sp<Fence>* outFence);
66 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DBufferLayerConsumer.cpp390 sp<GraphicBuffer> BufferLayerConsumer::getCurrentBuffer(int* outSlot, sp<Fence>* outFence) const { in getCurrentBuffer()
397 if (outFence != nullptr) { in getCurrentBuffer()
398 *outFence = mCurrentFence; in getCurrentBuffer()
DBufferLayerConsumer.h160 sp<GraphicBuffer> getCurrentBuffer(int* outSlot = nullptr, sp<Fence>* outFence = nullptr) const;
/frameworks/native/services/surfaceflinger/tests/
DBufferGenerator.cpp325 status_t BufferGenerator::get(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in get() argument
334 if (*outFence) { in get()
335 *outFence = nullptr; in get()
364 if (outFence) { in get()
365 *outFence = new Fence(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.h233 static status_t getBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) { in getBuffer() argument
235 return bufferGenerator.get(outBuffer, outFence); in getBuffer()
/frameworks/native/libs/gui/include/gui/
DBufferQueueProducer.h89 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
99 sp<Fence>* outFence);
187 sp<Fence>* outFence, float outTransformMatrix[16]) override;
DIGraphicBufferProducer.h258 sp<Fence>* outFence) = 0;
319 uint32_t* outTransform, sp<Fence>* outFence,
328 *outFence = fence;
620 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
DSurface.h153 sp<Fence>* outFence, float outTransformMatrix[16]);
318 sp<Fence>* outFence);
/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/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp116 sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, in nextBuffer() argument
148 outFence = item.mFence; in nextBuffer()
151 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.h70 sp<Fence>& outFence, ui::Dataspace& outDataspace);
/frameworks/native/libs/gui/
DIGraphicBufferProducer.cpp199 sp<Fence>* outFence) { in detachNextBuffer() argument
203 } else if (outFence == nullptr) { in detachNextBuffer()
226 *outFence = new Fence; in detachNextBuffer()
227 result = reply.read(**outFence); in detachNextBuffer()
230 outFence->clear(); in detachNextBuffer()
457 sp<Fence>* outFence, float outTransformMatrix[16]) override { in getLastQueuedBuffer() argument
490 *outFence = fence; in getLastQueuedBuffer()
598 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override { in detachNextBuffer() argument
599 return mBase->detachNextBuffer(outBuffer, outFence); in detachNextBuffer()
673 sp<Fence>* outFence, in getLastQueuedBuffer() argument
[all …]
DBufferQueueProducer.cpp379 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, in dequeueBuffer() argument
525 *outFence = (mCore->mSharedBufferMode && in dequeueBuffer()
678 sp<Fence>* outFence) { in detachNextBuffer() argument
684 } else if (outFence == nullptr) { in detachNextBuffer()
722 *outFence = mSlots[found].mFence; in detachNextBuffer()
1599 sp<Fence>* outFence, float outTransformMatrix[16]) { in getLastQueuedBuffer() argument
1606 *outFence = Fence::NO_FENCE; in getLastQueuedBuffer()
1611 *outFence = mLastQueueBufferFence; in getLastQueuedBuffer()
/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.h144 sp<Fence> outFence; in detachNextBuffer() local
145 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence); in detachNextBuffer()
157 if ((outFence != nullptr) && !::android::conversion::wrapAs(&tFence, &nh, *outFence)) { 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/nativewindow/include/system/
Dwindow.h1049 AHardwareBuffer** outBuffer, int* outFence, in ANativeWindow_getLastQueuedBuffer() argument
1051 return window->perform(window, NATIVE_WINDOW_GET_LAST_QUEUED_BUFFER, outBuffer, outFence, in ANativeWindow_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()

12