From: Timothy Arceri Date: Thu, 30 Aug 2018 00:19:04 +0000 (+1000) Subject: mesa: move legacy dri config option round_mode X-Git-Tag: upstream/19.0.0~2504 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d1890fa07f578aa07071f5e24564d069544bf1a;p=platform%2Fupstream%2Fmesa.git mesa: move legacy dri config option round_mode Reviewed-by: Marek Olšák --- diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.h b/src/mesa/drivers/dri/radeon/radeon_screen.h index c5b8023..e36e438 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.h +++ b/src/mesa/drivers/dri/radeon/radeon_screen.h @@ -69,6 +69,16 @@ DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \ DRI_CONF_DESC_END \ DRI_CONF_OPT_END +#define DRI_CONF_ROUND_TRUNC 0 +#define DRI_CONF_ROUND_ROUND 1 +#define DRI_CONF_ROUND_MODE(def) \ +DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \ + DRI_CONF_DESC_BEGIN(en,"Color rounding method") \ + DRI_CONF_ENUM(0,"Round color components downward") \ + DRI_CONF_ENUM(1,"Round to nearest color") \ + DRI_CONF_DESC_END \ +DRI_CONF_OPT_END + #define DRI_CONF_TCL_SW 0 #define DRI_CONF_TCL_PIPELINED 1 diff --git a/src/util/xmlpool/ca.po b/src/util/xmlpool/ca.po index c588832..1710a2c 100644 --- a/src/util/xmlpool/ca.po +++ b/src/util/xmlpool/ca.po @@ -112,18 +112,6 @@ msgstr "" "Prohibeix una parcialitat negativa del Nivell de Detalle (LOD) de les " "textures" -#: t_options.h:170 -msgid "Color rounding method" -msgstr "Mètode d'arrodoniment de color" - -#: t_options.h:171 -msgid "Round color components downward" -msgstr "Arrodoneix els components de color a baix" - -#: t_options.h:172 -msgid "Round to nearest color" -msgstr "Arrodoneix al color més proper" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "Un filtre de postprocessament per a aplicar cel shading a la sortida" diff --git a/src/util/xmlpool/de.po b/src/util/xmlpool/de.po index f40a39f..5581725 100644 --- a/src/util/xmlpool/de.po +++ b/src/util/xmlpool/de.po @@ -87,18 +87,6 @@ msgstr "Initialer Maximalwert für anisotropische Texturfilterung" msgid "Forbid negative texture LOD bias" msgstr "Verbiete negative Textur-Detailgradverschiebung" -#: t_options.h:170 -msgid "Color rounding method" -msgstr "Farbrundungsmethode" - -#: t_options.h:171 -msgid "Round color components downward" -msgstr "Farbkomponenten abrunden" - -#: t_options.h:172 -msgid "Round to nearest color" -msgstr "Zur ähnlichsten Farbe runden" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "Nachbearbeitungsfilter für Cell Shading" diff --git a/src/util/xmlpool/es.po b/src/util/xmlpool/es.po index e371834..85288bf 100644 --- a/src/util/xmlpool/es.po +++ b/src/util/xmlpool/es.po @@ -94,18 +94,6 @@ msgstr "Valor máximo inicial para filtrado anisotrópico de textura" msgid "Forbid negative texture LOD bias" msgstr "Prohibir valores negativos de Nivel De Detalle (LOD) de texturas" -#: t_options.h:170 -msgid "Color rounding method" -msgstr "Método de redondeo de colores" - -#: t_options.h:171 -msgid "Round color components downward" -msgstr "Redondear hacia abajo los componentes de color" - -#: t_options.h:172 -msgid "Round to nearest color" -msgstr "Redondear al color más cercano" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "Un filtro de postprocesamiento para aplicar cel shading a la salida" diff --git a/src/util/xmlpool/fr.po b/src/util/xmlpool/fr.po index b898e34..1f2d04c 100644 --- a/src/util/xmlpool/fr.po +++ b/src/util/xmlpool/fr.po @@ -86,18 +86,6 @@ msgstr "Valeur maximale initiale pour le filtrage anisotropique de texture" msgid "Forbid negative texture LOD bias" msgstr "Interdire le LOD bias negatif" -#: t_options.h:170 -msgid "Color rounding method" -msgstr "Méthode d'arrondi des couleurs" - -#: t_options.h:171 -msgid "Round color components downward" -msgstr "Arrondi à l'inférieur" - -#: t_options.h:172 -msgid "Round to nearest color" -msgstr "Arrondi au plus proche" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "" diff --git a/src/util/xmlpool/sv.po b/src/util/xmlpool/sv.po index e340ed5..61d735b 100644 --- a/src/util/xmlpool/sv.po +++ b/src/util/xmlpool/sv.po @@ -86,18 +86,6 @@ msgstr "Initialt maximalt värde för anisotropisk texturfiltrering" msgid "Forbid negative texture LOD bias" msgstr "Förbjud negativ LOD-kompensation för texturer" -#: t_options.h:170 -msgid "Color rounding method" -msgstr "Färgavrundningsmetod" - -#: t_options.h:171 -msgid "Round color components downward" -msgstr "Avrunda färdkomponenter nedÃ¥t" - -#: t_options.h:172 -msgid "Round to nearest color" -msgstr "Avrunda till närmsta färg" - #: t_options.h:181 msgid "Color dithering method" msgstr "Färgutjämningsmetod" diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index 48eb15c..1eb704e 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -181,16 +181,6 @@ DRI_CONF_OPT_BEGIN_B(precise_trig, def) \ DRI_CONF_DESC(en,gettext("Prefer accuracy over performance in trig functions")) \ DRI_CONF_OPT_END -#define DRI_CONF_ROUND_TRUNC 0 -#define DRI_CONF_ROUND_ROUND 1 -#define DRI_CONF_ROUND_MODE(def) \ -DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \ - DRI_CONF_DESC_BEGIN(en,gettext("Color rounding method")) \ - DRI_CONF_ENUM(0,gettext("Round color components downward")) \ - DRI_CONF_ENUM(1,gettext("Round to nearest color")) \ - DRI_CONF_DESC_END \ -DRI_CONF_OPT_END - #define DRI_CONF_PP_CELSHADE(def) \ DRI_CONF_OPT_BEGIN_V(pp_celshade,enum,def,"0:1") \ DRI_CONF_DESC(en,gettext("A post-processing filter to cel-shade the output")) \