From da8d9e2d881926c4c3eea68a3e08a63d105babbe Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 5 Apr 2019 16:18:18 +0100 Subject: [PATCH] wsi/wayland: document lack of vkAcquireNextImageKHR timeout support Signed-off-by: Eric Engestrom --- src/vulkan/wsi/wsi_common_wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.30.2