summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/tdfx/server/tdfx_dri.h
blob: acd0b9ae5ba38675227119ed23294e18af4f72de (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
/* $XFree86: xc/programs/Xserver/hw/xfree86/drivers/tdfx/tdfx_dri.h,v 1.5 2001/03/21 17:02:26 dawes Exp $ */

#ifndef _TDFX_DRI_
#define _TDFX_DRI_

#include "xf86drm.h"
#include "drm.h"

typedef struct {
  drm_handle_t regs;
  drmSize regsSize;
  int deviceID;
  int width;
  int height;
  int mem;
  int cpp;
  int stride;
  int fifoOffset;
  int fifoSize;
  int fbOffset;
  int backOffset;
  int depthOffset;
  int textureOffset;
  int textureSize;
  unsigned int sarea_priv_offset;
} TDFXDRIRec, *TDFXDRIPtr;

#endif