require libnouveau_drm 0.0.109.1
[nouveau] / src / nv_dri.h
1 #ifndef _NOUVEAU_DRI_
2 #define _NOUVEAU_DRI_
3
4 #include "xf86drm.h"
5 #include "drm.h"
6 #include "nouveau_drm.h"
7
8 typedef struct {
9         uint32_t device_id;     /**< \brief PCI device ID */
10         uint32_t width;         /**< \brief width in pixels of display */
11         uint32_t height;        /**< \brief height in scanlines of display */
12         uint32_t depth;         /**< \brief depth of display (15, 16, 24) */
13         uint32_t bpp;           /**< \brief bit depth of display (16, 32) */
14
15         uint32_t bus_type;      /**< \brief ths bus type */
16         uint32_t bus_mode;      /**< \brief bus mode (used for AGP, maybe also for PCI-E ?) */
17
18         uint32_t front_handle;
19         uint32_t front_pitch;   /**< \brief front buffer pitch */
20 } NOUVEAUDRIRec, *NOUVEAUDRIPtr;
21
22 #endif
23