diff options
author | Roland Scheidegger <[email protected]> | 2004-12-08 17:32:46 +0000 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2004-12-08 17:32:46 +0000 |
commit | b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab (patch) | |
tree | 69a6cac0c72bb720919cf727bcb53d40d6920c13 /src/mesa/drivers/dri/common/xmlpool.h | |
parent | fc236723273d4d872ae5e7cac876ea20175df10d (diff) |
(Stephane Marchesin, me) add hyperz support to radeon and r200 drivers. Only fast z clear and z buffer compression are supported for now, hierarchical-z is not. Still problems with multiple apps and z/stencil readback, which is why hyperz is disabled per default. Also add the new point sprite packet drm 1.13 accepts to the sanity code.
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlpool.h')
-rw-r--r-- | src/mesa/drivers/dri/common/xmlpool.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h index efd13a136ab..311fcd0a414 100644 --- a/src/mesa/drivers/dri/common/xmlpool.h +++ b/src/mesa/drivers/dri/common/xmlpool.h @@ -273,6 +273,14 @@ DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \ DRI_CONF_DESC_END \ DRI_CONF_OPT_END +#define DRI_CONF_HYPERZ_DISABLED 0 +#define DRI_CONF_HYPERZ_ENABLED 1 +#define DRI_CONF_HYPERZ(def) \ +DRI_CONF_OPT_BEGIN(hyperz,bool,def) \ + DRI_CONF_DESC(en,"Use hyperz") \ + DRI_CONF_DESC(de,"Hyperz benutzen") \ +DRI_CONF_OPT_END + #define DRI_CONF_MAX_TEXTURE_UNITS(def,min,max) \ DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \ DRI_CONF_DESC(en,"Number of texture units") \ |