i830_dri.h

Go to the documentation of this file.
00001 
00002 #ifndef _I830_DRI_H
00003 #define _I830_DRI_H
00004 
00005 #include "xf86drm.h"
00006 #include "i830_common.h"
00007 
00008 #define I830_MAX_DRAWABLES 256
00009 
00010 #define I830_MAJOR_VERSION 1
00011 #define I830_MINOR_VERSION 7
00012 #define I830_PATCHLEVEL 2
00013 
00014 #define I830_REG_SIZE 0x80000
00015 
00016 typedef struct _I830DRIRec {
00017    drm_handle_t regs;
00018    drmSize regsSize;
00019 
00020    drmSize unused1; /* backbufferSize */
00021    drm_handle_t unused2; /* backbuffer */
00022 
00023    drmSize unused3; /* depthbufferSize */
00024    drm_handle_t unused4; /* depthbuffer */
00025 
00026    drmSize unused5; /* rotatedSize */
00027    drm_handle_t unused6; /* rotatedbuffer */
00028 
00029    drm_handle_t unused7; /* textures */
00030    int unused8; /* textureSize */
00031 
00032    drm_handle_t unused9; /* agp_buffers */
00033    drmSize unused10; /* agp_buf_size */
00034 
00035    int deviceID;
00036    int width;
00037    int height;
00038    int mem;
00039    int cpp;
00040    int bitsPerPixel;
00041 
00042    int unused11[8]; /* was front/back/depth/rotated offset/pitch */
00043 
00044    int unused12; /* logTextureGranularity */
00045    int unused13; /* textureOffset */
00046 
00047    int irq;
00048    int sarea_priv_offset;
00049 } I830DRIRec, *I830DRIPtr;
00050 
00051 typedef struct {
00052    /* Nothing here yet */
00053    int dummy;
00054 } I830ConfigPrivRec, *I830ConfigPrivPtr;
00055 
00056 typedef struct {
00057    /* Nothing here yet */
00058    int dummy;
00059 } I830DRIContextRec, *I830DRIContextPtr;
00060 
00061 
00062 #endif

Generated on Tue Sep 29 06:25:17 2009 for Gallium3D by  doxygen 1.5.4