loader/wayland: Add fallback wl_display_dispatch_queue_timeout

This is almost a 1:1 copy of the same function in libwayland. If the version
with the symbol propagates far enough the fallback can be removed again.

Signed-off-by: Sebastian Wick <sebastian.wick@redhat.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27511>
This commit is contained in:
Sebastian Wick
2022-09-01 00:59:52 +02:00
committed by Marge Bot
parent df801bec1e
commit a00f9c401b
7 changed files with 192 additions and 3 deletions
+1
View File
@@ -68,6 +68,7 @@ libvulkan_wsi = static_library(
idep_vulkan_runtime_headers, idep_xmlconfig, idep_mesautil, platform_deps,
idep_blake3
],
link_with: libloader_wayland_helper,
gnu_symbol_visibility : 'hidden',
build_by_default : false,
)
+2
View File
@@ -54,6 +54,8 @@
#include <util/anon_file.h>
#include <util/os_time.h>
#include <loader/loader_wayland_helper.h>
#ifdef MAJOR_IN_MKDEV
#include <sys/mkdev.h>
#endif