| 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/xmesa.h File Reference
`#include <X11/Xlib.h>`
`#include <X11/Xutil.h>`
`#include "xmesa_x.h"`
`#include "GL/gl.h"`

Go to the source code of this file.

## Defines

#define | XMESA_MAJOR_VERSION 6
#define | XMESA_MINOR_VERSION 3
#define | XMESA_VERSION 1
#define | XMESA_EXTENSIONS 2
#define | XMESA_FX_WINDOW 1
#define | XMESA_FX_FULLSCREEN 2

## Typedefs

typedef struct xmesa_context * | XMesaContext
typedef struct xmesa_visual * | XMesaVisual
typedef struct xmesa_buffer * | XMesaBuffer

## Functions

XMesaVisual | XMesaCreateVisual (XMesaDisplay *display, XMesaVisualInfo visinfo, GLboolean rgb_flag, GLboolean alpha_flag, GLboolean db_flag, GLboolean stereo_flag, GLboolean ximage_flag, GLint depth_size, GLint stencil_size, GLint accum_red_size, GLint accum_green_size, GLint accum_blue_size, GLint accum_alpha_size, GLint num_samples, GLint level, GLint visualCaveat)
void | XMesaDestroyVisual (XMesaVisual v)
XMesaContext | XMesaCreateContext (XMesaVisual v, XMesaContext share_list)
void | XMesaDestroyContext (XMesaContext c)
XMesaBuffer | XMesaCreateWindowBuffer (XMesaVisual v, XMesaWindow w)
XMesaBuffer | XMesaCreatePixmapBuffer (XMesaVisual v, XMesaPixmap p, XMesaColormap cmap)
void | XMesaDestroyBuffer (XMesaBuffer b)
XMesaBuffer | XMesaFindBuffer (XMesaDisplay *dpy, XMesaDrawable d)
GLboolean | XMesaMakeCurrent (XMesaContext c, XMesaBuffer b)
GLboolean | XMesaMakeCurrent2 (XMesaContext c, XMesaBuffer drawBuffer, XMesaBuffer readBuffer)
GLboolean | XMesaUnbindContext (XMesaContext c)
XMesaContext | XMesaGetCurrentContext (void)
XMesaBuffer | XMesaGetCurrentBuffer (void)
XMesaBuffer | XMesaGetCurrentReadBuffer (void)
void | XMesaSwapBuffers (XMesaBuffer b)
void | XMesaCopySubBuffer (XMesaBuffer b, int x, int y, int width, int height)
GLboolean | XMesaGetBackBuffer (XMesaBuffer b, XMesaPixmap *pixmap, XMesaImage **ximage)
GLboolean | XMesaGetDepthBuffer (XMesaBuffer b, GLint *width, GLint *height, GLint *bytesPerValue, void **buffer)
void | XMesaFlush (XMesaContext c)
const char * | XMesaGetString (XMesaContext c, int name)
void | XMesaGarbageCollect (void)
unsigned long | XMesaDitherColor (XMesaContext xmesa, GLint x, GLint y, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
GLboolean | XMesaSetFXmode (GLint mode)
void | XMesaResizeBuffers (XMesaBuffer b)
XMesaBuffer | XMesaCreatePBuffer (XMesaVisual v, XMesaColormap cmap, unsigned int width, unsigned int height)

## Define Documentation

#define XMESA_EXTENSIONS 2

#define XMESA_FX_FULLSCREEN 2

#define XMESA_FX_WINDOW 1

#define XMESA_MAJOR_VERSION 6

#define XMESA_MINOR_VERSION 3

#define XMESA_VERSION 1

## Typedef Documentation

typedef struct xmesa_buffer* XMesaBuffer

typedef struct xmesa_context* XMesaContext

typedef struct xmesa_visual* XMesaVisual

## Function Documentation

void XMesaCopySubBuffer | ( | XMesaBuffer | b,
|  | int | x,
|  | int | y,
|  | int | width,
|  | int | height
| ) |  |

XMesaContext XMesaCreateContext | ( | XMesaVisual | v,
|  | XMesaContext | share_list
| ) |  |

XMesaBuffer XMesaCreatePBuffer | ( | XMesaVisual | v,
|  | XMesaColormap | cmap,
|  | unsigned int | width,
|  | unsigned int | height
| ) |  |

XMesaBuffer XMesaCreatePixmapBuffer | ( | XMesaVisual | v,
|  | XMesaPixmap | p,
|  | XMesaColormap | cmap
| ) |  |

XMesaVisual XMesaCreateVisual | ( | XMesaDisplay * | display,
|  | XMesaVisualInfo | visinfo,
|  | GLboolean | rgb_flag,
|  | GLboolean | alpha_flag,
|  | GLboolean | db_flag,
|  | GLboolean | stereo_flag,
|  | GLboolean | ximage_flag,
|  | GLint | depth_size,
|  | GLint | stencil_size,
|  | GLint | accum_red_size,
|  | GLint | accum_green_size,
|  | GLint | accum_blue_size,
|  | GLint | accum_alpha_size,
|  | GLint | num_samples,
|  | GLint | level,
|  | GLint | visualCaveat
| ) |  |

XMesaBuffer XMesaCreateWindowBuffer | ( | XMesaVisual | v,
|  | XMesaWindow | w
| ) |  |

void XMesaDestroyBuffer | ( | XMesaBuffer | b | ) |

void XMesaDestroyContext | ( | XMesaContext | c | ) |

void XMesaDestroyVisual | ( | XMesaVisual | v | ) |

unsigned long XMesaDitherColor | ( | XMesaContext | xmesa,
|  | GLint | x,
|  | GLint | y,
|  | GLfloat | red,
|  | GLfloat | green,
|  | GLfloat | blue,
|  | GLfloat | alpha
| ) |  |

XMesaBuffer XMesaFindBuffer | ( | XMesaDisplay * | dpy,
|  | XMesaDrawable | d
| ) |  |

void XMesaFlush | ( | XMesaContext | c | ) |

void XMesaGarbageCollect | ( | void |  | ) |

GLboolean XMesaGetBackBuffer | ( | XMesaBuffer | b,
|  | XMesaPixmap * | pixmap,
|  | XMesaImage ** | ximage
| ) |  |

XMesaBuffer XMesaGetCurrentBuffer | ( | void |  | ) |

XMesaContext XMesaGetCurrentContext | ( | void |  | ) |

XMesaBuffer XMesaGetCurrentReadBuffer | ( | void |  | ) |

GLboolean XMesaGetDepthBuffer | ( | XMesaBuffer | b,
|  | GLint * | width,
|  | GLint * | height,
|  | GLint * | bytesPerValue,
|  | void ** | buffer
| ) |  |

const char* XMesaGetString | ( | XMesaContext | c,
|  | int | name
| ) |  |

GLboolean XMesaMakeCurrent | ( | XMesaContext | c,
|  | XMesaBuffer | b
| ) |  |

GLboolean XMesaMakeCurrent2 | ( | XMesaContext | c,
|  | XMesaBuffer | drawBuffer,
|  | XMesaBuffer | readBuffer
| ) |  |

void XMesaResizeBuffers | ( | XMesaBuffer | b | ) |

GLboolean XMesaSetFXmode | ( | GLint | mode | ) |

void XMesaSwapBuffers | ( | XMesaBuffer | b | ) |

GLboolean XMesaUnbindContext | ( | XMesaContext | c | ) |

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines