Searched refs:outFence (Results 1 - 24 of 24) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
H A 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);
H A DHwc2TestBuffer.cpp375 int Hwc2TestBuffer::get(buffer_handle_t* outHandle, int32_t* outFence) argument
388 *outFence = mFenceGenerator->get();
692 int32_t* outFence, const Area& bufferArea,
712 *outFence = mFenceGenerator->get();
771 int32_t* outFence)
787 *outFence = -1;
691 get(buffer_handle_t* outHandle, int32_t* outFence, const Area& bufferArea, const Hwc2TestLayers* testLayers, const std::set<hwc2_layer_t>* clientLayers, const std::set<hwc2_layer_t>* clearLayers) argument
770 getOutputBuffer(buffer_handle_t* outHandle, int32_t* outFence) argument
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp70 sp<Fence>* outFence) {
71 return mProducer->detachNextBuffer(outBuffer, outFence);
135 sp<Fence>* outFence, float outTransformMatrix[16]) {
136 return mProducer->getLastQueuedBuffer(outBuffer, outFence,
69 detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) argument
134 getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, float outTransformMatrix[16]) argument
H A DMonitoredProducer.h47 sp<Fence>* outFence);
65 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/include/gui/
H A DBufferQueueProducer.h54 // The outFence parameter will be updated to hold the fence associated with
83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
93 sp<Fence>* outFence);
178 sp<Fence>* outFence, float outTransformMatrix[16]) override;
H A DIGraphicBufferProducer.h237 // equivalent to outBuffer from the requestBuffer call, and outFence is
243 // * BAD_VALUE - either outBuffer or outFence were NULL.
247 sp<Fence>* outFence) = 0;
338 uint32_t* outTransform, sp<Fence>* outFence,
347 *outFence = fence;
595 // the queue, outBuffer will be populated with nullptr and outFence will be
602 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
335 deflate(int64_t* outTimestamp, bool* outIsAutoTimestamp, android_dataspace* outDataSpace, Rect* outCrop, int* outScalingMode, uint32_t* outTransform, sp<Fence>* outFence, uint32_t* outStickyTransform = nullptr, bool* outGetFrameTimestamps = nullptr) const argument
H A DSurface.h138 sp<Fence>* outFence, float outTransformMatrix[16]);
280 sp<Fence>* outFence);
/frameworks/native/libs/gui/include/gui/
H A DBufferQueueProducer.h54 // The outFence parameter will be updated to hold the fence associated with
83 virtual status_t dequeueBuffer(int* outSlot, sp<Fence>* outFence, uint32_t width,
93 sp<Fence>* outFence);
178 sp<Fence>* outFence, float outTransformMatrix[16]) override;
H A DIGraphicBufferProducer.h237 // equivalent to outBuffer from the requestBuffer call, and outFence is
243 // * BAD_VALUE - either outBuffer or outFence were NULL.
247 sp<Fence>* outFence) = 0;
338 uint32_t* outTransform, sp<Fence>* outFence,
347 *outFence = fence;
595 // the queue, outBuffer will be populated with nullptr and outFence will be
602 sp<Fence>* outFence, float outTransformMatrix[16]) = 0;
335 deflate(int64_t* outTimestamp, bool* outIsAutoTimestamp, android_dataspace* outDataSpace, Rect* outCrop, int* outScalingMode, uint32_t* outTransform, sp<Fence>* outFence, uint32_t* outStickyTransform = nullptr, bool* outGetFrameTimestamps = nullptr) const argument
H A DSurface.h138 sp<Fence>* outFence, float outTransformMatrix[16]);
280 sp<Fence>* outFence);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp108 sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence,
141 outFence = item.mFence;
146 mHwc.setClientTarget(mDisplayType, outSlot, outFence, outBuffer, outDataspace);
107 nextBuffer(uint32_t& outSlot, sp<GraphicBuffer>& outBuffer, sp<Fence>& outFence, Dataspace& outDataspace) argument
H A DFramebufferSurface.h64 sp<Fence>& outFence, ui::Dataspace& outDataspace);
H A DVirtualDisplaySurface.h109 sp<Fence>* outFence);
128 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h71 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence)
94 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/libs/gui/include/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.h71 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence)
94 sp<Fence>* outFence, float outTransformMatrix[16]) override;
/frameworks/native/libs/gui/tests/
H A DBufferItemConsumer_test.cpp78 sp<Fence> outFence; local
79 status_t ret = mProducer->dequeueBuffer(&slot, &outFence, kWidth, kHeight, 0, 0,
H A DMalicious.cpp47 status_t detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override {
48 return mProducer->detachNextBuffer(outBuffer, outFence);
89 status_t getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence,
91 return mProducer->getLastQueuedBuffer(outBuffer, outFence, outTransformMatrix);
H A DSurface_test.cpp419 sp<Fence> outFence; local
431 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence));
442 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence));
449 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence));
450 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence));
463 ASSERT_EQ(NO_ERROR, surface->detachNextBuffer(&detachedBuffer, &outFence));
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/
H A DWGraphicBufferProducer.h145 sp<Fence> outFence; variable
146 status_t status = mBase->detachNextBuffer(&outBuffer, &outFence);
158 if ((outFence != nullptr) && !::android::conversion::wrapAs(&tFence, &nh, *outFence)) {
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp192 sp<Fence>* outFence) {
196 } else if (outFence == NULL) {
197 ALOGE("detachNextBuffer: outFence must not be NULL");
219 *outFence = new Fence;
220 result = reply.read(**outFence);
223 outFence->clear();
436 sp<Fence>* outFence, float outTransformMatrix[16]) override {
469 *outFence = fence;
564 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) override {
565 return mBase->detachNextBuffer(outBuffer, outFence);
191 detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) argument
[all...]
H A DBufferQueueProducer.cpp350 status_t BufferQueueProducer::dequeueBuffer(int* outSlot, sp<android::Fence>* outFence, argument
485 *outFence = (mCore->mSharedBufferMode &&
624 sp<Fence>* outFence) {
630 } else if (outFence == NULL) {
631 BQ_LOGE("detachNextBuffer: outFence must not be NULL");
668 *outFence = mSlots[found].mFence;
1495 sp<Fence>* outFence, float outTransformMatrix[16]) {
1502 *outFence = Fence::NO_FENCE;
1507 *outFence = mLastQueueBufferFence;
623 detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) argument
1494 getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, float outTransformMatrix[16]) argument
H A DSurface.cpp150 sp<Fence>* outFence, float outTransformMatrix[16]) {
151 return mGraphicBufferProducer->getLastQueuedBuffer(outBuffer, outFence,
1263 sp<Fence>* outFence) {
1267 if (outBuffer == NULL || outFence == NULL) {
1286 *outFence = fence;
1288 *outFence = Fence::NO_FENCE;
149 getLastQueuedBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, float outTransformMatrix[16]) argument
1262 detachNextBuffer(sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) argument
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp1033 sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) {
1035 *outFence = new Fence();
1038 [&fnStatus, outBuffer, outFence] (
1043 if (!convertTo(outFence->get(), tFence)) {
1191 sp<Fence>* outFence,
1195 [&fnStatus, outBuffer, outFence, &outTransformMatrix] (
1207 *outFence = new Fence();
1208 if (!convertTo(outFence->get(), fence)) {
1032 detachNextBuffer( sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence) argument
1189 getLastQueuedBuffer( sp<GraphicBuffer>* outBuffer, sp<Fence>* outFence, float outTransformMatrix[16]) argument
/frameworks/native/libs/vr/libbufferhubqueue/tests/
H A Dbuffer_hub_queue_producer-test.cpp122 void DequeueBuffer(int* outSlot, sp<Fence>* outFence) { argument
124 ASSERT_NE(nullptr, outFence);
127 outSlot, outFence, kDefaultWidth, kDefaultHeight, kDefaultFormat,

Completed in 182 milliseconds