| 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/uglmesa.h File Reference
`#include <GL/gl.h>`
`#include <ugl/ugl.h>`

Go to the source code of this file.

## Defines

#define | UGL_MESA_MAJOR_VERSION 4
#define | UGL_MESA_MINOR_VERSION 0
#define | UGL_MESA_SINGLE 0x01
#define | UGL_MESA_DOUBLE 0x06
#define | UGL_MESA_DOUBLE_SOFTWARE 0x02
#define | UGL_MESA_DOUBLE_HARDWARE 0x04
#define | UGL_MESA_WINDML_EXCLUSIVE 0x10
#define | UGL_MESA_FULLSCREEN_WIDTH 0x0
#define | UGL_MESA_FULLSCREEN_HEIGHT 0x0
#define | UGL_MESA_ROW_LENGTH 0x20
#define | UGL_MESA_Y_UP 0x21
#define | UGL_MESA_LEFT_X 0x01
#define | UGL_MESA_TOP_Y 0x02
#define | UGL_MESA_WIDTH 0x03
#define | UGL_MESA_HEIGHT 0x04
#define | UGL_MESA_DISPLAY_WIDTH 0x05
#define | UGL_MESA_DISPLAY_HEIGHT 0x06
#define | UGL_MESA_COLOR_FORMAT 0x07
#define | UGL_MESA_COLOR_MODEL 0x08
#define | UGL_MESA_PIXEL_FORMAT 0x09
#define | UGL_MESA_TYPE 0x0A
#define | UGL_MESA_RGB 0x0B
#define | UGL_MESA_COLOR_INDEXED 0x0C
#define | UGL_MESA_SINGLE_BUFFER 0x0D
#define | UGL_MESA_DOUBLE_BUFFER 0x0E
#define | UGL_MESA_DOUBLE_BUFFER_SOFTWARE 0x0F
#define | UGL_MESA_DOUBLE_BUFFER_HARDWARE 0x10

## Typedefs

typedef struct uglMesaContext * | UGL_MESA_CONTEXT

## Functions

UGL_MESA_CONTEXT | uglMesaCreateNewContext (GLenum mode, UGL_MESA_CONTEXT share_list)
UGL_MESA_CONTEXT | uglMesaCreateNewContextExt (GLenum mode, GLint depth_bits, GLint stencil_bits, GLint accum_red_bits, GLint accum_green_bits, GLint accum_blue_bits, GLint accum_alpha_bits, UGL_MESA_CONTEXT share_list)
GLboolean | uglMesaMakeCurrentContext (UGL_MESA_CONTEXT umc, GLsizei left, GLsizei top, GLsizei width, GLsizei height)
GLboolean | uglMesaMoveWindow (GLsizei dx, GLsizei dy)
GLboolean | uglMesaMoveToWindow (GLsizei left, GLsizei top)
GLboolean | uglMesaResizeWindow (GLsizei dw, GLsizei dh)
GLboolean | uglMesaResizeToWindow (GLsizei width, GLsizei height)
void | uglMesaDestroyContext (void)
UGL_MESA_CONTEXT | uglMesaGetCurrentContext (void)
void | uglMesaSwapBuffers (void)
void | uglMesaPixelStore (GLint pname, GLint value)
void | uglMesaGetIntegerv (GLint pname, GLint *value)
GLboolean | uglMesaGetDepthBuffer (GLint *width, GLint *height, GLint *bytesPerValue, void **buffer)
GLboolean | uglMesaGetColorBuffer (GLint *width, GLint *height, GLint *format, void **buffer)
GLboolean | uglMesaSetColor (GLubyte index, GLfloat red, GLfloat green, GLfloat blue)

## Define Documentation

#define UGL_MESA_COLOR_FORMAT 0x07

#define UGL_MESA_COLOR_INDEXED 0x0C

#define UGL_MESA_COLOR_MODEL 0x08

