summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/windows/stereo.h
blob: 544af542351cca0e3a38ae6a255af64d35153bea (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
46
47
/* File name stereov.h
   header file for stereo display driver 
***************************************************************
*                     WMesa                                   *
*                     version 2.3                             *	
*                                                             *
*                        By                                   *
*                      Li Wei                                 *
*       Institute of Artificial Intelligence & Robotics       *
*       Xi'an Jiaotong University                             *
*       Email: liwei@aiar.xjtu.edu.cn                         * 
*       Web page: http://sun.aiar.xjtu.edu.cn                 *
*                                                             *
*	       July 7th, 1997				                      *	
***************************************************************

*/
#if defined( __WIN32__) || defined (WIN32)
   #include <windows.h>
#endif

typedef enum VIEW_INDICATOR { FIRST, SECOND};

#define MAXIMUM_DISPLAY_LIST 99

extern GLenum stereoBuffer;

extern GLint displayList;

extern GLint stereo_flag ;

extern GLfloat viewDistance;

extern GLuint viewTag;

extern GLuint displayListBase;

extern GLuint numOfLists;

extern GLenum stereoCompile;

extern GLenum stereoShowing;

extern void glShowStereo(GLuint list);

extern void toggleStereoMode();