summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2006-07-16 20:17:38 +0100
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2006-07-16 20:17:38 +0100
commit2f50f6d1b1b3fa4fbec98bd8fa5818df890070e7 (patch)
tree57949e293e07d9974516830fde12bdf59203a6df /src/i830.h
parentb1c2ea653502dd8547079e7014b698f241433dff (diff)
move ContextMem out of XF86DRI
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/i830.h b/src/i830.h
index 79eb3101..2584e226 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -141,7 +141,7 @@ typedef struct {
} I830RingBuffer;
typedef struct {
- unsigned int Fence[8];
+ unsigned int Fence[FENCE_NEW_NR * 2]; /* i965 has more fence regs */
} I830RegRec, *I830RegPtr;
typedef struct {
@@ -230,14 +230,20 @@ typedef struct _I830Rec {
CreateScreenResourcesProcPtr CreateScreenResources;
int *used3D;
+ I830MemRange ContextMem;
#ifdef XF86DRI
I830MemRange BackBuffer;
I830MemRange DepthBuffer;
I830MemRange TexMem;
int TexGranularity;
- I830MemRange ContextMem;
int drmMinor;
Bool have3DWindows;
+
+ unsigned int front_tiled;
+ unsigned int back_tiled;
+ unsigned int depth_tiled;
+ unsigned int rotated_tiled;
+ unsigned int rotated2_tiled;
#endif
Bool NeedRingBufferLow;
@@ -377,6 +383,9 @@ typedef struct _I830Rec {
Bool devicePresence;
OsTimerPtr devicesTimer;
+
+ CARD32 savedAsurf;
+ CARD32 savedBsurf;
} I830Rec;
#define I830PTR(p) ((I830Ptr)((p)->driverPrivate))