/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_fence.c | 41 int fence_fd; member 48 if (fence->fence_fd != -1) in etna_fence_destroy() 49 close(fence->fence_fd); in etna_fence_destroy() 68 if (fence->fence_fd != -1) in etna_screen_fence_finish() 69 return !sync_wait(fence->fence_fd, timeout / 1000000); in etna_screen_fence_finish() 92 if (pfence->fence_fd != -1) in etna_fence_server_sync() 93 sync_accumulate("etnaviv", &ctx->in_fence_fd, pfence->fence_fd); in etna_fence_server_sync() 100 return os_dupfd_cloexec(pfence->fence_fd); in etna_screen_fence_get_fd() 104 etna_fence_create(struct pipe_context *pctx, int fence_fd) in etna_fence_create() argument 117 fence->fence_fd = fence_fd; in etna_fence_create()
|
D | etnaviv_fence.h | 47 etna_fence_create(struct pipe_context *pctx, int fence_fd);
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_fence.c | 108 close(fence->submit_fence.fence_fd); in fd_fence_destroy() 150 int ret = sync_wait(fence->submit_fence.fence_fd, timeout / 1000000); in fd_fence_finish() 161 fence_create(struct fd_context *ctx, struct fd_batch *batch, int fence_fd, in fence_create() argument 178 fence->submit_fence.fence_fd = fence_fd; in fence_create() 179 fence->submit_fence.use_fence_fd = (fence_fd != -1); in fence_create() 232 if (sync_accumulate("freedreno", &ctx->in_fence_fd, fence->submit_fence.fence_fd)) { in fd_fence_server_sync() 261 return os_dupfd_cloexec(fence->submit_fence.fence_fd); in fd_fence_get_fd()
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
D | platform_ohos.c | 211 int fence_fd; in ohos_window_dequeue_buffer() local 214 &fence_fd)) in ohos_window_dequeue_buffer() 234 if (fence_fd >= 0) { in ohos_window_dequeue_buffer() 240 sync_wait(fence_fd, timeout); in ohos_window_dequeue_buffer() 241 close(fence_fd); in ohos_window_dequeue_buffer() 294 int fence_fd = dri2_surf->out_fence_fd; in ohos_window_enqueue_buffer() local 296 ANativeWindow_queueBuffer(dri2_surf->window, dri2_surf->buffer, fence_fd); in ohos_window_enqueue_buffer() 315 int fence_fd = dri2_surf->out_fence_fd; in ohos_window_cancel_buffer() local 319 fence_fd); in ohos_window_cancel_buffer() 922 ohos_display_shared_buffer(__DRIdrawable *driDrawable, int fence_fd, in ohos_display_shared_buffer() argument [all …]
|
D | platform_android.c | 467 int fence_fd; in droid_window_dequeue_buffer() local 470 &fence_fd)) in droid_window_dequeue_buffer() 490 if (fence_fd >= 0) { in droid_window_dequeue_buffer() 496 sync_wait(fence_fd, timeout); in droid_window_dequeue_buffer() 497 close(fence_fd); in droid_window_dequeue_buffer() 551 int fence_fd = dri2_surf->out_fence_fd; in droid_window_enqueue_buffer() local 553 ANativeWindow_queueBuffer(dri2_surf->window, dri2_surf->buffer, fence_fd); in droid_window_enqueue_buffer() 572 int fence_fd = dri2_surf->out_fence_fd; in droid_window_cancel_buffer() local 576 fence_fd); in droid_window_cancel_buffer() 1385 droid_display_shared_buffer(__DRIdrawable *driDrawable, int fence_fd, in droid_display_shared_buffer() argument [all …]
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_fence.c | 63 int32_t fence_fd; member 200 fence->fence_fd = fd; in vmw_fence_create() 238 if (vfence->fence_fd != -1) in vmw_fence_destroy() 239 close(vfence->fence_fd); in vmw_fence_destroy() 361 ret = sync_wait(vfence->fence_fd, timeout / 1000000); in vmw_fence_finish() 403 return vfence->fence_fd; in vmw_fence_get_fd()
|
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_winsys_dri3.c | 226 int buffer_fd, fence_fd; in dri3_alloc_back_buffer() local 234 fence_fd = xshmfence_alloc_shm(); in dri3_alloc_back_buffer() 235 if (fence_fd < 0) in dri3_alloc_back_buffer() 238 shm_fence = xshmfence_map_shm(fence_fd); in dri3_alloc_back_buffer() 296 fence_fd); in dri3_alloc_back_buffer() 311 close(fence_fd); in dri3_alloc_back_buffer() 466 int fence_fd, *fds; in dri3_get_front_buffer() local 479 fence_fd = xshmfence_alloc_shm(); in dri3_get_front_buffer() 480 if (fence_fd < 0) in dri3_get_front_buffer() 483 shm_fence = xshmfence_map_shm(fence_fd); in dri3_get_front_buffer() [all …]
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_android.c | 831 int semaphore_fd = -1, fence_fd = -1; in anv_AcquireImageANDROID() local 838 fence_fd = dup(nativeFenceFd); in anv_AcquireImageANDROID() 839 if (fence_fd < 0) { in anv_AcquireImageANDROID() 848 fence_fd = nativeFenceFd; in anv_AcquireImageANDROID() 874 .fd = fence_fd, in anv_AcquireImageANDROID() 878 fence_fd = -1; /* ANV took ownership */ in anv_AcquireImageANDROID() 883 if (fence_fd >= 0) in anv_AcquireImageANDROID() 884 close(fence_fd); in anv_AcquireImageANDROID()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_android.c | 397 int semaphore_fd = -1, fence_fd = -1; in radv_AcquireImageANDROID() local 404 fence_fd = dup(nativeFenceFd); in radv_AcquireImageANDROID() 405 if (fence_fd < 0) { in radv_AcquireImageANDROID() 414 fence_fd = nativeFenceFd; in radv_AcquireImageANDROID() 440 .fd = fence_fd, in radv_AcquireImageANDROID() 444 fence_fd = -1; /* RADV took ownership */ in radv_AcquireImageANDROID() 449 if (fence_fd >= 0) in radv_AcquireImageANDROID() 450 close(fence_fd); in radv_AcquireImageANDROID()
|
/third_party/weston/libweston/ |
D | linux-explicit-synchronization.c | 44 fd_clear(&buffer_release->fence_fd); in destroy_linux_buffer_release() 135 buffer_release->fence_fd = -1; in linux_surface_synchronization_get_release()
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_android.c | 566 int fence_fd = -1; in vn_AcquireImageANDROID() local 570 fence_fd = os_dupfd_cloexec(nativeFenceFd); in vn_AcquireImageANDROID() 571 if (fence_fd < 0) { in vn_AcquireImageANDROID() 580 fence_fd = nativeFenceFd; in vn_AcquireImageANDROID() 607 .fd = fence_fd, in vn_AcquireImageANDROID() 611 fence_fd = -1; in vn_AcquireImageANDROID() 616 if (fence_fd >= 0) in vn_AcquireImageANDROID() 617 close(fence_fd); in vn_AcquireImageANDROID()
|
/third_party/mesa3d/src/loader/ |
D | loader_dri3_helper.c | 1360 int buffer_fds[4], fence_fd; in dri3_alloc_render_buffer() local 1371 fence_fd = xshmfence_alloc_shm(); in dri3_alloc_render_buffer() 1372 if (fence_fd < 0) in dri3_alloc_render_buffer() 1375 shm_fence = xshmfence_map_shm(fence_fd); in dri3_alloc_render_buffer() 1595 fence_fd); in dri3_alloc_render_buffer() 1624 close(fence_fd); in dri3_alloc_render_buffer() 1838 int fence_fd; in dri3_get_pixmap_buffer() local 1850 fence_fd = xshmfence_alloc_shm(); in dri3_get_pixmap_buffer() 1851 if (fence_fd < 0) in dri3_get_pixmap_buffer() 1853 shm_fence = xshmfence_map_shm(fence_fd); in dri3_get_pixmap_buffer() [all …]
|
/third_party/libdrm/etnaviv/ |
D | etnaviv_cmd_stream.c | 199 req.fence_fd = in_fence_fd; in flush() 221 *out_fence_fd = req.fence_fd; in flush()
|
D | etnaviv_drm.h | 197 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */ member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | msm_kgsl.h | 797 int fence_fd; /* Fence to signal */ member 1203 int fence_fd; member 1224 int fence_fd; member
|
D | tu_android.c | 498 int fence_fd = nativeFenceFd >= 0 ? os_dupfd_cloexec(nativeFenceFd) : nativeFenceFd; in tu_AcquireImageANDROID() local 503 .fd = fence_fd, in tu_AcquireImageANDROID()
|
/third_party/mesa3d/src/etnaviv/drm/ |
D | etnaviv_cmd_stream.c | 232 req.fence_fd = in_fence_fd; in etna_cmd_stream_flush() 262 *out_fence_fd = req.fence_fd; in etna_cmd_stream_flush()
|
/third_party/libdrm/include/drm/ |
D | virtgpu_drm.h | 69 __s32 fence_fd; /* in/out fence fd (see VIRTGPU_EXECBUF_FENCE_FD_IN/OUT) */ member
|
D | msm_drm.h | 223 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */ member
|
/third_party/mesa3d/src/freedreno/drm/ |
D | msm_ringbuffer.c | 354 req.fence_fd = in_fence_fd; in msm_submit_flush() 376 out_fence->fence_fd = req.fence_fd; in msm_submit_flush()
|
D | msm_ringbuffer_sp.c | 340 req.fence_fd = msm_submit->in_fence_fd; in flush_submit_list() 389 msm_submit->out_fence->fence_fd = req.fence_fd; in flush_submit_list()
|
/third_party/mesa3d/include/drm-uapi/ |
D | virtgpu_drm.h | 73 __s32 fence_fd; /* in/out fence fd (see VIRTGPU_EXECBUF_FENCE_FD_IN/OUT) */ member
|
D | etnaviv_drm.h | 208 __s32 fence_fd; /* in/out, fence fd (see ETNA_SUBMIT_FENCE_FD_x) */ member
|
D | msm_drm.h | 261 __s32 fence_fd; /* in/out fence fd (see MSM_SUBMIT_FENCE_FD_IN/OUT) */ member
|
/third_party/mesa3d/src/vulkan/wsi/ |
D | wsi_common_x11.c | 1417 int fence_fd; in x11_image_init() local 1504 fence_fd = xshmfence_alloc_shm(); in x11_image_init() 1505 if (fence_fd < 0) in x11_image_init() 1508 image->shm_fence = xshmfence_map_shm(fence_fd); in x11_image_init() 1517 fence_fd); in x11_image_init() 1525 close(fence_fd); in x11_image_init()
|