Home
last modified time | relevance | path

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

12

/hardware/intel/img/psb_video/src/android/
Dpsb_gralloc.cpp111 int releaseFence = -1; in gralloc_unlock() local
112 err = gralloc_unlock_async_img(mGralloc, handle, &releaseFence); in gralloc_unlock()
113 if (releaseFence >= 0) { in gralloc_unlock()
114 sync_wait(releaseFence, -1); in gralloc_unlock()
115 close(releaseFence); in gralloc_unlock()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp202 int releaseFence = -1; in unlock() local
214 releaseFence = dup(fenceHandle->data[0]); in unlock()
215 if (releaseFence <= 0) { in unlock()
217 __FUNCTION__, releaseFence); in unlock()
225 return releaseFence; in unlock()
/hardware/interfaces/sensors/1.0/vts/functional/
DGrallocWrapper.cpp204 int releaseFence = -1; in unlock() local
217 releaseFence = dup(fenceHandle->data[0]); in unlock()
218 if (releaseFence < 0){ in unlock()
229 return releaseFence; in unlock()
/hardware/intel/common/utils/ISV/base/
Disv_bufmanager.cpp141 int err, releaseFence = -1; in clearIfNeed() local
155 gralloc_unlock_async_img(mpGralloc, (buffer_handle_t)mGrallocHandle, &releaseFence); in clearIfNeed()
156 if (releaseFence >= 0) { in clearIfNeed()
157 sync_wait(releaseFence, -1); in clearIfNeed()
158 close(releaseFence); in clearIfNeed()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp120 int err, releaseFence = -1; in gfx_unlock() local
129 err = gralloc_unlock_async_img(gGralloc, handle, &releaseFence); in gfx_unlock()
130 if (releaseFence >= 0) { in gfx_unlock()
131 sync_wait(releaseFence, -1); in gfx_unlock()
132 close(releaseFence); in gfx_unlock()
146 int err, releaseFence = -1; in gfx_Blit() local
156 0, -1, &releaseFence); in gfx_Blit()
157 if (releaseFence >= 0) { in gfx_Blit()
158 sync_wait(releaseFence, -1); in gfx_Blit()
159 close(releaseFence); in gfx_Blit()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp222 int releaseFence = -1; in unlock() local
230 releaseFence = dup(fenceHandle->data[0]); in unlock()
231 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
238 return releaseFence; in unlock()
/hardware/intel/img/hwcomposer/merrifield/include/pvr/hal/
Dimg_gralloc.h67 (const gralloc_module_t *g, buffer_handle_t handle, int *releaseFence) in gralloc0_unlock_async_img() argument
69 return g->unlockAsync(g, handle, releaseFence); in gralloc0_unlock_async_img()
Dhal_public.h142 (const hw_device_t *d, buffer_handle_t handle, int *releaseFence) in gralloc_unlock_async_img() argument
146 handle, releaseFence); in gralloc_unlock_async_img()
149 handle, releaseFence); in gralloc_unlock_async_img()
Dimg_gralloc1.h214 (gralloc1_device_t *g, buffer_handle_t handle, int *releaseFence) in gralloc1_unlock_async_img() argument
225 *releaseFence = releaseFence32; in gralloc1_unlock_async_img()
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/pvr/hal/
Dimg_gralloc.h67 (const gralloc_module_t *g, buffer_handle_t handle, int *releaseFence) in gralloc0_unlock_async_img() argument
69 return g->unlockAsync(g, handle, releaseFence); in gralloc0_unlock_async_img()
Dhal_public.h142 (const hw_device_t *d, buffer_handle_t handle, int *releaseFence) in gralloc_unlock_async_img() argument
146 handle, releaseFence); in gralloc_unlock_async_img()
149 handle, releaseFence); in gralloc_unlock_async_img()
Dimg_gralloc1.h214 (gralloc1_device_t *g, buffer_handle_t handle, int *releaseFence) in gralloc1_unlock_async_img() argument
225 *releaseFence = releaseFence32; in gralloc1_unlock_async_img()
/hardware/interfaces/camera/device/3.2/default/
DCameraDeviceSession.cpp431 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
433 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
438 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
440 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
451 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in moveStreamBuffer()
452 src.releaseFence = nullptr; in moveStreamBuffer()
454 dst.releaseFence = handle; in moveStreamBuffer()
455 if (handle != dst.releaseFence.getNativeHandle()) { in moveStreamBuffer()
463 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in pushStreamBuffer()
464 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/graphics/composer/2.2/utils/vts/include/composer-vts/2.2/
DComposerVts.h77 void setReadbackBuffer(Display display, const native_handle_t* buffer, int32_t releaseFence);
/hardware/interfaces/camera/device/3.4/default/
DCameraDeviceSession.cpp699 if (result.v3_2.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
701 result.v3_2.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
706 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences_3_4()
708 buf.releaseFence.getNativeHandle()); in freeReleaseFences_3_4()
/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/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/libhardware/include/hardware/
Dhwcomposer2.h1727 int32_t releaseFence);
1878 buffer_handle_t buffer, int32_t releaseFence);
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal223 * @return releaseFence, when non-empty, is a handle containing a file
231 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);

12