Commit 2d7dc959 authored by Timothy Arceri's avatar Timothy Arceri

mesa: move legacy dri config option color_reduction

Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
parent 408d41a4
......@@ -47,6 +47,16 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#include "radeon_reg.h"
#include "util/xmlconfig.h"
#define DRI_CONF_COLOR_REDUCTION_ROUND 0
#define DRI_CONF_COLOR_REDUCTION_DITHER 1
#define DRI_CONF_COLOR_REDUCTION(def) \
DRI_CONF_OPT_BEGIN_V(color_reduction,enum,def,"0:1") \
DRI_CONF_DESC_BEGIN(en,"Initial color reduction method") \
DRI_CONF_ENUM(0,"Round colors") \
DRI_CONF_ENUM(1,"Dither colors") \
DRI_CONF_DESC_END \
DRI_CONF_OPT_END
#define DRI_CONF_TCL_SW 0
#define DRI_CONF_TCL_PIPELINED 1
......
......@@ -112,18 +112,6 @@ msgstr ""
"Prohibeix una parcialitat negativa del Nivell de Detalle (LOD) de les "
"textures"
#: t_options.h:160
msgid "Initial color reduction method"
msgstr "Mètode inicial de reducció de color"
#: t_options.h:161
msgid "Round colors"
msgstr "Colors arrodonits"
#: t_options.h:162
msgid "Dither colors"
msgstr "Colors tramats"
#: t_options.h:170
msgid "Color rounding method"
msgstr "Mètode d'arrodoniment de color"
......
......@@ -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:160
msgid "Initial color reduction method"
msgstr "Initiale Farbreduktionsmethode"
#: t_options.h:161
msgid "Round colors"
msgstr "Farben runden"
#: t_options.h:162
msgid "Dither colors"
msgstr "Farben rastern"
#: t_options.h:170
msgid "Color rounding method"
msgstr "Farbrundungsmethode"
......
......@@ -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:160
msgid "Initial color reduction method"
msgstr "Método inicial de reducción de color"
#: t_options.h:161
msgid "Round colors"
msgstr "Colores redondeados"
#: t_options.h:162
msgid "Dither colors"
msgstr "Colores suavizados"
#: t_options.h:170
msgid "Color rounding method"
msgstr "Método de redondeo de colores"
......
......@@ -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:160
msgid "Initial color reduction method"
msgstr "Technique de réduction de couleurs"
#: t_options.h:161
msgid "Round colors"
msgstr "Arrondir les valeurs de couleur"
#: t_options.h:162
msgid "Dither colors"
msgstr "Tramer les couleurs"
#: t_options.h:170
msgid "Color rounding method"
msgstr "Méthode d'arrondi des couleurs"
......
......@@ -86,18 +86,6 @@ msgstr "Initïele maximum waarde voor anisotrophische textuur filtering"
msgid "Forbid negative texture LOD bias"
msgstr "Verbied negatief niveau detailonderscheid (LOD) van texturen"
#: t_options.h:160
msgid "Initial color reduction method"
msgstr "Initïele kleurreductie methode"
#: t_options.h:161
msgid "Round colors"
msgstr "Rond kleuren af"
#: t_options.h:162
msgid "Dither colors"
msgstr "Rasteriseer kleuren"
#: t_options.h:170
msgid "Color rounding method"
msgstr "Kleurafrondingmethode"
......
......@@ -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:160
msgid "Initial color reduction method"
msgstr "Initial färgminskningsmetod"
#: t_options.h:161
msgid "Round colors"
msgstr "Avrunda färger"
#: t_options.h:162
msgid "Dither colors"
msgstr "Utjämna färger"
#: t_options.h:170
msgid "Color rounding method"
msgstr "Färgavrundningsmetod"
......
......@@ -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_COLOR_REDUCTION_ROUND 0
#define DRI_CONF_COLOR_REDUCTION_DITHER 1
#define DRI_CONF_COLOR_REDUCTION(def) \
DRI_CONF_OPT_BEGIN_V(color_reduction,enum,def,"0:1") \
DRI_CONF_DESC_BEGIN(en,gettext("Initial color reduction method")) \
DRI_CONF_ENUM(0,gettext("Round colors")) \
DRI_CONF_ENUM(1,gettext("Dither colors")) \
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) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment