| TerraLib 4.1

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Attributes
__DRIcontextRec Struct Reference

`#include <dri_interface.h>`

List of all members.

## Public Attributes

void(* | destroyContext )(__DRInativeDisplay *dpy, int scrn, void *contextPrivate)
void * | private
const __GLcontextModes * | mode
GLboolean(* | bindContext )(__DRInativeDisplay *dpy, int scrn, __DRIid draw, __DRIid read, __DRIcontext *ctx)
GLboolean(* | unbindContext )(__DRInativeDisplay *dpy, int scrn, __DRIid draw, __DRIid read, __DRIcontext *ctx)

## Detailed Description

Context dependent methods. This structure is initialized during the `__DRIscreenRec::createContext` call.

## Member Data Documentation

GLboolean(* __DRIcontextRec::bindContext)(__DRInativeDisplay *dpy, int scrn, __DRIid draw, __DRIid read, __DRIcontext *ctx)

Method to bind a DRI drawable to a DRI graphics context.

Since:
  Internal API version 20050727.

void(* __DRIcontextRec::destroyContext)(__DRInativeDisplay *dpy, int scrn, void *contextPrivate)

Method to destroy the private DRI context data.

const __GLcontextModes * __DRIcontextRec::mode

Pointer to the mode used to create this context.

Since:
  Internal API version 20040317.

void * __DRIcontextRec::private

Opaque pointer to private per context direct rendering data. `NULL` if direct rendering is not supported on the display or screen used to create this context. Never dereferenced in libGL.

GLboolean(* __DRIcontextRec::unbindContext)(__DRInativeDisplay *dpy, int scrn, __DRIid draw, __DRIid read, __DRIcontext *ctx)

Method to unbind a DRI drawable from a DRI graphics context.

Since:
  Internal API version 20050727.

The documentation for this struct was generated from the following files:

- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/dri_interface.h
- E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/internal/dri_interface.h

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines