options.h revision e7276b7fa597f7914f7e10a2e50dae36ae50e10b
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/** \brief Debugging options */
55#define DRI_CONF_SECTION_DEBUG \
56DRI_CONF_SECTION_BEGIN \
57	DRI_CONF_DESC(en,"Debugging") \
58	DRI_CONF_DESC(de,"Fehlersuche") \
59	DRI_CONF_DESC(es,"Depurando") \
60	DRI_CONF_DESC(nl,"Debuggen") \
61	DRI_CONF_DESC(fr,"Debogage")
62
63#define DRI_CONF_NO_RAST(def) \
64DRI_CONF_OPT_BEGIN(no_rast,bool,def) \
65        DRI_CONF_DESC(en,"Disable 3D acceleration") \
66        DRI_CONF_DESC(de,"3D-Beschleunigung abschalten") \
67        DRI_CONF_DESC(es,"Desactivar aceleración 3D") \
68        DRI_CONF_DESC(nl,"3D versnelling uitschakelen") \
69        DRI_CONF_DESC(fr,"Désactiver l'accélération 3D") \
70DRI_CONF_OPT_END
71
72#define DRI_CONF_PERFORMANCE_BOXES(def) \
73DRI_CONF_OPT_BEGIN(performance_boxes,bool,def) \
74        DRI_CONF_DESC(en,"Show performance boxes") \
75        DRI_CONF_DESC(de,"Zeige Performanceboxen") \
76        DRI_CONF_DESC(es,"Mostrar cajas de rendimiento") \
77        DRI_CONF_DESC(nl,"Laat prestatie boxjes zien") \
78        DRI_CONF_DESC(fr,"Afficher les boîtes de performance") \
79DRI_CONF_OPT_END
80
81
82/** \brief Texture-related options */
83#define DRI_CONF_SECTION_QUALITY \
84DRI_CONF_SECTION_BEGIN \
85	DRI_CONF_DESC(en,"Image Quality") \
86	DRI_CONF_DESC(de,"Bildqualität") \
87	DRI_CONF_DESC(es,"Calidad de imagen") \
88	DRI_CONF_DESC(nl,"Beeldkwaliteit") \
89	DRI_CONF_DESC(fr,"Qualité d'image")
90
91#define DRI_CONF_TEXTURE_DEPTH_FB       0
92#define DRI_CONF_TEXTURE_DEPTH_32       1
93#define DRI_CONF_TEXTURE_DEPTH_16       2
94#define DRI_CONF_TEXTURE_DEPTH_FORCE_16 3
95#define DRI_CONF_TEXTURE_DEPTH(def) \
96DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \
97	DRI_CONF_DESC_BEGIN(en,"Texture color depth") \
98                DRI_CONF_ENUM(0,"Prefer frame buffer color depth") \
99                DRI_CONF_ENUM(1,"Prefer 32 bits per texel") \
100                DRI_CONF_ENUM(2,"Prefer 16 bits per texel") \
101                DRI_CONF_ENUM(3,"Force 16 bits per texel") \
102        DRI_CONF_DESC_END \
103	DRI_CONF_DESC_BEGIN(de,"Texturfarbtiefe") \
104                DRI_CONF_ENUM(0,"Bevorzuge Farbtiefe des Framebuffers") \
105                DRI_CONF_ENUM(1,"Bevorzuge 32 bits pro Texel") \
106                DRI_CONF_ENUM(2,"Bevorzuge 16 bits pro Texel") \
107                DRI_CONF_ENUM(3,"Erzwinge 16 bits pro Texel") \
108        DRI_CONF_DESC_END \
109	DRI_CONF_DESC_BEGIN(es,"Profundidad de color de textura") \
110                DRI_CONF_ENUM(0,"Preferir profundidad de color del ”framebuffer“") \
111                DRI_CONF_ENUM(1,"Preferir 32 bits por texel") \
112                DRI_CONF_ENUM(2,"Preferir 16 bits por texel") \
113                DRI_CONF_ENUM(3,"Forzar a 16 bits por texel") \
114        DRI_CONF_DESC_END \
115	DRI_CONF_DESC_BEGIN(nl,"Textuurkleurendiepte") \
116                DRI_CONF_ENUM(0,"Prefereer kaderbufferkleurdiepte") \
117                DRI_CONF_ENUM(1,"Prefereer 32 bits per texel") \
118                DRI_CONF_ENUM(2,"Prefereer 16 bits per texel") \
119                DRI_CONF_ENUM(3,"Dwing 16 bits per texel af") \
120        DRI_CONF_DESC_END \
121	DRI_CONF_DESC_BEGIN(fr,"Profondeur de texture") \
122                DRI_CONF_ENUM(0,"Profondeur de couleur") \
123                DRI_CONF_ENUM(1,"Préférer 32 bits par texel") \
124                DRI_CONF_ENUM(2,"Prérérer 16 bits par texel") \
125                DRI_CONF_ENUM(3,"Forcer 16 bits par texel") \
126        DRI_CONF_DESC_END \
127DRI_CONF_OPT_END
128
129#define DRI_CONF_DEF_MAX_ANISOTROPY(def,range) \
130DRI_CONF_OPT_BEGIN_V(def_max_anisotropy,float,def,range) \
131        DRI_CONF_DESC(en,"Initial maximum value for anisotropic texture filtering") \
132        DRI_CONF_DESC(de,"Initialer Maximalwert für anisotropische Texturfilterung") \
133        DRI_CONF_DESC(es,"Valor máximo inicial para filtrado anisotrópico de textura") \
134        DRI_CONF_DESC(nl,"Initïele maximum waarde voor anisotrophische textuur filtering") \
135        DRI_CONF_DESC(fr,"Valeur maximale initiale pour le filtrage anisotropique de texture") \
136DRI_CONF_OPT_END
137
138#define DRI_CONF_NO_NEG_LOD_BIAS(def) \
139DRI_CONF_OPT_BEGIN(no_neg_lod_bias,bool,def) \
140        DRI_CONF_DESC(en,"Forbid negative texture LOD bias") \
141        DRI_CONF_DESC(de,"Verbiete negative Textur-Detailgradverschiebung") \
142        DRI_CONF_DESC(es,"Prohibir valores negativos de Nivel De Detalle (LOD) de texturas") \
143        DRI_CONF_DESC(nl,"Verbied negatief niveau detailonderscheid (LOD) van texturen") \
144        DRI_CONF_DESC(fr,"Interdire le LOD bias negatif") \
145DRI_CONF_OPT_END
146
147#define DRI_CONF_FORCE_S3TC_ENABLE(def) \
148DRI_CONF_OPT_BEGIN(force_s3tc_enable,bool,def) \
149        DRI_CONF_DESC(en,"Enable S3TC texture compression even if software support is not available") \
150        DRI_CONF_DESC(de,"Aktiviere S3TC Texturkomprimierung auch wenn die nötige Softwareunterstützung fehlt") \
151        DRI_CONF_DESC(es,"Activar la compresión de texturas S3TC incluso si el soporte por software no está disponible") \
152        DRI_CONF_DESC(nl,"Schakel S3TC textuurcompressie in, zelfs als softwareondersteuning niet aanwezig is") \
153        DRI_CONF_DESC(fr,"Activer la compression de texture S3TC même si le support logiciel est absent") \
154DRI_CONF_OPT_END
155
156#define DRI_CONF_COLOR_REDUCTION_ROUND 0
157#define DRI_CONF_COLOR_REDUCTION_DITHER 1
158#define DRI_CONF_COLOR_REDUCTION(def) \
159DRI_CONF_OPT_BEGIN_V(color_reduction,enum,def,"0:1") \
160        DRI_CONF_DESC_BEGIN(en,"Initial color reduction method") \
161                DRI_CONF_ENUM(0,"Round colors") \
162                DRI_CONF_ENUM(1,"Dither colors") \
163        DRI_CONF_DESC_END \
164        DRI_CONF_DESC_BEGIN(de,"Initiale Farbreduktionsmethode") \
165                DRI_CONF_ENUM(0,"Farben runden") \
166                DRI_CONF_ENUM(1,"Farben rastern") \
167        DRI_CONF_DESC_END \
168        DRI_CONF_DESC_BEGIN(es,"Método inicial de reducción de color") \
169                DRI_CONF_ENUM(0,"Colores redondeados") \
170                DRI_CONF_ENUM(1,"Colores suavizados") \
171        DRI_CONF_DESC_END \
172        DRI_CONF_DESC_BEGIN(nl,"Initïele kleurreductie methode") \
173                DRI_CONF_ENUM(0,"Rond kleuren af") \
174                DRI_CONF_ENUM(1,"Rasteriseer kleuren") \
175        DRI_CONF_DESC_END \
176        DRI_CONF_DESC_BEGIN(fr,"Technique de réduction de couleurs") \
177                DRI_CONF_ENUM(0,"Arrondir les valeurs de couleur") \
178                DRI_CONF_ENUM(1,"Tramer les couleurs") \
179        DRI_CONF_DESC_END \
180DRI_CONF_OPT_END
181
182#define DRI_CONF_ROUND_TRUNC 0
183#define DRI_CONF_ROUND_ROUND 1
184#define DRI_CONF_ROUND_MODE(def) \
185DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \
186	DRI_CONF_DESC_BEGIN(en,"Color rounding method") \
187                DRI_CONF_ENUM(0,"Round color components downward") \
188                DRI_CONF_ENUM(1,"Round to nearest color") \
189        DRI_CONF_DESC_END \
190	DRI_CONF_DESC_BEGIN(de,"Farbrundungsmethode") \
191                DRI_CONF_ENUM(0,"Farbkomponenten abrunden") \
192                DRI_CONF_ENUM(1,"Zur ähnlichsten Farbe runden") \
193        DRI_CONF_DESC_END \
194	DRI_CONF_DESC_BEGIN(es,"Método de redondeo de colores") \
195                DRI_CONF_ENUM(0,"Redondear hacia abajo los componentes de color") \
196                DRI_CONF_ENUM(1,"Redondear al color más cercano") \
197        DRI_CONF_DESC_END \
198	DRI_CONF_DESC_BEGIN(nl,"Kleurafrondingmethode") \
199                DRI_CONF_ENUM(0,"Rond kleurencomponenten af naar beneden") \
200                DRI_CONF_ENUM(1,"Rond af naar dichtsbijzijnde kleur") \
201        DRI_CONF_DESC_END \
202	DRI_CONF_DESC_BEGIN(fr,"Méthode d'arrondi des couleurs") \
203                DRI_CONF_ENUM(0,"Arrondi à l'inférieur") \
204                DRI_CONF_ENUM(1,"Arrondi au plus proche") \
205        DRI_CONF_DESC_END \
206DRI_CONF_OPT_END
207
208#define DRI_CONF_DITHER_XERRORDIFF 0
209#define DRI_CONF_DITHER_XERRORDIFFRESET 1
210#define DRI_CONF_DITHER_ORDERED 2
211#define DRI_CONF_DITHER_MODE(def) \
212DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \
213	DRI_CONF_DESC_BEGIN(en,"Color dithering method") \
214                DRI_CONF_ENUM(0,"Horizontal error diffusion") \
215                DRI_CONF_ENUM(1,"Horizontal error diffusion, reset error at line start") \
216                DRI_CONF_ENUM(2,"Ordered 2D color dithering") \
217        DRI_CONF_DESC_END \
218	DRI_CONF_DESC_BEGIN(de,"Farbrasterungsmethode") \
219                DRI_CONF_ENUM(0,"Horizontale Fehlerstreuung") \
220                DRI_CONF_ENUM(1,"Horizontale Fehlerstreuung, Fehler am Zeilenanfang zurücksetzen") \
221                DRI_CONF_ENUM(2,"Geordnete 2D Farbrasterung") \
222        DRI_CONF_DESC_END \
223	DRI_CONF_DESC_BEGIN(es,"Método de suavizado de color") \
224                DRI_CONF_ENUM(0,"Difusión de error horizontal") \
225                DRI_CONF_ENUM(1,"Difusión de error horizontal, reiniciar error al comienzo de línea") \
226                DRI_CONF_ENUM(2,"Suavizado de color 2D ordenado") \
227        DRI_CONF_DESC_END \
228	DRI_CONF_DESC_BEGIN(nl,"Kleurrasteriseringsmethode") \
229                DRI_CONF_ENUM(0,"Horizontale foutdiffusie") \
230                DRI_CONF_ENUM(1,"Horizontale foutdiffusie, zet fout bij lijnbegin terug") \
231                DRI_CONF_ENUM(2,"Geordende 2D kleurrasterisering") \
232        DRI_CONF_DESC_END \
233	DRI_CONF_DESC_BEGIN(fr,"Méthode de tramage") \
234                DRI_CONF_ENUM(0,"Diffusion d'erreur horizontale") \
235                DRI_CONF_ENUM(1,"Diffusion d'erreur horizontale, réinitialisé pour chaque ligne") \
236                DRI_CONF_ENUM(2,"Tramage ordonné des couleurs") \
237        DRI_CONF_DESC_END \
238DRI_CONF_OPT_END
239
240#define DRI_CONF_FLOAT_DEPTH(def) \
241DRI_CONF_OPT_BEGIN(float_depth,bool,def) \
242        DRI_CONF_DESC(en,"Floating point depth buffer") \
243        DRI_CONF_DESC(de,"Fließkomma z-Puffer") \
244        DRI_CONF_DESC(es,"Búfer de profundidad en coma flotante") \
245        DRI_CONF_DESC(nl,"Dieptebuffer als commagetal") \
246        DRI_CONF_DESC(fr,"Z-buffer en virgule flottante") \
247DRI_CONF_OPT_END
248
249/** \brief Performance-related options */
250#define DRI_CONF_SECTION_PERFORMANCE \
251DRI_CONF_SECTION_BEGIN \
252        DRI_CONF_DESC(en,"Performance") \
253        DRI_CONF_DESC(de,"Leistung") \
254        DRI_CONF_DESC(es,"Rendimiento") \
255        DRI_CONF_DESC(nl,"Prestatie") \
256        DRI_CONF_DESC(fr,"Performance")
257
258#define DRI_CONF_TCL_SW 0
259#define DRI_CONF_TCL_PIPELINED 1
260#define DRI_CONF_TCL_VTXFMT 2
261#define DRI_CONF_TCL_CODEGEN 3
262#define DRI_CONF_TCL_MODE(def) \
263DRI_CONF_OPT_BEGIN_V(tcl_mode,enum,def,"0:3") \
264        DRI_CONF_DESC_BEGIN(en,"TCL mode (Transformation, Clipping, Lighting)") \
265                DRI_CONF_ENUM(0,"Use software TCL pipeline") \
266                DRI_CONF_ENUM(1,"Use hardware TCL as first TCL pipeline stage") \
267                DRI_CONF_ENUM(2,"Bypass the TCL pipeline") \
268                DRI_CONF_ENUM(3,"Bypass the TCL pipeline with state-based machine code generated on-the-fly") \
269        DRI_CONF_DESC_END \
270        DRI_CONF_DESC_BEGIN(de,"TCL-Modus (Transformation, Clipping, Licht)") \
271                DRI_CONF_ENUM(0,"Benutze die Software-TCL-Pipeline") \
272                DRI_CONF_ENUM(1,"Benutze Hardware TCL als erste Stufe der TCL-Pipeline") \
273                DRI_CONF_ENUM(2,"Umgehe die TCL-Pipeline") \
274                DRI_CONF_ENUM(3,"Umgehe die TCL-Pipeline mit zur Laufzeit erzeugtem, zustandsbasiertem Maschinencode") \
275        DRI_CONF_DESC_END \
276        DRI_CONF_DESC_BEGIN(es,"Modo TCL (Transformación, Recorte, Iluminación)") \
277                DRI_CONF_ENUM(0,"Usar tubería TCL por software") \
278                DRI_CONF_ENUM(1,"Usar TCL por hardware en la primera fase de la tubería TCL") \
279                DRI_CONF_ENUM(2,"Pasar por alto la tubería TCL") \
280                DRI_CONF_ENUM(3,"Pasar por alto la tubería TCL con código máquina basado en estados generado al vuelo") \
281        DRI_CONF_DESC_END \
282        DRI_CONF_DESC_BEGIN(nl,"TCL-modus (Transformatie, Clipping, Licht)") \
283                DRI_CONF_ENUM(0,"Gebruik software TCL pijpleiding") \
284                DRI_CONF_ENUM(1,"Gebruik hardware TCL as eerste TCL pijpleiding trap") \
285                DRI_CONF_ENUM(2,"Omzeil de TCL pijpleiding") \
286                DRI_CONF_ENUM(3,"Omzeil de TCL pijpleiding met staatgebaseerde machinecode die tijdens executie gegenereerd wordt") \
287        DRI_CONF_DESC_END \
288        DRI_CONF_DESC_BEGIN(fr,"Mode de TCL (Transformation, Clipping, Eclairage)") \
289                DRI_CONF_ENUM(0,"Utiliser un pipeline TCL logiciel") \
290                DRI_CONF_ENUM(1,"Utiliser le TCL matériel pour le premier niveau de pipeline") \
291                DRI_CONF_ENUM(2,"Court-circuiter le pipeline TCL") \
292                DRI_CONF_ENUM(3,"Court-circuiter le pipeline TCL par une machine à états qui génère le codede TCL à la volée") \
293        DRI_CONF_DESC_END \
294DRI_CONF_OPT_END
295
296#define DRI_CONF_FTHROTTLE_BUSY 0
297#define DRI_CONF_FTHROTTLE_USLEEPS 1
298#define DRI_CONF_FTHROTTLE_IRQS 2
299#define DRI_CONF_FTHROTTLE_MODE(def) \
300DRI_CONF_OPT_BEGIN_V(fthrottle_mode,enum,def,"0:2") \
301        DRI_CONF_DESC_BEGIN(en,"Method to limit rendering latency") \
302                DRI_CONF_ENUM(0,"Busy waiting for the graphics hardware") \
303                DRI_CONF_ENUM(1,"Sleep for brief intervals while waiting for the graphics hardware") \
304                DRI_CONF_ENUM(2,"Let the graphics hardware emit a software interrupt and sleep") \
305        DRI_CONF_DESC_END \
306        DRI_CONF_DESC_BEGIN(de,"Methode zur Begrenzung der Bildverzögerung") \
307                DRI_CONF_ENUM(0,"Aktives Warten auf die Grafikhardware") \
308                DRI_CONF_ENUM(1,"Kurze Schlafintervalle beim Warten auf die Grafikhardware") \
309                DRI_CONF_ENUM(2,"Die Grafikhardware eine Softwareunterbrechnung erzeugen lassen und schlafen") \
310        DRI_CONF_DESC_END \
311        DRI_CONF_DESC_BEGIN(es,"Método para limitar la latencia de rénder") \
312                DRI_CONF_ENUM(0,"Esperar activamente al hardware gráfico") \
313                DRI_CONF_ENUM(1,"Dormir en intervalos cortos mientras se espera al hardware gráfico") \
314                DRI_CONF_ENUM(2,"Permitir que el hardware gráfico emita una interrupción de software y duerma") \
315        DRI_CONF_DESC_END \
316        DRI_CONF_DESC_BEGIN(nl,"Methode om beeldopbouwvertraging te onderdrukken") \
317                DRI_CONF_ENUM(0,"Actief wachten voor de grafische hardware") \
318                DRI_CONF_ENUM(1,"Slaap voor korte intervallen tijdens het wachten op de grafische hardware") \
319                DRI_CONF_ENUM(2,"Laat de grafische hardware een software onderbreking uitzenden en in slaap vallen") \
320        DRI_CONF_DESC_END \
321        DRI_CONF_DESC_BEGIN(fr,"Méthode d'attente de la carte graphique") \
322                DRI_CONF_ENUM(0,"Attente active de la carte graphique") \
323                DRI_CONF_ENUM(1,"Attente utilisant usleep()") \
324                DRI_CONF_ENUM(2,"Utiliser les interruptions") \
325        DRI_CONF_DESC_END \
326DRI_CONF_OPT_END
327
328#define DRI_CONF_VBLANK_NEVER 0
329#define DRI_CONF_VBLANK_DEF_INTERVAL_0 1
330#define DRI_CONF_VBLANK_DEF_INTERVAL_1 2
331#define DRI_CONF_VBLANK_ALWAYS_SYNC 3
332#define DRI_CONF_VBLANK_MODE(def) \
333DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \
334        DRI_CONF_DESC_BEGIN(en,"Synchronization with vertical refresh (swap intervals)") \
335                DRI_CONF_ENUM(0,"Never synchronize with vertical refresh, ignore application's choice") \
336                DRI_CONF_ENUM(1,"Initial swap interval 0, obey application's choice") \
337                DRI_CONF_ENUM(2,"Initial swap interval 1, obey application's choice") \
338                DRI_CONF_ENUM(3,"Always synchronize with vertical refresh, application chooses the minimum swap interval") \
339        DRI_CONF_DESC_END \
340        DRI_CONF_DESC_BEGIN(de,"Synchronisation mit der vertikalen Bildwiederholung") \
341                DRI_CONF_ENUM(0,"Niemals mit der Bildwiederholung synchronisieren, Anweisungen der Anwendung ignorieren") \
342                DRI_CONF_ENUM(1,"Initiales Bildinterval 0, Anweisungen der Anwendung gehorchen") \
343                DRI_CONF_ENUM(2,"Initiales Bildinterval 1, Anweisungen der Anwendung gehorchen") \
344                DRI_CONF_ENUM(3,"Immer mit der Bildwiederholung synchronisieren, Anwendung wählt das minimale Bildintervall") \
345        DRI_CONF_DESC_END \
346        DRI_CONF_DESC_BEGIN(es,"Sincronización con el refresco vertical (intervalos de intercambio)") \
347                DRI_CONF_ENUM(0,"No sincronizar nunca con el refresco vertical, ignorar la elección de la aplicación") \
348                DRI_CONF_ENUM(1,"Intervalo de intercambio inicial 0, obedecer la elección de la aplicación") \
349                DRI_CONF_ENUM(2,"Intervalo de intercambio inicial 1, obedecer la elección de la aplicación") \
350                DRI_CONF_ENUM(3,"Sincronizar siempre con el refresco vertical, la aplicación elige el intervalo de intercambio mínimo") \
351        DRI_CONF_DESC_END \
352        DRI_CONF_DESC_BEGIN(nl,"Synchronisatie met verticale verversing (interval omwisselen)") \
353                DRI_CONF_ENUM(0,"Nooit synchroniseren met verticale verversing, negeer de keuze van de applicatie") \
354                DRI_CONF_ENUM(1,"Initïeel omwisselingsinterval 0, honoreer de keuze van de applicatie") \
355                DRI_CONF_ENUM(2,"Initïeel omwisselingsinterval 1, honoreer de keuze van de applicatie") \
356                DRI_CONF_ENUM(3,"Synchroniseer altijd met verticale verversing, de applicatie kiest het minimum omwisselingsinterval") \
357        DRI_CONF_DESC_END \
358        DRI_CONF_DESC_BEGIN(fr,"Synchronisation de l'affichage avec le balayage vertical") \
359                DRI_CONF_ENUM(0,"Ne jamais synchroniser avec le balayage vertical, ignorer le choix de l'application") \
360                DRI_CONF_ENUM(1,"Ne pas synchroniser avec le balayage vertical par défaut, mais obéir au choix de l'application") \
361                DRI_CONF_ENUM(2,"Synchroniser avec le balayage vertical par défaut, mais obéir au choix de l'application") \
362                DRI_CONF_ENUM(3,"Toujours synchroniser avec le balayage vertical, l'application choisit l'intervalle minimal") \
363        DRI_CONF_DESC_END \
364DRI_CONF_OPT_END
365
366#define DRI_CONF_HYPERZ_DISABLED 0
367#define DRI_CONF_HYPERZ_ENABLED 1
368#define DRI_CONF_HYPERZ(def) \
369DRI_CONF_OPT_BEGIN(hyperz,bool,def) \
370        DRI_CONF_DESC(en,"Use HyperZ to boost performance") \
371        DRI_CONF_DESC(de,"HyperZ zur Leistungssteigerung verwenden") \
372        DRI_CONF_DESC(es,"Usar HyperZ para potenciar rendimiento") \
373        DRI_CONF_DESC(nl,"Gebruik HyperZ om de prestaties te verbeteren") \
374        DRI_CONF_DESC(fr,"Utiliser le HyperZ pour améliorer les performances") \
375DRI_CONF_OPT_END
376
377#define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \
378DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
379        DRI_CONF_DESC(en,"Number of texture units used") \
380        DRI_CONF_DESC(de,"Anzahl der benutzten Textureinheiten") \
381        DRI_CONF_DESC(es,"Número de unidades de textura usadas") \
382        DRI_CONF_DESC(nl,"Aantal textuureenheden in gebruik") \
383        DRI_CONF_DESC(fr,"Nombre d'unités de texture") \
384DRI_CONF_OPT_END
385
386#define DRI_CONF_ALLOW_LARGE_TEXTURES(def) \
387DRI_CONF_OPT_BEGIN_V(allow_large_textures,enum,def,"0:2") \
388	DRI_CONF_DESC_BEGIN(en,"Support larger textures not guaranteed to fit into graphics memory") \
389		DRI_CONF_ENUM(0,"No") \
390		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
391		DRI_CONF_ENUM(2,"Announce hardware limits") \
392	DRI_CONF_DESC_END \
393	DRI_CONF_DESC_BEGIN(de,"Unterstütze grosse Texturen die evtl. nicht in den Grafikspeicher passen") \
394		DRI_CONF_ENUM(0,"Nein") \
395		DRI_CONF_ENUM(1,"Mindestens 1 Textur muss auch im schlechtesten Fall Platz haben") \
396		DRI_CONF_ENUM(2,"Benutze Hardware-Limits") \
397	DRI_CONF_DESC_END \
398	DRI_CONF_DESC_BEGIN(es,"Support larger textures not guaranteed to fit into graphics memory") \
399		DRI_CONF_ENUM(0,"No") \
400		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
401		DRI_CONF_ENUM(2,"Announce hardware limits") \
402	DRI_CONF_DESC_END \
403	DRI_CONF_DESC_BEGIN(nl,"Support larger textures not guaranteed to fit into graphics memory") \
404		DRI_CONF_ENUM(0,"No") \
405		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
406		DRI_CONF_ENUM(2,"Announce hardware limits") \
407	DRI_CONF_DESC_END \
408	DRI_CONF_DESC_BEGIN(fr,"Support larger textures not guaranteed to fit into graphics memory") \
409		DRI_CONF_ENUM(0,"No") \
410		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
411		DRI_CONF_ENUM(2,"Announce hardware limits") \
412	DRI_CONF_DESC_END \
413DRI_CONF_OPT_END
414
415#define DRI_CONF_TEXTURE_BLEND_QUALITY(def,range) \
416DRI_CONF_OPT_BEGIN_V(texture_blend_quality,float,def,range) \
417	DRI_CONF_DESC(en,"Texture filtering quality vs. speed, AKA “brilinear” texture filtering") \
418	DRI_CONF_DESC(de,"Texturfilterqualität versus -geschwindigkeit, auch bekannt als „brilineare“ Texturfilterung") \
419	DRI_CONF_DESC(es,"Calidad de filtrado de textura vs. velocidad, alias filtrado ”brilinear“ de textura") \
420	DRI_CONF_DESC(nl,"Textuurfilterkwaliteit versus -snelheid, ookwel bekend als “brilineaire” textuurfiltering") \
421	DRI_CONF_DESC(fr,"Qualité/performance du filtrage trilinéaire de texture (filtrage brilinéaire)") \
422DRI_CONF_OPT_END
423
424#define DRI_CONF_TEXTURE_HEAPS_ALL 0
425#define DRI_CONF_TEXTURE_HEAPS_CARD 1
426#define DRI_CONF_TEXTURE_HEAPS_GART 2
427#define DRI_CONF_TEXTURE_HEAPS(def) \
428DRI_CONF_OPT_BEGIN_V(texture_heaps,enum,def,"0:2") \
429	DRI_CONF_DESC_BEGIN(en,"Used types of texture memory") \
430		DRI_CONF_ENUM(0,"All available memory") \
431		DRI_CONF_ENUM(1,"Only card memory (if available)") \
432		DRI_CONF_ENUM(2,"Only GART (AGP/PCIE) memory (if available)") \
433	DRI_CONF_DESC_END \
434	DRI_CONF_DESC_BEGIN(de,"Benutzte Arten von Texturspeicher") \
435		DRI_CONF_ENUM(0,"Aller verfügbarer Speicher") \
436		DRI_CONF_ENUM(1,"Nur Grafikspeicher (falls verfügbar)") \
437		DRI_CONF_ENUM(2,"Nur GART-Speicher (AGP/PCIE) (falls verfügbar)") \
438	DRI_CONF_DESC_END \
439	DRI_CONF_DESC_BEGIN(es,"Tipos de memoria de textura usados") \
440		DRI_CONF_ENUM(0,"Toda la memoria disponible") \
441		DRI_CONF_ENUM(1,"Sólo la memoria de la tarjeta (si disponible)") \
442		DRI_CONF_ENUM(2,"Sólo memoria GART (AGP/PCIE) (si disponible)") \
443	DRI_CONF_DESC_END \
444	DRI_CONF_DESC_BEGIN(nl,"Gebruikte soorten textuurgeheugen") \
445		DRI_CONF_ENUM(0,"Al het beschikbaar geheugen") \
446		DRI_CONF_ENUM(1,"Alleen geheugen op de kaart (als het aanwezig is)") \
447		DRI_CONF_ENUM(2,"Alleen GART (AGP/PCIE) geheugen (als het aanwezig is)") \
448	DRI_CONF_DESC_END \
449	DRI_CONF_DESC_BEGIN(fr,"Types de mémoire de texture") \
450		DRI_CONF_ENUM(0,"Utiliser toute la mémoire disponible") \
451		DRI_CONF_ENUM(1,"Utiliser uniquement la mémoire graphique (si disponible)") \
452		DRI_CONF_ENUM(2,"Utiliser uniquement la mémoire GART (AGP/PCIE) (si disponible)") \
453	DRI_CONF_DESC_END \
454DRI_CONF_OPT_END
455
456/* Options for features that are not done in hardware by the driver (like GL_ARB_vertex_program
457   On cards where there is no documentation (r200) or on rasterization-only hardware). */
458#define DRI_CONF_SECTION_SOFTWARE \
459DRI_CONF_SECTION_BEGIN \
460        DRI_CONF_DESC(en,"Features that are not hardware-accelerated") \
461        DRI_CONF_DESC(de,"Funktionalität, die nicht hardwarebeschleunigt ist") \
462        DRI_CONF_DESC(es,"Características no aceleradas por hardware") \
463        DRI_CONF_DESC(nl,"Eigenschappen die niet hardwareversneld zijn") \
464        DRI_CONF_DESC(fr,"Fonctionnalités ne bénéficiant pas d'une accélération matérielle")
465
466#define DRI_CONF_ARB_VERTEX_PROGRAM(def) \
467DRI_CONF_OPT_BEGIN(arb_vertex_program,bool,def) \
468        DRI_CONF_DESC(en,"Enable extension GL_ARB_vertex_program") \
469        DRI_CONF_DESC(de,"Erweiterung GL_ARB_vertex_program aktivieren") \
470        DRI_CONF_DESC(es,"Activar la extensión GL_ARB_vertex_program") \
471        DRI_CONF_DESC(nl,"Zet uitbreiding GL_ARB_vertex_program aan") \
472        DRI_CONF_DESC(fr,"Activer l'extension GL_ARB_vertex_program") \
473DRI_CONF_OPT_END
474
475#define DRI_CONF_NV_VERTEX_PROGRAM(def) \
476DRI_CONF_OPT_BEGIN(nv_vertex_program,bool,def) \
477        DRI_CONF_DESC(en,"Enable extension GL_NV_vertex_program") \
478        DRI_CONF_DESC(de,"Erweiterung GL_NV_vertex_program aktivieren") \
479        DRI_CONF_DESC(es,"Activar extensión GL_NV_vertex_program") \
480        DRI_CONF_DESC(nl,"Zet uitbreiding GL_NV_vertex_program aan") \
481        DRI_CONF_DESC(fr,"Activer l'extension GL_NV_vertex_program") \
482DRI_CONF_OPT_END
483