| TerraLib 4.1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

Classes | Typedefs
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/internal/dri_interface.h File Reference
`#include <GL/internal/glcore.h>`
`#include <drm.h>`

Go to the source code of this file.

## Classes

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

## Typedefs

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

## 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)
typedef CREATENEWSCREENFUNC * | PFNCREATENEWSCREENFUNC
CREATENEWSCREENFUNC | __driCreateNewScreen_20050727
const char | __driConfigOptions []

## Typedef Documentation

typedef struct __DRIcontextRec __DRIcontext

typedef struct __DRIdisplayRec __DRIdisplay

typedef struct __DRIdrawableRec __DRIdrawable

typedef struct __DRIdriverRec __DRIdriver

typedef struct __DRIframebufferRec __DRIframebuffer

typedef void(* __DRIfuncPtr)(void)

typedef unsigned long __DRIid

typedef struct __DRIinterfaceMethodsRec __DRIinterfaceMethods

typedef void __DRInativeDisplay

typedef struct __DRIscreenRec __DRIscreen

typedef struct __DRIversionRec __DRIversion

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)

typedef CREATENEWSCREENFUNC* PFNCREATENEWSCREENFUNC

typedef const char*(* PFNGLXGETDRIVERCONFIGPROC)(const char *driverName)

Type of a pointer to `glXGetDriverConfig`, as returned by `glXGetProcAddress`. This function is used to get the XML document describing the configuration options available for the specified driver.

See also:
  glXGetDriverConfig, glXGetProcAddress, glXGetScreenDriver

typedef const char*(* PFNGLXGETSCREENDRIVERPROC)(__DRInativeDisplay *dpy, int scrNum)

Type of a pointer to `glXGetScreenDriver`, as returned by `glXGetProcAddress`. This function is used to get the name of the DRI driver for the specified screen of the specified display. The driver name is typically used with `glXGetDriverConfig`.

See also:
  glXGetScreenDriver, glXGetProcAddress, glXGetDriverConfig

typedef void(* PFNGLXSCRENABLEEXTENSIONPROC)(void *psc, const char *name)

Type of a pointer to `glxEnableExtension`, as returned by `__DRIinterfaceMethods::getProcAddress`. This function is used to enable a GLX extension on the specified screen.

## Variable Documentation

const char __driConfigOptions[]

XML document describing the configuration options supported by the driver.

CREATENEWSCREENFUNC __driCreateNewScreen_20050727

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines