__DRIcontextRec Struct Reference

#include <dri_interface.h>


Detailed Description

This structure is initialized during the __DRIscreenRec::createContext call.

Definition at line 350 of file dri_interface.h.


Data Fields

GLboolean(* bindContext )(__DRInativeDisplay *dpy, int scrn, __DRIid draw, __DRIid read, __DRIcontext *ctx)
 Method to bind a DRI drawable to a DRI graphics context.
void(* destroyContext )(__DRInativeDisplay *dpy, int scrn, void *contextPrivate)
 Method to destroy the private DRI context data.
const __GLcontextModesmode
 Pointer to the mode used to create this context.
const __GLcontextModesmode
 Pointer to the mode used to create this context.
void * private
 Opaque pointer to private per context direct rendering data.
void * private
 Opaque pointer to private per context direct rendering data.
GLboolean(* unbindContext )(__DRInativeDisplay *dpy, int scrn, __DRIid draw, __DRIid read, __DRIcontext *ctx)
 Method to unbind a DRI drawable from a DRI graphics context.

Field Documentation

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

Since:
Internal API version 20050727.

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

const __GLcontextModes* __DRIcontextRec::mode

Since:
Internal API version 20040317.

Definition at line 368 of file internal/dri_interface.h.

const __GLcontextModes* __DRIcontextRec::mode

Since:
Internal API version 20040317.

Definition at line 368 of file dri_interface.h.

void* __DRIcontextRec::private

NULL if direct rendering is not supported on the display or screen used to create this context. Never dereferenced in libGL.

Definition at line 361 of file internal/dri_interface.h.

void* __DRIcontextRec::private

NULL if direct rendering is not supported on the display or screen used to create this context. Never dereferenced in libGL.

Definition at line 361 of file dri_interface.h.

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

Since:
Internal API version 20050727.


The documentation for this struct was generated from the following files:
Generated on Sun Jul 29 04:04:42 2012 for TerraLib - Development Source by  doxygen 1.5.3