wsi/wayland: document lack of vkAcquireNextImageKHR timeout support
authorEric Engestrom <eric.engestrom@intel.com>
Fri, 5 Apr 2019 15:18:18 +0000 (16:18 +0100)
committerEric Engestrom <eric@engestrom.ch>
Thu, 2 May 2019 11:51:03 +0000 (11:51 +0000)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
src/vulkan/wsi/wsi_common_wayland.c

index cf978ea3bf616f47f61b42807efc7577816909a0..bf473833e02a7571e0b0bd743f5a3db0d7c19ced 100644 (file)
@@ -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