diff options
author | Eric Engestrom <[email protected]> | 2019-08-29 23:49:29 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-09-06 23:16:05 +0100 |
commit | a72cdd00abd5f3c18df01acc60bf3b385facfdb6 (patch) | |
tree | 5bd3be9e82cc0a997a52d7aa844c557b77a13127 /src/vulkan/wsi/wsi_common.h | |
parent | 4dcb1fff19383ae451f3228e55d3fc987a7ab46d (diff) |
wsi: add minImageCount override
Cc: [email protected]
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]> (v1)
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/vulkan/wsi/wsi_common.h')
-rw-r--r-- | src/vulkan/wsi/wsi_common.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vulkan/wsi/wsi_common.h b/src/vulkan/wsi/wsi_common.h index 46e51286e09..b00fc3c1857 100644 --- a/src/vulkan/wsi/wsi_common.h +++ b/src/vulkan/wsi/wsi_common.h @@ -109,6 +109,12 @@ struct wsi_device { * available. Not all window systems might support this. */ bool enable_adaptive_sync; + struct { + /* Override the minimum number of images on the swapchain. + * 0 = no override */ + uint32_t override_minImageCount; + } x11; + uint64_t (*image_get_modifier)(VkImage image); #define WSI_CB(cb) PFN_vk##cb cb |