From: Eric Engestrom Date: Fri, 5 Apr 2019 15:18:18 +0000 (+0100) Subject: wsi/wayland: document lack of vkAcquireNextImageKHR timeout support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da8d9e2d881926c4c3eea68a3e08a63d105babbe;p=mesa.git wsi/wayland: document lack of vkAcquireNextImageKHR timeout support Signed-off-by: Eric Engestrom --- diff --git a/src/vulkan/wsi/wsi_common_wayland.c b/src/vulkan/wsi/wsi_common_wayland.c index cf978ea3bf6..bf473833e02 100644 --- a/src/vulkan/wsi/wsi_common_wayland.c +++ b/src/vulkan/wsi/wsi_common_wayland.c @@ -755,6 +755,16 @@ wsi_wl_swapchain_acquire_next_image(struct wsi_swapchain *wsi_chain, { struct wsi_wl_swapchain *chain = (struct wsi_wl_swapchain *)wsi_chain; +#ifdef DEBUG + /* + * TODO: We need to implement this + */ + if (info->timeout != 0 && info->timeout != UINT64_MAX) + { + fprintf(stderr, "timeout not supported; ignoring"); + } +#endif + int ret = wl_display_dispatch_queue_pending(chain->display->wl_display, chain->display->queue); /* XXX: I'm not sure if out-of-date is the right error here. If