| TerraLib 4.1

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

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

Public Attributes
__DRIscreenRec Struct Reference

`#include <dri_interface.h>`

List of all members.

## Public Attributes

void(* | destroyScreen )(__DRInativeDisplay *dpy, int scrn, void *screenPrivate)
void *(* | createNewDrawable )(__DRInativeDisplay *dpy, const __GLcontextModes *modes, __DRIid draw, __DRIdrawable *pdraw, int renderType, const int *attrs)
__DRIdrawable *(* | getDrawable )(__DRInativeDisplay *dpy, __DRIid draw, void *drawablePrivate)
void * | private
int(* | getMSC )(void *screenPrivate, int64_t *msc)
void * | screenConfigs
void *(* | createNewContext )(__DRInativeDisplay *dpy, const __GLcontextModes *modes, int render_type, void *sharedPrivate, __DRIcontext *pctx)
void *(* | allocateMemory )(__DRInativeDisplay *dpy, int scrn, GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority)
void(* | freeMemory )(__DRInativeDisplay *dpy, int scrn, GLvoid *pointer)
GLuint(* | memoryOffset )(__DRInativeDisplay *dpy, int scrn, const GLvoid *pointer)

## Detailed Description

Screen dependent methods. This structure is initialized during the `__DRIdisplayRec::createScreen` call.

## Member Data Documentation

void *(* __DRIscreenRec::allocateMemory)(__DRInativeDisplay *dpy, int scrn, GLsizei size, GLfloat readfreq, GLfloat writefreq, GLfloat priority)

Functions associated with MESA_allocate_memory.

Since:
  Internal API version 20030815.

void *(* __DRIscreenRec::createNewContext)(__DRInativeDisplay *dpy, const __GLcontextModes *modes, int render_type, void *sharedPrivate, __DRIcontext *pctx)

Method to create the private DRI context data and initialize the context dependent methods.

Since:
  Internal API version 20031201.

void *(* __DRIscreenRec::createNewDrawable)(__DRInativeDisplay *dpy, const __GLcontextModes *modes, __DRIid draw, __DRIdrawable *pdraw, int renderType, const int *attrs)

Method to create the private DRI drawable data and initialize the drawable dependent methods.

void(* __DRIscreenRec::destroyScreen)(__DRInativeDisplay *dpy, int scrn, void *screenPrivate)

Method to destroy the private DRI screen data.

void(* __DRIscreenRec::freeMemory)(__DRInativeDisplay *dpy, int scrn, GLvoid *pointer)

__DRIdrawable *(* __DRIscreenRec::getDrawable)(__DRInativeDisplay *dpy, __DRIid draw, void *drawablePrivate)

Method to return a pointer to the DRI drawable data.

int(* __DRIscreenRec::getMSC)(void *screenPrivate, int64_t *msc)

Get the number of vertical refreshes since some point in time before this function was first called (i.e., system start up).

Since:
  Internal API version 20030317.

GLuint(* __DRIscreenRec::memoryOffset)(__DRInativeDisplay *dpy, int scrn, const GLvoid *pointer)

void * __DRIscreenRec::private

Opaque pointer to private per screen direct rendering data. `NULL` if direct rendering is not supported on this screen. Never dereferenced in libGL.

void * __DRIscreenRec::screenConfigs

Opaque pointer that points back to the containing `__GLXscreenConfigs`. This data structure is shared with DRI drivers but `__GLXscreenConfigs` is not. However, they are needed by some GLX functions called by DRI drivers.

Since:
  Internal API version 20030813.

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