vulkan/wsi: move swapchain create/destroy to common code
authorDave Airlie <airlied@redhat.com>
Thu, 16 Nov 2017 02:02:04 +0000 (12:02 +1000)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commit8ff49951c30bf47f29d8ed7c9ea7ab655417391b
treeb702f446db2080f7f7d08c130265f534586818e8
parentad4c60d6b87eb92191c638bf52ad38e7dd59f627
vulkan/wsi: move swapchain create/destroy to common code

v2 (Jason Ekstrand):
 - Rebase
 - Alter the names of the helpers to better match the vulkan entrypoints
 - Use the helpers in anv

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