⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 options.h

📁 Mesa is an open-source implementation of the OpenGL specification - a system for rendering interacti
💻 H
📖 第 1 页 / 共 2 页
字号:
/*********************************************************************** ***        THIS FILE IS GENERATED AUTOMATICALLY. DON'T EDIT!        *** ***********************************************************************//* * XML DRI client-side driver configuration * Copyright (C) 2003 Felix Kuehling * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL * FELIX KUEHLING, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE  * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. *  *//** * \file t_options.h * \brief Templates of common options * \author Felix Kuehling * * This file defines macros for common options that can be used to * construct driConfigOptions in the drivers. This file is only a * template containing English descriptions for options wrapped in * gettext(). xgettext can be used to extract translatable * strings. These strings can then be translated by anyone familiar * with GNU gettext. gen_xmlpool.py takes this template and fills in * all the translations. The result (options.h) is included by * xmlpool.h which in turn can be included by drivers. * * The macros used to describe otions in this file are defined in * ../xmlpool.h. *//* This is needed for xgettext to extract translatable strings. * gen_xmlpool.py will discard this line. *//* #include <libintl.h> * commented out by gen_xmlpool.py *//* * predefined option sections and options with multi-lingual descriptions *//** \brief Debugging options */#define DRI_CONF_SECTION_DEBUG \DRI_CONF_SECTION_BEGIN \	DRI_CONF_DESC(en,"Debugging") \	DRI_CONF_DESC(de,"Fehlersuche") \	DRI_CONF_DESC(es,"Depurando") \	DRI_CONF_DESC(nl,"Debuggen") \	DRI_CONF_DESC(fr,"Debogage") \	DRI_CONF_DESC(sv,"Felsökning")#define DRI_CONF_NO_RAST(def) \DRI_CONF_OPT_BEGIN(no_rast,bool,def) \        DRI_CONF_DESC(en,"Disable 3D acceleration") \        DRI_CONF_DESC(de,"3D-Beschleunigung abschalten") \        DRI_CONF_DESC(es,"Desactivar aceleración 3D") \        DRI_CONF_DESC(nl,"3D versnelling uitschakelen") \        DRI_CONF_DESC(fr,"Désactiver l'accélération 3D") \        DRI_CONF_DESC(sv,"Inaktivera 3D-accelerering") \DRI_CONF_OPT_END#define DRI_CONF_PERFORMANCE_BOXES(def) \DRI_CONF_OPT_BEGIN(performance_boxes,bool,def) \        DRI_CONF_DESC(en,"Show performance boxes") \        DRI_CONF_DESC(de,"Zeige Performanceboxen") \        DRI_CONF_DESC(es,"Mostrar cajas de rendimiento") \        DRI_CONF_DESC(nl,"Laat prestatie boxjes zien") \        DRI_CONF_DESC(fr,"Afficher les boîtes de performance") \        DRI_CONF_DESC(sv,"Visa prestandarutor") \DRI_CONF_OPT_END/** \brief Texture-related options */#define DRI_CONF_SECTION_QUALITY \DRI_CONF_SECTION_BEGIN \	DRI_CONF_DESC(en,"Image Quality") \	DRI_CONF_DESC(de,"Bildqualität") \	DRI_CONF_DESC(es,"Calidad de imagen") \	DRI_CONF_DESC(nl,"Beeldkwaliteit") \	DRI_CONF_DESC(fr,"Qualité d'image") \	DRI_CONF_DESC(sv,"Bildkvalitet")#define DRI_CONF_EXCESS_MIPMAP(def) \DRI_CONF_OPT_BEGIN(excess_mipmap,bool,def) \	DRI_CONF_DESC(en,"Enable extra mipmap level") \DRI_CONF_OPT_END#define DRI_CONF_TEXTURE_DEPTH_FB       0#define DRI_CONF_TEXTURE_DEPTH_32       1#define DRI_CONF_TEXTURE_DEPTH_16       2#define DRI_CONF_TEXTURE_DEPTH_FORCE_16 3#define DRI_CONF_TEXTURE_DEPTH(def) \DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \	DRI_CONF_DESC_BEGIN(en,"Texture color depth") \                DRI_CONF_ENUM(0,"Prefer frame buffer color depth") \                DRI_CONF_ENUM(1,"Prefer 32 bits per texel") \                DRI_CONF_ENUM(2,"Prefer 16 bits per texel") \                DRI_CONF_ENUM(3,"Force 16 bits per texel") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(de,"Texturfarbtiefe") \                DRI_CONF_ENUM(0,"Bevorzuge Farbtiefe des Framebuffers") \                DRI_CONF_ENUM(1,"Bevorzuge 32 bits pro Texel") \                DRI_CONF_ENUM(2,"Bevorzuge 16 bits pro Texel") \                DRI_CONF_ENUM(3,"Erzwinge 16 bits pro Texel") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(es,"Profundidad de color de textura") \                DRI_CONF_ENUM(0,"Preferir profundidad de color del ”framebuffer“") \                DRI_CONF_ENUM(1,"Preferir 32 bits por texel") \                DRI_CONF_ENUM(2,"Preferir 16 bits por texel") \                DRI_CONF_ENUM(3,"Forzar a 16 bits por texel") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(nl,"Textuurkleurendiepte") \                DRI_CONF_ENUM(0,"Prefereer kaderbufferkleurdiepte") \                DRI_CONF_ENUM(1,"Prefereer 32 bits per texel") \                DRI_CONF_ENUM(2,"Prefereer 16 bits per texel") \                DRI_CONF_ENUM(3,"Dwing 16 bits per texel af") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(fr,"Profondeur de texture") \                DRI_CONF_ENUM(0,"Profondeur de couleur") \                DRI_CONF_ENUM(1,"Préférer 32 bits par texel") \                DRI_CONF_ENUM(2,"Prérérer 16 bits par texel") \                DRI_CONF_ENUM(3,"Forcer 16 bits par texel") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(sv,"Färgdjup för texturer") \                DRI_CONF_ENUM(0,"Föredra färgdjupet för framebuffer") \                DRI_CONF_ENUM(1,"Föredra 32 bitar per texel") \                DRI_CONF_ENUM(2,"Föredra 16 bitar per texel") \                DRI_CONF_ENUM(3,"Tvinga 16 bitar per texel") \        DRI_CONF_DESC_END \DRI_CONF_OPT_END#define DRI_CONF_DEF_MAX_ANISOTROPY(def,range) \DRI_CONF_OPT_BEGIN_V(def_max_anisotropy,float,def,range) \        DRI_CONF_DESC(en,"Initial maximum value for anisotropic texture filtering") \        DRI_CONF_DESC(de,"Initialer Maximalwert für anisotropische Texturfilterung") \        DRI_CONF_DESC(es,"Valor máximo inicial para filtrado anisotrópico de textura") \        DRI_CONF_DESC(nl,"Initïele maximum waarde voor anisotrophische textuur filtering") \        DRI_CONF_DESC(fr,"Valeur maximale initiale pour le filtrage anisotropique de texture") \        DRI_CONF_DESC(sv,"Initialt maximalt värde för anisotropisk texturfiltrering") \DRI_CONF_OPT_END#define DRI_CONF_NO_NEG_LOD_BIAS(def) \DRI_CONF_OPT_BEGIN(no_neg_lod_bias,bool,def) \        DRI_CONF_DESC(en,"Forbid negative texture LOD bias") \        DRI_CONF_DESC(de,"Verbiete negative Textur-Detailgradverschiebung") \        DRI_CONF_DESC(es,"Prohibir valores negativos de Nivel De Detalle (LOD) de texturas") \        DRI_CONF_DESC(nl,"Verbied negatief niveau detailonderscheid (LOD) van texturen") \        DRI_CONF_DESC(fr,"Interdire le LOD bias negatif") \        DRI_CONF_DESC(sv,"Förbjud negativ LOD-kompensation för texturer") \DRI_CONF_OPT_END#define DRI_CONF_FORCE_S3TC_ENABLE(def) \DRI_CONF_OPT_BEGIN(force_s3tc_enable,bool,def) \        DRI_CONF_DESC(en,"Enable S3TC texture compression even if software support is not available") \        DRI_CONF_DESC(de,"Aktiviere S3TC Texturkomprimierung auch wenn die nötige Softwareunterstützung fehlt") \        DRI_CONF_DESC(es,"Activar la compresión de texturas S3TC incluso si el soporte por software no está disponible") \        DRI_CONF_DESC(nl,"Schakel S3TC textuurcompressie in, zelfs als softwareondersteuning niet aanwezig is") \        DRI_CONF_DESC(fr,"Activer la compression de texture S3TC même si le support logiciel est absent") \        DRI_CONF_DESC(sv,"Aktivera S3TC-texturkomprimering även om programvarustöd saknas") \DRI_CONF_OPT_END#define DRI_CONF_COLOR_REDUCTION_ROUND 0#define DRI_CONF_COLOR_REDUCTION_DITHER 1#define DRI_CONF_COLOR_REDUCTION(def) \DRI_CONF_OPT_BEGIN_V(color_reduction,enum,def,"0:1") \        DRI_CONF_DESC_BEGIN(en,"Initial color reduction method") \                DRI_CONF_ENUM(0,"Round colors") \                DRI_CONF_ENUM(1,"Dither colors") \        DRI_CONF_DESC_END \        DRI_CONF_DESC_BEGIN(de,"Initiale Farbreduktionsmethode") \                DRI_CONF_ENUM(0,"Farben runden") \                DRI_CONF_ENUM(1,"Farben rastern") \        DRI_CONF_DESC_END \        DRI_CONF_DESC_BEGIN(es,"Método inicial de reducción de color") \                DRI_CONF_ENUM(0,"Colores redondeados") \                DRI_CONF_ENUM(1,"Colores suavizados") \        DRI_CONF_DESC_END \        DRI_CONF_DESC_BEGIN(nl,"Initïele kleurreductie methode") \                DRI_CONF_ENUM(0,"Rond kleuren af") \                DRI_CONF_ENUM(1,"Rasteriseer kleuren") \        DRI_CONF_DESC_END \        DRI_CONF_DESC_BEGIN(fr,"Technique de réduction de couleurs") \                DRI_CONF_ENUM(0,"Arrondir les valeurs de couleur") \                DRI_CONF_ENUM(1,"Tramer les couleurs") \        DRI_CONF_DESC_END \        DRI_CONF_DESC_BEGIN(sv,"Initial färgminskningsmetod") \                DRI_CONF_ENUM(0,"Avrunda färger") \                DRI_CONF_ENUM(1,"Utjämna färger") \        DRI_CONF_DESC_END \DRI_CONF_OPT_END#define DRI_CONF_ROUND_TRUNC 0#define DRI_CONF_ROUND_ROUND 1#define DRI_CONF_ROUND_MODE(def) \DRI_CONF_OPT_BEGIN_V(round_mode,enum,def,"0:1") \	DRI_CONF_DESC_BEGIN(en,"Color rounding method") \                DRI_CONF_ENUM(0,"Round color components downward") \                DRI_CONF_ENUM(1,"Round to nearest color") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(de,"Farbrundungsmethode") \                DRI_CONF_ENUM(0,"Farbkomponenten abrunden") \                DRI_CONF_ENUM(1,"Zur ähnlichsten Farbe runden") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(es,"Método de redondeo de colores") \                DRI_CONF_ENUM(0,"Redondear hacia abajo los componentes de color") \                DRI_CONF_ENUM(1,"Redondear al color más cercano") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(nl,"Kleurafrondingmethode") \                DRI_CONF_ENUM(0,"Rond kleurencomponenten af naar beneden") \                DRI_CONF_ENUM(1,"Rond af naar dichtsbijzijnde kleur") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(fr,"Méthode d'arrondi des couleurs") \                DRI_CONF_ENUM(0,"Arrondi à l'inférieur") \                DRI_CONF_ENUM(1,"Arrondi au plus proche") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(sv,"Färgavrundningsmetod") \                DRI_CONF_ENUM(0,"Avrunda färdkomponenter nedåt") \                DRI_CONF_ENUM(1,"Avrunda till närmsta färg") \        DRI_CONF_DESC_END \DRI_CONF_OPT_END#define DRI_CONF_DITHER_XERRORDIFF 0#define DRI_CONF_DITHER_XERRORDIFFRESET 1#define DRI_CONF_DITHER_ORDERED 2#define DRI_CONF_DITHER_MODE(def) \DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \	DRI_CONF_DESC_BEGIN(en,"Color dithering method") \                DRI_CONF_ENUM(0,"Horizontal error diffusion") \                DRI_CONF_ENUM(1,"Horizontal error diffusion, reset error at line start") \                DRI_CONF_ENUM(2,"Ordered 2D color dithering") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(de,"Farbrasterungsmethode") \                DRI_CONF_ENUM(0,"Horizontale Fehlerstreuung") \                DRI_CONF_ENUM(1,"Horizontale Fehlerstreuung, Fehler am Zeilenanfang zurücksetzen") \                DRI_CONF_ENUM(2,"Geordnete 2D Farbrasterung") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(es,"Método de suavizado de color") \                DRI_CONF_ENUM(0,"Difusión de error horizontal") \                DRI_CONF_ENUM(1,"Difusión de error horizontal, reiniciar error al comienzo de línea") \                DRI_CONF_ENUM(2,"Suavizado de color 2D ordenado") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(nl,"Kleurrasteriseringsmethode") \                DRI_CONF_ENUM(0,"Horizontale foutdiffusie") \                DRI_CONF_ENUM(1,"Horizontale foutdiffusie, zet fout bij lijnbegin terug") \                DRI_CONF_ENUM(2,"Geordende 2D kleurrasterisering") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(fr,"Méthode de tramage") \                DRI_CONF_ENUM(0,"Diffusion d'erreur horizontale") \                DRI_CONF_ENUM(1,"Diffusion d'erreur horizontale, réinitialisé pour chaque ligne") \                DRI_CONF_ENUM(2,"Tramage ordonné des couleurs") \        DRI_CONF_DESC_END \	DRI_CONF_DESC_BEGIN(sv,"Färgutjämningsmetod") \                DRI_CONF_ENUM(0,"Horisontell felspridning") \                DRI_CONF_ENUM(1,"Horisontell felspridning, återställ fel vid radbörjan") \                DRI_CONF_ENUM(2,"Ordnad 2D-färgutjämning") \        DRI_CONF_DESC_END \DRI_CONF_OPT_END#define DRI_CONF_FLOAT_DEPTH(def) \DRI_CONF_OPT_BEGIN(float_depth,bool,def) \        DRI_CONF_DESC(en,"Floating point depth buffer") \        DRI_CONF_DESC(de,"Fließkomma z-Puffer") \        DRI_CONF_DESC(es,"Búfer de profundidad en coma flotante") \

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -