blob: a797394e778c22d35216e5bdf58f765ec59757b7 (
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
38
39
40
41
42
43
44
45
|
#ifndef __XLOCK_VISGL_H__
#define __XLOCK_VISGL_H__
#if !defined( lint ) && !defined( SABER )
/* #ident "@(#)visgl.h 5.01 01/02/19 xlockmore" */
#endif
/*-
* GL Visual stuff
*
* See xlock.c for copying information.
*
* Revision History:
* 19-02-01: Started log. :)
*/
#ifdef USE_GL
#include <GL/gl.h>
#include <GL/glx.h>
#ifdef __cplusplus
extern "C" {
#endif
extern GLXContext *init_GL(ModeInfo * mi);
extern void FreeAllGL(ModeInfo * mi);
extern void do_fps (ModeInfo *mi);
extern void clear_gl_error (void);
extern Bool check_gl_error (const char *type);
extern XVisualInfo *
getGLVisual(Display * display, int screen, XVisualInfo * wantVis, int monochrome);
#ifdef __cplusplus
}
#endif
#endif
#ifdef OPENGL_MESA_INCLUDES
/* Allow OPEN GL using MESA includes */
#undef MESA
#endif
#endif /* __XLOCK_VISGL_H__ */
|