vulkan/wsi: store present mode in swapchain base class
authorDave Airlie <airlied@redhat.com>
Wed, 26 Oct 2016 02:58:34 +0000 (12:58 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 27 Oct 2016 01:43:00 +0000 (11:43 +1000)
commit1cdca1eb16ab33da338dda076794efd4bf859f7b
tree1041b49dddc5970e9f5adb1c5388108456630178
parent787c172aed0ae88ca6a8c1a193d9dd744fbdc918
vulkan/wsi: store present mode in swapchain base class

This just moves this up a level as x11 will need it to
implement things properly.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/vulkan/wsi/wsi_common.h
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c