diff options
author | Dave Airlie <[email protected]> | 2016-10-26 12:58:34 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-10-27 11:43:00 +1000 |
commit | 1cdca1eb16ab33da338dda076794efd4bf859f7b (patch) | |
tree | 1041b49dddc5970e9f5adb1c5388108456630178 /src/vulkan/wsi/wsi_common.h | |
parent | 787c172aed0ae88ca6a8c1a193d9dd744fbdc918 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common.h')
-rw-r--r-- | src/vulkan/wsi/wsi_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common.h b/src/vulkan/wsi/wsi_common.h index ee675119302..a1f5a40186c 100644 --- a/src/vulkan/wsi/wsi_common.h +++ b/src/vulkan/wsi/wsi_common.h @@ -53,6 +53,7 @@ struct wsi_swapchain { VkAllocationCallbacks alloc; const struct wsi_image_fns *image_fns; VkFence fences[3]; + VkPresentModeKHR present_mode; VkResult (*destroy)(struct wsi_swapchain *swapchain, const VkAllocationCallbacks *pAllocator); |