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

Go to the source code of this file.

## Defines

#define | OSMESA_MAJOR_VERSION 6
#define | OSMESA_MINOR_VERSION 5
#define | OSMESA_PATCH_VERSION 0
#define | OSMESA_COLOR_INDEX GL_COLOR_INDEX
#define | OSMESA_RGBA GL_RGBA
#define | OSMESA_BGRA 0x1
#define | OSMESA_ARGB 0x2
#define | OSMESA_RGB GL_RGB
#define | OSMESA_BGR 0x4
#define | OSMESA_RGB_565 0x5
#define | OSMESA_ROW_LENGTH 0x10
#define | OSMESA_Y_UP 0x11
#define | OSMESA_WIDTH 0x20
#define | OSMESA_HEIGHT 0x21
#define | OSMESA_FORMAT 0x22
#define | OSMESA_TYPE 0x23
#define | OSMESA_MAX_WIDTH 0x24
#define | OSMESA_MAX_HEIGHT 0x25

## Typedefs

typedef struct osmesa_context * | OSMesaContext
typedef void(* | OSMESAproc )()

## Functions

GLAPI OSMesaContext GLAPIENTRY | OSMesaCreateContext (GLenum format, OSMesaContext sharelist)
GLAPI OSMesaContext GLAPIENTRY | OSMesaCreateContextExt (GLenum format, GLint depthBits, GLint stencilBits, GLint accumBits, OSMesaContext sharelist)
GLAPI void GLAPIENTRY | OSMesaDestroyContext (OSMesaContext ctx)
GLAPI GLboolean GLAPIENTRY | OSMesaMakeCurrent (OSMesaContext ctx, void *buffer, GLenum type, GLsizei width, GLsizei height)
GLAPI OSMesaContext GLAPIENTRY | OSMesaGetCurrentContext (void)
GLAPI void GLAPIENTRY | OSMesaPixelStore (GLint pname, GLint value)
GLAPI void GLAPIENTRY | OSMesaGetIntegerv (GLint pname, GLint *value)
GLAPI GLboolean GLAPIENTRY | OSMesaGetDepthBuffer (OSMesaContext c, GLint *width, GLint *height, GLint *bytesPerValue, void **buffer)
GLAPI GLboolean GLAPIENTRY | OSMesaGetColorBuffer (OSMesaContext c, GLint *width, GLint *height, GLint *format, void **buffer)
GLAPI OSMESAproc GLAPIENTRY | OSMesaGetProcAddress (const char *funcName)
GLAPI void GLAPIENTRY | OSMesaColorClamp (GLboolean enable)

## Define Documentation

#define OSMESA_ARGB 0x2

#define OSMESA_BGR 0x4

#define OSMESA_BGRA 0x1

#define OSMESA_COLOR_INDEX GL_COLOR_INDEX

#define OSMESA_FORMAT 0x22

#define OSMESA_HEIGHT 0x21

#define OSMESA_MAJOR_VERSION 6

#define OSMESA_MAX_HEIGHT 0x25

#define OSMESA_MAX_WIDTH 0x24

#define OSMESA_MINOR_VERSION 5

#define OSMESA_PATCH_VERSION 0

#define OSMESA_RGB GL_RGB

#define OSMESA_RGB_565 0x5

#define OSMESA_RGBA GL_RGBA

#define OSMESA_ROW_LENGTH 0x10

#define OSMESA_TYPE 0x23

#define OSMESA_WIDTH 0x20

#define OSMESA_Y_UP 0x11

## Typedef Documentation

typedef struct osmesa_context* OSMesaContext

typedef void(* OSMESAproc)()

This typedef is new in Mesa 6.3.

## Function Documentation

GLAPI void GLAPIENTRY OSMesaColorClamp | ( | GLboolean | enable | ) |

Enable/disable color clamping, off by default. New in Mesa 6.4.2

GLAPI OSMesaContext GLAPIENTRY OSMesaCreateContext | ( | GLenum | format,
|  | OSMesaContext | sharelist
| ) |  |

GLAPI OSMesaContext GLAPIENTRY OSMesaCreateContextExt | ( | GLenum | format,
|  | GLint | depthBits,
|  | GLint | stencilBits,
|  | GLint | accumBits,
|  | OSMesaContext | sharelist
| ) |  |

GLAPI void GLAPIENTRY OSMesaDestroyContext | ( | OSMesaContext | ctx | ) |

GLAPI GLboolean GLAPIENTRY OSMesaGetColorBuffer | ( | OSMesaContext | c,
|  | GLint * | width,
|  | GLint * | height,
|  | GLint * | format,
|  | void ** | buffer
| ) |  |

GLAPI OSMesaContext GLAPIENTRY OSMesaGetCurrentContext | ( | void |  | ) |

GLAPI GLboolean GLAPIENTRY OSMesaGetDepthBuffer | ( | OSMesaContext | c,
|  | GLint * | width,
|  | GLint * | height,
|  | GLint * | bytesPerValue,
|  | void ** | buffer
| ) |  |

GLAPI void GLAPIENTRY OSMesaGetIntegerv | ( | GLint | pname,
|  | GLint * | value
| ) |  |

GLAPI OSMESAproc GLAPIENTRY OSMesaGetProcAddress | ( | const char * | funcName | ) |

GLAPI GLboolean GLAPIENTRY OSMesaMakeCurrent | ( | OSMesaContext | ctx,
|  | void * | buffer,
|  | GLenum | type,
|  | GLsizei | width,
|  | GLsizei | height
| ) |  |

GLAPI void GLAPIENTRY OSMesaPixelStore | ( | GLint | pname,
|  | GLint | value
| ) |  |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines