Home
last modified time | relevance | path

Searched refs:acquireFence (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/native/libs/ui/
DGralloc2.cpp230 int acquireFence, void** outData, int32_t* outBytesPerPixel, in lock() argument
245 if (acquireFence >= 0) { in lock()
247 h->data[0] = acquireFence; in lock()
264 if (acquireFence >= 0) { in lock()
265 close(acquireFence); in lock()
276 int acquireFence, android_ycbcr* ycbcr) const { in lock() argument
284 if (acquireFence >= 0) { in lock()
286 h->data[0] = acquireFence; in lock()
314 if (acquireFence >= 0) { in lock()
315 close(acquireFence); in lock()
DGralloc3.cpp191 int acquireFence, void** outData, int32_t* outBytesPerPixel, in lock() argument
200 if (acquireFence >= 0) { in lock()
202 h->data[0] = acquireFence; in lock()
224 if (acquireFence >= 0) { in lock()
225 close(acquireFence); in lock()
236 int acquireFence, android_ycbcr* ycbcr) const { in lock() argument
244 if (acquireFence >= 0) { in lock()
246 h->data[0] = acquireFence; in lock()
272 if (acquireFence >= 0) { in lock()
273 close(acquireFence); in lock()
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestVirtualDisplay.cpp46 int32_t acquireFence; in getOutputBuffer() local
47 int ret = mOutputBuffer.getOutputBuffer(outHandle, &acquireFence); in getOutputBuffer()
48 outAcquireFence->reset(acquireFence); in getOutputBuffer()
DHwc2TestLayer.cpp82 int32_t acquireFence; in getBuffer() local
83 int ret = mBuffer.get(outHandle, &acquireFence); in getBuffer()
84 outAcquireFence->reset(acquireFence); in getBuffer()
DHwc2Test.cpp413 buffer_handle_t buffer, int32_t acquireFence, in setLayerBuffer() argument
421 buffer, acquireFence)); in setLayerBuffer()
811 int32_t acquireFence, Dataspace dataspace, in setClientTarget() argument
819 acquireFence, static_cast<int>(dataspace), damage)); in setClientTarget()
1624 int32_t acquireFence; in setLayerProperties() local
1636 && testLayers->getBuffer(layer, &handle, &acquireFence) < 0) in setLayerProperties()
1648 acquireFence)); in setLayerProperties()
1698 int32_t acquireFence; in setClientTarget() local
1702 &acquireFence), 0); in setClientTarget()
1703 EXPECT_NO_FATAL_FAILURE(setClientTarget(display, handle, acquireFence, in setClientTarget()
[all …]
/frameworks/native/libs/ui/include/ui/
DGralloc.h59 int acquireFence, void** outData, int32_t* outBytesPerPixel,
65 int acquireFence, android_ycbcr* ycbcr) const = 0;
DGralloc3.h55 int acquireFence, void** outData, int32_t* outBytesPerPixel,
59 int acquireFence, android_ycbcr* ycbcr) const override;
DGralloc2.h56 int acquireFence, void** outData, int32_t* outBytesPerPixel,
60 int acquireFence, android_ycbcr* ycbcr) const override;
/frameworks/native/services/surfaceflinger/TimeStats/
DTimeStats.cpp114 if (timeRecord->acquireFence != nullptr) { in recordReadyLocked()
115 if (timeRecord->acquireFence->getSignalTime() == Fence::SIGNAL_TIME_PENDING) { in recordReadyLocked()
118 if (timeRecord->acquireFence->getSignalTime() != Fence::SIGNAL_TIME_INVALID) { in recordReadyLocked()
119 timeRecord->frameTime.acquireTime = timeRecord->acquireFence->getSignalTime(); in recordReadyLocked()
120 timeRecord->acquireFence = nullptr; in recordReadyLocked()
351 const std::shared_ptr<FenceTime>& acquireFence) { in setAcquireFence() argument
356 acquireFence->getSignalTime()); in setAcquireFence()
366 timeRecord.acquireFence = acquireFence; in setAcquireFence()
DTimeStats.h56 const std::shared_ptr<FenceTime>& acquireFence) = 0;
86 std::shared_ptr<FenceTime> acquireFence; member
128 const std::shared_ptr<FenceTime>& acquireFence) override;
/frameworks/native/libs/gui/
DFrameTimestamps.cpp66 return acquireFence->isValid(); in hasAcquireInfo()
85 acquireFence->getSignalTime(); in checkFencesForCompletion()
137 true, *acquireFence); in dump()
264 frame->acquireFence = std::move(acquire); in updateAcquireFence()
268 frame->acquireFence = std::make_shared<FenceTime>(frame->postedTime); in updateAcquireFence()
298 frame.acquireFence = FenceTime::NO_FENCE; in applyDelta()
379 newTimestamps.acquireFence = newEntry.acquireFence; in addQueue()
DLayerState.cpp69 if (acquireFence) { in write()
71 output.write(*acquireFence); in write()
145 acquireFence = new Fence(); in read()
147 input.read(*acquireFence); in read()
340 acquireFence = other.acquireFence; in merge()
DBufferQueueProducer.cpp775 sp<Fence> acquireFence; in queueBuffer() local
778 &crop, &scalingMode, &transform, &acquireFence, &stickyTransform, in queueBuffer()
783 if (acquireFence == nullptr) { in queueBuffer()
788 auto acquireFenceTime = std::make_shared<FenceTime>(acquireFence); in queueBuffer()
863 mSlots[slot].mFence = acquireFence; in queueBuffer()
886 item.mFence = acquireFence; in queueBuffer()
1016 mLastQueueBufferFence = std::move(acquireFence); in queueBuffer()
/frameworks/native/libs/ui/include_vndk/ui/
DGralloc2.h56 int acquireFence, void** outData, int32_t* outBytesPerPixel,
60 int acquireFence, android_ycbcr* ycbcr) const override;
/frameworks/native/services/surfaceflinger/
DBufferStateLayer.cpp245 mCurrentState.acquireFence = fence; in setAcquireFence()
379 return getDrawingState().acquireFence->getStatus() == Fence::Status::Signaled; in fenceHasSignaled()
395 return std::make_shared<FenceTime>(getDrawingState().acquireFence); in getCurrentFenceTime()
497 return engine.bindExternalTextureBuffer(mTextureName, s.buffer, s.acquireFence); in bindTextureImage()
572 mActiveBufferFence = s.acquireFence; in updateActiveBuffer()
599 auto error = hwcLayer->setBuffer(hwcSlot, buffer, s.acquireFence); in setHwcLayerBuffer()
DBufferQueueLayer.cpp414 auto acquireFence = mConsumer->getCurrentFence(); in setHwcLayerBuffer() local
415 auto error = hwcLayer->setBuffer(hwcSlot, hwcBuffer, acquireFence); in setHwcLayerBuffer()
424 layerCompositionState.acquireFence = acquireFence; in setHwcLayerBuffer()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DFramebufferSurface.cpp95 sp<Fence> acquireFence(Fence::NO_FENCE); in advanceFrame() local
97 status_t result = nextBuffer(slot, buf, acquireFence, dataspace); in advanceFrame()
DHWComposer.h78 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target,
113 virtual status_t setOutputBuffer(DisplayId displayId, const sp<Fence>& acquireFence,
216 status_t setClientTarget(DisplayId displayId, uint32_t slot, const sp<Fence>& acquireFence,
251 status_t setOutputBuffer(DisplayId displayId, const sp<Fence>& acquireFence,
DHWC2.h251 const android::sp<android::Fence>& acquireFence, android::ui::Dataspace dataspace) = 0;
313 const android::sp<android::Fence>& acquireFence,
373 const android::sp<android::Fence>& acquireFence) = 0;
411 const android::sp<android::Fence>& acquireFence) override;
DComposerHal.h136 int acquireFence, Dataspace dataspace,
157 const sp<GraphicBuffer>& buffer, int acquireFence) = 0;
351 int acquireFence, Dataspace dataspace,
371 const sp<GraphicBuffer>& buffer, int acquireFence) override;
DHWComposer.cpp391 const sp<Fence>& acquireFence, const sp<GraphicBuffer>& target, in setClientTarget() argument
397 auto error = hwcDisplay->setClientTarget(slot, target, acquireFence, dataspace); in setClientTarget()
695 status_t HWComposer::setOutputBuffer(DisplayId displayId, const sp<Fence>& acquireFence, in setOutputBuffer() argument
705 auto error = displayData.hwcDisplay->setOutputBuffer(buffer, acquireFence); in setOutputBuffer()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3IOStreamBase.cpp155 int acquireFence, in handoutBufferLocked() argument
167 buffer.acquire_fence = acquireFence; in handoutBufferLocked()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h89 sp<Fence> acquireFence; member
/frameworks/native/libs/gui/include/gui/
DFrameTimestamps.h93 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE};
175 std::shared_ptr<FenceTime> acquireFence{FenceTime::NO_FENCE};
/frameworks/native/services/surfaceflinger/tests/fakehwc/
DFakeComposerClient.h94 Error setClientTarget(Display display, buffer_handle_t target, int32_t acquireFence,
107 int32_t acquireFence) override;

12