Home
last modified time | relevance | path

Searched refs:releaseFence (Results 1 – 25 of 37) sorted by relevance

12

/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp114 int releaseFence = -1; in unlockInternal() local
127 releaseFence = dup(fenceHandle->data[0]); in unlockInternal()
128 if (releaseFence < 0) { in unlockInternal()
130 __FUNCTION__, releaseFence); in unlockInternal()
137 return releaseFence; in unlockInternal()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp220 int releaseFence = -1; in unlock() local
228 releaseFence = dup(fenceHandle->data[0]); in unlock()
229 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
236 return releaseFence; in unlock()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp242 int releaseFence = -1; in unlock() local
250 releaseFence = dup(fenceHandle->data[0]); in unlock()
251 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
258 return releaseFence; in unlock()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp487 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
489 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
494 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
496 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
507 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in moveStreamBuffer()
508 src.releaseFence = nullptr; in moveStreamBuffer()
510 dst.releaseFence = handle; in moveStreamBuffer()
511 if (handle != dst.releaseFence.getNativeHandle()) { in moveStreamBuffer()
519 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in pushStreamBuffer()
520 src.releaseFence = nullptr; in pushStreamBuffer()
[all …]
/hardware/interfaces/graphics/allocator/2.0/utils/gralloc1-adapter/
DGralloc1On0Adapter.h430 int releaseFence = -1; in unlockHook() local
431 auto error = adapter->unlock(buffer, &releaseFence); in unlockHook()
433 *outReleaseFenceFd = releaseFence; in unlockHook()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h83 const hidl_handle& releaseFence) override { in setReadbackBuffer() argument
85 Error error = getFenceFd(releaseFence, &fenceFd); in setReadbackBuffer()
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp750 if (result.v3_2.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
752 result.v3_2.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
757 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
759 buf.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
DExternalCameraDeviceSession.cpp819 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureRequestError()
859 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
868 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
928 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
930 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
935 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
937 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h78 void setReadbackBuffer(Display display, const native_handle_t* buffer, int32_t releaseFence);
/hardware/interfaces/graphics/composer/2.1/utils/passthrough/include/composer-passthrough/2.1/
DHwcHal.h317 Error setOutputBuffer(Display display, buffer_handle_t buffer, int32_t releaseFence) override { in setOutputBuffer() argument
318 int32_t err = mDispatch.setOutputBuffer(mDevice, display, buffer, releaseFence); in setOutputBuffer()
320 if (err == HWC2_ERROR_NONE && releaseFence >= 0) { in setOutputBuffer()
321 close(releaseFence); in setOutputBuffer()
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerHal.h102 int32_t releaseFence) = 0;
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal281 * @return releaseFence Handle containing a file descriptor referring to a
283 * mapper has completed any pending work. @p releaseFence may be an
286 unlock(pointer buffer) generates (Error error, handle releaseFence);
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h102 buffer_handle_t buffer, int32_t releaseFence);
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h103 buffer_handle_t buffer, int32_t releaseFence);
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal226 * @return releaseFence, when non-empty, is a handle containing a file
234 handle releaseFence);
/hardware/libhardware/include/hardware/
Dhwcomposer2.h1887 int32_t releaseFence);
2038 buffer_handle_t buffer, int32_t releaseFence);
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h255 void setOutputBuffer(uint32_t slot, const native_handle_t* buffer, int releaseFence) { in setOutputBuffer() argument
259 writeFence(releaseFence); in setOutputBuffer()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.h136 buffer_handle_t buffer, int32_t releaseFence);
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_session.h147 buffer_handle_t buffer, int32_t releaseFence);
/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp568 [&err, &fence](const auto &maperr, const auto &releaseFence) { in unmap() argument
571 (void) releaseFence; in unmap()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp735 auto releaseFence = layer->getReleaseFence(); in getReleaseFences() local
736 if (releaseFence != MiniFence::NO_FENCE) { in getReleaseFences()
739 outFences[numWritten] = releaseFence->dup(); in getReleaseFences()
891 int32_t releaseFence) { in setOutputBuffer() argument
894 ALOGV("[%" PRIu64 "] setOutputBuffer(%p, %d)", mId, buffer, releaseFence); in setOutputBuffer()
896 mOutputBuffer.setFence(releaseFence); in setOutputBuffer()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp781 auto releaseFence = layer->getReleaseFence(); in getReleaseFences() local
782 if (releaseFence != Fence::NO_FENCE) { in getReleaseFences()
785 outFences[numWritten] = releaseFence->dup(); in getReleaseFences()
939 int32_t releaseFence) in setOutputBuffer() argument
943 ALOGV("[%" PRIu64 "] setOutputBuffer(%p, %d)", mId, buffer, releaseFence); in setOutputBuffer()
945 mOutputBuffer.setFence(releaseFence); in setOutputBuffer()
/hardware/interfaces/camera/device/3.5/default/
DCameraDeviceSession.cpp331 hBufs[i].releaseFence.setTo(handle, /*shouldOwn*/true); in returnStreamBuffers()
/hardware/qcom/sdm845/display/sdm/libs/hwc2/
Dhwc_session.h163 buffer_handle_t buffer, int32_t releaseFence);
/hardware/interfaces/graphics/composer/2.2/
DIComposerClient.hal250 * @param releaseFence - a sync fence file descriptor as described in setOutputBuffer
260 setReadbackBuffer(Display display, handle buffer, handle releaseFence) generates (Error error);

12