From 5a0684d665f4cfc996f9dfc5fddbe4a117ab639f Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 15 Aug 2018 19:39:27 +1000 Subject: [PATCH] mesa: move legacy dri config option texture_units Reviewed-by: Ian Romanick --- src/mesa/drivers/dri/radeon/radeon_screen.c | 5 +++++ src/util/xmlpool/ca.po | 4 ---- src/util/xmlpool/de.po | 4 ---- src/util/xmlpool/es.po | 4 ---- src/util/xmlpool/fr.po | 4 ---- src/util/xmlpool/nl.po | 4 ---- src/util/xmlpool/sv.po | 4 ---- src/util/xmlpool/t_options.h | 5 ----- 8 files changed, 5 insertions(+), 29 deletions(-) diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 468cbd53595..009d7953a24 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -70,6 +70,11 @@ DRI_CONF_OPT_BEGIN_V(command_buffer_size,int,def, # min ":" # max ) \ DRI_CONF_DESC(de,"Grösse des Befehlspuffers (in KB)") \ DRI_CONF_OPT_END +#define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \ +DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \ + DRI_CONF_DESC(en,"Number of texture units used") \ +DRI_CONF_OPT_END + #if defined(RADEON_R100) /* R100 */ static const __DRIconfigOptionsExtension radeon_config_options = { .base = { __DRI_CONFIG_OPTIONS, 1 }, diff --git a/src/util/xmlpool/ca.po b/src/util/xmlpool/ca.po index 6ee9e3fd5bf..55d83f903fb 100644 --- a/src/util/xmlpool/ca.po +++ b/src/util/xmlpool/ca.po @@ -270,10 +270,6 @@ msgstr "" msgid "Use HyperZ to boost performance" msgstr "Utilitza el HyperZ per a augmentar el rendiment" -#: t_options.h:281 -msgid "Number of texture units used" -msgstr "Nombre d'unitats de textura utilitzades" - #: t_options.h:323 msgid "Miscellaneous" msgstr "Miscel·lània" diff --git a/src/util/xmlpool/de.po b/src/util/xmlpool/de.po index 050f228ac58..5490940f5ee 100644 --- a/src/util/xmlpool/de.po +++ b/src/util/xmlpool/de.po @@ -245,10 +245,6 @@ msgstr "" msgid "Use HyperZ to boost performance" msgstr "HyperZ zur Leistungssteigerung verwenden" -#: t_options.h:281 -msgid "Number of texture units used" -msgstr "Anzahl der benutzten Textureinheiten" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/es.po b/src/util/xmlpool/es.po index cc88f6848c4..7c9986cf4f0 100644 --- a/src/util/xmlpool/es.po +++ b/src/util/xmlpool/es.po @@ -254,10 +254,6 @@ msgstr "" msgid "Use HyperZ to boost performance" msgstr "Usar HyperZ para potenciar rendimiento" -#: t_options.h:281 -msgid "Number of texture units used" -msgstr "Número de unidades de textura usadas" - #: t_options.h:323 msgid "Miscellaneous" msgstr "Misceláneos" diff --git a/src/util/xmlpool/fr.po b/src/util/xmlpool/fr.po index e768051160a..44c2990e897 100644 --- a/src/util/xmlpool/fr.po +++ b/src/util/xmlpool/fr.po @@ -243,10 +243,6 @@ msgstr "" msgid "Use HyperZ to boost performance" msgstr "Utiliser le HyperZ pour améliorer les performances" -#: t_options.h:281 -msgid "Number of texture units used" -msgstr "Nombre d'unités de texture" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/nl.po b/src/util/xmlpool/nl.po index 1898a681fb7..e24afb2c536 100644 --- a/src/util/xmlpool/nl.po +++ b/src/util/xmlpool/nl.po @@ -242,10 +242,6 @@ msgstr "" msgid "Use HyperZ to boost performance" msgstr "Gebruik HyperZ om de prestaties te verbeteren" -#: t_options.h:281 -msgid "Number of texture units used" -msgstr "Aantal textuureenheden in gebruik" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/sv.po b/src/util/xmlpool/sv.po index f2adb61de9d..4e1632442ac 100644 --- a/src/util/xmlpool/sv.po +++ b/src/util/xmlpool/sv.po @@ -236,10 +236,6 @@ msgstr "" msgid "Use HyperZ to boost performance" msgstr "Använd HyperZ för att maximera prestandan" -#: t_options.h:281 -msgid "Number of texture units used" -msgstr "Antal använda texturenheter" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index b671e40fa52..ffcf6f85d39 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -304,11 +304,6 @@ DRI_CONF_OPT_BEGIN_B(hyperz, def) \ DRI_CONF_DESC(en,gettext("Use HyperZ to boost performance")) \ DRI_CONF_OPT_END -#define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \ -DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \ - DRI_CONF_DESC(en,gettext("Number of texture units used")) \ -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")) \ -- 2.30.2