| TerraLib 4.1

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

- File List
- File Members

Defines | Typedefs | Functions
E:/Projetos_Primeiro_Semestre_2012/TerraView/terralib/src/terralib/drivers/GL/dmesa.h File Reference

Go to the source code of this file.

## Defines

#define | DMESA_MAJOR_VERSION 6
#define | DMESA_MINOR_VERSION 5
#define | DMESA_GET_SCREEN_SIZE 0x0100
#define | DMESA_GET_DRIVER_CAPS 0x0200
#define | DMESA_GET_VIDEO_MODES 0x0300
#define | DMESA_GET_BUFFER_ADDR 0x0400
#define | DMESA_DRIVER_DBL_BIT 0x1
#define | DMESA_DRIVER_YUP_BIT 0x2

## Typedefs

typedef struct dmesa_context * | DMesaContext
typedef struct dmesa_visual * | DMesaVisual
typedef struct dmesa_buffer * | DMesaBuffer
typedef void(* | DMesaProc )()

## Functions

DMesaVisual | DMesaCreateVisual (GLint width, GLint height, GLint colDepth, GLint refresh, GLboolean dbFlag, GLboolean rgbFlag, GLint alphaSize, GLint depthSize, GLint stencilSize, GLint accumSize)
void | DMesaDestroyVisual (DMesaVisual v)
DMesaContext | DMesaCreateContext (DMesaVisual visual, DMesaContext share)
void | DMesaDestroyContext (DMesaContext c)
DMesaContext | DMesaGetCurrentContext (void)
DMesaBuffer | DMesaCreateBuffer (DMesaVisual visual, GLint xpos, GLint ypos, GLint width, GLint height)
void | DMesaDestroyBuffer (DMesaBuffer b)
DMesaBuffer | DMesaGetCurrentBuffer (void)
void | DMesaSwapBuffers (DMesaBuffer b)
GLboolean | DMesaMakeCurrent (DMesaContext c, DMesaBuffer b)
GLboolean | DMesaMoveBuffer (GLint xpos, GLint ypos)
GLboolean | DMesaResizeBuffer (GLint width, GLint height)
void | DMesaSetCI (int ndx, GLfloat red, GLfloat green, GLfloat blue)
DMesaProc | DMesaGetProcAddress (const char *name)
int | DMesaGetIntegerv (GLenum pname, GLint *params)

## Define Documentation

#define DMESA_DRIVER_DBL_BIT 0x1

#define DMESA_DRIVER_YUP_BIT 0x2

#define DMESA_GET_BUFFER_ADDR 0x0400

#define DMESA_GET_DRIVER_CAPS 0x0200

#define DMESA_GET_SCREEN_SIZE 0x0100

#define DMESA_GET_VIDEO_MODES 0x0300

#define DMESA_MAJOR_VERSION 6

#define DMESA_MINOR_VERSION 5

## Typedef Documentation

typedef struct dmesa_buffer* DMesaBuffer

typedef struct dmesa_context* DMesaContext

typedef void(* DMesaProc)()

typedef struct dmesa_visual* DMesaVisual

## Function Documentation

DMesaBuffer DMesaCreateBuffer | ( | DMesaVisual | visual,
|  | GLint | xpos,
|  | GLint | ypos,
|  | GLint | width,
|  | GLint | height
| ) |  |

DMesaContext DMesaCreateContext | ( | DMesaVisual | visual,
|  | DMesaContext | share
| ) |  |

DMesaVisual DMesaCreateVisual | ( | GLint | width,
|  | GLint | height,
|  | GLint | colDepth,
|  | GLint | refresh,
|  | GLboolean | dbFlag,
|  | GLboolean | rgbFlag,
|  | GLint | alphaSize,
|  | GLint | depthSize,
|  | GLint | stencilSize,
|  | GLint | accumSize
| ) |  |

void DMesaDestroyBuffer | ( | DMesaBuffer | b | ) |

void DMesaDestroyContext | ( | DMesaContext | c | ) |

void DMesaDestroyVisual | ( | DMesaVisual | v | ) |

DMesaBuffer DMesaGetCurrentBuffer | ( | void |  | ) |

DMesaContext DMesaGetCurrentContext | ( | void |  | ) |

int DMesaGetIntegerv | ( | GLenum | pname,
|  | GLint * | params
| ) |  |

DMesaProc DMesaGetProcAddress | ( | const char * | name | ) |

GLboolean DMesaMakeCurrent | ( | DMesaContext | c,
|  | DMesaBuffer | b
| ) |  |

GLboolean DMesaMoveBuffer | ( | GLint | xpos,
|  | GLint | ypos
| ) |  |

GLboolean DMesaResizeBuffer | ( | GLint | width,
|  | GLint | height
| ) |  |

void DMesaSetCI | ( | int | ndx,
|  | GLfloat | red,
|  | GLfloat | green,
|  | GLfloat | blue
| ) |  |

void DMesaSwapBuffers | ( | DMesaBuffer | b | ) |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines