summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/i965/server
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-08-10 21:26:50 +0000
committerEric Anholt <anholt@FreeBSD.org>2006-08-10 21:26:50 +0000
commit2332812644d5ab98d884cd0083e9d68c8e09b4cf (patch)
tree9760e67c31239a2c0ac44094027b93decab0f8fd /src/mesa/drivers/dri/i965/server
parent3775b566fa15ce7ffa0cf02a2f075dab1dffcebd (diff)
Add padding to match the current xf86-video-intel DDX->DRI interface.
Diffstat (limited to 'src/mesa/drivers/dri/i965/server')
-rw-r--r--src/mesa/drivers/dri/i965/server/i830_dri.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/server/i830_dri.h b/src/mesa/drivers/dri/i965/server/i830_dri.h
index 7eb98b2969..22951812ad 100644
--- a/src/mesa/drivers/dri/i965/server/i830_dri.h
+++ b/src/mesa/drivers/dri/i965/server/i830_dri.h
@@ -18,6 +18,21 @@ typedef struct _I830DRIRec {
drm_handle_t regs;
drmSize regsSize;
+ drmSize unused1; /* backbufferSize */
+ drm_handle_t unused2; /* backbuffer */
+
+ drmSize unused3; /* depthbufferSize */
+ drm_handle_t unused4; /* depthbuffer */
+
+ drmSize unused5; /* rotatedSize /*/
+ drm_handle_t unused6; /* rotatedbuffer */
+
+ drm_handle_t unused7; /* textures */
+ int unused8; /* textureSize */
+
+ drm_handle_t unused9; /* agp_buffers */
+ drmSize unused10; /* agp_buf_size */
+
int deviceID;
int width;
int height;
@@ -25,6 +40,11 @@ typedef struct _I830DRIRec {
int cpp;
int bitsPerPixel;
+ int unused11[8]; /* was front/back/depth/rotated offset/pitch */
+
+ int unused12; /* logTextureGranularity */
+ int unused13; /* textureOffset */
+
int irq;
int sarea_priv_offset;
} I830DRIRec, *I830DRIPtr;