aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-04-05 16:18:18 +0100
committerEric Engestrom <[email protected]>2019-05-02 11:51:03 +0000
commitda8d9e2d881926c4c3eea68a3e08a63d105babbe (patch)
tree957c2ffc1baabef1ee0647261bd7c4fb3a05e703 /src
parent9826e04eca69d04b64258d26983410bd2470f607 (diff)
wsi/wayland: document lack of vkAcquireNextImageKHR timeout support
Signed-off-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/vulkan/wsi/wsi_common_wayland.c10
1 files changed, 10 insertions, 0 deletions
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