blob: a044f225862f27c332c4ea366f3d2ba0553f880c (
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
33
34
35
36
37
|
#ifndef _tgl_osbuffer_h_
#define _tgl_osbuffer_h_
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
void **zbs;
void **framebuffers;
int numbuffers;
int xsize, ysize;
} ostgl_context;
ostgl_context *
ostgl_create_context(const int xsize,
const int ysize,
const int depth,
void **framebuffers,
const int numbuffers);
void
ostgl_delete_context(ostgl_context *context);
void
ostgl_make_current(ostgl_context *context, const int index);
void
ostgl_resize(ostgl_context * context,
const int xsize,
const int ysize,
void **framebuffers);
#ifdef __cplusplus
}
#endif
#endif /* _tgl_osbuffer_h_ */
|