summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/savage/savagecontext.h
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2004-12-15 17:45:23 +0000
committerFelix Kuehling <[email protected]>2004-12-15 17:45:23 +0000
commit58f5b91b1bd3d329f98969c7d6c8434107b3ec6d (patch)
tree1e6e2e2de88161d4cc88c0a714277767b455bfb7 /src/mesa/drivers/dri/savage/savagecontext.h
parent489ccef3982267b0d35c8548921f58d553c25a3a (diff)
Added configuration support to the Savage driver. Three options are
supported so far.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savagecontext.h')
-rw-r--r--src/mesa/drivers/dri/savage/savagecontext.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savagecontext.h b/src/mesa/drivers/dri/savage/savagecontext.h
index 5ea40cea4b6..501b98adc13 100644
--- a/src/mesa/drivers/dri/savage/savagecontext.h
+++ b/src/mesa/drivers/dri/savage/savagecontext.h
@@ -44,6 +44,8 @@ typedef struct savage_texture_object_t *savageTextureObjectPtr;
#include "savagetex.h"
#include "savagedma.h"
+#include "xmlconfig.h"
+
/* Reasons to fallback on all primitives.
*/
#define SAVAGE_FALLBACK_TEXTURE 0x1
@@ -259,6 +261,11 @@ struct savage_context_t {
volatile GLuint *eventTag1;
GLuint shadowCounter;
GLboolean shadowStatus;
+
+ /* Configuration cache
+ */
+ driOptionCache optionCache;
+ int texture_depth;
};
#define SAVAGE_CONTEXT(ctx) ((savageContextPtr)(ctx->DriverCtx))