Logo Search packages:      
Sourcecode: x11proto-xf86dri version File versions  Download package

dri_interface.h File Reference

Detailed Description

This file contains all the types and functions that define the interface between a DRI driver and driver loader. Currently, the most common driver loader is the XFree86 libGL.so. However, other loaders do exist, and in the future the server-side libglx.a will also be a loader.

Kevin E. Martin <kevin@precisioninsight.com>

Ian Romanick <idr@us.ibm.com>

Definition in file dri_interface.h.

#include <GL/internal/glcore.h>
#include <drm.h>

Go to the source code of this file.


struct  __DRIcontextRec
struct  __DRIdrawableRec
struct  __DRIframebufferRec
struct  __DRIinterfaceMethodsRec
struct  __DRIscreenRec
struct  __DRIversionRec

Functions and data provided by the driver.

typedef void *( CREATENEWSCREENFUNC )(__DRInativeDisplay *dpy, int scrn, __DRIscreen *psc, const __GLcontextModes *modes, const __DRIversion *ddx_version, const __DRIversion *dri_version, const __DRIversion *drm_version, const __DRIframebuffer *frame_buffer, void *pSAREA, int fd, int internal_api_version, const __DRIinterfaceMethods *interface, __GLcontextModes **driver_modes)
const char __driConfigOptions []
CREATENEWSCREENFUNC __driCreateNewScreen_20050727


typedef void(* __DRIfuncPtr )(void)
DRI interface structures
The following structures define the interface between the GLX client side library and the DRI (direct rendering infrastructure).

typedef struct __DRIcontextRec __DRIcontext
typedef struct __DRIdisplayRec __DRIdisplay
typedef struct __DRIdrawableRec __DRIdrawable
typedef struct __DRIdriverRec __DRIdriver
typedef struct __DRIframebufferRec __DRIframebuffer
typedef unsigned long __DRIid
typedef struct
typedef void __DRInativeDisplay
typedef struct __DRIscreenRec __DRIscreen
typedef struct __DRIversionRec __DRIversion
Functions provided by the driver loader.
typedef const char *(* PFNGLXGETDRIVERCONFIGPROC )(const char *driverName)
typedef const char *(* PFNGLXGETSCREENDRIVERPROC )(__DRInativeDisplay *dpy, int scrNum)
typedef void(* PFNGLXSCRENABLEEXTENSIONPROC )(void *psc, const char *name)

Generated by  Doxygen 1.6.0   Back to index