mesa: move legacy dri config option round_mode

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Timothy Arceri 2018-08-30 10:19:04 +10:00
parent 3a1d09fd55
commit 6d1890fa07
7 changed files with 10 additions and 70 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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 ""

View file

@ -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"

View file

@ -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")) \