Searched refs:rel_timeout (Results 1 – 3 of 3) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/ |
D | wsi_common_x11.c | 1320 uint64_t rel_timeout; in x11_poll_for_special_event() local 1337 rel_timeout = abs_timeout; in x11_poll_for_special_event() 1344 if (event || rel_timeout == 0) in x11_poll_for_special_event() 1352 rel_timeout = MIN2(poll_busywait_ns, abs_timeout - current_time); in x11_poll_for_special_event() 1354 rel_timeout = 0; in x11_poll_for_special_event() 1356 if (rel_timeout) { in x11_poll_for_special_event() 1359 int ret = poll(&pfds, 1, MAX2(rel_timeout / 1000 / 1000, 1u)); in x11_poll_for_special_event() 1442 struct timespec rel_timeout, abs_timespec_realtime, start_time; in x11_acquire_next_image_poll_x11() local 1459 timespec_from_nsec(&rel_timeout, timeout); in x11_acquire_next_image_poll_x11() 1461 timespec_add(&abs_timespec_realtime, &rel_timeout, &start_time); in x11_acquire_next_image_poll_x11() [all …]
|
D | wsi_common_headless.c | 290 struct timespec rel_timeout; in wsi_headless_swapchain_acquire_next_image() local 292 timespec_from_nsec(&rel_timeout, info->timeout); in wsi_headless_swapchain_acquire_next_image() 295 timespec_add(&end_time, &rel_timeout, &start_time); in wsi_headless_swapchain_acquire_next_image()
|
D | wsi_common_wayland.c | 1804 struct timespec current_time, rel_timeout; in wsi_wl_swapchain_wait_for_present() local 1806 timespec_sub(&rel_timeout, &end_time, ¤t_time); in wsi_wl_swapchain_wait_for_present() 1807 ret = ppoll(&pollfd, 1, &rel_timeout, NULL); in wsi_wl_swapchain_wait_for_present() 1851 struct timespec rel_timeout; in wsi_wl_swapchain_acquire_next_image() local 1854 timespec_from_nsec(&rel_timeout, info->timeout); in wsi_wl_swapchain_acquire_next_image() 1857 timespec_add(&end_time, &rel_timeout, &start_time); in wsi_wl_swapchain_acquire_next_image() 1898 timespec_sub(&rel_timeout, &end_time, ¤t_time); in wsi_wl_swapchain_acquire_next_image() 1899 ret = ppoll(&pollfd, 1, &rel_timeout, NULL); in wsi_wl_swapchain_acquire_next_image()
|