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 /* double-buffered */ |
| #define | DMESA_DRIVER_YUP_BIT 0x2 /* lower-left window origin */ |
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) |