vulkan/wsi: Add a wsi_device_init function
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 16 Nov 2017 02:50:44 +0000 (18:50 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 4 Dec 2017 18:04:19 +0000 (10:04 -0800)
commit764fc1643c10ca1f336a99ddbe727313c995b6bb
tree1be6557c9e2db7c0dbf1d59e8f91fed6860c5c7d
parent3991098f3b10519b4308763fb77cd15e3218a044
vulkan/wsi: Add a wsi_device_init function

This gives the opportunity to collect some function pointers if we'd
like which will be very useful in future.

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/Makefile.sources
src/vulkan/wsi/meson.build
src/vulkan/wsi/wsi_common.c [new file with mode: 0644]
src/vulkan/wsi/wsi_common.h