Home
last modified time | relevance | path

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

12

/hardware/interfaces/graphics/mapper/4.0/utils/vts/
DMapperVts.cpp224 int releaseFence = -1; in unlock() local
232 releaseFence = dup(fenceHandle->data[0]); in unlock()
233 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
240 return releaseFence; in unlock()
246 int releaseFence = -1; in flushLockedBuffer() local
254 releaseFence = dup(fenceHandle->data[0]); in flushLockedBuffer()
255 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in flushLockedBuffer()
262 return releaseFence; in flushLockedBuffer()
/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/common/1.0/default/
DHandleImporter.cpp201 int releaseFence = -1; in unlockInternal() local
214 releaseFence = dup(fenceHandle->data[0]); in unlockInternal()
215 if (releaseFence < 0) { in unlockInternal()
217 __FUNCTION__, releaseFence); in unlockInternal()
224 return releaseFence; in unlockInternal()
/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.cpp749 if (result.v3_2.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
751 result.v3_2.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
756 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
758 buf.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
DExternalCameraUtils.cpp584 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
586 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
591 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
593 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp356 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
365 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureResult()
455 result.outputBuffers[i].releaseFence.setTo(handle, /*shouldOwn*/false); in processCaptureRequestError()
DExternalCameraDeviceSession.cpp262 result.outputBuffers[0].releaseFence.setTo(handle, /*shouldOwn*/false); in switchToOffline()
/hardware/interfaces/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h79 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/interfaces/graphics/mapper/4.0/
DIMapper.hal264 * @return releaseFence Handle containing a file descriptor referring to a
266 * mapper has completed any pending work. @p releaseFence may be an
269 unlock(pointer buffer) generates (Error error, handle releaseFence);
289 * @return releaseFence Handle containing a file descriptor referring to a
291 * mapper has completed any pending work. @p releaseFence may be an
294 flushLockedBuffer(pointer buffer) generates (Error error, handle releaseFence);
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h103 buffer_handle_t buffer, int32_t releaseFence);
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h102 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/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/msm8909/sdm/libs/hwc2/
Dhwc_session.h147 buffer_handle_t buffer, int32_t releaseFence);
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_session.h136 buffer_handle_t buffer, int32_t releaseFence);
/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/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/libhardware/include/hardware/
Dhwcomposer2.h2061 int32_t releaseFence);
2212 buffer_handle_t buffer, int32_t releaseFence);

12