diff options
author | Tapani Pälli <[email protected]> | 2019-02-12 08:08:23 +0200 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2019-02-15 09:38:36 +0200 |
commit | 595af46f0f641db393b26afa55f3996f2ca602e9 (patch) | |
tree | d96bc7a0c6fda84626dd9ea999949997cc4420d8 /src/util/xmlpool/t_options.h | |
parent | 97aa05470a7a95983e365ef57d7af9425f4642a8 (diff) |
drirc/i965: add option to disable 565 configs and visuals
We have cases where we would not like to expose these.
v2: call the option allow_rgb565_configs for consistency
with existing allow_rgb10_configs (Eric, Jason)
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Jason Ekstrand <[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 80ddf0e203e..f48758f5706 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -264,6 +264,11 @@ DRI_CONF_OPT_BEGIN_B(allow_rgb10_configs, def) \ DRI_CONF_DESC(en,gettext("Allow exposure of visuals and fbconfigs with rgb10a2 formats")) \ DRI_CONF_OPT_END +#define DRI_CONF_ALLOW_RGB565_CONFIGS(def) \ +DRI_CONF_OPT_BEGIN_B(allow_rgb565_configs, def) \ +DRI_CONF_DESC(en,gettext("Allow exposure of visuals and fbconfigs with rgb565 formats")) \ +DRI_CONF_OPT_END + /** * \brief Initialization configuration options */ |