Home
last modified time | relevance | path

Searched refs:releaseFence (Results 1 – 25 of 27) 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/intel/common/utils/ISV/base/
Disv_bufmanager.cpp139 int err, releaseFence = -1; in clearIfNeed() local
153 gralloc_unlock_async_img(mpGralloc, (buffer_handle_t)mGrallocHandle, &releaseFence); in clearIfNeed()
154 if (releaseFence >= 0) { in clearIfNeed()
155 sync_wait(releaseFence, -1); in clearIfNeed()
156 close(releaseFence); in clearIfNeed()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperTestUtils.cpp234 int releaseFence = -1; in unlock() local
245 releaseFence = dup(fenceHandle->data[0]); in unlock()
246 ASSERT_LT(0, releaseFence) << "failed to dup fence fd"; in unlock()
254 return releaseFence; in unlock()
/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/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.cpp403 if (result.inputBuffer.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
405 result.inputBuffer.releaseFence.getNativeHandle()); in freeReleaseFences()
410 if (buf.releaseFence.getNativeHandle() != nullptr) { in freeReleaseFences()
412 buf.releaseFence.getNativeHandle()); in freeReleaseFences()
423 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in moveStreamBuffer()
424 src.releaseFence = nullptr; in moveStreamBuffer()
426 dst.releaseFence = handle; in moveStreamBuffer()
427 if (handle != dst.releaseFence.getNativeHandle()) { in moveStreamBuffer()
435 const native_handle_t* handle = src.releaseFence.getNativeHandle(); in pushStreamBuffer()
436 src.releaseFence = nullptr; in pushStreamBuffer()
[all …]
/hardware/interfaces/graphics/allocator/2.0/default/
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.1/default/
DHwc.cpp508 int32_t releaseFence) in setOutputBuffer() argument
511 releaseFence); in setOutputBuffer()
513 if (err == HWC2_ERROR_NONE && releaseFence >= 0) { in setOutputBuffer()
514 close(releaseFence); in setOutputBuffer()
DComposerBase.h81 int32_t releaseFence) = 0;
DIComposerCommandBuffer.h276 int releaseFence) in setOutputBuffer() argument
282 writeFence(releaseFence); in setOutputBuffer()
DHwc.h107 int32_t releaseFence) override;
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_session.h100 buffer_handle_t buffer, int32_t releaseFence);
Dhwc_session.cpp527 buffer_handle_t buffer, int32_t releaseFence) { in SetOutputBuffer() argument
535 auto status = vds->SetOutputBuffer(buffer, releaseFence); in SetOutputBuffer()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_session.h102 buffer_handle_t buffer, int32_t releaseFence);
Dhwc_session.cpp534 buffer_handle_t buffer, int32_t releaseFence) { in SetOutputBuffer() argument
542 auto status = vds->SetOutputBuffer(buffer, releaseFence); in SetOutputBuffer()
/hardware/interfaces/graphics/mapper/2.0/
DIMapper.hal223 * @return releaseFence, when non-empty, is a handle containing a file
231 handle 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()
DHWC2On1Adapter.h219 int32_t releaseFence);
/hardware/libhardware/include/hardware/
Dhwcomposer2.h1567 int32_t releaseFence);
/hardware/interfaces/camera/device/3.2/
Dtypes.hal486 * releaseFence of the buffer to be the acquireFence passed to it by the
501 * After signaling the releaseFence for this buffer, the HAL
508 handle releaseFence;

12