radv/wsi: Move the guts of QueuePresent to wsi common
authorDave Airlie <airlied@redhat.com>
Thu, 16 Nov 2017 01:52:39 +0000 (11:52 +1000)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commit6dc3a5e8f0c07d1f1ed6ff3fb71d8f2f6eb32d7c
tree4b6306bd0d42ce4309b6c8fd098e5c8b96a98126
parent42dd06d957036ae68d6e670af8b156f15ac750ea
radv/wsi: Move the guts of QueuePresent to wsi common

v2 (Jason Ekstrand):
 - Better comit message
 - Rebase
 - Re-indent to follow wsi_common style
 - Drop the unneeded _swapchain from the newly added helper
 - Make the clone more true to the original (as per the rebase)

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