vulkan/wsi: Add a helper for AcquireNextImage
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Nov 2017 18:44:41 +0000 (10:44 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commit516dfb34e10ae178b9754ce7fe22b7e88193440f
tree141cbefa2cf7a2741503324028567602ce46bd11
parent8ff49951c30bf47f29d8ed7c9ea7ab655417391b
vulkan/wsi: Add a helper for AcquireNextImage

Unfortunately, due to the fact that AcquireNextImage does not take a
queue, the ANV trick for triggering the fence won't work in general.  We
leave dealing with the fence up to the caller for now.

Reviewed-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Chad Versace <chadversary@chromium.org>
src/amd/vulkan/radv_wsi.c
src/intel/vulkan/anv_wsi.c
src/vulkan/wsi/wsi_common.c
src/vulkan/wsi/wsi_common.h