diff options
author | Samuel Pitoiset <[email protected]> | 2019-04-09 15:30:05 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-04-10 09:10:01 +0200 |
commit | a182adfd83ad00e326153b00a725a014e0359bf0 (patch) | |
tree | 110690bf98b8c52ef593b98ac540db1bb443c58d /src/vulkan/wsi/wsi_common.h | |
parent | 09b4049be35898b756e6c2a8911ad094c69ac709 (diff) |
wsi: allow to override the present mode with MESA_VK_WSI_PRESENT_MODE
This is common to all Vulkan drivers and all WSI.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Lionel Landwerlin <[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 e693e2be425..6446320b95d 100644 --- a/src/vulkan/wsi/wsi_common.h +++ b/src/vulkan/wsi/wsi_common.h @@ -101,6 +101,7 @@ struct wsi_device { bool supports_modifiers; uint32_t maxImageDimension2D; + VkPresentModeKHR override_present_mode; uint64_t (*image_get_modifier)(VkImage image); |