#define UGL_MESA_DISPLAY_HEIGHT 0x06

#define UGL_MESA_DISPLAY_WIDTH 0x05

#define UGL_MESA_DOUBLE 0x06

#define UGL_MESA_DOUBLE_BUFFER 0x0E

#define UGL_MESA_DOUBLE_BUFFER_HARDWARE 0x10

#define UGL_MESA_DOUBLE_BUFFER_SOFTWARE 0x0F

#define UGL_MESA_DOUBLE_HARDWARE 0x04

#define UGL_MESA_DOUBLE_SOFTWARE 0x02

#define UGL_MESA_FULLSCREEN_HEIGHT 0x0

#define UGL_MESA_FULLSCREEN_WIDTH 0x0

#define UGL_MESA_HEIGHT 0x04

#define UGL_MESA_LEFT_X 0x01

#define UGL_MESA_MAJOR_VERSION 4

#define UGL_MESA_MINOR_VERSION 0

#define UGL_MESA_PIXEL_FORMAT 0x09

#define UGL_MESA_RGB 0x0B

#define UGL_MESA_ROW_LENGTH 0x20

#define UGL_MESA_SINGLE 0x01

#define UGL_MESA_SINGLE_BUFFER 0x0D

#define UGL_MESA_TOP_Y 0x02

#define UGL_MESA_TYPE 0x0A

#define UGL_MESA_WIDTH 0x03

#define UGL_MESA_WINDML_EXCLUSIVE 0x10

#define UGL_MESA_Y_UP 0x21

## Typedef Documentation

typedef struct uglMesaContext* UGL_MESA_CONTEXT

## Function Documentation

UGL_MESA_CONTEXT uglMesaCreateNewContext | ( | GLenum | mode,
|  | UGL_MESA_CONTEXT | share_list
| ) |  |

UGL_MESA_CONTEXT uglMesaCreateNewContextExt | ( | GLenum | mode,
|  | GLint | depth_bits,
|  | GLint | stencil_bits,
|  | GLint | accum_red_bits,
|  | GLint | accum_green_bits,
|  | GLint | accum_blue_bits,
|  | GLint | accum_alpha_bits,
|  | UGL_MESA_CONTEXT | share_list
| ) |  |

void uglMesaDestroyContext | ( | void |  | ) |

GLboolean uglMesaGetColorBuffer | ( | GLint * | width,
|  | GLint * | height,
|  | GLint * | format,
|  | void ** | buffer
| ) |  |

UGL_MESA_CONTEXT uglMesaGetCurrentContext | ( | void |  | ) |

GLboolean uglMesaGetDepthBuffer | ( | GLint * | width,
|  | GLint * | height,
|  | GLint * | bytesPerValue,
|  | void ** | buffer
| ) |  |

void uglMesaGetIntegerv | ( | GLint | pname,
|  | GLint * | value
| ) |  |

GLboolean uglMesaMakeCurrentContext | ( | UGL_MESA_CONTEXT | umc,
|  | GLsizei | left,
|  | GLsizei | top,
|  | GLsizei | width,
|  | GLsizei | height
| ) |  |

GLboolean uglMesaMoveToWindow | ( | GLsizei | left,
|  | GLsizei | top
| ) |  |

GLboolean uglMesaMoveWindow | ( | GLsizei | dx,
|  | GLsizei | dy
| ) |  |

void uglMesaPixelStore | ( | GLint | pname,
|  | GLint | value
| ) |  |

GLboolean uglMesaResizeToWindow | ( | GLsizei | width,
|  | GLsizei | height
| ) |  |

GLboolean uglMesaResizeWindow | ( | GLsizei | dw,
|  | GLsizei | dh
| ) |  |

GLboolean uglMesaSetColor | ( | GLubyte | index,
|  | GLfloat | red,
|  | GLfloat | green,
|  | GLfloat | blue
| ) |  |

void uglMesaSwapBuffers | ( | void |  | ) |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines