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/util/xmlpool/t_options.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/util/xmlpool/t_options.h')
-rw-r--r-- | src/util/xmlpool/t_options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index 6bfc5c652e3..9f3dee4945f 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -220,6 +220,11 @@ DRI_CONF_OPT_BEGIN_B(adaptive_sync,def) \ DRI_CONF_DESC(en,gettext("Adapt the monitor sync to the application performance (when possible)")) \ DRI_CONF_OPT_END +#define DRI_CONF_VK_X11_OVERRIDE_MIN_IMAGE_COUNT(def) \ +DRI_CONF_OPT_BEGIN_V(vk_x11_override_min_image_count, int, def, "0:999") \ + DRI_CONF_DESC(en,gettext("Override the VkSurfaceCapabilitiesKHR::minImageCount (0 = no override)")) \ +DRI_CONF_OPT_END + #define DRI_CONF_MESA_GLTHREAD(def) \ DRI_CONF_OPT_BEGIN_B(mesa_glthread, def) \ DRI_CONF_DESC(en,gettext("Enable offloading GL driver work to a separate thread")) \ |