vulkan/wsi/wayland: Remove roundtrip when creating image
authorDaniel Stone <daniels@collabora.com>
Tue, 2 May 2017 08:51:40 +0000 (09:51 +0100)
committerDaniel Stone <daniels@collabora.com>
Fri, 19 May 2017 08:36:01 +0000 (09:36 +0100)
commitafe8c8a2997950cd63076b7c9eba39e1858fee43
tree149efee9182cd2d895253678b1f1745de46ad93a
parentd9a8bba7f44f7042f0bbd659d0ed342236423dd3
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
src/vulkan/wsi/wsi_common_wayland.c