summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows/mesa_extend.h
blob: 4720713494027cbbeec0fe7b3ea99cac1820ffaa (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
/* mesa_extend.h
 * for wmesa-2.3
 *  Written by Li Wei (liwei@aiar.xjtu.edu.cn)
 */

/* Log 6/14, 1997
 * revision 1.01
 * struct DisplayOptions defined for tk_ddmesa.c to read the initial file
 */

#include <GL/gl.h>
#include <stdlib.h>
#include <windows.h>
#include <winbase.h>

typedef enum SHIFT{ SHIFT_NONE, SHIFT_LEFT,SHIFT_RIGHT,SHIFT_UP,SHIFT_DOWN,SHIFT_FAR,SHIFT_NEAR};

extern GLfloat deltaView ;

extern GLuint viewShift;

extern GLenum glImageRendered();

extern GLenum imageRendered ;

extern GLfloat deltaView ;

extern GLfloat deltaShift;

void shiftView( void );

struct DISPLAY_OPTIONS {
	int  stereo;
	int  fullScreen;
	int	 mode;
	int	 bpp;
};

extern struct DISPLAY_OPTIONS displayOptions;
extern void getDisplayOptions( void);

GLenum defaultKeyProc(int, GLenum);
extern GLenum (*userKeyProc) (int, GLenum);