aboutsummaryrefslogtreecommitdiff
path: root/include/GL/vrmesa.h
blob: 66fd7d29ce1253f89a4cf206b79acfbbf93614a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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 */