2 /* modified from tdfx_dri.h */
10 #define SIS_MAX_DRAWABLES 256
11 #define SISIOMAPSIZE (64*1024)
16 unsigned int AGPCmdBufNext;
17 unsigned int FrameCount;
20 unsigned long sharedWPoffset;
23 unsigned char *AGPCmdBufBase;
24 unsigned long AGPCmdBufAddr;
25 unsigned long AGPCmdBufOffset;
26 unsigned int AGPCmdBufSize;
27 unsigned long AGPCmdBufNext;
29 } SISSAREAPriv, *SISSAREAPrivPtr;
31 #define AGPVtxBufNext AGPCmdBufNext
40 } sisRegion, *sisRegionPtr;
47 int mem; /* unused in Mesa 3 DRI */
49 int priv1; /* unused in Mesa 3 DRI */
50 int priv2; /* unused in Mesa 3 DRI */
51 int fbOffset; /* unused in Mesa 3 DRI */
52 int backOffset; /* unused in Mesa 3 DRI */
53 int depthOffset; /* unused in Mesa 3 DRI */
54 int textureOffset; /* unused in Mesa 3 DRI */
55 int textureSize; /* unused in Mesa 3 DRI */
56 unsigned int AGPCmdBufOffset;
57 unsigned int AGPCmdBufSize;
58 int irqEnabled; /* unused in Mesa 3 DRI */
59 unsigned int scrnX, scrnY; /* unused in Mesa 3 DRI */
60 } SISDRIRec, *SISDRIPtr;
62 #define AGPVtxBufOffset AGPCmdBufOffset
63 #define AGPVtxBufSize AGPCmdBufSize
66 /* Nothing here yet */
68 } SISConfigPrivRec, *SISConfigPrivPtr;
71 /* Nothing here yet */
73 } SISDRIContextRec, *SISDRIContextPtr;