summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/trident/trident_dri.h
blob: c1ce3c468279758f0a9d80e6fc0d5c7e54fd4732 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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