diff options
author | Felix Kuehling <[email protected]> | 2004-01-05 02:35:45 +0000 |
---|---|---|
committer | Felix Kuehling <[email protected]> | 2004-01-05 02:35:45 +0000 |
commit | dbfe7ae848dc008ec878a7da8c39e4091996bb74 (patch) | |
tree | c6f6c5009ee26e36680e62aabf8889f8906ef3e2 | |
parent | 22d1acf2ee25280c3294c2cfded232e612ffac2e (diff) |
Added two new options: def_max_anisotropy and no_neg_lod_bias. The latter one
is for disabling faked "anisotropy" in e.g. FlightGear.
-rw-r--r-- | src/mesa/drivers/dri/common/xmlpool.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h index c7db80d1179..64a1ffaf5de 100644 --- a/src/mesa/drivers/dri/common/xmlpool.h +++ b/src/mesa/drivers/dri/common/xmlpool.h @@ -147,6 +147,18 @@ DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \ 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,"Default maximum value for anisotropic texture filtering") \ + DRI_CONF_DESC(de,"Standard Maximalwert für anisotropische Texturfilterung") \ +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 negativen Textur-LOD-Bias") \ +DRI_CONF_OPT_END + #define DRI_CONF_COLOR_REDUCTION_ROUND 0 #define DRI_CONF_COLOR_REDUCTION_DITHER 1 #define DRI_CONF_COLOR_REDUCTION(def) \ |