summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/savage/savage_init.h
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-12-15 17:45:23 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-12-15 17:45:23 +0000
commit58f5b91b1bd3d329f98969c7d6c8434107b3ec6d (patch)
tree1e6e2e2de88161d4cc88c0a714277767b455bfb7 /src/mesa/drivers/dri/savage/savage_init.h
parent489ccef3982267b0d35c8548921f58d553c25a3a (diff)
Added configuration support to the Savage driver. Three options are
supported so far.
Diffstat (limited to 'src/mesa/drivers/dri/savage/savage_init.h')
-rw-r--r--src/mesa/drivers/dri/savage/savage_init.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_init.h b/src/mesa/drivers/dri/savage/savage_init.h
index f632c91f07..1454b6b36c 100644
--- a/src/mesa/drivers/dri/savage/savage_init.h
+++ b/src/mesa/drivers/dri/savage/savage_init.h
@@ -32,6 +32,8 @@
#include "dri_util.h"
#include "mtypes.h"
+#include "xmlconfig.h"
+
typedef struct {
drm_handle_t handle;
drmSize size;
@@ -76,6 +78,9 @@ typedef struct {
drmBufMapPtr bufs;
int use_copy_buf;
unsigned int sarea_priv_offset;
+
+ /* Configuration cache with default values for all contexts */
+ driOptionCache optionCache;
} savageScreenPrivate;