mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 10:10:14 +01:00
vulkan/wsi/wayland: Remove roundtrip when creating image
There's no need to call wl_display_roundtrip() after trying to create a
buffer through wl_drm; if it succeeds then everything is fine, and if it
fails, then we get a fatal protocol error so can't recover anyway.
Additionally, doing a roundtrip on the default / main application queue,
is destructive anyway, so would need to be its own queue.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit afe8c8a299)
This commit is contained in:
parent
b4a82e7f47
commit
f7cc55dce2
1 changed files with 0 additions and 1 deletions
|
|
@ -655,7 +655,6 @@ wsi_wl_image_init(struct wsi_wl_swapchain *chain,
|
|||
offset,
|
||||
row_pitch,
|
||||
0, 0, 0, 0 /* unused */);
|
||||
wl_display_roundtrip(chain->display->display);
|
||||
close(fd);
|
||||
|
||||
if (!image->buffer)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue