vulkan/wsi/x11: Return VK_SUBOPTIMAL_KHR for X11
authorLouis-Francis Ratté-Boulianne <lfrb@collabora.com>
Wed, 27 Sep 2017 03:11:55 +0000 (23:11 -0400)
committerDaniel Stone <daniels@collabora.com>
Fri, 9 Mar 2018 17:47:13 +0000 (17:47 +0000)
commit61309c2a727d52d543207d6ae79fcb3e68b5cff3
tree340bb1ad7a2f801efcaf7a038a825287dbd1c321
parentc80c08e226033e9e33abdca43e02e7f8c845ae0a
vulkan/wsi/x11: Return VK_SUBOPTIMAL_KHR for X11

When it is detected that a window could have been flipped
but has been copied because of suboptimal format/modifier.
The Vulkan client should then re-create the swapchain.

Signed-off-by: Louis-Francis Ratté-Boulianne <lfrb@collabora.com>
Reviewed-by: Daniel Stone <daniels@collabora.com>
configure.ac
meson.build
src/vulkan/wsi/wsi_common_x11.c