mesa/src/vulkan
Daniel Stone c7e22483fe vulkan/wsi/x11: Consistently update and return swapchain status
Use a helper function for updating the swapchain status. This will be
used later to handle VK_SUBOPTIMAL_KHR, where we need to make a
non-error status stick to the swapchain until recreation.  Instead of
direct comparisons to VK_SUCCESS to check for error, test for negative
numbers meaning an error status, and positive numbers indicating
non-error statuses.

v2 (Jason Ekstrand):
 - Use a pattern of "return x11_swapchain_result(chain, VK_WHATEVER)"
 - Handle wsi_queue_pull returning VK_TIMEOUT
 - Call x11_swapchain_result in x11_present_to_x11

Signed-off-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
2018-02-21 22:37:10 +00:00
..
registry vulkan: Update the XML and headers to 1.0.68 2018-01-25 13:30:05 -08:00
util vulkan: move anv VK_EXT_debug_report implementation to common code. 2018-01-17 11:27:52 +01:00
wsi vulkan/wsi/x11: Consistently update and return swapchain status 2018-02-21 22:37:10 +00:00
Android.mk android: fix vulkan driver build 2017-12-18 09:49:15 +02:00
Makefile.am vulkan/wsi/wayland: Add support for zwp_dmabuf 2018-02-21 22:37:10 +00:00
Makefile.sources vulkan/wsi/wayland: Add support for zwp_dmabuf 2018-02-21 22:37:10 +00:00
meson.build meson: Add build Intel "anv" vulkan driver 2017-09-27 09:12:19 -07:00