diff options
Diffstat (limited to 'include/GL/vrmesa.h')
| -rw-r--r-- | include/GL/vrmesa.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/include/GL/vrmesa.h b/include/GL/vrmesa.h new file mode 100644 index 0000000..66fd7d2 --- /dev/null +++ b/include/GL/vrmesa.h @@ -0,0 +1,32 @@ +/* + * Mesa on the Rendition Verite V2200 (no X) + * + * fullscreen double-buffered 565 + Z16 context over /dev/verite3d. + */ + +#ifndef VRMESA_H +#define VRMESA_H + +#include <GL/gl.h> + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct vrmesa_context *vrMesaContext; + +/* + * ucodepath: the Verite GL microcode image (v2000gl.uc) + * NULL reads $VERITE_UCODE. + */ +extern vrMesaContext vrMesaCreateContext(const char *ucodepath); +extern void vrMesaDestroyContext(vrMesaContext ctx); +extern void vrMesaMakeCurrent(vrMesaContext ctx); +extern vrMesaContext vrMesaGetCurrentContext(void); +extern void vrMesaSwapBuffers(void); + +#ifdef __cplusplus +} +#endif + +#endif /* VRMESA_H */ |
