diff options
author | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-12-08 17:32:46 +0000 |
---|---|---|
committer | Roland Scheidegger <rscheidegger@gmx.ch> | 2004-12-08 17:32:46 +0000 |
commit | b31b7836d6e7abf80dd4feacce333d4b1fe6e4ab (patch) | |
tree | 69a6cac0c72bb720919cf727bcb53d40d6920c13 /src/mesa/drivers/dri/r200/r200_context.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/r200/r200_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h index 9af5c9390a..bb5a3cf30d 100644 --- a/src/mesa/drivers/dri/r200/r200_context.h +++ b/src/mesa/drivers/dri/r200/r200_context.h @@ -102,6 +102,7 @@ struct r200_colorbuffer_state { struct r200_depthbuffer_state { + GLuint clear; GLfloat scale; }; @@ -930,6 +931,8 @@ struct r200_context { /* Configuration cache */ driOptionCache optionCache; + + GLboolean using_hyperz; }; #define R200_CONTEXT(ctx) ((r200ContextPtr)(ctx->DriverCtx)) |