mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-09 06:10:12 +01:00
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>
This commit is contained in:
parent
235144cf51
commit
61cfabda5d
1 changed files with 4 additions and 2 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue