1 /* GdkGLExt - OpenGL Extension to GDK
2  * Copyright (C) 2002-2004  Naofumi Yasufuku
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2.1 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA.
17  */
18 
19 /*
20  * Additional WGL extensions.
21  */
22 
23 #ifndef __wglext_extra_h_
24 #define __wglext_extra_h_
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
30 #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__)
31 #define WIN32_LEAN_AND_MEAN 1
32 #include <windows.h>
33 #endif
34 
35 #ifndef APIENTRY
36 #define APIENTRY
37 #endif
38 #ifndef GLAPI
39 #define GLAPI extern
40 #endif
41 
42 /*
43  * 3DFX
44  */
45 
46 /*
47  * ARB
48  */
49 
50 /*
51  * ATI
52  */
53 
54 #ifndef WGL_ATI_pixel_format_float
55 #define WGL_TYPE_RGBA_FLOAT_ATI            0x21A0
56 #define GL_TYPE_RGBA_FLOAT_ATI             0x8820
57 #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
58 #endif
59 
60 #ifndef WGL_ATI_pixel_format_float
61 #define WGL_ATI_pixel_format_float  1
62 #endif
63 
64 /*
65  * 3DFX
66  */
67 
68 /*
69  * ARB
70  */
71 
72 /*
73  * EXT
74  */
75 
76 /*
77  * I3D
78  */
79 
80 #ifndef WGL_I3D_unknown_genlock_extension_name
81 #define WGL_GENLOCK_SOURCE_MULTIVIEW_I3D     0x2044
82 #define WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D  0x2045
83 #define WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D 0x2046
84 #define WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D   0x2047
85 #define WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D  0x2048
86 #define WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D 0x2049
87 #define WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D  0x204A
88 #define WGL_GENLOCK_SOURCE_EDGE_RISING_I3D   0x204B
89 #define WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D     0x204C
90 #endif
91 
92 #ifndef WGL_I3D_unknown_gamma_extension_name
93 #define WGL_GAMMA_TABLE_SIZE_I3D       0x204E
94 #define WGL_GAMMA_EXCLUDE_DESKTOP_I3D  0x204F
95 #endif
96 
97 #ifndef WGL_I3D_unknown_digital_video_cursor_extension_name
98 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D 0x2050
99 #define WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D       0x2051
100 #define WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D          0x2052
101 #define WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D          0x2053
102 #endif
103 
104 /*
105  * NV
106  */
107 
108 /*
109  * OML
110  */
111 
112 #ifdef __cplusplus
113 }
114 #endif
115 
116 #endif /* __wglext_extra_h_ */
117