From: Timothy Arceri Date: Wed, 15 Aug 2018 06:56:49 +0000 (+1000) Subject: mesa: move legacy hyperz option from dri config X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=797cd198ae88c9a80233ba710c47117384081428;p=mesa.git mesa: move legacy hyperz option from dri config Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 5637361a916..4c93404607d 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -75,6 +75,11 @@ DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \ DRI_CONF_DESC(en,"Number of texture units used") \ DRI_CONF_OPT_END +#define DRI_CONF_HYPERZ(def) \ +DRI_CONF_OPT_BEGIN_B(hyperz, def) \ + DRI_CONF_DESC(en,"Use HyperZ to boost performance") \ +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 6cfd8699a80..2c663d25027 100644 --- a/src/util/xmlpool/ca.po +++ b/src/util/xmlpool/ca.po @@ -258,10 +258,6 @@ msgstr "" "Sempre sincronitza amb el refresc vertical, l'aplicació tria l'interval " "mínim d'intercanvi" -#: t_options.h:276 -msgid "Use HyperZ to boost performance" -msgstr "Utilitza el HyperZ per a augmentar el rendiment" - #: 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 90a35e70dcf..40095df3c40 100644 --- a/src/util/xmlpool/de.po +++ b/src/util/xmlpool/de.po @@ -233,10 +233,6 @@ msgstr "" "Immer mit der Bildwiederholung synchronisieren, Anwendung wählt das minimale " "Bildintervall" -#: t_options.h:276 -msgid "Use HyperZ to boost performance" -msgstr "HyperZ zur Leistungssteigerung verwenden" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/es.po b/src/util/xmlpool/es.po index a087c0e1689..b1cfdd6e146 100644 --- a/src/util/xmlpool/es.po +++ b/src/util/xmlpool/es.po @@ -242,10 +242,6 @@ msgstr "" "Sincronizar siempre con el refresco vertical, la aplicación elige el " "intervalo de intercambio mínimo" -#: t_options.h:276 -msgid "Use HyperZ to boost performance" -msgstr "Usar HyperZ para potenciar rendimiento" - #: t_options.h:323 msgid "Miscellaneous" msgstr "Misceláneos" diff --git a/src/util/xmlpool/fr.po b/src/util/xmlpool/fr.po index 8bcd08f9bf4..39bb6035823 100644 --- a/src/util/xmlpool/fr.po +++ b/src/util/xmlpool/fr.po @@ -231,10 +231,6 @@ msgstr "" "Toujours synchroniser avec le balayage vertical, l'application choisit " "l'intervalle minimal" -#: t_options.h:276 -msgid "Use HyperZ to boost performance" -msgstr "Utiliser le HyperZ pour améliorer les performances" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/nl.po b/src/util/xmlpool/nl.po index 303d45517ff..8dd73ca5dfe 100644 --- a/src/util/xmlpool/nl.po +++ b/src/util/xmlpool/nl.po @@ -230,10 +230,6 @@ msgstr "" "Synchroniseer altijd met verticale verversing, de applicatie kiest het " "minimum omwisselingsinterval" -#: t_options.h:276 -msgid "Use HyperZ to boost performance" -msgstr "Gebruik HyperZ om de prestaties te verbeteren" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/sv.po b/src/util/xmlpool/sv.po index c60d1aaf226..319caa73876 100644 --- a/src/util/xmlpool/sv.po +++ b/src/util/xmlpool/sv.po @@ -224,10 +224,6 @@ msgstr "" "Synkronisera alltid med vertikal uppdatering, programmet väljer den minsta " "växlingsintervallen" -#: t_options.h:276 -msgid "Use HyperZ to boost performance" -msgstr "Använd HyperZ för att maximera prestandan" - #: t_options.h:323 msgid "Miscellaneous" msgstr "" diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index f8623bd9f6d..a946a5d363a 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -287,13 +287,6 @@ DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \ DRI_CONF_DESC_END \ DRI_CONF_OPT_END -#define DRI_CONF_HYPERZ_DISABLED 0 -#define DRI_CONF_HYPERZ_ENABLED 1 -#define DRI_CONF_HYPERZ(def) \ -DRI_CONF_OPT_BEGIN_B(hyperz, def) \ - DRI_CONF_DESC(en,gettext("Use HyperZ to boost performance")) \ -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")) \