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	DRI_CONF_DESC(sv,"Felsökning")
63
64#define DRI_CONF_NO_RAST(def) \
65DRI_CONF_OPT_BEGIN(no_rast,bool,def) \
66        DRI_CONF_DESC(en,"Disable 3D acceleration") \
67        DRI_CONF_DESC(de,"3D-Beschleunigung abschalten") \
68        DRI_CONF_DESC(es,"Desactivar aceleración 3D") \
69        DRI_CONF_DESC(nl,"3D versnelling uitschakelen") \
70        DRI_CONF_DESC(fr,"Désactiver l'accélération 3D") \
71        DRI_CONF_DESC(sv,"Inaktivera 3D-accelerering") \
72DRI_CONF_OPT_END
73
74#define DRI_CONF_PERFORMANCE_BOXES(def) \
75DRI_CONF_OPT_BEGIN(performance_boxes,bool,def) \
76        DRI_CONF_DESC(en,"Show performance boxes") \
77        DRI_CONF_DESC(de,"Zeige Performanceboxen") \
78        DRI_CONF_DESC(es,"Mostrar cajas de rendimiento") \
79        DRI_CONF_DESC(nl,"Laat prestatie boxjes zien") \
80        DRI_CONF_DESC(fr,"Afficher les boîtes de performance") \
81        DRI_CONF_DESC(sv,"Visa prestandarutor") \
82DRI_CONF_OPT_END
83
84
85/** \brief Texture-related options */
86#define DRI_CONF_SECTION_QUALITY \
87DRI_CONF_SECTION_BEGIN \
88	DRI_CONF_DESC(en,"Image Quality") \
89	DRI_CONF_DESC(de,"Bildqualität") \
90	DRI_CONF_DESC(es,"Calidad de imagen") \
91	DRI_CONF_DESC(nl,"Beeldkwaliteit") \
92	DRI_CONF_DESC(fr,"Qualité d'image") \
93	DRI_CONF_DESC(sv,"Bildkvalitet")
94
95#define DRI_CONF_EXCESS_MIPMAP(def) \
96DRI_CONF_OPT_BEGIN(excess_mipmap,bool,def) \
97	DRI_CONF_DESC(en,"Enable extra mipmap level") \
98DRI_CONF_OPT_END
99
100#define DRI_CONF_TEXTURE_DEPTH_FB       0
101#define DRI_CONF_TEXTURE_DEPTH_32       1
102#define DRI_CONF_TEXTURE_DEPTH_16       2
103#define DRI_CONF_TEXTURE_DEPTH_FORCE_16 3
104#define DRI_CONF_TEXTURE_DEPTH(def) \
105DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \
106	DRI_CONF_DESC_BEGIN(en,"Texture color depth") \
107                DRI_CONF_ENUM(0,"Prefer frame buffer color depth") \
108                DRI_CONF_ENUM(1,"Prefer 32 bits per texel") \
109                DRI_CONF_ENUM(2,"Prefer 16 bits per texel") \
110                DRI_CONF_ENUM(3,"Force 16 bits per texel") \
111        DRI_CONF_DESC_END \
112	DRI_CONF_DESC_BEGIN(de,"Texturfarbtiefe") \
113                DRI_CONF_ENUM(0,"Bevorzuge Farbtiefe des Framebuffers") \
114                DRI_CONF_ENUM(1,"Bevorzuge 32 bits pro Texel") \
115                DRI_CONF_ENUM(2,"Bevorzuge 16 bits pro Texel") \
116                DRI_CONF_ENUM(3,"Erzwinge 16 bits pro Texel") \
117        DRI_CONF_DESC_END \
118	DRI_CONF_DESC_BEGIN(es,"Profundidad de color de textura") \
119                DRI_CONF_ENUM(0,"Preferir profundidad de color del ”framebuffer“") \
120                DRI_CONF_ENUM(1,"Preferir 32 bits por texel") \
121                DRI_CONF_ENUM(2,"Preferir 16 bits por texel") \
122                DRI_CONF_ENUM(3,"Forzar a 16 bits por texel") \
123        DRI_CONF_DESC_END \
124	DRI_CONF_DESC_BEGIN(nl,"Textuurkleurendiepte") \
125                DRI_CONF_ENUM(0,"Prefereer kaderbufferkleurdiepte") \
126                DRI_CONF_ENUM(1,"Prefereer 32 bits per texel") \
127                DRI_CONF_ENUM(2,"Prefereer 16 bits per texel") \
128                DRI_CONF_ENUM(3,"Dwing 16 bits per texel af") \
129        DRI_CONF_DESC_END \
130	DRI_CONF_DESC_BEGIN(fr,"Profondeur de texture") \
131                DRI_CONF_ENUM(0,"Profondeur de couleur") \
132                DRI_CONF_ENUM(1,"Préférer 32 bits par texel") \
133                DRI_CONF_ENUM(2,"Prérérer 16 bits par texel") \
134                DRI_CONF_ENUM(3,"Forcer 16 bits par texel") \
135        DRI_CONF_DESC_END \
136	DRI_CONF_DESC_BEGIN(sv,"Färgdjup för texturer") \
137                DRI_CONF_ENUM(0,"Föredra färgdjupet för framebuffer") \
138                DRI_CONF_ENUM(1,"Föredra 32 bitar per texel") \
139                DRI_CONF_ENUM(2,"Föredra 16 bitar per texel") \
140                DRI_CONF_ENUM(3,"Tvinga 16 bitar per texel") \
141        DRI_CONF_DESC_END \
142DRI_CONF_OPT_END
143
144#define DRI_CONF_DEF_MAX_ANISOTROPY(def,range) \
145DRI_CONF_OPT_BEGIN_V(def_max_anisotropy,float,def,range) \
146        DRI_CONF_DESC(en,"Initial maximum value for anisotropic texture filtering") \
147        DRI_CONF_DESC(de,"Initialer Maximalwert für anisotropische Texturfilterung") \
148        DRI_CONF_DESC(es,"Valor máximo inicial para filtrado anisotrópico de textura") \
149        DRI_CONF_DESC(nl,"Initïele maximum waarde voor anisotrophische textuur filtering") \
150        DRI_CONF_DESC(fr,"Valeur maximale initiale pour le filtrage anisotropique de texture") \
151        DRI_CONF_DESC(sv,"Initialt maximalt värde för anisotropisk texturfiltrering") \
152DRI_CONF_OPT_END
153
154#define DRI_CONF_NO_NEG_LOD_BIAS(def) \
155DRI_CONF_OPT_BEGIN(no_neg_lod_bias,bool,def) \
156        DRI_CONF_DESC(en,"Forbid negative texture LOD bias") \
157        DRI_CONF_DESC(de,"Verbiete negative Textur-Detailgradverschiebung") \
158        DRI_CONF_DESC(es,"Prohibir valores negativos de Nivel De Detalle (LOD) de texturas") \
159        DRI_CONF_DESC(nl,"Verbied negatief niveau detailonderscheid (LOD) van texturen") \
160        DRI_CONF_DESC(fr,"Interdire le LOD bias negatif") \
161        DRI_CONF_DESC(sv,"Förbjud negativ LOD-kompensation för texturer") \
162DRI_CONF_OPT_END
163
164#define DRI_CONF_FORCE_S3TC_ENABLE(def) \
165DRI_CONF_OPT_BEGIN(force_s3tc_enable,bool,def) \
166        DRI_CONF_DESC(en,"Enable S3TC texture compression even if software support is not available") \
167        DRI_CONF_DESC(de,"Aktiviere S3TC Texturkomprimierung auch wenn die nötige Softwareunterstützung fehlt") \
168        DRI_CONF_DESC(es,"Activar la compresión de texturas S3TC incluso si el soporte por software no está disponible") \
169        DRI_CONF_DESC(nl,"Schakel S3TC textuurcompressie in, zelfs als softwareondersteuning niet aanwezig is") \
170        DRI_CONF_DESC(fr,"Activer la compression de texture S3TC même si le support logiciel est absent") \
171        DRI_CONF_DESC(sv,"Aktivera S3TC-texturkomprimering även om programvarustöd saknas") \
172DRI_CONF_OPT_END
173
174#define DRI_CONF_COLOR_REDUCTION_ROUND 0
175#define DRI_CONF_COLOR_REDUCTION_DITHER 1
176#define DRI_CONF_COLOR_REDUCTION(def) \
177DRI_CONF_OPT_BEGIN_V(color_reduction,enum,def,"0:1") \
178        DRI_CONF_DESC_BEGIN(en,"Initial color reduction method") \
179                DRI_CONF_ENUM(0,"Round colors") \
180                DRI_CONF_ENUM(1,"Dither colors") \
181        DRI_CONF_DESC_END \
182        DRI_CONF_DESC_BEGIN(de,"Initiale Farbreduktionsmethode") \
183                DRI_CONF_ENUM(0,"Farben runden") \
184                DRI_CONF_ENUM(1,"Farben rastern") \
185        DRI_CONF_DESC_END \
186        DRI_CONF_DESC_BEGIN(es,"Método inicial de reducción de color") \
187                DRI_CONF_ENUM(0,"Colores redondeados") \
188                DRI_CONF_ENUM(1,"Colores suavizados") \
189        DRI_CONF_DESC_END \
190        DRI_CONF_DESC_BEGIN(nl,"Initïele kleurreductie methode") \
191                DRI_CONF_ENUM(0,"Rond kleuren af") \
192                DRI_CONF_ENUM(1,"Rasteriseer kleuren") \
193        DRI_CONF_DESC_END \
194        DRI_CONF_DESC_BEGIN(fr,"Technique de réduction de couleurs") \
195                DRI_CONF_ENUM(0,"Arrondir les valeurs de couleur") \
196                DRI_CONF_ENUM(1,"Tramer les couleurs") \
197        DRI_CONF_DESC_END \
198        DRI_CONF_DESC_BEGIN(sv,"Initial färgminskningsmetod") \
199                DRI_CONF_ENUM(0,"Avrunda färger") \
200                DRI_CONF_ENUM(1,"Utjämna färger") \
201        DRI_CONF_DESC_END \
202DRI_CONF_OPT_END
203
204#define DRI_CONF_ROUND_TRUNC 0
205#define DRI_CONF_ROUND_ROUND 1
206#define DRI_CONF_ROUND_MODE(def) \
207DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \
208	DRI_CONF_DESC_BEGIN(en,"Color rounding method") \
209                DRI_CONF_ENUM(0,"Round color components downward") \
210                DRI_CONF_ENUM(1,"Round to nearest color") \
211        DRI_CONF_DESC_END \
212	DRI_CONF_DESC_BEGIN(de,"Farbrundungsmethode") \
213                DRI_CONF_ENUM(0,"Farbkomponenten abrunden") \
214                DRI_CONF_ENUM(1,"Zur ähnlichsten Farbe runden") \
215        DRI_CONF_DESC_END \
216	DRI_CONF_DESC_BEGIN(es,"Método de redondeo de colores") \
217                DRI_CONF_ENUM(0,"Redondear hacia abajo los componentes de color") \
218                DRI_CONF_ENUM(1,"Redondear al color más cercano") \
219        DRI_CONF_DESC_END \
220	DRI_CONF_DESC_BEGIN(nl,"Kleurafrondingmethode") \
221                DRI_CONF_ENUM(0,"Rond kleurencomponenten af naar beneden") \
222                DRI_CONF_ENUM(1,"Rond af naar dichtsbijzijnde kleur") \
223        DRI_CONF_DESC_END \
224	DRI_CONF_DESC_BEGIN(fr,"Méthode d'arrondi des couleurs") \
225                DRI_CONF_ENUM(0,"Arrondi à l'inférieur") \
226                DRI_CONF_ENUM(1,"Arrondi au plus proche") \
227        DRI_CONF_DESC_END \
228	DRI_CONF_DESC_BEGIN(sv,"Färgavrundningsmetod") \
229                DRI_CONF_ENUM(0,"Avrunda färdkomponenter nedåt") \
230                DRI_CONF_ENUM(1,"Avrunda till närmsta färg") \
231        DRI_CONF_DESC_END \
232DRI_CONF_OPT_END
233
234#define DRI_CONF_DITHER_XERRORDIFF 0
235#define DRI_CONF_DITHER_XERRORDIFFRESET 1
236#define DRI_CONF_DITHER_ORDERED 2
237#define DRI_CONF_DITHER_MODE(def) \
238DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \
239	DRI_CONF_DESC_BEGIN(en,"Color dithering method") \
240                DRI_CONF_ENUM(0,"Horizontal error diffusion") \
241                DRI_CONF_ENUM(1,"Horizontal error diffusion, reset error at line start") \
242                DRI_CONF_ENUM(2,"Ordered 2D color dithering") \
243        DRI_CONF_DESC_END \
244	DRI_CONF_DESC_BEGIN(de,"Farbrasterungsmethode") \
245                DRI_CONF_ENUM(0,"Horizontale Fehlerstreuung") \
246                DRI_CONF_ENUM(1,"Horizontale Fehlerstreuung, Fehler am Zeilenanfang zurücksetzen") \
247                DRI_CONF_ENUM(2,"Geordnete 2D Farbrasterung") \
248        DRI_CONF_DESC_END \
249	DRI_CONF_DESC_BEGIN(es,"Método de suavizado de color") \
250                DRI_CONF_ENUM(0,"Difusión de error horizontal") \
251                DRI_CONF_ENUM(1,"Difusión de error horizontal, reiniciar error al comienzo de línea") \
252                DRI_CONF_ENUM(2,"Suavizado de color 2D ordenado") \
253        DRI_CONF_DESC_END \
254	DRI_CONF_DESC_BEGIN(nl,"Kleurrasteriseringsmethode") \
255                DRI_CONF_ENUM(0,"Horizontale foutdiffusie") \
256                DRI_CONF_ENUM(1,"Horizontale foutdiffusie, zet fout bij lijnbegin terug") \
257                DRI_CONF_ENUM(2,"Geordende 2D kleurrasterisering") \
258        DRI_CONF_DESC_END \
259	DRI_CONF_DESC_BEGIN(fr,"Méthode de tramage") \
260                DRI_CONF_ENUM(0,"Diffusion d'erreur horizontale") \
261                DRI_CONF_ENUM(1,"Diffusion d'erreur horizontale, réinitialisé pour chaque ligne") \
262                DRI_CONF_ENUM(2,"Tramage ordonné des couleurs") \
263        DRI_CONF_DESC_END \
264	DRI_CONF_DESC_BEGIN(sv,"Färgutjämningsmetod") \
265                DRI_CONF_ENUM(0,"Horisontell felspridning") \
266                DRI_CONF_ENUM(1,"Horisontell felspridning, återställ fel vid radbörjan") \
267                DRI_CONF_ENUM(2,"Ordnad 2D-färgutjämning") \
268        DRI_CONF_DESC_END \
269DRI_CONF_OPT_END
270
271#define DRI_CONF_FLOAT_DEPTH(def) \
272DRI_CONF_OPT_BEGIN(float_depth,bool,def) \
273        DRI_CONF_DESC(en,"Floating point depth buffer") \
274        DRI_CONF_DESC(de,"Fließkomma z-Puffer") \
275        DRI_CONF_DESC(es,"Búfer de profundidad en coma flotante") \
276        DRI_CONF_DESC(nl,"Dieptebuffer als commagetal") \
277        DRI_CONF_DESC(fr,"Z-buffer en virgule flottante") \
278        DRI_CONF_DESC(sv,"Buffert för flytande punktdjup") \
279DRI_CONF_OPT_END
280
281/** \brief Performance-related options */
282#define DRI_CONF_SECTION_PERFORMANCE \
283DRI_CONF_SECTION_BEGIN \
284        DRI_CONF_DESC(en,"Performance") \
285        DRI_CONF_DESC(de,"Leistung") \
286        DRI_CONF_DESC(es,"Rendimiento") \
287        DRI_CONF_DESC(nl,"Prestatie") \
288        DRI_CONF_DESC(fr,"Performance") \
289        DRI_CONF_DESC(sv,"Prestanda")
290
291#define DRI_CONF_TCL_SW 0
292#define DRI_CONF_TCL_PIPELINED 1
293#define DRI_CONF_TCL_VTXFMT 2
294#define DRI_CONF_TCL_CODEGEN 3
295#define DRI_CONF_TCL_MODE(def) \
296DRI_CONF_OPT_BEGIN_V(tcl_mode,enum,def,"0:3") \
297        DRI_CONF_DESC_BEGIN(en,"TCL mode (Transformation, Clipping, Lighting)") \
298                DRI_CONF_ENUM(0,"Use software TCL pipeline") \
299                DRI_CONF_ENUM(1,"Use hardware TCL as first TCL pipeline stage") \
300                DRI_CONF_ENUM(2,"Bypass the TCL pipeline") \
301                DRI_CONF_ENUM(3,"Bypass the TCL pipeline with state-based machine code generated on-the-fly") \
302        DRI_CONF_DESC_END \
303        DRI_CONF_DESC_BEGIN(de,"TCL-Modus (Transformation, Clipping, Licht)") \
304                DRI_CONF_ENUM(0,"Benutze die Software-TCL-Pipeline") \
305                DRI_CONF_ENUM(1,"Benutze Hardware TCL als erste Stufe der TCL-Pipeline") \
306                DRI_CONF_ENUM(2,"Umgehe die TCL-Pipeline") \
307                DRI_CONF_ENUM(3,"Umgehe die TCL-Pipeline mit zur Laufzeit erzeugtem, zustandsbasiertem Maschinencode") \
308        DRI_CONF_DESC_END \
309        DRI_CONF_DESC_BEGIN(es,"Modo TCL (Transformación, Recorte, Iluminación)") \
310                DRI_CONF_ENUM(0,"Usar tubería TCL por software") \
311                DRI_CONF_ENUM(1,"Usar TCL por hardware en la primera fase de la tubería TCL") \
312                DRI_CONF_ENUM(2,"Pasar por alto la tubería TCL") \
313                DRI_CONF_ENUM(3,"Pasar por alto la tubería TCL con código máquina basado en estados generado al vuelo") \
314        DRI_CONF_DESC_END \
315        DRI_CONF_DESC_BEGIN(nl,"TCL-modus (Transformatie, Clipping, Licht)") \
316                DRI_CONF_ENUM(0,"Gebruik software TCL pijpleiding") \
317                DRI_CONF_ENUM(1,"Gebruik hardware TCL as eerste TCL pijpleiding trap") \
318                DRI_CONF_ENUM(2,"Omzeil de TCL pijpleiding") \
319                DRI_CONF_ENUM(3,"Omzeil de TCL pijpleiding met staatgebaseerde machinecode die tijdens executie gegenereerd wordt") \
320        DRI_CONF_DESC_END \
321        DRI_CONF_DESC_BEGIN(fr,"Mode de TCL (Transformation, Clipping, Eclairage)") \
322                DRI_CONF_ENUM(0,"Utiliser un pipeline TCL logiciel") \
323                DRI_CONF_ENUM(1,"Utiliser le TCL matériel pour le premier niveau de pipeline") \
324                DRI_CONF_ENUM(2,"Court-circuiter le pipeline TCL") \
325                DRI_CONF_ENUM(3,"Court-circuiter le pipeline TCL par une machine à états qui génère le codede TCL à la volée") \
326        DRI_CONF_DESC_END \
327        DRI_CONF_DESC_BEGIN(sv,"TCL-läge (Transformation, Clipping, Lighting)") \
328                DRI_CONF_ENUM(0,"Använd programvaru-TCL-rörledning") \
329                DRI_CONF_ENUM(1,"Använd maskinvaru-TCL som första TCL-rörledningssteg") \
330                DRI_CONF_ENUM(2,"Kringgå TCL-rörledningen") \
331                DRI_CONF_ENUM(3,"Kringgå TCL-rörledningen med tillståndsbaserad maskinkod som direktgenereras") \
332        DRI_CONF_DESC_END \
333DRI_CONF_OPT_END
334
335#define DRI_CONF_FTHROTTLE_BUSY 0
336#define DRI_CONF_FTHROTTLE_USLEEPS 1
337#define DRI_CONF_FTHROTTLE_IRQS 2
338#define DRI_CONF_FTHROTTLE_MODE(def) \
339DRI_CONF_OPT_BEGIN_V(fthrottle_mode,enum,def,"0:2") \
340        DRI_CONF_DESC_BEGIN(en,"Method to limit rendering latency") \
341                DRI_CONF_ENUM(0,"Busy waiting for the graphics hardware") \
342                DRI_CONF_ENUM(1,"Sleep for brief intervals while waiting for the graphics hardware") \
343                DRI_CONF_ENUM(2,"Let the graphics hardware emit a software interrupt and sleep") \
344        DRI_CONF_DESC_END \
345        DRI_CONF_DESC_BEGIN(de,"Methode zur Begrenzung der Bildverzögerung") \
346                DRI_CONF_ENUM(0,"Aktives Warten auf die Grafikhardware") \
347                DRI_CONF_ENUM(1,"Kurze Schlafintervalle beim Warten auf die Grafikhardware") \
348                DRI_CONF_ENUM(2,"Die Grafikhardware eine Softwareunterbrechnung erzeugen lassen und schlafen") \
349        DRI_CONF_DESC_END \
350        DRI_CONF_DESC_BEGIN(es,"Método para limitar la latencia de rénder") \
351                DRI_CONF_ENUM(0,"Esperar activamente al hardware gráfico") \
352                DRI_CONF_ENUM(1,"Dormir en intervalos cortos mientras se espera al hardware gráfico") \
353                DRI_CONF_ENUM(2,"Permitir que el hardware gráfico emita una interrupción de software y duerma") \
354        DRI_CONF_DESC_END \
355        DRI_CONF_DESC_BEGIN(nl,"Methode om beeldopbouwvertraging te onderdrukken") \
356                DRI_CONF_ENUM(0,"Actief wachten voor de grafische hardware") \
357                DRI_CONF_ENUM(1,"Slaap voor korte intervallen tijdens het wachten op de grafische hardware") \
358                DRI_CONF_ENUM(2,"Laat de grafische hardware een software onderbreking uitzenden en in slaap vallen") \
359        DRI_CONF_DESC_END \
360        DRI_CONF_DESC_BEGIN(fr,"Méthode d'attente de la carte graphique") \
361                DRI_CONF_ENUM(0,"Attente active de la carte graphique") \
362                DRI_CONF_ENUM(1,"Attente utilisant usleep()") \
363                DRI_CONF_ENUM(2,"Utiliser les interruptions") \
364        DRI_CONF_DESC_END \
365        DRI_CONF_DESC_BEGIN(sv,"Metod för att begränsa renderingslatens") \
366                DRI_CONF_ENUM(0,"Upptagen med att vänta på grafikhårdvaran") \
367                DRI_CONF_ENUM(1,"Sov i korta intervall under väntan på grafikhårdvaran") \
368                DRI_CONF_ENUM(2,"Låt grafikhårdvaran sända ut ett programvaruavbrott och sov") \
369        DRI_CONF_DESC_END \
370DRI_CONF_OPT_END
371
372#define DRI_CONF_VBLANK_NEVER 0
373#define DRI_CONF_VBLANK_DEF_INTERVAL_0 1
374#define DRI_CONF_VBLANK_DEF_INTERVAL_1 2
375#define DRI_CONF_VBLANK_ALWAYS_SYNC 3
376#define DRI_CONF_VBLANK_MODE(def) \
377DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \
378        DRI_CONF_DESC_BEGIN(en,"Synchronization with vertical refresh (swap intervals)") \
379                DRI_CONF_ENUM(0,"Never synchronize with vertical refresh, ignore application's choice") \
380                DRI_CONF_ENUM(1,"Initial swap interval 0, obey application's choice") \
381                DRI_CONF_ENUM(2,"Initial swap interval 1, obey application's choice") \
382                DRI_CONF_ENUM(3,"Always synchronize with vertical refresh, application chooses the minimum swap interval") \
383        DRI_CONF_DESC_END \
384        DRI_CONF_DESC_BEGIN(de,"Synchronisation mit der vertikalen Bildwiederholung") \
385                DRI_CONF_ENUM(0,"Niemals mit der Bildwiederholung synchronisieren, Anweisungen der Anwendung ignorieren") \
386                DRI_CONF_ENUM(1,"Initiales Bildinterval 0, Anweisungen der Anwendung gehorchen") \
387                DRI_CONF_ENUM(2,"Initiales Bildinterval 1, Anweisungen der Anwendung gehorchen") \
388                DRI_CONF_ENUM(3,"Immer mit der Bildwiederholung synchronisieren, Anwendung wählt das minimale Bildintervall") \
389        DRI_CONF_DESC_END \
390        DRI_CONF_DESC_BEGIN(es,"Sincronización con el refresco vertical (intervalos de intercambio)") \
391                DRI_CONF_ENUM(0,"No sincronizar nunca con el refresco vertical, ignorar la elección de la aplicación") \
392                DRI_CONF_ENUM(1,"Intervalo de intercambio inicial 0, obedecer la elección de la aplicación") \
393                DRI_CONF_ENUM(2,"Intervalo de intercambio inicial 1, obedecer la elección de la aplicación") \
394                DRI_CONF_ENUM(3,"Sincronizar siempre con el refresco vertical, la aplicación elige el intervalo de intercambio mínimo") \
395        DRI_CONF_DESC_END \
396        DRI_CONF_DESC_BEGIN(nl,"Synchronisatie met verticale verversing (interval omwisselen)") \
397                DRI_CONF_ENUM(0,"Nooit synchroniseren met verticale verversing, negeer de keuze van de applicatie") \
398                DRI_CONF_ENUM(1,"Initïeel omwisselingsinterval 0, honoreer de keuze van de applicatie") \
399                DRI_CONF_ENUM(2,"Initïeel omwisselingsinterval 1, honoreer de keuze van de applicatie") \
400                DRI_CONF_ENUM(3,"Synchroniseer altijd met verticale verversing, de applicatie kiest het minimum omwisselingsinterval") \
401        DRI_CONF_DESC_END \
402        DRI_CONF_DESC_BEGIN(fr,"Synchronisation de l'affichage avec le balayage vertical") \
403                DRI_CONF_ENUM(0,"Ne jamais synchroniser avec le balayage vertical, ignorer le choix de l'application") \
404                DRI_CONF_ENUM(1,"Ne pas synchroniser avec le balayage vertical par défaut, mais obéir au choix de l'application") \
405                DRI_CONF_ENUM(2,"Synchroniser avec le balayage vertical par défaut, mais obéir au choix de l'application") \
406                DRI_CONF_ENUM(3,"Toujours synchroniser avec le balayage vertical, l'application choisit l'intervalle minimal") \
407        DRI_CONF_DESC_END \
408        DRI_CONF_DESC_BEGIN(sv,"Synkronisering med vertikal uppdatering (växlingsintervall)") \
409                DRI_CONF_ENUM(0,"Synkronisera aldrig med vertikal uppdatering, ignorera programmets val") \
410                DRI_CONF_ENUM(1,"Initialt växlingsintervall 0, följ programmets val") \
411                DRI_CONF_ENUM(2,"Initialt växlingsintervall 1, följ programmets val") \
412                DRI_CONF_ENUM(3,"Synkronisera alltid med vertikal uppdatering, programmet väljer den minsta växlingsintervallen") \
413        DRI_CONF_DESC_END \
414DRI_CONF_OPT_END
415
416#define DRI_CONF_HYPERZ_DISABLED 0
417#define DRI_CONF_HYPERZ_ENABLED 1
418#define DRI_CONF_HYPERZ(def) \
419DRI_CONF_OPT_BEGIN(hyperz,bool,def) \
420        DRI_CONF_DESC(en,"Use HyperZ to boost performance") \
421        DRI_CONF_DESC(de,"HyperZ zur Leistungssteigerung verwenden") \
422        DRI_CONF_DESC(es,"Usar HyperZ para potenciar rendimiento") \
423        DRI_CONF_DESC(nl,"Gebruik HyperZ om de prestaties te verbeteren") \
424        DRI_CONF_DESC(fr,"Utiliser le HyperZ pour améliorer les performances") \
425        DRI_CONF_DESC(sv,"Använd HyperZ för att maximera prestandan") \
426DRI_CONF_OPT_END
427
428#define DRI_CONF_PP_CELSHADE(def) \
429DRI_CONF_OPT_BEGIN_V(pp_celshade,enum,def,"0:1") \
430        DRI_CONF_DESC(en,"A post-processing filter to cel-shade the output") \
431        DRI_CONF_DESC(de,"A post-processing filter to cel-shade the output") \
432        DRI_CONF_DESC(es,"A post-processing filter to cel-shade the output") \
433        DRI_CONF_DESC(nl,"A post-processing filter to cel-shade the output") \
434        DRI_CONF_DESC(fr,"A post-processing filter to cel-shade the output") \
435        DRI_CONF_DESC(sv,"A post-processing filter to cel-shade the output") \
436DRI_CONF_OPT_END
437
438#define DRI_CONF_PP_NORED(def) \
439DRI_CONF_OPT_BEGIN_V(pp_nored,enum,def,"0:1") \
440        DRI_CONF_DESC(en,"A post-processing filter to remove the red channel") \
441        DRI_CONF_DESC(de,"A post-processing filter to remove the red channel") \
442        DRI_CONF_DESC(es,"A post-processing filter to remove the red channel") \
443        DRI_CONF_DESC(nl,"A post-processing filter to remove the red channel") \
444        DRI_CONF_DESC(fr,"A post-processing filter to remove the red channel") \
445        DRI_CONF_DESC(sv,"A post-processing filter to remove the red channel") \
446DRI_CONF_OPT_END
447
448#define DRI_CONF_PP_NOGREEN(def) \
449DRI_CONF_OPT_BEGIN_V(pp_nogreen,enum,def,"0:1") \
450        DRI_CONF_DESC(en,"A post-processing filter to remove the green channel") \
451        DRI_CONF_DESC(de,"A post-processing filter to remove the green channel") \
452        DRI_CONF_DESC(es,"A post-processing filter to remove the green channel") \
453        DRI_CONF_DESC(nl,"A post-processing filter to remove the green channel") \
454        DRI_CONF_DESC(fr,"A post-processing filter to remove the green channel") \
455        DRI_CONF_DESC(sv,"A post-processing filter to remove the green channel") \
456DRI_CONF_OPT_END
457
458#define DRI_CONF_PP_NOBLUE(def) \
459DRI_CONF_OPT_BEGIN_V(pp_noblue,enum,def,"0:1") \
460        DRI_CONF_DESC(en,"A post-processing filter to remove the blue channel") \
461        DRI_CONF_DESC(de,"A post-processing filter to remove the blue channel") \
462        DRI_CONF_DESC(es,"A post-processing filter to remove the blue channel") \
463        DRI_CONF_DESC(nl,"A post-processing filter to remove the blue channel") \
464        DRI_CONF_DESC(fr,"A post-processing filter to remove the blue channel") \
465        DRI_CONF_DESC(sv,"A post-processing filter to remove the blue channel") \
466DRI_CONF_OPT_END
467
468#define DRI_CONF_PP_JIMENEZMLAA(def,min,max) \
469DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa,int,def, # min ":" # max ) \
470        DRI_CONF_DESC(en,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
471        DRI_CONF_DESC(de,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
472        DRI_CONF_DESC(es,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
473        DRI_CONF_DESC(nl,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
474        DRI_CONF_DESC(fr,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
475        DRI_CONF_DESC(sv,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality") \
476DRI_CONF_OPT_END
477
478#define DRI_CONF_PP_JIMENEZMLAA_COLOR(def,min,max) \
479DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa_color,int,def, # min ":" # max ) \
480        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") \
481        DRI_CONF_DESC(de,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps") \
482        DRI_CONF_DESC(es,"Morphological anti-aliasing based on Jimenez\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps") \
483        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") \
484        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") \
485        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") \
486DRI_CONF_OPT_END
487
488#define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \
489DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
490        DRI_CONF_DESC(en,"Number of texture units used") \
491        DRI_CONF_DESC(de,"Anzahl der benutzten Textureinheiten") \
492        DRI_CONF_DESC(es,"Número de unidades de textura usadas") \
493        DRI_CONF_DESC(nl,"Aantal textuureenheden in gebruik") \
494        DRI_CONF_DESC(fr,"Nombre d'unités de texture") \
495        DRI_CONF_DESC(sv,"Antal använda texturenheter") \
496DRI_CONF_OPT_END
497
498#define DRI_CONF_ALLOW_LARGE_TEXTURES(def) \
499DRI_CONF_OPT_BEGIN_V(allow_large_textures,enum,def,"0:2") \
500	DRI_CONF_DESC_BEGIN(en,"Support larger textures not guaranteed to fit into graphics memory") \
501		DRI_CONF_ENUM(0,"No") \
502		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
503		DRI_CONF_ENUM(2,"Announce hardware limits") \
504	DRI_CONF_DESC_END \
505	DRI_CONF_DESC_BEGIN(de,"Unterstütze grosse Texturen die evtl. nicht in den Grafikspeicher passen") \
506		DRI_CONF_ENUM(0,"Nein") \
507		DRI_CONF_ENUM(1,"Mindestens 1 Textur muss auch im schlechtesten Fall Platz haben") \
508		DRI_CONF_ENUM(2,"Benutze Hardware-Limits") \
509	DRI_CONF_DESC_END \
510	DRI_CONF_DESC_BEGIN(es,"Support larger textures not guaranteed to fit into graphics memory") \
511		DRI_CONF_ENUM(0,"No") \
512		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
513		DRI_CONF_ENUM(2,"Announce hardware limits") \
514	DRI_CONF_DESC_END \
515	DRI_CONF_DESC_BEGIN(nl,"Support larger textures not guaranteed to fit into graphics memory") \
516		DRI_CONF_ENUM(0,"No") \
517		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
518		DRI_CONF_ENUM(2,"Announce hardware limits") \
519	DRI_CONF_DESC_END \
520	DRI_CONF_DESC_BEGIN(fr,"Support larger textures not guaranteed to fit into graphics memory") \
521		DRI_CONF_ENUM(0,"No") \
522		DRI_CONF_ENUM(1,"At least 1 texture must fit under worst-case assumptions") \
523		DRI_CONF_ENUM(2,"Announce hardware limits") \
524	DRI_CONF_DESC_END \
525	DRI_CONF_DESC_BEGIN(sv,"Stöd för större texturer är inte garanterat att passa i grafikminnet") \
526		DRI_CONF_ENUM(0,"Nej") \
527		DRI_CONF_ENUM(1,"Åtminstone en textur måste passa för antaget sämsta förhållande") \
528		DRI_CONF_ENUM(2,"Annonsera hårdvarubegränsningar") \
529	DRI_CONF_DESC_END \
530DRI_CONF_OPT_END
531
532#define DRI_CONF_TEXTURE_BLEND_QUALITY(def,range) \
533DRI_CONF_OPT_BEGIN_V(texture_blend_quality,float,def,range) \
534	DRI_CONF_DESC(en,"Texture filtering quality vs. speed, AKA “brilinear” texture filtering") \
535	DRI_CONF_DESC(de,"Texturfilterqualität versus -geschwindigkeit, auch bekannt als „brilineare“ Texturfilterung") \
536	DRI_CONF_DESC(es,"Calidad de filtrado de textura vs. velocidad, alias filtrado ”brilinear“ de textura") \
537	DRI_CONF_DESC(nl,"Textuurfilterkwaliteit versus -snelheid, ookwel bekend als “brilineaire” textuurfiltering") \
538	DRI_CONF_DESC(fr,"Qualité/performance du filtrage trilinéaire de texture (filtrage brilinéaire)") \
539	DRI_CONF_DESC(sv,"Texturfiltreringskvalitet mot hastighet, även kallad ”brilinear”-texturfiltrering") \
540DRI_CONF_OPT_END
541
542#define DRI_CONF_TEXTURE_HEAPS_ALL 0
543#define DRI_CONF_TEXTURE_HEAPS_CARD 1
544#define DRI_CONF_TEXTURE_HEAPS_GART 2
545#define DRI_CONF_TEXTURE_HEAPS(def) \
546DRI_CONF_OPT_BEGIN_V(texture_heaps,enum,def,"0:2") \
547	DRI_CONF_DESC_BEGIN(en,"Used types of texture memory") \
548		DRI_CONF_ENUM(0,"All available memory") \
549		DRI_CONF_ENUM(1,"Only card memory (if available)") \
550		DRI_CONF_ENUM(2,"Only GART (AGP/PCIE) memory (if available)") \
551	DRI_CONF_DESC_END \
552	DRI_CONF_DESC_BEGIN(de,"Benutzte Arten von Texturspeicher") \
553		DRI_CONF_ENUM(0,"Aller verfügbarer Speicher") \
554		DRI_CONF_ENUM(1,"Nur Grafikspeicher (falls verfügbar)") \
555		DRI_CONF_ENUM(2,"Nur GART-Speicher (AGP/PCIE) (falls verfügbar)") \
556	DRI_CONF_DESC_END \
557	DRI_CONF_DESC_BEGIN(es,"Tipos de memoria de textura usados") \
558		DRI_CONF_ENUM(0,"Toda la memoria disponible") \
559		DRI_CONF_ENUM(1,"Sólo la memoria de la tarjeta (si disponible)") \
560		DRI_CONF_ENUM(2,"Sólo memoria GART (AGP/PCIE) (si disponible)") \
561	DRI_CONF_DESC_END \
562	DRI_CONF_DESC_BEGIN(nl,"Gebruikte soorten textuurgeheugen") \
563		DRI_CONF_ENUM(0,"Al het beschikbaar geheugen") \
564		DRI_CONF_ENUM(1,"Alleen geheugen op de kaart (als het aanwezig is)") \
565		DRI_CONF_ENUM(2,"Alleen GART (AGP/PCIE) geheugen (als het aanwezig is)") \
566	DRI_CONF_DESC_END \
567	DRI_CONF_DESC_BEGIN(fr,"Types de mémoire de texture") \
568		DRI_CONF_ENUM(0,"Utiliser toute la mémoire disponible") \
569		DRI_CONF_ENUM(1,"Utiliser uniquement la mémoire graphique (si disponible)") \
570		DRI_CONF_ENUM(2,"Utiliser uniquement la mémoire GART (AGP/PCIE) (si disponible)") \
571	DRI_CONF_DESC_END \
572	DRI_CONF_DESC_BEGIN(sv,"Använda typer av texturminne") \
573		DRI_CONF_ENUM(0,"Allt tillgängligt minne") \
574		DRI_CONF_ENUM(1,"Endast kortminne (om tillgängligt)") \
575		DRI_CONF_ENUM(2,"Endast GART-minne (AGP/PCIE) (om tillgängligt)") \
576	DRI_CONF_DESC_END \
577DRI_CONF_OPT_END
578
579/* Options for features that are not done in hardware by the driver (like GL_ARB_vertex_program
580   On cards where there is no documentation (r200) or on rasterization-only hardware). */
581#define DRI_CONF_SECTION_SOFTWARE \
582DRI_CONF_SECTION_BEGIN \
583        DRI_CONF_DESC(en,"Features that are not hardware-accelerated") \
584        DRI_CONF_DESC(de,"Funktionalität, die nicht hardwarebeschleunigt ist") \
585        DRI_CONF_DESC(es,"Características no aceleradas por hardware") \
586        DRI_CONF_DESC(nl,"Eigenschappen die niet hardwareversneld zijn") \
587        DRI_CONF_DESC(fr,"Fonctionnalités ne bénéficiant pas d'une accélération matérielle") \
588        DRI_CONF_DESC(sv,"Funktioner som inte är hårdvaruaccelererade")
589
590#define DRI_CONF_ARB_VERTEX_PROGRAM(def) \
591DRI_CONF_OPT_BEGIN(arb_vertex_program,bool,def) \
592        DRI_CONF_DESC(en,"Enable extension GL_ARB_vertex_program") \
593        DRI_CONF_DESC(de,"Erweiterung GL_ARB_vertex_program aktivieren") \
594        DRI_CONF_DESC(es,"Activar la extensión GL_ARB_vertex_program") \
595        DRI_CONF_DESC(nl,"Zet uitbreiding GL_ARB_vertex_program aan") \
596        DRI_CONF_DESC(fr,"Activer l'extension GL_ARB_vertex_program") \
597        DRI_CONF_DESC(sv,"Aktivera tillägget GL_ARB_vertex_program") \
598DRI_CONF_OPT_END
599
600#define DRI_CONF_NV_VERTEX_PROGRAM(def) \
601DRI_CONF_OPT_BEGIN(nv_vertex_program,bool,def) \
602        DRI_CONF_DESC(en,"Enable extension GL_NV_vertex_program") \
603        DRI_CONF_DESC(de,"Erweiterung GL_NV_vertex_program aktivieren") \
604        DRI_CONF_DESC(es,"Activar extensión GL_NV_vertex_program") \
605        DRI_CONF_DESC(nl,"Zet uitbreiding GL_NV_vertex_program aan") \
606        DRI_CONF_DESC(fr,"Activer l'extension GL_NV_vertex_program") \
607        DRI_CONF_DESC(sv,"Aktivera tillägget GL_NV_vertex_program") \
608DRI_CONF_OPT_END
609
610#define DRI_CONF_ALWAYS_FLUSH_BATCH(def) \
611DRI_CONF_OPT_BEGIN(always_flush_batch,bool,def) \
612        DRI_CONF_DESC(en,"Enable flushing batchbuffer after each draw call") \
613        DRI_CONF_DESC(de,"Enable flushing batchbuffer after each draw call") \
614        DRI_CONF_DESC(es,"Enable flushing batchbuffer after each draw call") \
615        DRI_CONF_DESC(nl,"Enable flushing batchbuffer after each draw call") \
616        DRI_CONF_DESC(fr,"Enable flushing batchbuffer after each draw call") \
617        DRI_CONF_DESC(sv,"Enable flushing batchbuffer after each draw call") \
618DRI_CONF_OPT_END
619
620#define DRI_CONF_ALWAYS_FLUSH_CACHE(def) \
621DRI_CONF_OPT_BEGIN(always_flush_cache,bool,def) \
622        DRI_CONF_DESC(en,"Enable flushing GPU caches with each draw call") \
623        DRI_CONF_DESC(de,"Enable flushing GPU caches with each draw call") \
624        DRI_CONF_DESC(es,"Enable flushing GPU caches with each draw call") \
625        DRI_CONF_DESC(nl,"Enable flushing GPU caches with each draw call") \
626        DRI_CONF_DESC(fr,"Enable flushing GPU caches with each draw call") \
627        DRI_CONF_DESC(sv,"Enable flushing GPU caches with each draw call") \
628DRI_CONF_OPT_END
629
630#define DRI_CONF_FORCE_GLSL_EXTENSIONS_WARN(def) \
631DRI_CONF_OPT_BEGIN(force_glsl_extensions_warn,bool,def) \
632        DRI_CONF_DESC(en,"Force GLSL extension default behavior to 'warn'") \
633        DRI_CONF_DESC(de,"Force GLSL extension default behavior to 'warn'") \
634        DRI_CONF_DESC(es,"Force GLSL extension default behavior to 'warn'") \
635        DRI_CONF_DESC(nl,"Force GLSL extension default behavior to 'warn'") \
636        DRI_CONF_DESC(fr,"Force GLSL extension default behavior to 'warn'") \
637        DRI_CONF_DESC(sv,"Force GLSL extension default behavior to 'warn'") \
638DRI_CONF_OPT_END
639
640#define DRI_CONF_DISABLE_BLEND_FUNC_EXTENDED(def) \
641DRI_CONF_OPT_BEGIN(disable_blend_func_extended,bool,def) \
642        DRI_CONF_DESC(en,"Disable dual source blending") \
643        DRI_CONF_DESC(de,"Disable dual source blending") \
644        DRI_CONF_DESC(es,"Disable dual source blending") \
645        DRI_CONF_DESC(nl,"Disable dual source blending") \
646        DRI_CONF_DESC(fr,"Disable dual source blending") \
647        DRI_CONF_DESC(sv,"Disable dual source blending") \
648DRI_CONF_OPT_END
649