diff options
author | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-07-16 20:17:38 +0100 |
---|---|---|
committer | Alan Hourihane <alanh@fairlite.demon.co.uk> | 2006-07-16 20:17:38 +0100 |
commit | 2f50f6d1b1b3fa4fbec98bd8fa5818df890070e7 (patch) | |
tree | 57949e293e07d9974516830fde12bdf59203a6df /src/i830.h | |
parent | b1c2ea653502dd8547079e7014b698f241433dff (diff) |
move ContextMem out of XF86DRI
Diffstat (limited to 'src/i830.h')
-rw-r--r-- | src/i830.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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)) |