vulkan/wsi: Get rid of the get_capabilities hook
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 16 Jun 2018 17:27:40 +0000 (10:27 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 20 Jun 2018 15:16:03 +0000 (08:16 -0700)
commit8f3b58ebee413fc704fb2fa0fab06dbfe146b08a
tree33c9dcf3a7e135b42235b1c360317aafa60846af
parent7f3cb7db08e4c172072a29b69cb33be4d9b8f562
vulkan/wsi: Get rid of the get_capabilities hook

Instead, we can just use get_capabilities2.  This way back-ends only
have to implement one hook.

Reviewed-by: Keith Packard <keithp@keithp.com>
src/vulkan/wsi/wsi_common.c
src/vulkan/wsi/wsi_common_display.c
src/vulkan/wsi/wsi_common_private.h
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c