anv/wsi: Make WSI per-physical-device rather than per-instance
authorJason Ekstrand <jason.ekstrand@intel.com>
Mon, 16 May 2016 05:21:24 +0000 (22:21 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 17 May 2016 19:17:22 +0000 (12:17 -0700)
commiteb6baa31746b55d48892b0c57f0e0076b91efdeb
tree64af02ac95978dcdd05688c6f0938f2449a0366e
parent2ad9d6237a510ec2acd0d416c34fe6e231460182
anv/wsi: Make WSI per-physical-device rather than per-instance

This better maps to the Vulkan object model and also allows WSI to at least
know the hardware generation which is useful for format checks.
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_private.h
src/intel/vulkan/anv_wsi.c
src/intel/vulkan/anv_wsi.h
src/intel/vulkan/anv_wsi_wayland.c
src/intel/vulkan/anv_wsi_x11.c