diff options
author | Adam Jackson <ajax@freedesktop.org> | 2004-12-24 03:04:14 +0000 |
---|---|---|
committer | Adam Jackson <ajax@freedesktop.org> | 2004-12-24 03:04:14 +0000 |
commit | 46a35b2284211e2c068c4c37f8bd3aced240e47a (patch) | |
tree | 45a723fcfb6a7557ff61a0adde675d8c82c79f16 /src/mesa/drivers/dri/trident/trident_dri.h | |
parent | 1c86c7ad9c38b5ef1baa19677b78076889b60e7f (diff) |
Get trident building and -Werror clean.
- Added Makefile
- Deleted references to old headers
- Added prototypes all over the place
- Lots of type updates (drmHandle -> drm_handle_t etc.)
- Added __driCreateNewScreen(), deleted __driCreateScreen()
- Fixed context creation to match other drivers
- Fixed various bitfield names
- Bumped driver date
Still nowhere close to usable, the DDX isn't DRI-aware and there's no DRM.
Diffstat (limited to 'src/mesa/drivers/dri/trident/trident_dri.h')
-rw-r--r-- | src/mesa/drivers/dri/trident/trident_dri.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/trident/trident_dri.h b/src/mesa/drivers/dri/trident/trident_dri.h new file mode 100644 index 0000000000..c1ce3c4682 --- /dev/null +++ b/src/mesa/drivers/dri/trident/trident_dri.h @@ -0,0 +1,28 @@ +#ifndef _TRIDENT_DRI_ +#define _TRIDENT_DRI_ + +#include "xf86drm.h" + +typedef struct { + drm_handle_t regs; + drmSize regsSize; + drmAddress regsMap; + int deviceID; + int width; + int height; + int mem; + int frontOffset; + int frontPitch; + int backOffset; + int backPitch; + int depthOffset; + int depthPitch; + int cpp; +#if 0 + int textureOffset; + int textureSize; +#endif + unsigned int sarea_priv_offset; +} TRIDENTDRIRec, *TRIDENTDRIPtr; + +#endif |