aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman@collabora.com>2024-02-09 11:15:10 -0600
committerMarge Bot <emma+marge@anholt.net>2024-02-28 11:01:31 +0000
commit61cfabda5dd54d7d2c49e8b2b81c4feb157dcd70 (patch)
treebc8f11afb488d89b5d308d2aa8a7d90f9f68128f
parent235144cf51536d98975f1c65e2df317332e9b35b (diff)
downloadmesa3d-61cfabda5dd54d7d2c49e8b2b81c4feb157dcd70.tar.gz
vulkan/wsi/wayland: Give names to our Wayland event queues
Named queues just add a little bit more debugging information. Signed-off-by: Derek Foreman <derek.foreman@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27824>
-rw-r--r--src/vulkan/wsi/wsi_common_wayland.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vulkan/wsi/wsi_common_wayland.c b/src/vulkan/wsi/wsi_common_wayland.c
index 336ef30bcda..c749a7d8437 100644
--- a/src/vulkan/wsi/wsi_common_wayland.c
+++ b/src/vulkan/wsi/wsi_common_wayland.c
@@ -855,7 +855,8 @@ wsi_wl_display_init(struct wsi_wayland *wsi_wl,
display->wl_display = wl_display;
display->sw = sw;
- display->queue = wl_display_create_queue(wl_display);
+ display->queue = wl_display_create_queue_with_name(wl_display,
+ "mesa vk display queue");
if (!display->queue) {
result = VK_ERROR_OUT_OF_HOST_MEMORY;
goto fail;
@@ -2409,7 +2410,8 @@ wsi_wl_surface_create_swapchain(VkIcdSurfaceBase *icd_surface,
wl_list_init(&chain->present_ids.outstanding_list);
chain->present_ids.queue =
- wl_display_create_queue(chain->wsi_wl_surface->display->wl_display);
+ wl_display_create_queue_with_name(chain->wsi_wl_surface->display->wl_display,
+ "mesa vk swapchain queue");
if (chain->wsi_wl_surface->display->wp_presentation_notwrapped) {
chain->present_ids.wp_presentation =