1 /***********************************************************************
2  ***        THIS FILE IS GENERATED AUTOMATICALLY. DON'T EDIT!        ***
3  ***********************************************************************/
4 /*
5  * XML DRI client-side driver configuration
6  * Copyright (C) 2003 Felix Kuehling
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining a
9  * copy of this software and associated documentation files (the "Software"),
10  * to deal in the Software without restriction, including without limitation
11  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12  * and/or sell copies of the Software, and to permit persons to whom the
13  * Software is furnished to do so, subject to the following conditions:
14  *
15  * The above copyright notice and this permission notice shall be included
16  * in all copies or substantial portions of the Software.
17  *
18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
21  * FELIX KUEHLING, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
22  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
23  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
24  * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
25  *
26  */
27 /**
28  * \file t_options.h
29  * \brief Templates of common options
30  * \author Felix Kuehling
31  *
32  * This file defines macros for common options that can be used to
33  * construct driConfigOptions in the drivers. This file is only a
34  * template containing English descriptions for options wrapped in
35  * gettext(). xgettext can be used to extract translatable
36  * strings. These strings can then be translated by anyone familiar
37  * with GNU gettext. gen_xmlpool.py takes this template and fills in
38  * all the translations. The result (options.h) is included by
39  * xmlpool.h which in turn can be included by drivers.
40  *
41  * The macros used to describe otions in this file are defined in
42  * ../xmlpool.h.
43  */
44 
45 /* This is needed for xgettext to extract translatable strings.
46  * gen_xmlpool.py will discard this line. */
47 /* #include <libintl.h>
48  * commented out by gen_xmlpool.py */
49 
50 /*
51  * predefined option sections and options with multi-lingual descriptions
52  */
53 
54 
55 /**
56  * \brief Debugging options
57  */
58 #define DRI_CONF_SECTION_DEBUG \
59 DRI_CONF_SECTION_BEGIN \
60 	DRI_CONF_DESC(en,"Debugging") \
61 	DRI_CONF_DESC(de,"Fehlersuche") \
62 	DRI_CONF_DESC(es,"Depuración") \
63 	DRI_CONF_DESC(fr,"Debogage") \
64 	DRI_CONF_DESC(nl,"Debuggen") \
65 	DRI_CONF_DESC(sv,"Felsökning")
66 
67 #define DRI_CONF_NO_RAST(def) \
68 DRI_CONF_OPT_BEGIN_B(no_rast, def) \
69         DRI_CONF_DESC(en,"Disable 3D acceleration") \
70         DRI_CONF_DESC(de,"3D-Beschleunigung abschalten") \
71         DRI_CONF_DESC(es,"Deshabilitar aceleración 3D") \
72         DRI_CONF_DESC(fr,"Désactiver l'accélération 3D") \
73         DRI_CONF_DESC(nl,"3D versnelling uitschakelen") \
74         DRI_CONF_DESC(sv,"Inaktivera 3D-accelerering") \
75 DRI_CONF_OPT_END
76 
77 #define DRI_CONF_PERFORMANCE_BOXES(def) \
78 DRI_CONF_OPT_BEGIN_B(performance_boxes, def) \
79         DRI_CONF_DESC(en,"Show performance boxes") \
80         DRI_CONF_DESC(de,"Zeige Performanceboxen") \
81         DRI_CONF_DESC(es,"Mostrar cajas de rendimiento") \
82         DRI_CONF_DESC(fr,"Afficher les boîtes de performance") \
83         DRI_CONF_DESC(nl,"Laat prestatie boxjes zien") \
84         DRI_CONF_DESC(sv,"Visa prestandarutor") \
85 DRI_CONF_OPT_END
86 
87 #define DRI_CONF_ALWAYS_FLUSH_BATCH(def) \
88 DRI_CONF_OPT_BEGIN_B(always_flush_batch, def) \
89         DRI_CONF_DESC(en,"Enable flushing batchbuffer after each draw call") \
90         DRI_CONF_DESC(de,"Aktiviere sofortige Leerung des Stapelpuffers nach jedem Zeichenaufruf") \
91         DRI_CONF_DESC(es,"Habilitar vaciado del batchbuffer después de cada llamada de dibujo") \
92         DRI_CONF_DESC(fr,"Enable flushing batchbuffer after each draw call") \
93         DRI_CONF_DESC(nl,"Enable flushing batchbuffer after each draw call") \
94         DRI_CONF_DESC(sv,"Enable flushing batchbuffer after each draw call") \
95 DRI_CONF_OPT_END
96 
97 #define DRI_CONF_ALWAYS_FLUSH_CACHE(def) \
98 DRI_CONF_OPT_BEGIN_B(always_flush_cache, def) \
99         DRI_CONF_DESC(en,"Enable flushing GPU caches with each draw call") \
100         DRI_CONF_DESC(de,"Aktiviere sofortige Leerung der GPU-Zwischenspeicher mit jedem Zeichenaufruf") \
101         DRI_CONF_DESC(es,"Habilitar vaciado de los cachés GPU con cada llamada de dibujo") \
102         DRI_CONF_DESC(fr,"Enable flushing GPU caches with each draw call") \
103         DRI_CONF_DESC(nl,"Enable flushing GPU caches with each draw call") \
104         DRI_CONF_DESC(sv,"Enable flushing GPU caches with each draw call") \
105 DRI_CONF_OPT_END
106 
107 #define DRI_CONF_DISABLE_THROTTLING(def) \
108 DRI_CONF_OPT_BEGIN_B(disable_throttling, def) \
109 	DRI_CONF_DESC(en,"Disable throttling on first batch after flush") \
110 	DRI_CONF_DESC(de,"Disable throttling on first batch after flush") \
111 	DRI_CONF_DESC(es,"Deshabilitar regulación del primer lote después de vaciar") \
112 	DRI_CONF_DESC(fr,"Disable throttling on first batch after flush") \
113 	DRI_CONF_DESC(nl,"Disable throttling on first batch after flush") \
114 	DRI_CONF_DESC(sv,"Disable throttling on first batch after flush") \
115 DRI_CONF_OPT_END
116 
117 #define DRI_CONF_FORCE_GLSL_EXTENSIONS_WARN(def) \
118 DRI_CONF_OPT_BEGIN_B(force_glsl_extensions_warn, def) \
119         DRI_CONF_DESC(en,"Force GLSL extension default behavior to 'warn'") \
120         DRI_CONF_DESC(de,"Force GLSL extension default behavior to 'warn'") \
121         DRI_CONF_DESC(es,"Forzar que el comportamiento por defecto de las extensiones GLSL sea 'warn'") \
122         DRI_CONF_DESC(fr,"Force GLSL extension default behavior to 'warn'") \
123         DRI_CONF_DESC(nl,"Force GLSL extension default behavior to 'warn'") \
124         DRI_CONF_DESC(sv,"Force GLSL extension default behavior to 'warn'") \
125 DRI_CONF_OPT_END
126 
127 #define DRI_CONF_DISABLE_BLEND_FUNC_EXTENDED(def) \
128 DRI_CONF_OPT_BEGIN_B(disable_blend_func_extended, def) \
129         DRI_CONF_DESC(en,"Disable dual source blending") \
130         DRI_CONF_DESC(de,"Disable dual source blending") \
131         DRI_CONF_DESC(es,"Deshabilitar mezcla de fuente dual") \
132         DRI_CONF_DESC(fr,"Disable dual source blending") \
133         DRI_CONF_DESC(nl,"Disable dual source blending") \
134         DRI_CONF_DESC(sv,"Disable dual source blending") \
135 DRI_CONF_OPT_END
136 
137 #define DRI_CONF_DUAL_COLOR_BLEND_BY_LOCATION(def) \
138 DRI_CONF_OPT_BEGIN_B(dual_color_blend_by_location, def) \
139         DRI_CONF_DESC(en,"Identify dual color blending sources by location rather than index") \
140         DRI_CONF_DESC(de,"Identify dual color blending sources by location rather than index") \
141         DRI_CONF_DESC(es,"Identify dual color blending sources by location rather than index") \
142         DRI_CONF_DESC(fr,"Identify dual color blending sources by location rather than index") \
143         DRI_CONF_DESC(nl,"Identify dual color blending sources by location rather than index") \
144         DRI_CONF_DESC(sv,"Identify dual color blending sources by location rather than index") \
145 DRI_CONF_OPT_END
146 
147 #define DRI_CONF_DISABLE_GLSL_LINE_CONTINUATIONS(def) \
148 DRI_CONF_OPT_BEGIN_B(disable_glsl_line_continuations, def) \
149         DRI_CONF_DESC(en,"Disable backslash-based line continuations in GLSL source") \
150         DRI_CONF_DESC(de,"Disable backslash-based line continuations in GLSL source") \
151         DRI_CONF_DESC(es,"Deshabilitar continuaciones de línea basadas en barra inversa en el código GLSL") \
152         DRI_CONF_DESC(fr,"Disable backslash-based line continuations in GLSL source") \
153         DRI_CONF_DESC(nl,"Disable backslash-based line continuations in GLSL source") \
154         DRI_CONF_DESC(sv,"Disable backslash-based line continuations in GLSL source") \
155 DRI_CONF_OPT_END
156 
157 #define DRI_CONF_DISABLE_SHADER_BIT_ENCODING(def) \
158 DRI_CONF_OPT_BEGIN_B(disable_shader_bit_encoding, def) \
159         DRI_CONF_DESC(en,"Disable GL_ARB_shader_bit_encoding") \
160         DRI_CONF_DESC(de,"Disable GL_ARB_shader_bit_encoding") \
161         DRI_CONF_DESC(es,"Deshabilitar GL_ARB_shader_bit_encoding") \
162         DRI_CONF_DESC(fr,"Disable GL_ARB_shader_bit_encoding") \
163         DRI_CONF_DESC(nl,"Disable GL_ARB_shader_bit_encoding") \
164         DRI_CONF_DESC(sv,"Disable GL_ARB_shader_bit_encoding") \
165 DRI_CONF_OPT_END
166 
167 #define DRI_CONF_FORCE_GLSL_VERSION(def) \
168 DRI_CONF_OPT_BEGIN_V(force_glsl_version, int, def, "0:999") \
169         DRI_CONF_DESC(en,"Force a default GLSL version for shaders that lack an explicit #version line") \
170         DRI_CONF_DESC(de,"Force a default GLSL version for shaders that lack an explicit #version line") \
171         DRI_CONF_DESC(es,"Forzar una versión de GLSL por defecto en los shaders a los cuales les falta una línea #version explícita") \
172         DRI_CONF_DESC(fr,"Force a default GLSL version for shaders that lack an explicit #version line") \
173         DRI_CONF_DESC(nl,"Force a default GLSL version for shaders that lack an explicit #version line") \
174         DRI_CONF_DESC(sv,"Force a default GLSL version for shaders that lack an explicit #version line") \
175 DRI_CONF_OPT_END
176 
177 #define DRI_CONF_ALLOW_GLSL_EXTENSION_DIRECTIVE_MIDSHADER(def) \
178 DRI_CONF_OPT_BEGIN_B(allow_glsl_extension_directive_midshader, def) \
179         DRI_CONF_DESC(en,"Allow GLSL #extension directives in the middle of shaders") \
180         DRI_CONF_DESC(de,"Allow GLSL #extension directives in the middle of shaders") \
181         DRI_CONF_DESC(es,"Permite directivas #extension GLSL en medio de los shaders") \
182         DRI_CONF_DESC(fr,"Allow GLSL #extension directives in the middle of shaders") \
183         DRI_CONF_DESC(nl,"Allow GLSL #extension directives in the middle of shaders") \
184         DRI_CONF_DESC(sv,"Allow GLSL #extension directives in the middle of shaders") \
185 DRI_CONF_OPT_END
186 
187 #define DRI_CONF_ALLOW_GLSL_BUILTIN_VARIABLE_REDECLARATION(def) \
188 DRI_CONF_OPT_BEGIN_B(allow_glsl_builtin_variable_redeclaration, def) \
189         DRI_CONF_DESC(en,"Allow GLSL built-in variables to be redeclared verbatim") \
190         DRI_CONF_DESC(de,"Allow GLSL built-in variables to be redeclared verbatim") \
191         DRI_CONF_DESC(es,"Allow GLSL built-in variables to be redeclared verbatim") \
192         DRI_CONF_DESC(fr,"Allow GLSL built-in variables to be redeclared verbatim") \
193         DRI_CONF_DESC(nl,"Allow GLSL built-in variables to be redeclared verbatim") \
194         DRI_CONF_DESC(sv,"Allow GLSL built-in variables to be redeclared verbatim") \
195 DRI_CONF_OPT_END
196 
197 #define DRI_CONF_ALLOW_HIGHER_COMPAT_VERSION(def) \
198 DRI_CONF_OPT_BEGIN_B(allow_higher_compat_version, def) \
199         DRI_CONF_DESC(en,"Allow a higher compat profile (version 3.1+) for apps that request it") \
200         DRI_CONF_DESC(de,"Allow a higher compat profile (version 3.1+) for apps that request it") \
201         DRI_CONF_DESC(es,"Allow a higher compat profile (version 3.1+) for apps that request it") \
202         DRI_CONF_DESC(fr,"Allow a higher compat profile (version 3.1+) for apps that request it") \
203         DRI_CONF_DESC(nl,"Allow a higher compat profile (version 3.1+) for apps that request it") \
204         DRI_CONF_DESC(sv,"Allow a higher compat profile (version 3.1+) for apps that request it") \
205 DRI_CONF_OPT_END
206 
207 #define DRI_CONF_FORCE_GLSL_ABS_SQRT(def) \
208 DRI_CONF_OPT_BEGIN_B(force_glsl_abs_sqrt, def) \
209         DRI_CONF_DESC(en,"Force computing the absolute value for sqrt() and inversesqrt()") \
210         DRI_CONF_DESC(de,"Force computing the absolute value for sqrt() and inversesqrt()") \
211         DRI_CONF_DESC(es,"Force computing the absolute value for sqrt() and inversesqrt()") \
212         DRI_CONF_DESC(fr,"Force computing the absolute value for sqrt() and inversesqrt()") \
213         DRI_CONF_DESC(nl,"Force computing the absolute value for sqrt() and inversesqrt()") \
214         DRI_CONF_DESC(sv,"Force computing the absolute value for sqrt() and inversesqrt()") \
215 DRI_CONF_OPT_END
216 
217 #define DRI_CONF_GLSL_CORRECT_DERIVATIVES_AFTER_DISCARD(def) \
218 DRI_CONF_OPT_BEGIN_B(glsl_correct_derivatives_after_discard, def) \
219         DRI_CONF_DESC(en,"Implicit and explicit derivatives after a discard behave as if the discard didn't happen") \
220         DRI_CONF_DESC(de,"Implicit and explicit derivatives after a discard behave as if the discard didn't happen") \
221         DRI_CONF_DESC(es,"Implicit and explicit derivatives after a discard behave as if the discard didn't happen") \
222         DRI_CONF_DESC(fr,"Implicit and explicit derivatives after a discard behave as if the discard didn't happen") \
223         DRI_CONF_DESC(nl,"Implicit and explicit derivatives after a discard behave as if the discard didn't happen") \
224         DRI_CONF_DESC(sv,"Implicit and explicit derivatives after a discard behave as if the discard didn't happen") \
225 DRI_CONF_OPT_END
226 
227 #define DRI_CONF_ALLOW_GLSL_CROSS_STAGE_INTERPOLATION_MISMATCH(def) \
228 DRI_CONF_OPT_BEGIN_B(allow_glsl_cross_stage_interpolation_mismatch, def) \
229         DRI_CONF_DESC(en,"Allow interpolation qualifier mismatch across shader stages") \
230         DRI_CONF_DESC(de,"Allow interpolation qualifier mismatch across shader stages") \
231         DRI_CONF_DESC(es,"Allow interpolation qualifier mismatch across shader stages") \
232         DRI_CONF_DESC(fr,"Allow interpolation qualifier mismatch across shader stages") \
233         DRI_CONF_DESC(nl,"Allow interpolation qualifier mismatch across shader stages") \
234         DRI_CONF_DESC(sv,"Allow interpolation qualifier mismatch across shader stages") \
235 DRI_CONF_OPT_END
236 
237 /**
238  * \brief Image quality-related options
239  */
240 #define DRI_CONF_SECTION_QUALITY \
241 DRI_CONF_SECTION_BEGIN \
242 	DRI_CONF_DESC(en,"Image Quality") \
243 	DRI_CONF_DESC(de,"Bildqualität") \
244 	DRI_CONF_DESC(es,"Calidad de imagen") \
245 	DRI_CONF_DESC(fr,"Qualité d'image") \
246 	DRI_CONF_DESC(nl,"Beeldkwaliteit") \
247 	DRI_CONF_DESC(sv,"Bildkvalitet")
248 
249 #define DRI_CONF_EXCESS_MIPMAP(def) \
250 DRI_CONF_OPT_BEGIN_B(excess_mipmap, def) \
251 	DRI_CONF_DESC(en,"Enable extra mipmap level") \
252 DRI_CONF_OPT_END
253 
254 #define DRI_CONF_TEXTURE_DEPTH_FB       0
255 #define DRI_CONF_TEXTURE_DEPTH_32       1
256 #define DRI_CONF_TEXTURE_DEPTH_16       2
257 #define DRI_CONF_TEXTURE_DEPTH_FORCE_16 3
258 #define DRI_CONF_TEXTURE_DEPTH(def) \
259 DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \
260 	DRI_CONF_DESC_BEGIN(en,"Texture color depth") \
261                 DRI_CONF_ENUM(0,"Prefer frame buffer color depth") \
262                 DRI_CONF_ENUM(1,"Prefer 32 bits per texel") \
263                 DRI_CONF_ENUM(2,"Prefer 16 bits per texel") \
264                 DRI_CONF_ENUM(3,"Force 16 bits per texel") \
265         DRI_CONF_DESC_END \
266 	DRI_CONF_DESC_BEGIN(de,"Texturfarbtiefe") \
267                 DRI_CONF_ENUM(0,"Bevorzuge Farbtiefe des Framebuffers") \
268                 DRI_CONF_ENUM(1,"Bevorzuge 32 bits pro Texel") \
269                 DRI_CONF_ENUM(2,"Bevorzuge 16 bits pro Texel") \
270                 DRI_CONF_ENUM(3,"Erzwinge 16 bits pro Texel") \
271         DRI_CONF_DESC_END \
272 	DRI_CONF_DESC_BEGIN(es,"Profundidad de color de textura") \
273                 DRI_CONF_ENUM(0,"Preferir profundidad de color del framebuffer") \
274                 DRI_CONF_ENUM(1,"Preferir 32 bits por texel") \
275                 DRI_CONF_ENUM(2,"Preferir 16 bits por texel") \
276                 DRI_CONF_ENUM(3,"Forzar a 16 bits por texel") \
277         DRI_CONF_DESC_END \
278 	DRI_CONF_DESC_BEGIN(fr,"Profondeur de texture") \
279                 DRI_CONF_ENUM(0,"Profondeur de couleur") \
280                 DRI_CONF_ENUM(1,"Préférer 32 bits par texel") \
281                 DRI_CONF_ENUM(2,"Prérérer 16 bits par texel") \
282                 DRI_CONF_ENUM(3,"Forcer 16 bits par texel") \
283         DRI_CONF_DESC_END \
284 	DRI_CONF_DESC_BEGIN(nl,"Textuurkleurendiepte") \
285                 DRI_CONF_ENUM(0,"Prefereer kaderbufferkleurdiepte") \
286                 DRI_CONF_ENUM(1,"Prefereer 32 bits per texel") \
287                 DRI_CONF_ENUM(2,"Prefereer 16 bits per texel") \
288                 DRI_CONF_ENUM(3,"Dwing 16 bits per texel af") \
289         DRI_CONF_DESC_END \
290 	DRI_CONF_DESC_BEGIN(sv,"Färgdjup för texturer") \
291                 DRI_CONF_ENUM(0,"Föredra färgdjupet för framebuffer") \
292                 DRI_CONF_ENUM(1,"Föredra 32 bitar per texel") \
293                 DRI_CONF_ENUM(2,"Föredra 16 bitar per texel") \
294                 DRI_CONF_ENUM(3,"Tvinga 16 bitar per texel") \
295         DRI_CONF_DESC_END \
296 DRI_CONF_OPT_END
297 
298 #define DRI_CONF_DEF_MAX_ANISOTROPY(def,range) \
299 DRI_CONF_OPT_BEGIN_V(def_max_anisotropy,float,def,range) \
300         DRI_CONF_DESC(en,"Initial maximum value for anisotropic texture filtering") \
301         DRI_CONF_DESC(de,"Initialer Maximalwert für anisotropische Texturfilterung") \
302         DRI_CONF_DESC(es,"Valor máximo inicial para filtrado anisotrópico de textura") \
303         DRI_CONF_DESC(fr,"Valeur maximale initiale pour le filtrage anisotropique de texture") \
304         DRI_CONF_DESC(nl,"Initïele maximum waarde voor anisotrophische textuur filtering") \
305         DRI_CONF_DESC(sv,"Initialt maximalt värde för anisotropisk texturfiltrering") \
306 DRI_CONF_OPT_END
307 
308 #define DRI_CONF_NO_NEG_LOD_BIAS(def) \
309 DRI_CONF_OPT_BEGIN_B(no_neg_lod_bias, def) \
310         DRI_CONF_DESC(en,"Forbid negative texture LOD bias") \
311         DRI_CONF_DESC(de,"Verbiete negative Textur-Detailgradverschiebung") \
312         DRI_CONF_DESC(es,"Prohibir valores negativos de Nivel De Detalle (LOD) de texturas") \
313         DRI_CONF_DESC(fr,"Interdire le LOD bias negatif") \
314         DRI_CONF_DESC(nl,"Verbied negatief niveau detailonderscheid (LOD) van texturen") \
315         DRI_CONF_DESC(sv,"Förbjud negativ LOD-kompensation för texturer") \
316 DRI_CONF_OPT_END
317 
318 #define DRI_CONF_PRECISE_TRIG(def) \
319 DRI_CONF_OPT_BEGIN_B(precise_trig, def) \
320         DRI_CONF_DESC(en,"Prefer accuracy over performance in trig functions") \
321         DRI_CONF_DESC(de,"Prefer accuracy over performance in trig functions") \
322         DRI_CONF_DESC(es,"Prefer accuracy over performance in trig functions") \
323         DRI_CONF_DESC(fr,"Prefer accuracy over performance in trig functions") \
324         DRI_CONF_DESC(nl,"Prefer accuracy over performance in trig functions") \
325         DRI_CONF_DESC(sv,"Prefer accuracy over performance in trig functions") \
326 DRI_CONF_OPT_END
327 
328 #define DRI_CONF_COLOR_REDUCTION_ROUND 0
329 #define DRI_CONF_COLOR_REDUCTION_DITHER 1
330 #define DRI_CONF_COLOR_REDUCTION(def) \
331 DRI_CONF_OPT_BEGIN_V(color_reduction,enum,def,"0:1") \
332         DRI_CONF_DESC_BEGIN(en,"Initial color reduction method") \
333                 DRI_CONF_ENUM(0,"Round colors") \
334                 DRI_CONF_ENUM(1,"Dither colors") \
335         DRI_CONF_DESC_END \
336         DRI_CONF_DESC_BEGIN(de,"Initiale Farbreduktionsmethode") \
337                 DRI_CONF_ENUM(0,"Farben runden") \
338                 DRI_CONF_ENUM(1,"Farben rastern") \
339         DRI_CONF_DESC_END \
340         DRI_CONF_DESC_BEGIN(es,"Método inicial de reducción de color") \
341                 DRI_CONF_ENUM(0,"Colores redondeados") \
342                 DRI_CONF_ENUM(1,"Colores suavizados") \
343         DRI_CONF_DESC_END \
344         DRI_CONF_DESC_BEGIN(fr,"Technique de réduction de couleurs") \
345                 DRI_CONF_ENUM(0,"Arrondir les valeurs de couleur") \
346                 DRI_CONF_ENUM(1,"Tramer les couleurs") \
347         DRI_CONF_DESC_END \
348         DRI_CONF_DESC_BEGIN(nl,"Initïele kleurreductie methode") \
349                 DRI_CONF_ENUM(0,"Rond kleuren af") \
350                 DRI_CONF_ENUM(1,"Rasteriseer kleuren") \
351         DRI_CONF_DESC_END \
352         DRI_CONF_DESC_BEGIN(sv,"Initial färgminskningsmetod") \
353                 DRI_CONF_ENUM(0,"Avrunda färger") \
354                 DRI_CONF_ENUM(1,"Utjämna färger") \
355         DRI_CONF_DESC_END \
356 DRI_CONF_OPT_END
357 
358 #define DRI_CONF_ROUND_TRUNC 0
359 #define DRI_CONF_ROUND_ROUND 1
360 #define DRI_CONF_ROUND_MODE(def) \
361 DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \
362 	DRI_CONF_DESC_BEGIN(en,"Color rounding method") \
363                 DRI_CONF_ENUM(0,"Round color components downward") \
364                 DRI_CONF_ENUM(1,"Round to nearest color") \
365         DRI_CONF_DESC_END \
366 	DRI_CONF_DESC_BEGIN(de,"Farbrundungsmethode") \
367                 DRI_CONF_ENUM(0,"Farbkomponenten abrunden") \
368                 DRI_CONF_ENUM(1,"Zur ähnlichsten Farbe runden") \
369         DRI_CONF_DESC_END \
370 	DRI_CONF_DESC_BEGIN(es,"Método de redondeo de colores") \
371                 DRI_CONF_ENUM(0,"Redondear hacia abajo los componentes de color") \
372                 DRI_CONF_ENUM(1,"Redondear al color más cercano") \
373         DRI_CONF_DESC_END \
374 	DRI_CONF_DESC_BEGIN(fr,"Méthode d'arrondi des couleurs") \
375                 DRI_CONF_ENUM(0,"Arrondi à l'inférieur") \
376                 DRI_CONF_ENUM(1,"Arrondi au plus proche") \
377         DRI_CONF_DESC_END \
378 	DRI_CONF_DESC_BEGIN(nl,"Kleurafrondingmethode") \
379                 DRI_CONF_ENUM(0,"Rond kleurencomponenten af naar beneden") \
380                 DRI_CONF_ENUM(1,"Rond af naar dichtsbijzijnde kleur") \
381         DRI_CONF_DESC_END \
382 	DRI_CONF_DESC_BEGIN(sv,"Färgavrundningsmetod") \
383                 DRI_CONF_ENUM(0,"Avrunda färdkomponenter nedåt") \
384                 DRI_CONF_ENUM(1,"Avrunda till närmsta färg") \
385         DRI_CONF_DESC_END \
386 DRI_CONF_OPT_END
387 
388 #define DRI_CONF_DITHER_XERRORDIFF 0
389 #define DRI_CONF_DITHER_XERRORDIFFRESET 1
390 #define DRI_CONF_DITHER_ORDERED 2
391 #define DRI_CONF_DITHER_MODE(def) \
392 DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \
393 	DRI_CONF_DESC_BEGIN(en,"Color dithering method") \
394                 DRI_CONF_ENUM(0,"Horizontal error diffusion") \
395                 DRI_CONF_ENUM(1,"Horizontal error diffusion, reset error at line start") \
396                 DRI_CONF_ENUM(2,"Ordered 2D color dithering") \
397         DRI_CONF_DESC_END \
398 	DRI_CONF_DESC_BEGIN(de,"Farbrasterungsmethode") \
399                 DRI_CONF_ENUM(0,"Horizontale Fehlerstreuung") \
400                 DRI_CONF_ENUM(1,"Horizontale Fehlerstreuung, Fehler am Zeilenanfang zurücksetzen") \
401                 DRI_CONF_ENUM(2,"Geordnete 2D Farbrasterung") \
402         DRI_CONF_DESC_END \
403 	DRI_CONF_DESC_BEGIN(es,"Método de suavizado de color") \
404                 DRI_CONF_ENUM(0,"Difusión de error horizontal") \
405                 DRI_CONF_ENUM(1,"Difusión de error horizontal, reiniciar error al comienzo de línea") \
406                 DRI_CONF_ENUM(2,"Suavizado de color 2D ordenado") \
407         DRI_CONF_DESC_END \
408 	DRI_CONF_DESC_BEGIN(fr,"Méthode de tramage") \
409                 DRI_CONF_ENUM(0,"Diffusion d'erreur horizontale") \
410                 DRI_CONF_ENUM(1,"Diffusion d'erreur horizontale, réinitialisé pour chaque ligne") \
411                 DRI_CONF_ENUM(2,"Tramage ordonné des couleurs") \
412         DRI_CONF_DESC_END \
413 	DRI_CONF_DESC_BEGIN(nl,"Kleurrasteriseringsmethode") \
414                 DRI_CONF_ENUM(0,"Horizontale foutdiffusie") \
415                 DRI_CONF_ENUM(1,"Horizontale foutdiffusie, zet fout bij lijnbegin terug") \
416                 DRI_CONF_ENUM(2,"Geordende 2D kleurrasterisering") \
417         DRI_CONF_DESC_END \
418 	DRI_CONF_DESC_BEGIN(sv,"Färgutjämningsmetod") \
419                 DRI_CONF_ENUM(0,"Horisontell felspridning") \
420                 DRI_CONF_ENUM(1,"Horisontell felspridning, återställ fel vid radbörjan") \
421                 DRI_CONF_ENUM(2,"Ordnad 2D-färgutjämning") \
422         DRI_CONF_DESC_END \
423 DRI_CONF_OPT_END
424 
425 #define DRI_CONF_FLOAT_DEPTH(def) \
426 DRI_CONF_OPT_BEGIN_B(float_depth, def) \
427         DRI_CONF_DESC(en,"Floating point depth buffer") \
428         DRI_CONF_DESC(de,"Fließkomma z-Puffer") \
429         DRI_CONF_DESC(es,"Búfer de profundidad en coma flotante") \
430         DRI_CONF_DESC(fr,"Z-buffer en virgule flottante") \
431         DRI_CONF_DESC(nl,"Dieptebuffer als commagetal") \
432         DRI_CONF_DESC(sv,"Buffert för flytande punktdjup") \
433 DRI_CONF_OPT_END
434 
435 #define DRI_CONF_PP_CELSHADE(def) \
436 DRI_CONF_OPT_BEGIN_V(pp_celshade,enum,def,"0:1") \
437         DRI_CONF_DESC(en,"A post-processing filter to cel-shade the output") \
438         DRI_CONF_DESC(de,"Nachbearbeitungsfilter für Cell Shading") \
439         DRI_CONF_DESC(es,"Un filtro de postprocesamiento para aplicar cel shading a la salida") \
440         DRI_CONF_DESC(fr,"A post-processing filter to cel-shade the output") \
441         DRI_CONF_DESC(nl,"A post-processing filter to cel-shade the output") \
442         DRI_CONF_DESC(sv,"A post-processing filter to cel-shade the output") \
443 DRI_CONF_OPT_END
444 
445 #define DRI_CONF_PP_NORED(def) \
446 DRI_CONF_OPT_BEGIN_V(pp_nored,enum,def,"0:1") \
447         DRI_CONF_DESC(en,"A post-processing filter to remove the red channel") \
448         DRI_CONF_DESC(de,"Nachbearbeitungsfilter zum Entfernen des Rotkanals") \
449         DRI_CONF_DESC(es,"Un filtro de postprocesamiento para eliminar el canal rojo") \
450         DRI_CONF_DESC(fr,"A post-processing filter to remove the red channel") \
451         DRI_CONF_DESC(nl,"A post-processing filter to remove the red channel") \
452         DRI_CONF_DESC(sv,"A post-processing filter to remove the red channel") \
453 DRI_CONF_OPT_END
454 
455 #define DRI_CONF_PP_NOGREEN(def) \
456 DRI_CONF_OPT_BEGIN_V(pp_nogreen,enum,def,"0:1") \
457         DRI_CONF_DESC(en,"A post-processing filter to remove the green channel") \
458         DRI_CONF_DESC(de,"Nachbearbeitungsfilter zum Entfernen des Grünkanals") \
459         DRI_CONF_DESC(es,"Un filtro de postprocesamiento para eliminar el canal verde") \
460         DRI_CONF_DESC(fr,"A post-processing filter to remove the green channel") \
461         DRI_CONF_DESC(nl,"A post-processing filter to remove the green channel") \
462         DRI_CONF_DESC(sv,"A post-processing filter to remove the green channel") \
463 DRI_CONF_OPT_END
464 
465 #define DRI_CONF_PP_NOBLUE(def) \
466 DRI_CONF_OPT_BEGIN_V(pp_noblue,enum,def,"0:1") \
467         DRI_CONF_DESC(en,"A post-processing filter to remove the blue channel") \
468         DRI_CONF_DESC(de,"Nachbearbeitungsfilter zum Entfernen des Blaukanals") \
469         DRI_CONF_DESC(es,"Un filtro de postprocesamiento para eliminar el canal azul") \
470         DRI_CONF_DESC(fr,"A post-processing filter to remove the blue channel") \
471         DRI_CONF_DESC(nl,"A post-processing filter to remove the blue channel") \
472         DRI_CONF_DESC(sv,"A post-processing filter to remove the blue channel") \
473 DRI_CONF_OPT_END
474 
475 #define DRI_CONF_PP_JIMENEZMLAA(def,min,max) \
476 DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa,int,def, # min ":" # max ) \
477         DRI_CONF_DESC(en,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
478         DRI_CONF_DESC(de,"Morphologische Kantenglättung (Anti-Aliasing) basierend auf Jimenez' MLAA. 0 für deaktiviert, 8 für Standardqualität") \
479         DRI_CONF_DESC(es,"Antialiasing morfológico basado en el MLAA de Jimenez. 0 para deshabilitar, 8 para calidad por defecto") \
480         DRI_CONF_DESC(fr,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
481         DRI_CONF_DESC(nl,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
482         DRI_CONF_DESC(sv,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
483 DRI_CONF_OPT_END
484 
485 #define DRI_CONF_PP_JIMENEZMLAA_COLOR(def,min,max) \
486 DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa_color,int,def, # min ":" # max ) \
487         DRI_CONF_DESC(en,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps") \
488         DRI_CONF_DESC(de,"Morphologische Kantenglättung (Anti-Aliasing) basierend auf Jimenez' MLAA. 0 für deaktiviert, 8 für Standardqualität. Farbversion, für 2D-Anwendungen") \
489         DRI_CONF_DESC(es,"Antialiasing morfológico basado en el MLAA de Jimenez. 0 para deshabilitar, 8 para calidad por defecto. Versión en color, usable con aplicaciones GL 2D") \
490         DRI_CONF_DESC(fr,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps") \
491         DRI_CONF_DESC(nl,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps") \
492         DRI_CONF_DESC(sv,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps") \
493 DRI_CONF_OPT_END
494 
495 
496 
497 /**
498  * \brief Performance-related options
499  */
500 #define DRI_CONF_SECTION_PERFORMANCE \
501 DRI_CONF_SECTION_BEGIN \
502         DRI_CONF_DESC(en,"Performance") \
503         DRI_CONF_DESC(de,"Leistung") \
504         DRI_CONF_DESC(es,"Rendimiento") \
505         DRI_CONF_DESC(fr,"Performance") \
506         DRI_CONF_DESC(nl,"Prestatie") \
507         DRI_CONF_DESC(sv,"Prestanda")
508 
509 #define DRI_CONF_TCL_SW 0
510 #define DRI_CONF_TCL_PIPELINED 1
511 #define DRI_CONF_TCL_VTXFMT 2
512 #define DRI_CONF_TCL_CODEGEN 3
513 #define DRI_CONF_TCL_MODE(def) \
514 DRI_CONF_OPT_BEGIN_V(tcl_mode,enum,def,"0:3") \
515         DRI_CONF_DESC_BEGIN(en,"TCL mode (Transformation, Clipping, Lighting)") \
516                 DRI_CONF_ENUM(0,"Use software TCL pipeline") \
517                 DRI_CONF_ENUM(1,"Use hardware TCL as first TCL pipeline stage") \
518                 DRI_CONF_ENUM(2,"Bypass the TCL pipeline") \
519                 DRI_CONF_ENUM(3,"Bypass the TCL pipeline with state-based machine code generated on-the-fly") \
520         DRI_CONF_DESC_END \
521         DRI_CONF_DESC_BEGIN(de,"TCL-Modus (Transformation, Clipping, Licht)") \
522                 DRI_CONF_ENUM(0,"Benutze die Software-TCL-Pipeline") \
523                 DRI_CONF_ENUM(1,"Benutze Hardware TCL als erste Stufe der TCL-Pipeline") \
524                 DRI_CONF_ENUM(2,"Umgehe die TCL-Pipeline") \
525                 DRI_CONF_ENUM(3,"Umgehe die TCL-Pipeline mit zur Laufzeit erzeugtem, zustandsbasiertem Maschinencode") \
526         DRI_CONF_DESC_END \
527         DRI_CONF_DESC_BEGIN(es,"Modo TCL (Transformación, Recorte, Iluminación)") \
528                 DRI_CONF_ENUM(0,"Usar tubería TCL por software") \
529                 DRI_CONF_ENUM(1,"Usar TCL por hardware en la primera fase de la tubería TCL") \
530                 DRI_CONF_ENUM(2,"Pasar por alto la tubería TCL") \
531                 DRI_CONF_ENUM(3,"Pasar por alto la tubería TCL con código máquina basado en estados, generado al vuelo") \
532         DRI_CONF_DESC_END \
533         DRI_CONF_DESC_BEGIN(fr,"Mode de TCL (Transformation, Clipping, Eclairage)") \
534                 DRI_CONF_ENUM(0,"Utiliser un pipeline TCL logiciel") \
535                 DRI_CONF_ENUM(1,"Utiliser le TCL matériel pour le premier niveau de pipeline") \
536                 DRI_CONF_ENUM(2,"Court-circuiter le pipeline TCL") \
537                 DRI_CONF_ENUM(3,"Court-circuiter le pipeline TCL par une machine à états qui génère le codede TCL à la volée") \
538         DRI_CONF_DESC_END \
539         DRI_CONF_DESC_BEGIN(nl,"TCL-modus (Transformatie, Clipping, Licht)") \
540                 DRI_CONF_ENUM(0,"Gebruik software TCL pijpleiding") \
541                 DRI_CONF_ENUM(1,"Gebruik hardware TCL as eerste TCL pijpleiding trap") \
542                 DRI_CONF_ENUM(2,"Omzeil de TCL pijpleiding") \
543                 DRI_CONF_ENUM(3,"Omzeil de TCL pijpleiding met staatgebaseerde machinecode die tijdens executie gegenereerd wordt") \
544         DRI_CONF_DESC_END \
545         DRI_CONF_DESC_BEGIN(sv,"TCL-läge (Transformation, Clipping, Lighting)") \
546                 DRI_CONF_ENUM(0,"Använd programvaru-TCL-rörledning") \
547                 DRI_CONF_ENUM(1,"Använd maskinvaru-TCL som första TCL-rörledningssteg") \
548                 DRI_CONF_ENUM(2,"Kringgå TCL-rörledningen") \
549                 DRI_CONF_ENUM(3,"Kringgå TCL-rörledningen med tillståndsbaserad maskinkod som direktgenereras") \
550         DRI_CONF_DESC_END \
551 DRI_CONF_OPT_END
552 
553 #define DRI_CONF_FTHROTTLE_BUSY 0
554 #define DRI_CONF_FTHROTTLE_USLEEPS 1
555 #define DRI_CONF_FTHROTTLE_IRQS 2
556 #define DRI_CONF_FTHROTTLE_MODE(def) \
557 DRI_CONF_OPT_BEGIN_V(fthrottle_mode,enum,def,"0:2") \
558         DRI_CONF_DESC_BEGIN(en,"Method to limit rendering latency") \
559                 DRI_CONF_ENUM(0,"Busy waiting for the graphics hardware") \
560                 DRI_CONF_ENUM(1,"Sleep for brief intervals while waiting for the graphics hardware") \
561                 DRI_CONF_ENUM(2,"Let the graphics hardware emit a software interrupt and sleep") \
562         DRI_CONF_DESC_END \
563         DRI_CONF_DESC_BEGIN(de,"Methode zur Begrenzung der Bildverzögerung") \
564                 DRI_CONF_ENUM(0,"Aktives Warten auf die Grafikhardware") \
565                 DRI_CONF_ENUM(1,"Kurze Schlafintervalle beim Warten auf die Grafikhardware") \
566                 DRI_CONF_ENUM(2,"Die Grafikhardware eine Softwareunterbrechnung erzeugen lasse n und schlafen") \
567         DRI_CONF_DESC_END \
568         DRI_CONF_DESC_BEGIN(es,"Método para limitar la latencia de renderización") \
569                 DRI_CONF_ENUM(0,"Esperar activamente al hardware gráfico") \
570                 DRI_CONF_ENUM(1,"Dormir en intervalos cortos mientras se espera al hardware gráfico") \
571                 DRI_CONF_ENUM(2,"Permitir que el hardware gráfico emita una interrupción de software y duerma") \
572         DRI_CONF_DESC_END \
573         DRI_CONF_DESC_BEGIN(fr,"Méthode d'attente de la carte graphique") \
574                 DRI_CONF_ENUM(0,"Attente active de la carte graphique") \
575                 DRI_CONF_ENUM(1,"Attente utilisant usleep()") \
576                 DRI_CONF_ENUM(2,"Utiliser les interruptions") \
577         DRI_CONF_DESC_END \
578         DRI_CONF_DESC_BEGIN(nl,"Methode om beeldopbouwvertraging te onderdrukken") \
579                 DRI_CONF_ENUM(0,"Actief wachten voor de grafische hardware") \
580                 DRI_CONF_ENUM(1,"Slaap voor korte intervallen tijdens het wachten op de grafische hardware") \
581                 DRI_CONF_ENUM(2,"Laat de grafische hardware een software onderbreking uitzenden en in slaap vallen") \
582         DRI_CONF_DESC_END \
583         DRI_CONF_DESC_BEGIN(sv,"Metod för att begränsa renderingslatens") \
584                 DRI_CONF_ENUM(0,"Upptagen med att vänta på grafikhårdvaran") \
585                 DRI_CONF_ENUM(1,"Sov i korta intervall under väntan på grafikhårdvaran") \
586                 DRI_CONF_ENUM(2,"Låt grafikhårdvaran sända ut ett programvaruavbrott och sov") \
587         DRI_CONF_DESC_END \
588 DRI_CONF_OPT_END
589 
590 #define DRI_CONF_VBLANK_NEVER 0
591 #define DRI_CONF_VBLANK_DEF_INTERVAL_0 1
592 #define DRI_CONF_VBLANK_DEF_INTERVAL_1 2
593 #define DRI_CONF_VBLANK_ALWAYS_SYNC 3
594 #define DRI_CONF_VBLANK_MODE(def) \
595 DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \
596         DRI_CONF_DESC_BEGIN(en,"Synchronization with vertical refresh (swap intervals)") \
597                 DRI_CONF_ENUM(0,"Never synchronize with vertical refresh, ignore application's choice") \
598                 DRI_CONF_ENUM(1,"Initial swap interval 0, obey application's choice") \
599                 DRI_CONF_ENUM(2,"Initial swap interval 1, obey application's choice") \
600                 DRI_CONF_ENUM(3,"Always synchronize with vertical refresh, application chooses the minimum swap interval") \
601         DRI_CONF_DESC_END \
602         DRI_CONF_DESC_BEGIN(de,"Synchronisation mit der vertikalen Bildwiederholung") \
603                 DRI_CONF_ENUM(0,"Niemals mit der Bildwiederholung synchronisieren, Anweisungen der Anwendung ignorieren") \
604                 DRI_CONF_ENUM(1,"Initiales Bildinterval 0, Anweisungen der Anwendung gehorchen") \
605                 DRI_CONF_ENUM(2,"Initiales Bildinterval 1, Anweisungen der Anwendung gehorchen") \
606                 DRI_CONF_ENUM(3,"Immer mit der Bildwiederholung synchronisieren, Anwendung wählt das minimale Bildintervall") \
607         DRI_CONF_DESC_END \
608         DRI_CONF_DESC_BEGIN(es,"Sincronización con el refresco vertical (intervalos de intercambio)") \
609                 DRI_CONF_ENUM(0,"No sincronizar nunca con el refresco vertical, ignorar la elección de la aplicación") \
610                 DRI_CONF_ENUM(1,"Intervalo de intercambio inicial 0, obedecer la elección de la aplicación") \
611                 DRI_CONF_ENUM(2,"Intervalo de intercambio inicial 1, obedecer la elección de la aplicación") \
612                 DRI_CONF_ENUM(3,"Sincronizar siempre con el refresco vertical, la aplicación elige el intervalo de intercambio mínimo") \
613         DRI_CONF_DESC_END \
614         DRI_CONF_DESC_BEGIN(fr,"Synchronisation de l'affichage avec le balayage vertical") \
615                 DRI_CONF_ENUM(0,"Ne jamais synchroniser avec le balayage vertical, ignorer le choix de l'application") \
616                 DRI_CONF_ENUM(1,"Ne pas synchroniser avec le balayage vertical par défaut, mais obéir au choix de l'application") \
617                 DRI_CONF_ENUM(2,"Synchroniser avec le balayage vertical par défaut, mais obéir au choix de l'application") \
618                 DRI_CONF_ENUM(3,"Toujours synchroniser avec le balayage vertical, l'application choisit l'intervalle minimal") \
619         DRI_CONF_DESC_END \
620         DRI_CONF_DESC_BEGIN(nl,"Synchronisatie met verticale verversing (interval omwisselen)") \
621                 DRI_CONF_ENUM(0,"Nooit synchroniseren met verticale verversing, negeer de keuze van de applicatie") \
622                 DRI_CONF_ENUM(1,"Initïeel omwisselingsinterval 0, honoreer de keuze van de applicatie") \
623                 DRI_CONF_ENUM(2,"Initïeel omwisselingsinterval 1, honoreer de keuze van de applicatie") \
624                 DRI_CONF_ENUM(3,"Synchroniseer altijd met verticale verversing, de applicatie kiest het minimum omwisselingsinterval") \
625         DRI_CONF_DESC_END \
626         DRI_CONF_DESC_BEGIN(sv,"Synkronisering med vertikal uppdatering (växlingsintervall)") \
627                 DRI_CONF_ENUM(0,"Synkronisera aldrig med vertikal uppdatering, ignorera programmets val") \
628                 DRI_CONF_ENUM(1,"Initialt växlingsintervall 0, följ programmets val") \
629                 DRI_CONF_ENUM(2,"Initialt växlingsintervall 1, följ programmets val") \
630                 DRI_CONF_ENUM(3,"Synkronisera alltid med vertikal uppdatering, programmet väljer den minsta växlingsintervallen") \
631         DRI_CONF_DESC_END \
632 DRI_CONF_OPT_END
633 
634 #define DRI_CONF_HYPERZ_DISABLED 0
635 #define DRI_CONF_HYPERZ_ENABLED 1
636 #define DRI_CONF_HYPERZ(def) \
637 DRI_CONF_OPT_BEGIN_B(hyperz, def) \
638         DRI_CONF_DESC(en,"Use HyperZ to boost performance") \
639         DRI_CONF_DESC(de,"HyperZ zur Leistungssteigerung verwenden") \
640         DRI_CONF_DESC(es,"Usar HyperZ para potenciar rendimiento") \
641         DRI_CONF_DESC(fr,"Utiliser le HyperZ pour améliorer les performances") \
642         DRI_CONF_DESC(nl,"Gebruik HyperZ om de prestaties te verbeteren") \
643         DRI_CONF_DESC(sv,"Använd HyperZ för att maximera prestandan") \
644 DRI_CONF_OPT_END
645 
646 #define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \
647 DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
648         DRI_CONF_DESC(en,"Number of texture units used") \
649         DRI_CONF_DESC(de,"Anzahl der benutzten Textureinheiten") \
650         DRI_CONF_DESC(es,"Número de unidades de textura usadas") \
651         DRI_CONF_DESC(fr,"Nombre d'unités de texture") \
652         DRI_CONF_DESC(nl,"Aantal textuureenheden in gebruik") \
653         DRI_CONF_DESC(sv,"Antal använda texturenheter") \
654 DRI_CONF_OPT_END
655 
656 #define DRI_CONF_TEXTURE_BLEND_QUALITY(def,range) \
657 DRI_CONF_OPT_BEGIN_V(texture_blend_quality,float,def,range) \
658 	DRI_CONF_DESC(en,"Texture filtering quality vs. speed, AKA “brilinear” texture filtering") \
659 	DRI_CONF_DESC(de,"Texturfilterqualität versus -geschwindigkeit, auch bekannt als „brilineare“ Texturfilterung") \
660 	DRI_CONF_DESC(es,"Calidad de filtrado de textura vs. velocidad, alias filtrado ”brilinear“ de textura") \
661 	DRI_CONF_DESC(fr,"Qualité/performance du filtrage trilinéaire de texture (filtrage brilinéaire)") \
662 	DRI_CONF_DESC(nl,"Textuurfilterkwaliteit versus -snelheid, ookwel bekend als “brilineaire” textuurfiltering") \
663 	DRI_CONF_DESC(sv,"Texturfiltreringskvalitet mot hastighet, även kallad ”brilinear”-texturfiltrering") \
664 DRI_CONF_OPT_END
665 
666 #define DRI_CONF_TEXTURE_HEAPS_ALL 0
667 #define DRI_CONF_TEXTURE_HEAPS_CARD 1
668 #define DRI_CONF_TEXTURE_HEAPS_GART 2
669 #define DRI_CONF_TEXTURE_HEAPS(def) \
670 DRI_CONF_OPT_BEGIN_V(texture_heaps,enum,def,"0:2") \
671 	DRI_CONF_DESC_BEGIN(en,"Used types of texture memory") \
672 		DRI_CONF_ENUM(0,"All available memory") \
673 		DRI_CONF_ENUM(1,"Only card memory (if available)") \
674 		DRI_CONF_ENUM(2,"Only GART (AGP/PCIE) memory (if available)") \
675 	DRI_CONF_DESC_END \
676 	DRI_CONF_DESC_BEGIN(de,"Benutzte Arten von Texturspeicher") \
677 		DRI_CONF_ENUM(0,"Aller verfügbarer Speicher") \
678 		DRI_CONF_ENUM(1,"Nur Grafikspeicher (falls verfügbar)") \
679 		DRI_CONF_ENUM(2,"Nur GART-Speicher (AGP/PCIE) (falls verfügbar)") \
680 	DRI_CONF_DESC_END \
681 	DRI_CONF_DESC_BEGIN(es,"Tipos de memoria de textura usados") \
682 		DRI_CONF_ENUM(0,"Toda la memoria disponible") \
683 		DRI_CONF_ENUM(1,"Solo memoria de tarjeta (si está disponible)") \
684 		DRI_CONF_ENUM(2,"Solo memoria GART (AGP/PCIE) (si está disponible)") \
685 	DRI_CONF_DESC_END \
686 	DRI_CONF_DESC_BEGIN(fr,"Types de mémoire de texture") \
687 		DRI_CONF_ENUM(0,"Utiliser toute la mémoire disponible") \
688 		DRI_CONF_ENUM(1,"Utiliser uniquement la mémoire graphique (si disponible)") \
689 		DRI_CONF_ENUM(2,"Utiliser uniquement la mémoire GART (AGP/PCIE) (si disponible)") \
690 	DRI_CONF_DESC_END \
691 	DRI_CONF_DESC_BEGIN(nl,"Gebruikte soorten textuurgeheugen") \
692 		DRI_CONF_ENUM(0,"Al het beschikbaar geheugen") \
693 		DRI_CONF_ENUM(1,"Alleen geheugen op de kaart (als het aanwezig is)") \
694 		DRI_CONF_ENUM(2,"Alleen GART (AGP/PCIE) geheugen (als het aanwezig is)") \
695 	DRI_CONF_DESC_END \
696 	DRI_CONF_DESC_BEGIN(sv,"Använda typer av texturminne") \
697 		DRI_CONF_ENUM(0,"Allt tillgängligt minne") \
698 		DRI_CONF_ENUM(1,"Endast kortminne (om tillgängligt)") \
699 		DRI_CONF_ENUM(2,"Endast GART-minne (AGP/PCIE) (om tillgängligt)") \
700 	DRI_CONF_DESC_END \
701 DRI_CONF_OPT_END
702 
703 #define DRI_CONF_MESA_GLTHREAD(def) \
704 DRI_CONF_OPT_BEGIN_B(mesa_glthread, def) \
705         DRI_CONF_DESC(en,"Enable offloading GL driver work to a separate thread") \
706         DRI_CONF_DESC(de,"Enable offloading GL driver work to a separate thread") \
707         DRI_CONF_DESC(es,"Enable offloading GL driver work to a separate thread") \
708         DRI_CONF_DESC(fr,"Enable offloading GL driver work to a separate thread") \
709         DRI_CONF_DESC(nl,"Enable offloading GL driver work to a separate thread") \
710         DRI_CONF_DESC(sv,"Enable offloading GL driver work to a separate thread") \
711 DRI_CONF_OPT_END
712 
713 #define DRI_CONF_MESA_NO_ERROR(def) \
714 DRI_CONF_OPT_BEGIN_B(mesa_no_error, def) \
715         DRI_CONF_DESC(en,"Disable GL driver error checking") \
716         DRI_CONF_DESC(de,"Disable GL driver error checking") \
717         DRI_CONF_DESC(es,"Disable GL driver error checking") \
718         DRI_CONF_DESC(fr,"Disable GL driver error checking") \
719         DRI_CONF_DESC(nl,"Disable GL driver error checking") \
720         DRI_CONF_DESC(sv,"Disable GL driver error checking") \
721 DRI_CONF_OPT_END
722 
723 #define DRI_CONF_DISABLE_EXT_BUFFER_AGE(def) \
724 DRI_CONF_OPT_BEGIN_B(glx_disable_ext_buffer_age, def) \
725    DRI_CONF_DESC(en, "Disable the GLX_EXT_buffer_age extension") \
726    DRI_CONF_DESC(de, "Disable the GLX_EXT_buffer_age extension") \
727    DRI_CONF_DESC(es, "Disable the GLX_EXT_buffer_age extension") \
728    DRI_CONF_DESC(fr, "Disable the GLX_EXT_buffer_age extension") \
729    DRI_CONF_DESC(nl, "Disable the GLX_EXT_buffer_age extension") \
730    DRI_CONF_DESC(sv, "Disable the GLX_EXT_buffer_age extension") \
731 DRI_CONF_OPT_END
732 
733 #define DRI_CONF_DISABLE_OML_SYNC_CONTROL(def) \
734 DRI_CONF_OPT_BEGIN_B(glx_disable_oml_sync_control, def) \
735    DRI_CONF_DESC(en, "Disable the GLX_OML_sync_control extension") \
736    DRI_CONF_DESC(de, "Disable the GLX_OML_sync_control extension") \
737    DRI_CONF_DESC(es, "Disable the GLX_OML_sync_control extension") \
738    DRI_CONF_DESC(fr, "Disable the GLX_OML_sync_control extension") \
739    DRI_CONF_DESC(nl, "Disable the GLX_OML_sync_control extension") \
740    DRI_CONF_DESC(sv, "Disable the GLX_OML_sync_control extension") \
741 DRI_CONF_OPT_END
742 
743 
744 /**
745  * \brief Software-fallback options.  To allow using features (like
746  * GL_ARB_vertex_program) on GPUs that don't otherwise support the feature.
747  */
748 #define DRI_CONF_SECTION_SOFTWARE \
749 DRI_CONF_SECTION_BEGIN \
750         DRI_CONF_DESC(en,"Features that are not hardware-accelerated") \
751         DRI_CONF_DESC(de,"Funktionalität, die nicht hardwarebeschleunigt ist") \
752         DRI_CONF_DESC(es,"Características no aceleradas por hardware") \
753         DRI_CONF_DESC(fr,"Fonctionnalités ne bénéficiant pas d'une accélération matérielle") \
754         DRI_CONF_DESC(nl,"Eigenschappen die niet hardwareversneld zijn") \
755         DRI_CONF_DESC(sv,"Funktioner som inte är hårdvaruaccelererade")
756 
757 #define DRI_CONF_ARB_VERTEX_PROGRAM(def) \
758 DRI_CONF_OPT_BEGIN_B(arb_vertex_program, def) \
759         DRI_CONF_DESC(en,"Enable extension GL_ARB_vertex_program") \
760         DRI_CONF_DESC(de,"Erweiterung GL_ARB_vertex_program aktivieren") \
761         DRI_CONF_DESC(es,"Habilitar la extensión GL_ARB_vertex_program") \
762         DRI_CONF_DESC(fr,"Activer l'extension GL_ARB_vertex_program") \
763         DRI_CONF_DESC(nl,"Zet uitbreiding GL_ARB_vertex_program aan") \
764         DRI_CONF_DESC(sv,"Aktivera tillägget GL_ARB_vertex_program") \
765 DRI_CONF_OPT_END
766 
767 
768 
769 /**
770  * \brief Miscellaneous configuration options
771  */
772 #define DRI_CONF_SECTION_MISCELLANEOUS \
773 DRI_CONF_SECTION_BEGIN \
774         DRI_CONF_DESC(en,"Miscellaneous") \
775         DRI_CONF_DESC(de,"Miscellaneous") \
776         DRI_CONF_DESC(es,"Misceláneos") \
777         DRI_CONF_DESC(fr,"Miscellaneous") \
778         DRI_CONF_DESC(nl,"Miscellaneous") \
779         DRI_CONF_DESC(sv,"Miscellaneous")
780 
781 #define DRI_CONF_ALWAYS_HAVE_DEPTH_BUFFER(def) \
782 DRI_CONF_OPT_BEGIN_B(always_have_depth_buffer, def) \
783         DRI_CONF_DESC(en,"Create all visuals with a depth buffer") \
784         DRI_CONF_DESC(de,"Create all visuals with a depth buffer") \
785         DRI_CONF_DESC(es,"Crear todos los visuales con búfer de profundidad") \
786         DRI_CONF_DESC(fr,"Create all visuals with a depth buffer") \
787         DRI_CONF_DESC(nl,"Create all visuals with a depth buffer") \
788         DRI_CONF_DESC(sv,"Create all visuals with a depth buffer") \
789 DRI_CONF_OPT_END
790 
791 #define DRI_CONF_GLSL_ZERO_INIT(def) \
792 DRI_CONF_OPT_BEGIN_B(glsl_zero_init, def) \
793         DRI_CONF_DESC(en,"Force uninitialized variables to default to zero") \
794         DRI_CONF_DESC(de,"Force uninitialized variables to default to zero") \
795         DRI_CONF_DESC(es,"Force uninitialized variables to default to zero") \
796         DRI_CONF_DESC(fr,"Force uninitialized variables to default to zero") \
797         DRI_CONF_DESC(nl,"Force uninitialized variables to default to zero") \
798         DRI_CONF_DESC(sv,"Force uninitialized variables to default to zero") \
799 DRI_CONF_OPT_END
800 
801 #define DRI_CONF_ALLOW_RGB10_CONFIGS(def) \
802 DRI_CONF_OPT_BEGIN_B(allow_rgb10_configs, def) \
803 DRI_CONF_DESC(en,"Allow exposure of visuals and fbconfigs with rgb10a2 formats") \
804 DRI_CONF_DESC(de,"Allow exposure of visuals and fbconfigs with rgb10a2 formats") \
805 DRI_CONF_DESC(es,"Allow exposure of visuals and fbconfigs with rgb10a2 formats") \
806 DRI_CONF_DESC(fr,"Allow exposure of visuals and fbconfigs with rgb10a2 formats") \
807 DRI_CONF_DESC(nl,"Allow exposure of visuals and fbconfigs with rgb10a2 formats") \
808 DRI_CONF_DESC(sv,"Allow exposure of visuals and fbconfigs with rgb10a2 formats") \
809 DRI_CONF_OPT_END
810 
811 /**
812  * \brief Initialization configuration options
813  */
814 #define DRI_CONF_SECTION_INITIALIZATION \
815 DRI_CONF_SECTION_BEGIN \
816         DRI_CONF_DESC(en,"Initialization") \
817         DRI_CONF_DESC(de,"Initialization") \
818         DRI_CONF_DESC(es,"Inicialización") \
819         DRI_CONF_DESC(fr,"Initialization") \
820         DRI_CONF_DESC(nl,"Initialization") \
821         DRI_CONF_DESC(sv,"Initialization")
822 
823 #define DRI_CONF_DEVICE_ID_PATH_TAG(def) \
824 DRI_CONF_OPT_BEGIN(device_id, string, def) \
825         DRI_CONF_DESC(en,"Define the graphic device to use if possible") \
826         DRI_CONF_DESC(de,"Define the graphic device to use if possible") \
827         DRI_CONF_DESC(es,"Define el dispositivo de gráficos que usar si es posible") \
828         DRI_CONF_DESC(fr,"Define the graphic device to use if possible") \
829         DRI_CONF_DESC(nl,"Define the graphic device to use if possible") \
830         DRI_CONF_DESC(sv,"Define the graphic device to use if possible") \
831 DRI_CONF_OPT_END
832 
833 /**
834  * \brief Gallium-Nine specific configuration options
835  */
836 
837 #define DRI_CONF_SECTION_NINE \
838 DRI_CONF_SECTION_BEGIN \
839         DRI_CONF_DESC(en,"Gallium Nine") \
840         DRI_CONF_DESC(de,"Gallium Nine") \
841         DRI_CONF_DESC(es,"Gallium Nine") \
842         DRI_CONF_DESC(fr,"Gallium Nine") \
843         DRI_CONF_DESC(nl,"Gallium Nine") \
844         DRI_CONF_DESC(sv,"Gallium Nine")
845 
846 #define DRI_CONF_NINE_THROTTLE(def) \
847 DRI_CONF_OPT_BEGIN(throttle_value, int, def) \
848         DRI_CONF_DESC(en,"Define the throttling value. -1 for no throttling, -2 for default (usually 2), 0 for glfinish behaviour") \
849         DRI_CONF_DESC(de,"Define the throttling value. -1 for no throttling, -2 for default (usually 2), 0 for glfinish behaviour") \
850         DRI_CONF_DESC(es,"Define el valor de regulación. -1 para no regular, -2 para el por defecto (generalmente 2), 0 para el comportamiento de glfinish") \
851         DRI_CONF_DESC(fr,"Define the throttling value. -1 for no throttling, -2 for default (usually 2), 0 for glfinish behaviour") \
852         DRI_CONF_DESC(nl,"Define the throttling value. -1 for no throttling, -2 for default (usually 2), 0 for glfinish behaviour") \
853         DRI_CONF_DESC(sv,"Define the throttling value. -1 for no throttling, -2 for default (usually 2), 0 for glfinish behaviour") \
854 DRI_CONF_OPT_END
855 
856 #define DRI_CONF_NINE_THREADSUBMIT(def) \
857 DRI_CONF_OPT_BEGIN_B(thread_submit, def) \
858         DRI_CONF_DESC(en,"Use an additional thread to submit buffers.") \
859         DRI_CONF_DESC(de,"Use an additional thread to submit buffers.") \
860         DRI_CONF_DESC(es,"Usar un hilo adicional para entregar los búfer.") \
861         DRI_CONF_DESC(fr,"Use an additional thread to submit buffers.") \
862         DRI_CONF_DESC(nl,"Use an additional thread to submit buffers.") \
863         DRI_CONF_DESC(sv,"Use an additional thread to submit buffers.") \
864 DRI_CONF_OPT_END
865 
866 #define DRI_CONF_NINE_OVERRIDEVENDOR(def) \
867 DRI_CONF_OPT_BEGIN(override_vendorid, int, def) \
868         DRI_CONF_DESC(en,"Define the vendor_id to report. This allows faking another hardware vendor.") \
869         DRI_CONF_DESC(de,"Define the vendor_id to report. This allows faking another hardware vendor.") \
870         DRI_CONF_DESC(es,"Define the vendor_id to report. This allows faking another hardware vendor.") \
871         DRI_CONF_DESC(fr,"Define the vendor_id to report. This allows faking another hardware vendor.") \
872         DRI_CONF_DESC(nl,"Define the vendor_id to report. This allows faking another hardware vendor.") \
873         DRI_CONF_DESC(sv,"Define the vendor_id to report. This allows faking another hardware vendor.") \
874 DRI_CONF_OPT_END
875 
876 #define DRI_CONF_NINE_ALLOWDISCARDDELAYEDRELEASE(def) \
877 DRI_CONF_OPT_BEGIN_B(discard_delayed_release, def) \
878         DRI_CONF_DESC(en,"Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).") \
879         DRI_CONF_DESC(de,"Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).") \
880         DRI_CONF_DESC(es,"Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).") \
881         DRI_CONF_DESC(fr,"Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).") \
882         DRI_CONF_DESC(nl,"Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).") \
883         DRI_CONF_DESC(sv,"Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).") \
884 DRI_CONF_OPT_END
885 
886 #define DRI_CONF_NINE_TEARFREEDISCARD(def) \
887 DRI_CONF_OPT_BEGIN_B(tearfree_discard, def) \
888         DRI_CONF_DESC(en,"Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.") \
889         DRI_CONF_DESC(de,"Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.") \
890         DRI_CONF_DESC(es,"Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.") \
891         DRI_CONF_DESC(fr,"Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.") \
892         DRI_CONF_DESC(nl,"Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.") \
893         DRI_CONF_DESC(sv,"Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.") \
894 DRI_CONF_OPT_END
895 
896 #define DRI_CONF_NINE_CSMT(def) \
897 DRI_CONF_OPT_BEGIN(csmt_force, int, def) \
898         DRI_CONF_DESC(en,"If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.") \
899         DRI_CONF_DESC(de,"If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.") \
900         DRI_CONF_DESC(es,"If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.") \
901         DRI_CONF_DESC(fr,"If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.") \
902         DRI_CONF_DESC(nl,"If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.") \
903         DRI_CONF_DESC(sv,"If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.") \
904 DRI_CONF_OPT_END
905 
906 /**
907  * \brief radeonsi specific configuration options
908  */
909 
910 #define DRI_CONF_RADEONSI_ENABLE_SISCHED(def) \
911 DRI_CONF_OPT_BEGIN_B(radeonsi_enable_sisched, def) \
912         DRI_CONF_DESC(en,"Use the LLVM sisched option for shader compiles") \
913         DRI_CONF_DESC(de,"Use the LLVM sisched option for shader compiles") \
914         DRI_CONF_DESC(es,"Use the LLVM sisched option for shader compiles") \
915         DRI_CONF_DESC(fr,"Use the LLVM sisched option for shader compiles") \
916         DRI_CONF_DESC(nl,"Use the LLVM sisched option for shader compiles") \
917         DRI_CONF_DESC(sv,"Use the LLVM sisched option for shader compiles") \
918 DRI_CONF_OPT_END
919 
920 #define DRI_CONF_RADEONSI_ASSUME_NO_Z_FIGHTS(def) \
921 DRI_CONF_OPT_BEGIN_B(radeonsi_assume_no_z_fights, def) \
922         DRI_CONF_DESC(en,"Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)") \
923         DRI_CONF_DESC(de,"Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)") \
924         DRI_CONF_DESC(es,"Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)") \
925         DRI_CONF_DESC(fr,"Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)") \
926         DRI_CONF_DESC(nl,"Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)") \
927         DRI_CONF_DESC(sv,"Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)") \
928 DRI_CONF_OPT_END
929 
930 #define DRI_CONF_RADEONSI_COMMUTATIVE_BLEND_ADD(def) \
931 DRI_CONF_OPT_BEGIN_B(radeonsi_commutative_blend_add, def) \
932         DRI_CONF_DESC(en,"Commutative additive blending optimizations (may cause rendering errors)") \
933         DRI_CONF_DESC(de,"Commutative additive blending optimizations (may cause rendering errors)") \
934         DRI_CONF_DESC(es,"Commutative additive blending optimizations (may cause rendering errors)") \
935         DRI_CONF_DESC(fr,"Commutative additive blending optimizations (may cause rendering errors)") \
936         DRI_CONF_DESC(nl,"Commutative additive blending optimizations (may cause rendering errors)") \
937         DRI_CONF_DESC(sv,"Commutative additive blending optimizations (may cause rendering errors)") \
938 DRI_CONF_OPT_END
939 
940 #define DRI_CONF_RADEONSI_CLEAR_DB_CACHE_BEFORE_CLEAR(def) \
941 DRI_CONF_OPT_BEGIN_B(radeonsi_clear_db_cache_before_clear, def) \
942         DRI_CONF_DESC(en,"Clear DB cache before fast depth clear") \
943 DRI_CONF_OPT_END
944