anv/x11: Add support for Xlib platform
authorKevin Strasser <kevin.strasser@intel.com>
Fri, 12 Aug 2016 21:17:20 +0000 (14:17 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 15 Aug 2016 16:47:06 +0000 (09:47 -0700)
commit71258e9462c9cfb4c8b567713af5018928ef744d
treed549d437c967e373e41f57dcd21e8dd96cf50b74
parent5d9b50e596c9d81c37ce0844ae0f8c9da3f6bea6
anv/x11: Add support for Xlib platform

Some applications continue to use the Xlib client library and expect that
VK_KHR_xlib_surface will be available in the driver. Service these
applications by converting the Display pointer to xcb_connection_t and use
the existing xcb code in the driver.

Signed-off-by: Kevin Strasser <kevin.strasser@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/vulkan/Makefile.am
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_wsi_x11.c