aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/glxext.h
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/glxext.h')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/glxext.h1986
1 files changed, 993 insertions, 993 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/glxext.h b/libraries/irrlicht-1.8/source/Irrlicht/glxext.h
index 07b0219..12d14f1 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/glxext.h
+++ b/libraries/irrlicht-1.8/source/Irrlicht/glxext.h
@@ -1,993 +1,993 @@
1#ifndef __glxext_h_ 1#ifndef __glxext_h_
2#define __glxext_h_ 2#define __glxext_h_
3 3
4#ifdef __cplusplus 4#ifdef __cplusplus
5extern "C" { 5extern "C" {
6#endif 6#endif
7 7
8/* 8/*
9** Copyright (c) 2007-2011 The Khronos Group Inc. 9** Copyright (c) 2007-2011 The Khronos Group Inc.
10** 10**
11** Permission is hereby granted, free of charge, to any person obtaining a 11** Permission is hereby granted, free of charge, to any person obtaining a
12** copy of this software and/or associated documentation files (the 12** copy of this software and/or associated documentation files (the
13** "Materials"), to deal in the Materials without restriction, including 13** "Materials"), to deal in the Materials without restriction, including
14** without limitation the rights to use, copy, modify, merge, publish, 14** without limitation the rights to use, copy, modify, merge, publish,
15** distribute, sublicense, and/or sell copies of the Materials, and to 15** distribute, sublicense, and/or sell copies of the Materials, and to
16** permit persons to whom the Materials are furnished to do so, subject to 16** permit persons to whom the Materials are furnished to do so, subject to
17** the following conditions: 17** the following conditions:
18** 18**
19** The above copyright notice and this permission notice shall be included 19** The above copyright notice and this permission notice shall be included
20** in all copies or substantial portions of the Materials. 20** in all copies or substantial portions of the Materials.
21** 21**
22** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 22** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
23** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 23** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
24** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 24** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
25** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 25** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
26** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 26** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 27** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. 28** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
29*/ 29*/
30 30
31/* Function declaration macros - to move into glplatform.h */ 31/* Function declaration macros - to move into glplatform.h */
32 32
33#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) 33#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
34#define WIN32_LEAN_AND_MEAN 1 34#define WIN32_LEAN_AND_MEAN 1
35#include <windows.h> 35#include <windows.h>
36#endif 36#endif
37 37
38#ifndef APIENTRY 38#ifndef APIENTRY
39#define APIENTRY 39#define APIENTRY
40#endif 40#endif
41#ifndef APIENTRYP 41#ifndef APIENTRYP
42#define APIENTRYP APIENTRY * 42#define APIENTRYP APIENTRY *
43#endif 43#endif
44#ifndef GLAPI 44#ifndef GLAPI
45#define GLAPI extern 45#define GLAPI extern
46#endif 46#endif
47 47
48/*************************************************************/ 48/*************************************************************/
49 49
50/* Header file version number, required by OpenGL ABI for Linux */ 50/* Header file version number, required by OpenGL ABI for Linux */
51/* glxext.h last updated 2010/08/06 */ 51/* glxext.h last updated 2010/08/06 */
52/* Current version at http://www.opengl.org/registry/ */ 52/* Current version at http://www.opengl.org/registry/ */
53#define GLX_GLXEXT_VERSION 32 53#define GLX_GLXEXT_VERSION 32
54 54
55#ifndef GLX_VERSION_1_3 55#ifndef GLX_VERSION_1_3
56#define GLX_WINDOW_BIT 0x00000001 56#define GLX_WINDOW_BIT 0x00000001
57#define GLX_PIXMAP_BIT 0x00000002 57#define GLX_PIXMAP_BIT 0x00000002
58#define GLX_PBUFFER_BIT 0x00000004 58#define GLX_PBUFFER_BIT 0x00000004
59#define GLX_RGBA_BIT 0x00000001 59#define GLX_RGBA_BIT 0x00000001
60#define GLX_COLOR_INDEX_BIT 0x00000002 60#define GLX_COLOR_INDEX_BIT 0x00000002
61#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 61#define GLX_PBUFFER_CLOBBER_MASK 0x08000000
62#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 62#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001
63#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 63#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002
64#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 64#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004
65#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 65#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008
66#define GLX_AUX_BUFFERS_BIT 0x00000010 66#define GLX_AUX_BUFFERS_BIT 0x00000010
67#define GLX_DEPTH_BUFFER_BIT 0x00000020 67#define GLX_DEPTH_BUFFER_BIT 0x00000020
68#define GLX_STENCIL_BUFFER_BIT 0x00000040 68#define GLX_STENCIL_BUFFER_BIT 0x00000040
69#define GLX_ACCUM_BUFFER_BIT 0x00000080 69#define GLX_ACCUM_BUFFER_BIT 0x00000080
70#define GLX_CONFIG_CAVEAT 0x20 70#define GLX_CONFIG_CAVEAT 0x20
71#define GLX_X_VISUAL_TYPE 0x22 71#define GLX_X_VISUAL_TYPE 0x22
72#define GLX_TRANSPARENT_TYPE 0x23 72#define GLX_TRANSPARENT_TYPE 0x23
73#define GLX_TRANSPARENT_INDEX_VALUE 0x24 73#define GLX_TRANSPARENT_INDEX_VALUE 0x24
74#define GLX_TRANSPARENT_RED_VALUE 0x25 74#define GLX_TRANSPARENT_RED_VALUE 0x25
75#define GLX_TRANSPARENT_GREEN_VALUE 0x26 75#define GLX_TRANSPARENT_GREEN_VALUE 0x26
76#define GLX_TRANSPARENT_BLUE_VALUE 0x27 76#define GLX_TRANSPARENT_BLUE_VALUE 0x27
77#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 77#define GLX_TRANSPARENT_ALPHA_VALUE 0x28
78#define GLX_DONT_CARE 0xFFFFFFFF 78#define GLX_DONT_CARE 0xFFFFFFFF
79#define GLX_NONE 0x8000 79#define GLX_NONE 0x8000
80#define GLX_SLOW_CONFIG 0x8001 80#define GLX_SLOW_CONFIG 0x8001
81#define GLX_TRUE_COLOR 0x8002 81#define GLX_TRUE_COLOR 0x8002
82#define GLX_DIRECT_COLOR 0x8003 82#define GLX_DIRECT_COLOR 0x8003
83#define GLX_PSEUDO_COLOR 0x8004 83#define GLX_PSEUDO_COLOR 0x8004
84#define GLX_STATIC_COLOR 0x8005 84#define GLX_STATIC_COLOR 0x8005
85#define GLX_GRAY_SCALE 0x8006 85#define GLX_GRAY_SCALE 0x8006
86#define GLX_STATIC_GRAY 0x8007 86#define GLX_STATIC_GRAY 0x8007
87#define GLX_TRANSPARENT_RGB 0x8008 87#define GLX_TRANSPARENT_RGB 0x8008
88#define GLX_TRANSPARENT_INDEX 0x8009 88#define GLX_TRANSPARENT_INDEX 0x8009
89#define GLX_VISUAL_ID 0x800B 89#define GLX_VISUAL_ID 0x800B
90#define GLX_SCREEN 0x800C 90#define GLX_SCREEN 0x800C
91#define GLX_NON_CONFORMANT_CONFIG 0x800D 91#define GLX_NON_CONFORMANT_CONFIG 0x800D
92#define GLX_DRAWABLE_TYPE 0x8010 92#define GLX_DRAWABLE_TYPE 0x8010
93#define GLX_RENDER_TYPE 0x8011 93#define GLX_RENDER_TYPE 0x8011
94#define GLX_X_RENDERABLE 0x8012 94#define GLX_X_RENDERABLE 0x8012
95#define GLX_FBCONFIG_ID 0x8013 95#define GLX_FBCONFIG_ID 0x8013
96#define GLX_RGBA_TYPE 0x8014 96#define GLX_RGBA_TYPE 0x8014
97#define GLX_COLOR_INDEX_TYPE 0x8015 97#define GLX_COLOR_INDEX_TYPE 0x8015
98#define GLX_MAX_PBUFFER_WIDTH 0x8016 98#define GLX_MAX_PBUFFER_WIDTH 0x8016
99#define GLX_MAX_PBUFFER_HEIGHT 0x8017 99#define GLX_MAX_PBUFFER_HEIGHT 0x8017
100#define GLX_MAX_PBUFFER_PIXELS 0x8018 100#define GLX_MAX_PBUFFER_PIXELS 0x8018
101#define GLX_PRESERVED_CONTENTS 0x801B 101#define GLX_PRESERVED_CONTENTS 0x801B
102#define GLX_LARGEST_PBUFFER 0x801C 102#define GLX_LARGEST_PBUFFER 0x801C
103#define GLX_WIDTH 0x801D 103#define GLX_WIDTH 0x801D
104#define GLX_HEIGHT 0x801E 104#define GLX_HEIGHT 0x801E
105#define GLX_EVENT_MASK 0x801F 105#define GLX_EVENT_MASK 0x801F
106#define GLX_DAMAGED 0x8020 106#define GLX_DAMAGED 0x8020
107#define GLX_SAVED 0x8021 107#define GLX_SAVED 0x8021
108#define GLX_WINDOW 0x8022 108#define GLX_WINDOW 0x8022
109#define GLX_PBUFFER 0x8023 109#define GLX_PBUFFER 0x8023
110#define GLX_PBUFFER_HEIGHT 0x8040 110#define GLX_PBUFFER_HEIGHT 0x8040
111#define GLX_PBUFFER_WIDTH 0x8041 111#define GLX_PBUFFER_WIDTH 0x8041
112#endif 112#endif
113 113
114#ifndef GLX_VERSION_1_4 114#ifndef GLX_VERSION_1_4
115#define GLX_SAMPLE_BUFFERS 100000 115#define GLX_SAMPLE_BUFFERS 100000
116#define GLX_SAMPLES 100001 116#define GLX_SAMPLES 100001
117#endif 117#endif
118 118
119#ifndef GLX_ARB_get_proc_address 119#ifndef GLX_ARB_get_proc_address
120#endif 120#endif
121 121
122#ifndef GLX_ARB_multisample 122#ifndef GLX_ARB_multisample
123#define GLX_SAMPLE_BUFFERS_ARB 100000 123#define GLX_SAMPLE_BUFFERS_ARB 100000
124#define GLX_SAMPLES_ARB 100001 124#define GLX_SAMPLES_ARB 100001
125#endif 125#endif
126 126
127#ifndef GLX_ARB_vertex_buffer_object 127#ifndef GLX_ARB_vertex_buffer_object
128#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 128#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
129#endif 129#endif
130 130
131#ifndef GLX_ARB_fbconfig_float 131#ifndef GLX_ARB_fbconfig_float
132#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 132#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
133#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 133#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
134#endif 134#endif
135 135
136#ifndef GLX_ARB_framebuffer_sRGB 136#ifndef GLX_ARB_framebuffer_sRGB
137#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 137#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
138#endif 138#endif
139 139
140#ifndef GLX_ARB_create_context 140#ifndef GLX_ARB_create_context
141#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 141#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001
142#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 142#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
143#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 143#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
144#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 144#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
145#define GLX_CONTEXT_FLAGS_ARB 0x2094 145#define GLX_CONTEXT_FLAGS_ARB 0x2094
146#endif 146#endif
147 147
148#ifndef GLX_ARB_create_context_profile 148#ifndef GLX_ARB_create_context_profile
149#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 149#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
150#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 150#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
151#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 151#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
152#endif 152#endif
153 153
154#ifndef GLX_ARB_create_context_robustness 154#ifndef GLX_ARB_create_context_robustness
155#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 155#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
156#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 156#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
157#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 157#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
158#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 158#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
159#endif 159#endif
160 160
161#ifndef GLX_SGIS_multisample 161#ifndef GLX_SGIS_multisample
162#define GLX_SAMPLE_BUFFERS_SGIS 100000 162#define GLX_SAMPLE_BUFFERS_SGIS 100000
163#define GLX_SAMPLES_SGIS 100001 163#define GLX_SAMPLES_SGIS 100001
164#endif 164#endif
165 165
166#ifndef GLX_EXT_visual_info 166#ifndef GLX_EXT_visual_info
167#define GLX_X_VISUAL_TYPE_EXT 0x22 167#define GLX_X_VISUAL_TYPE_EXT 0x22
168#define GLX_TRANSPARENT_TYPE_EXT 0x23 168#define GLX_TRANSPARENT_TYPE_EXT 0x23
169#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 169#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
170#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 170#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
171#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 171#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
172#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 172#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
173#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 173#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
174#define GLX_NONE_EXT 0x8000 174#define GLX_NONE_EXT 0x8000
175#define GLX_TRUE_COLOR_EXT 0x8002 175#define GLX_TRUE_COLOR_EXT 0x8002
176#define GLX_DIRECT_COLOR_EXT 0x8003 176#define GLX_DIRECT_COLOR_EXT 0x8003
177#define GLX_PSEUDO_COLOR_EXT 0x8004 177#define GLX_PSEUDO_COLOR_EXT 0x8004
178#define GLX_STATIC_COLOR_EXT 0x8005 178#define GLX_STATIC_COLOR_EXT 0x8005
179#define GLX_GRAY_SCALE_EXT 0x8006 179#define GLX_GRAY_SCALE_EXT 0x8006
180#define GLX_STATIC_GRAY_EXT 0x8007 180#define GLX_STATIC_GRAY_EXT 0x8007
181#define GLX_TRANSPARENT_RGB_EXT 0x8008 181#define GLX_TRANSPARENT_RGB_EXT 0x8008
182#define GLX_TRANSPARENT_INDEX_EXT 0x8009 182#define GLX_TRANSPARENT_INDEX_EXT 0x8009
183#endif 183#endif
184 184
185#ifndef GLX_SGI_swap_control 185#ifndef GLX_SGI_swap_control
186#endif 186#endif
187 187
188#ifndef GLX_SGI_video_sync 188#ifndef GLX_SGI_video_sync
189#endif 189#endif
190 190
191#ifndef GLX_SGI_make_current_read 191#ifndef GLX_SGI_make_current_read
192#endif 192#endif
193 193
194#ifndef GLX_SGIX_video_source 194#ifndef GLX_SGIX_video_source
195#endif 195#endif
196 196
197#ifndef GLX_EXT_visual_rating 197#ifndef GLX_EXT_visual_rating
198#define GLX_VISUAL_CAVEAT_EXT 0x20 198#define GLX_VISUAL_CAVEAT_EXT 0x20
199#define GLX_SLOW_VISUAL_EXT 0x8001 199#define GLX_SLOW_VISUAL_EXT 0x8001
200#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D 200#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
201/* reuse GLX_NONE_EXT */ 201/* reuse GLX_NONE_EXT */
202#endif 202#endif
203 203
204#ifndef GLX_EXT_import_context 204#ifndef GLX_EXT_import_context
205#define GLX_SHARE_CONTEXT_EXT 0x800A 205#define GLX_SHARE_CONTEXT_EXT 0x800A
206#define GLX_VISUAL_ID_EXT 0x800B 206#define GLX_VISUAL_ID_EXT 0x800B
207#define GLX_SCREEN_EXT 0x800C 207#define GLX_SCREEN_EXT 0x800C
208#endif 208#endif
209 209
210#ifndef GLX_SGIX_fbconfig 210#ifndef GLX_SGIX_fbconfig
211#define GLX_WINDOW_BIT_SGIX 0x00000001 211#define GLX_WINDOW_BIT_SGIX 0x00000001
212#define GLX_PIXMAP_BIT_SGIX 0x00000002 212#define GLX_PIXMAP_BIT_SGIX 0x00000002
213#define GLX_RGBA_BIT_SGIX 0x00000001 213#define GLX_RGBA_BIT_SGIX 0x00000001
214#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 214#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002
215#define GLX_DRAWABLE_TYPE_SGIX 0x8010 215#define GLX_DRAWABLE_TYPE_SGIX 0x8010
216#define GLX_RENDER_TYPE_SGIX 0x8011 216#define GLX_RENDER_TYPE_SGIX 0x8011
217#define GLX_X_RENDERABLE_SGIX 0x8012 217#define GLX_X_RENDERABLE_SGIX 0x8012
218#define GLX_FBCONFIG_ID_SGIX 0x8013 218#define GLX_FBCONFIG_ID_SGIX 0x8013
219#define GLX_RGBA_TYPE_SGIX 0x8014 219#define GLX_RGBA_TYPE_SGIX 0x8014
220#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 220#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
221/* reuse GLX_SCREEN_EXT */ 221/* reuse GLX_SCREEN_EXT */
222#endif 222#endif
223 223
224#ifndef GLX_SGIX_pbuffer 224#ifndef GLX_SGIX_pbuffer
225#define GLX_PBUFFER_BIT_SGIX 0x00000004 225#define GLX_PBUFFER_BIT_SGIX 0x00000004
226#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 226#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000
227#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 227#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
228#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 228#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
229#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 229#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004
230#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 230#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008
231#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 231#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010
232#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 232#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020
233#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 233#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040
234#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 234#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080
235#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 235#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100
236#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 236#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016
237#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 237#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017
238#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 238#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018
239#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 239#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019
240#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A 240#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A
241#define GLX_PRESERVED_CONTENTS_SGIX 0x801B 241#define GLX_PRESERVED_CONTENTS_SGIX 0x801B
242#define GLX_LARGEST_PBUFFER_SGIX 0x801C 242#define GLX_LARGEST_PBUFFER_SGIX 0x801C
243#define GLX_WIDTH_SGIX 0x801D 243#define GLX_WIDTH_SGIX 0x801D
244#define GLX_HEIGHT_SGIX 0x801E 244#define GLX_HEIGHT_SGIX 0x801E
245#define GLX_EVENT_MASK_SGIX 0x801F 245#define GLX_EVENT_MASK_SGIX 0x801F
246#define GLX_DAMAGED_SGIX 0x8020 246#define GLX_DAMAGED_SGIX 0x8020
247#define GLX_SAVED_SGIX 0x8021 247#define GLX_SAVED_SGIX 0x8021
248#define GLX_WINDOW_SGIX 0x8022 248#define GLX_WINDOW_SGIX 0x8022
249#define GLX_PBUFFER_SGIX 0x8023 249#define GLX_PBUFFER_SGIX 0x8023
250#endif 250#endif
251 251
252#ifndef GLX_SGI_cushion 252#ifndef GLX_SGI_cushion
253#endif 253#endif
254 254
255#ifndef GLX_SGIX_video_resize 255#ifndef GLX_SGIX_video_resize
256#define GLX_SYNC_FRAME_SGIX 0x00000000 256#define GLX_SYNC_FRAME_SGIX 0x00000000
257#define GLX_SYNC_SWAP_SGIX 0x00000001 257#define GLX_SYNC_SWAP_SGIX 0x00000001
258#endif 258#endif
259 259
260#ifndef GLX_SGIX_dmbuffer 260#ifndef GLX_SGIX_dmbuffer
261#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024 261#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024
262#endif 262#endif
263 263
264#ifndef GLX_SGIX_swap_group 264#ifndef GLX_SGIX_swap_group
265#endif 265#endif
266 266
267#ifndef GLX_SGIX_swap_barrier 267#ifndef GLX_SGIX_swap_barrier
268#endif 268#endif
269 269
270#ifndef GLX_SGIS_blended_overlay 270#ifndef GLX_SGIS_blended_overlay
271#define GLX_BLENDED_RGBA_SGIS 0x8025 271#define GLX_BLENDED_RGBA_SGIS 0x8025
272#endif 272#endif
273 273
274#ifndef GLX_SGIS_shared_multisample 274#ifndef GLX_SGIS_shared_multisample
275#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 275#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
276#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 276#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
277#endif 277#endif
278 278
279#ifndef GLX_SUN_get_transparent_index 279#ifndef GLX_SUN_get_transparent_index
280#endif 280#endif
281 281
282#ifndef GLX_3DFX_multisample 282#ifndef GLX_3DFX_multisample
283#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 283#define GLX_SAMPLE_BUFFERS_3DFX 0x8050
284#define GLX_SAMPLES_3DFX 0x8051 284#define GLX_SAMPLES_3DFX 0x8051
285#endif 285#endif
286 286
287#ifndef GLX_MESA_copy_sub_buffer 287#ifndef GLX_MESA_copy_sub_buffer
288#endif 288#endif
289 289
290#ifndef GLX_MESA_pixmap_colormap 290#ifndef GLX_MESA_pixmap_colormap
291#endif 291#endif
292 292
293#ifndef GLX_MESA_release_buffers 293#ifndef GLX_MESA_release_buffers
294#endif 294#endif
295 295
296#ifndef GLX_MESA_set_3dfx_mode 296#ifndef GLX_MESA_set_3dfx_mode
297#define GLX_3DFX_WINDOW_MODE_MESA 0x1 297#define GLX_3DFX_WINDOW_MODE_MESA 0x1
298#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 298#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
299#endif 299#endif
300 300
301#ifndef GLX_SGIX_visual_select_group 301#ifndef GLX_SGIX_visual_select_group
302#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 302#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
303#endif 303#endif
304 304
305#ifndef GLX_OML_swap_method 305#ifndef GLX_OML_swap_method
306#define GLX_SWAP_METHOD_OML 0x8060 306#define GLX_SWAP_METHOD_OML 0x8060
307#define GLX_SWAP_EXCHANGE_OML 0x8061 307#define GLX_SWAP_EXCHANGE_OML 0x8061
308#define GLX_SWAP_COPY_OML 0x8062 308#define GLX_SWAP_COPY_OML 0x8062
309#define GLX_SWAP_UNDEFINED_OML 0x8063 309#define GLX_SWAP_UNDEFINED_OML 0x8063
310#endif 310#endif
311 311
312#ifndef GLX_OML_sync_control 312#ifndef GLX_OML_sync_control
313#endif 313#endif
314 314
315#ifndef GLX_NV_float_buffer 315#ifndef GLX_NV_float_buffer
316#define GLX_FLOAT_COMPONENTS_NV 0x20B0 316#define GLX_FLOAT_COMPONENTS_NV 0x20B0
317#endif 317#endif
318 318
319#ifndef GLX_SGIX_hyperpipe 319#ifndef GLX_SGIX_hyperpipe
320#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 320#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
321#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 321#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91
322#define GLX_BAD_HYPERPIPE_SGIX 92 322#define GLX_BAD_HYPERPIPE_SGIX 92
323#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 323#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001
324#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 324#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002
325#define GLX_PIPE_RECT_SGIX 0x00000001 325#define GLX_PIPE_RECT_SGIX 0x00000001
326#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 326#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002
327#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 327#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
328#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 328#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
329#define GLX_HYPERPIPE_ID_SGIX 0x8030 329#define GLX_HYPERPIPE_ID_SGIX 0x8030
330#endif 330#endif
331 331
332#ifndef GLX_MESA_agp_offset 332#ifndef GLX_MESA_agp_offset
333#endif 333#endif
334 334
335#ifndef GLX_EXT_fbconfig_packed_float 335#ifndef GLX_EXT_fbconfig_packed_float
336#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 336#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
337#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 337#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
338#endif 338#endif
339 339
340#ifndef GLX_EXT_framebuffer_sRGB 340#ifndef GLX_EXT_framebuffer_sRGB
341#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 341#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
342#endif 342#endif
343 343
344#ifndef GLX_EXT_texture_from_pixmap 344#ifndef GLX_EXT_texture_from_pixmap
345#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 345#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
346#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 346#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
347#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 347#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
348#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 348#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
349#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 349#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
350#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 350#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
351#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 351#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
352#define GLX_Y_INVERTED_EXT 0x20D4 352#define GLX_Y_INVERTED_EXT 0x20D4
353#define GLX_TEXTURE_FORMAT_EXT 0x20D5 353#define GLX_TEXTURE_FORMAT_EXT 0x20D5
354#define GLX_TEXTURE_TARGET_EXT 0x20D6 354#define GLX_TEXTURE_TARGET_EXT 0x20D6
355#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 355#define GLX_MIPMAP_TEXTURE_EXT 0x20D7
356#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 356#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
357#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 357#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
358#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA 358#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
359#define GLX_TEXTURE_1D_EXT 0x20DB 359#define GLX_TEXTURE_1D_EXT 0x20DB
360#define GLX_TEXTURE_2D_EXT 0x20DC 360#define GLX_TEXTURE_2D_EXT 0x20DC
361#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD 361#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
362#define GLX_FRONT_LEFT_EXT 0x20DE 362#define GLX_FRONT_LEFT_EXT 0x20DE
363#define GLX_FRONT_RIGHT_EXT 0x20DF 363#define GLX_FRONT_RIGHT_EXT 0x20DF
364#define GLX_BACK_LEFT_EXT 0x20E0 364#define GLX_BACK_LEFT_EXT 0x20E0
365#define GLX_BACK_RIGHT_EXT 0x20E1 365#define GLX_BACK_RIGHT_EXT 0x20E1
366#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT 366#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT
367#define GLX_BACK_EXT GLX_BACK_LEFT_EXT 367#define GLX_BACK_EXT GLX_BACK_LEFT_EXT
368#define GLX_AUX0_EXT 0x20E2 368#define GLX_AUX0_EXT 0x20E2
369#define GLX_AUX1_EXT 0x20E3 369#define GLX_AUX1_EXT 0x20E3
370#define GLX_AUX2_EXT 0x20E4 370#define GLX_AUX2_EXT 0x20E4
371#define GLX_AUX3_EXT 0x20E5 371#define GLX_AUX3_EXT 0x20E5
372#define GLX_AUX4_EXT 0x20E6 372#define GLX_AUX4_EXT 0x20E6
373#define GLX_AUX5_EXT 0x20E7 373#define GLX_AUX5_EXT 0x20E7
374#define GLX_AUX6_EXT 0x20E8 374#define GLX_AUX6_EXT 0x20E8
375#define GLX_AUX7_EXT 0x20E9 375#define GLX_AUX7_EXT 0x20E9
376#define GLX_AUX8_EXT 0x20EA 376#define GLX_AUX8_EXT 0x20EA
377#define GLX_AUX9_EXT 0x20EB 377#define GLX_AUX9_EXT 0x20EB
378#endif 378#endif
379 379
380#ifndef GLX_NV_present_video 380#ifndef GLX_NV_present_video
381#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 381#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
382#endif 382#endif
383 383
384#ifndef GLX_NV_video_out 384#ifndef GLX_NV_video_out
385#define GLX_VIDEO_OUT_COLOR_NV 0x20C3 385#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
386#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 386#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
387#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 387#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
388#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 388#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
389#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 389#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
390#define GLX_VIDEO_OUT_FRAME_NV 0x20C8 390#define GLX_VIDEO_OUT_FRAME_NV 0x20C8
391#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 391#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
392#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA 392#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
393#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB 393#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
394#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC 394#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
395#endif 395#endif
396 396
397#ifndef GLX_NV_swap_group 397#ifndef GLX_NV_swap_group
398#endif 398#endif
399 399
400#ifndef GLX_NV_video_capture 400#ifndef GLX_NV_video_capture
401#define GLX_DEVICE_ID_NV 0x20CD 401#define GLX_DEVICE_ID_NV 0x20CD
402#define GLX_UNIQUE_ID_NV 0x20CE 402#define GLX_UNIQUE_ID_NV 0x20CE
403#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF 403#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
404#endif 404#endif
405 405
406#ifndef GLX_EXT_swap_control 406#ifndef GLX_EXT_swap_control
407#define GLX_SWAP_INTERVAL_EXT 0x20F1 407#define GLX_SWAP_INTERVAL_EXT 0x20F1
408#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 408#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
409#endif 409#endif
410 410
411#ifndef GLX_NV_copy_image 411#ifndef GLX_NV_copy_image
412#endif 412#endif
413 413
414#ifndef GLX_INTEL_swap_event 414#ifndef GLX_INTEL_swap_event
415#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 415#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
416#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180 416#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
417#define GLX_COPY_COMPLETE_INTEL 0x8181 417#define GLX_COPY_COMPLETE_INTEL 0x8181
418#define GLX_FLIP_COMPLETE_INTEL 0x8182 418#define GLX_FLIP_COMPLETE_INTEL 0x8182
419#endif 419#endif
420 420
421#ifndef GLX_NV_multisample_coverage 421#ifndef GLX_NV_multisample_coverage
422#define GLX_COVERAGE_SAMPLES_NV 100001 422#define GLX_COVERAGE_SAMPLES_NV 100001
423#define GLX_COLOR_SAMPLES_NV 0x20B3 423#define GLX_COLOR_SAMPLES_NV 0x20B3
424#endif 424#endif
425 425
426#ifndef GLX_AMD_gpu_association 426#ifndef GLX_AMD_gpu_association
427#define GLX_GPU_VENDOR_AMD 0x1F00 427#define GLX_GPU_VENDOR_AMD 0x1F00
428#define GLX_GPU_RENDERER_STRING_AMD 0x1F01 428#define GLX_GPU_RENDERER_STRING_AMD 0x1F01
429#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 429#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
430#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 430#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
431#define GLX_GPU_RAM_AMD 0x21A3 431#define GLX_GPU_RAM_AMD 0x21A3
432#define GLX_GPU_CLOCK_AMD 0x21A4 432#define GLX_GPU_CLOCK_AMD 0x21A4
433#define GLX_GPU_NUM_PIPES_AMD 0x21A5 433#define GLX_GPU_NUM_PIPES_AMD 0x21A5
434#define GLX_GPU_NUM_SIMD_AMD 0x21A6 434#define GLX_GPU_NUM_SIMD_AMD 0x21A6
435#define GLX_GPU_NUM_RB_AMD 0x21A7 435#define GLX_GPU_NUM_RB_AMD 0x21A7
436#define GLX_GPU_NUM_SPI_AMD 0x21A8 436#define GLX_GPU_NUM_SPI_AMD 0x21A8
437#endif 437#endif
438 438
439#ifndef GLX_EXT_create_context_es2_profile 439#ifndef GLX_EXT_create_context_es2_profile
440#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 440#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
441#endif 441#endif
442 442
443 443
444/*************************************************************/ 444/*************************************************************/
445 445
446#ifndef GLX_ARB_get_proc_address 446#ifndef GLX_ARB_get_proc_address
447typedef void (*__GLXextFuncPtr)(void); 447typedef void (*__GLXextFuncPtr)(void);
448#endif 448#endif
449 449
450#ifndef GLX_SGIX_video_source 450#ifndef GLX_SGIX_video_source
451typedef XID GLXVideoSourceSGIX; 451typedef XID GLXVideoSourceSGIX;
452#endif 452#endif
453 453
454#ifndef GLX_SGIX_fbconfig 454#ifndef GLX_SGIX_fbconfig
455typedef XID GLXFBConfigIDSGIX; 455typedef XID GLXFBConfigIDSGIX;
456typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; 456typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
457#endif 457#endif
458 458
459#ifndef GLX_SGIX_pbuffer 459#ifndef GLX_SGIX_pbuffer
460typedef XID GLXPbufferSGIX; 460typedef XID GLXPbufferSGIX;
461typedef struct { 461typedef struct {
462 int type; 462 int type;
463 unsigned long serial; /* # of last request processed by server */ 463 unsigned long serial; /* # of last request processed by server */
464 Bool send_event; /* true if this came for SendEvent request */ 464 Bool send_event; /* true if this came for SendEvent request */
465 Display *display; /* display the event was read from */ 465 Display *display; /* display the event was read from */
466 GLXDrawable drawable; /* i.d. of Drawable */ 466 GLXDrawable drawable; /* i.d. of Drawable */
467 int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */ 467 int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */
468 int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */ 468 int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */
469 unsigned int mask; /* mask indicating which buffers are affected*/ 469 unsigned int mask; /* mask indicating which buffers are affected*/
470 int x, y; 470 int x, y;
471 int width, height; 471 int width, height;
472 int count; /* if nonzero, at least this many more */ 472 int count; /* if nonzero, at least this many more */
473} GLXBufferClobberEventSGIX; 473} GLXBufferClobberEventSGIX;
474#endif 474#endif
475 475
476#ifndef GLX_NV_video_output 476#ifndef GLX_NV_video_output
477typedef unsigned int GLXVideoDeviceNV; 477typedef unsigned int GLXVideoDeviceNV;
478#endif 478#endif
479 479
480#ifndef GLX_NV_video_capture 480#ifndef GLX_NV_video_capture
481typedef XID GLXVideoCaptureDeviceNV; 481typedef XID GLXVideoCaptureDeviceNV;
482#endif 482#endif
483 483
484#ifndef GLEXT_64_TYPES_DEFINED 484#ifndef GLEXT_64_TYPES_DEFINED
485/* This code block is duplicated in glext.h, so must be protected */ 485/* This code block is duplicated in glext.h, so must be protected */
486#define GLEXT_64_TYPES_DEFINED 486#define GLEXT_64_TYPES_DEFINED
487/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ 487/* Define int32_t, int64_t, and uint64_t types for UST/MSC */
488/* (as used in the GLX_OML_sync_control extension). */ 488/* (as used in the GLX_OML_sync_control extension). */
489#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L 489#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
490#include <inttypes.h> 490#include <inttypes.h>
491#elif defined(__sun__) || defined(__digital__) 491#elif defined(__sun__) || defined(__digital__)
492#include <inttypes.h> 492#include <inttypes.h>
493#if defined(__STDC__) 493#if defined(__STDC__)
494#if defined(__arch64__) || defined(_LP64) 494#if defined(__arch64__) || defined(_LP64)
495typedef long int int64_t; 495typedef long int int64_t;
496typedef unsigned long int uint64_t; 496typedef unsigned long int uint64_t;
497#else 497#else
498typedef long long int int64_t; 498typedef long long int int64_t;
499typedef unsigned long long int uint64_t; 499typedef unsigned long long int uint64_t;
500#endif /* __arch64__ */ 500#endif /* __arch64__ */
501#endif /* __STDC__ */ 501#endif /* __STDC__ */
502#elif defined( __VMS ) || defined(__sgi) 502#elif defined( __VMS ) || defined(__sgi)
503#include <inttypes.h> 503#include <inttypes.h>
504#elif defined(__SCO__) || defined(__USLC__) 504#elif defined(__SCO__) || defined(__USLC__)
505#include <stdint.h> 505#include <stdint.h>
506#elif defined(__UNIXOS2__) || defined(__SOL64__) 506#elif defined(__UNIXOS2__) || defined(__SOL64__)
507typedef long int int32_t; 507typedef long int int32_t;
508typedef long long int int64_t; 508typedef long long int int64_t;
509typedef unsigned long long int uint64_t; 509typedef unsigned long long int uint64_t;
510#elif defined(_WIN32) && defined(__GNUC__) 510#elif defined(_WIN32) && defined(__GNUC__)
511#include <stdint.h> 511#include <stdint.h>
512#elif defined(_WIN32) 512#elif defined(_WIN32)
513typedef __int32 int32_t; 513typedef __int32 int32_t;
514typedef __int64 int64_t; 514typedef __int64 int64_t;
515typedef unsigned __int64 uint64_t; 515typedef unsigned __int64 uint64_t;
516#else 516#else
517#include <inttypes.h> /* Fallback option */ 517#include <inttypes.h> /* Fallback option */
518#endif 518#endif
519#endif 519#endif
520 520
521#ifndef GLX_VERSION_1_3 521#ifndef GLX_VERSION_1_3
522#define GLX_VERSION_1_3 1 522#define GLX_VERSION_1_3 1
523#ifdef GLX_GLXEXT_PROTOTYPES 523#ifdef GLX_GLXEXT_PROTOTYPES
524extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements); 524extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements);
525extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements); 525extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
526extern int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value); 526extern int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value);
527extern XVisualInfo * glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config); 527extern XVisualInfo * glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config);
528extern GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); 528extern GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
529extern void glXDestroyWindow (Display *dpy, GLXWindow win); 529extern void glXDestroyWindow (Display *dpy, GLXWindow win);
530extern GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); 530extern GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
531extern void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap); 531extern void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap);
532extern GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list); 532extern GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list);
533extern void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf); 533extern void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf);
534extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 534extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
535extern GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); 535extern GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
536extern Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 536extern Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
537extern GLXDrawable glXGetCurrentReadDrawable (void); 537extern GLXDrawable glXGetCurrentReadDrawable (void);
538extern Display * glXGetCurrentDisplay (void); 538extern Display * glXGetCurrentDisplay (void);
539extern int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value); 539extern int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
540extern void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask); 540extern void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask);
541extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask); 541extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
542#endif /* GLX_GLXEXT_PROTOTYPES */ 542#endif /* GLX_GLXEXT_PROTOTYPES */
543typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); 543typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
544typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); 544typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
545typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); 545typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
546typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); 546typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
547typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); 547typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
548typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); 548typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
549typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); 549typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
550typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); 550typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
551typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); 551typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
552typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); 552typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
553typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); 553typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
554typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); 554typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
555typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 555typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
556typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); 556typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
557typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void); 557typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
558typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); 558typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
559typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); 559typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
560typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); 560typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
561#endif 561#endif
562 562
563#ifndef GLX_VERSION_1_4 563#ifndef GLX_VERSION_1_4
564#define GLX_VERSION_1_4 1 564#define GLX_VERSION_1_4 1
565#ifdef GLX_GLXEXT_PROTOTYPES 565#ifdef GLX_GLXEXT_PROTOTYPES
566extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName); 566extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName);
567#endif /* GLX_GLXEXT_PROTOTYPES */ 567#endif /* GLX_GLXEXT_PROTOTYPES */
568typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); 568typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName);
569#endif 569#endif
570 570
571#ifndef GLX_ARB_get_proc_address 571#ifndef GLX_ARB_get_proc_address
572#define GLX_ARB_get_proc_address 1 572#define GLX_ARB_get_proc_address 1
573#ifdef GLX_GLXEXT_PROTOTYPES 573#ifdef GLX_GLXEXT_PROTOTYPES
574extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName); 574extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
575#endif /* GLX_GLXEXT_PROTOTYPES */ 575#endif /* GLX_GLXEXT_PROTOTYPES */
576typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName); 576typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
577#endif 577#endif
578 578
579#ifndef GLX_ARB_multisample 579#ifndef GLX_ARB_multisample
580#define GLX_ARB_multisample 1 580#define GLX_ARB_multisample 1
581#endif 581#endif
582 582
583#ifndef GLX_ARB_fbconfig_float 583#ifndef GLX_ARB_fbconfig_float
584#define GLX_ARB_fbconfig_float 1 584#define GLX_ARB_fbconfig_float 1
585#endif 585#endif
586 586
587#ifndef GLX_ARB_framebuffer_sRGB 587#ifndef GLX_ARB_framebuffer_sRGB
588#define GLX_ARB_framebuffer_sRGB 1 588#define GLX_ARB_framebuffer_sRGB 1
589#endif 589#endif
590 590
591#ifndef GLX_ARB_create_context 591#ifndef GLX_ARB_create_context
592#define GLX_ARB_create_context 1 592#define GLX_ARB_create_context 1
593#ifdef GLX_GLXEXT_PROTOTYPES 593#ifdef GLX_GLXEXT_PROTOTYPES
594extern GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list); 594extern GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
595#endif /* GLX_GLXEXT_PROTOTYPES */ 595#endif /* GLX_GLXEXT_PROTOTYPES */
596typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list); 596typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
597#endif 597#endif
598 598
599#ifndef GLX_ARB_create_context_profile 599#ifndef GLX_ARB_create_context_profile
600#define GLX_ARB_create_context_profile 1 600#define GLX_ARB_create_context_profile 1
601#endif 601#endif
602 602
603#ifndef GLX_ARB_create_context_robustness 603#ifndef GLX_ARB_create_context_robustness
604#define GLX_ARB_create_context_robustness 1 604#define GLX_ARB_create_context_robustness 1
605#endif 605#endif
606 606
607#ifndef GLX_SGIS_multisample 607#ifndef GLX_SGIS_multisample
608#define GLX_SGIS_multisample 1 608#define GLX_SGIS_multisample 1
609#endif 609#endif
610 610
611#ifndef GLX_EXT_visual_info 611#ifndef GLX_EXT_visual_info
612#define GLX_EXT_visual_info 1 612#define GLX_EXT_visual_info 1
613#endif 613#endif
614 614
615#ifndef GLX_SGI_swap_control 615#ifndef GLX_SGI_swap_control
616#define GLX_SGI_swap_control 1 616#define GLX_SGI_swap_control 1
617#ifdef GLX_GLXEXT_PROTOTYPES 617#ifdef GLX_GLXEXT_PROTOTYPES
618extern int glXSwapIntervalSGI (int interval); 618extern int glXSwapIntervalSGI (int interval);
619#endif /* GLX_GLXEXT_PROTOTYPES */ 619#endif /* GLX_GLXEXT_PROTOTYPES */
620typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); 620typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
621#endif 621#endif
622 622
623#ifndef GLX_SGI_video_sync 623#ifndef GLX_SGI_video_sync
624#define GLX_SGI_video_sync 1 624#define GLX_SGI_video_sync 1
625#ifdef GLX_GLXEXT_PROTOTYPES 625#ifdef GLX_GLXEXT_PROTOTYPES
626extern int glXGetVideoSyncSGI (unsigned int *count); 626extern int glXGetVideoSyncSGI (unsigned int *count);
627extern int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count); 627extern int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count);
628#endif /* GLX_GLXEXT_PROTOTYPES */ 628#endif /* GLX_GLXEXT_PROTOTYPES */
629typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); 629typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count);
630typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count); 630typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
631#endif 631#endif
632 632
633#ifndef GLX_SGI_make_current_read 633#ifndef GLX_SGI_make_current_read
634#define GLX_SGI_make_current_read 1 634#define GLX_SGI_make_current_read 1
635#ifdef GLX_GLXEXT_PROTOTYPES 635#ifdef GLX_GLXEXT_PROTOTYPES
636extern Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 636extern Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
637extern GLXDrawable glXGetCurrentReadDrawableSGI (void); 637extern GLXDrawable glXGetCurrentReadDrawableSGI (void);
638#endif /* GLX_GLXEXT_PROTOTYPES */ 638#endif /* GLX_GLXEXT_PROTOTYPES */
639typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); 639typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
640typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); 640typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
641#endif 641#endif
642 642
643#ifndef GLX_SGIX_video_source 643#ifndef GLX_SGIX_video_source
644#define GLX_SGIX_video_source 1 644#define GLX_SGIX_video_source 1
645#ifdef _VL_H 645#ifdef _VL_H
646#ifdef GLX_GLXEXT_PROTOTYPES 646#ifdef GLX_GLXEXT_PROTOTYPES
647extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); 647extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
648extern void glXDestroyGLXVideoSourceSGIX (Display *dpy, GLXVideoSourceSGIX glxvideosource); 648extern void glXDestroyGLXVideoSourceSGIX (Display *dpy, GLXVideoSourceSGIX glxvideosource);
649#endif /* GLX_GLXEXT_PROTOTYPES */ 649#endif /* GLX_GLXEXT_PROTOTYPES */
650typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); 650typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
651typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource); 651typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource);
652#endif /* _VL_H */ 652#endif /* _VL_H */
653#endif 653#endif
654 654
655#ifndef GLX_EXT_visual_rating 655#ifndef GLX_EXT_visual_rating
656#define GLX_EXT_visual_rating 1 656#define GLX_EXT_visual_rating 1
657#endif 657#endif
658 658
659#ifndef GLX_EXT_import_context 659#ifndef GLX_EXT_import_context
660#define GLX_EXT_import_context 1 660#define GLX_EXT_import_context 1
661#ifdef GLX_GLXEXT_PROTOTYPES 661#ifdef GLX_GLXEXT_PROTOTYPES
662extern Display * glXGetCurrentDisplayEXT (void); 662extern Display * glXGetCurrentDisplayEXT (void);
663extern int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value); 663extern int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value);
664extern GLXContextID glXGetContextIDEXT (const GLXContext context); 664extern GLXContextID glXGetContextIDEXT (const GLXContext context);
665extern GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID); 665extern GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID);
666extern void glXFreeContextEXT (Display *dpy, GLXContext context); 666extern void glXFreeContextEXT (Display *dpy, GLXContext context);
667#endif /* GLX_GLXEXT_PROTOTYPES */ 667#endif /* GLX_GLXEXT_PROTOTYPES */
668typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void); 668typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
669typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); 669typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);
670typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); 670typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
671typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID); 671typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID);
672typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); 672typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context);
673#endif 673#endif
674 674
675#ifndef GLX_SGIX_fbconfig 675#ifndef GLX_SGIX_fbconfig
676#define GLX_SGIX_fbconfig 1 676#define GLX_SGIX_fbconfig 1
677#ifdef GLX_GLXEXT_PROTOTYPES 677#ifdef GLX_GLXEXT_PROTOTYPES
678extern int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); 678extern int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
679extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements); 679extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
680extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); 680extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
681extern GLXContext glXCreateContextWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); 681extern GLXContext glXCreateContextWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
682extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfigSGIX config); 682extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfigSGIX config);
683extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *dpy, XVisualInfo *vis); 683extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *dpy, XVisualInfo *vis);
684#endif /* GLX_GLXEXT_PROTOTYPES */ 684#endif /* GLX_GLXEXT_PROTOTYPES */
685typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); 685typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
686typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements); 686typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
687typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); 687typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
688typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); 688typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
689typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config); 689typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config);
690typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis); 690typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis);
691#endif 691#endif
692 692
693#ifndef GLX_SGIX_pbuffer 693#ifndef GLX_SGIX_pbuffer
694#define GLX_SGIX_pbuffer 1 694#define GLX_SGIX_pbuffer 1
695#ifdef GLX_GLXEXT_PROTOTYPES 695#ifdef GLX_GLXEXT_PROTOTYPES
696extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); 696extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
697extern void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf); 697extern void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf);
698extern int glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); 698extern int glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
699extern void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long mask); 699extern void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long mask);
700extern void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long *mask); 700extern void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long *mask);
701#endif /* GLX_GLXEXT_PROTOTYPES */ 701#endif /* GLX_GLXEXT_PROTOTYPES */
702typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); 702typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
703typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); 703typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
704typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); 704typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
705typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); 705typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask);
706typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); 706typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask);
707#endif 707#endif
708 708
709#ifndef GLX_SGI_cushion 709#ifndef GLX_SGI_cushion
710#define GLX_SGI_cushion 1 710#define GLX_SGI_cushion 1
711#ifdef GLX_GLXEXT_PROTOTYPES 711#ifdef GLX_GLXEXT_PROTOTYPES
712extern void glXCushionSGI (Display *dpy, Window window, float cushion); 712extern void glXCushionSGI (Display *dpy, Window window, float cushion);
713#endif /* GLX_GLXEXT_PROTOTYPES */ 713#endif /* GLX_GLXEXT_PROTOTYPES */
714typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion); 714typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion);
715#endif 715#endif
716 716
717#ifndef GLX_SGIX_video_resize 717#ifndef GLX_SGIX_video_resize
718#define GLX_SGIX_video_resize 1 718#define GLX_SGIX_video_resize 1
719#ifdef GLX_GLXEXT_PROTOTYPES 719#ifdef GLX_GLXEXT_PROTOTYPES
720extern int glXBindChannelToWindowSGIX (Display *display, int screen, int channel, Window window); 720extern int glXBindChannelToWindowSGIX (Display *display, int screen, int channel, Window window);
721extern int glXChannelRectSGIX (Display *display, int screen, int channel, int x, int y, int w, int h); 721extern int glXChannelRectSGIX (Display *display, int screen, int channel, int x, int y, int w, int h);
722extern int glXQueryChannelRectSGIX (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); 722extern int glXQueryChannelRectSGIX (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
723extern int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); 723extern int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
724extern int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GLenum synctype); 724extern int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GLenum synctype);
725#endif /* GLX_GLXEXT_PROTOTYPES */ 725#endif /* GLX_GLXEXT_PROTOTYPES */
726typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window); 726typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window);
727typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h); 727typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h);
728typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh); 728typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
729typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); 729typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
730typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype); 730typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype);
731#endif 731#endif
732 732
733#ifndef GLX_SGIX_dmbuffer 733#ifndef GLX_SGIX_dmbuffer
734#define GLX_SGIX_dmbuffer 1 734#define GLX_SGIX_dmbuffer 1
735#ifdef _DM_BUFFER_H_ 735#ifdef _DM_BUFFER_H_
736#ifdef GLX_GLXEXT_PROTOTYPES 736#ifdef GLX_GLXEXT_PROTOTYPES
737extern Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); 737extern Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
738#endif /* GLX_GLXEXT_PROTOTYPES */ 738#endif /* GLX_GLXEXT_PROTOTYPES */
739typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); 739typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
740#endif /* _DM_BUFFER_H_ */ 740#endif /* _DM_BUFFER_H_ */
741#endif 741#endif
742 742
743#ifndef GLX_SGIX_swap_group 743#ifndef GLX_SGIX_swap_group
744#define GLX_SGIX_swap_group 1 744#define GLX_SGIX_swap_group 1
745#ifdef GLX_GLXEXT_PROTOTYPES 745#ifdef GLX_GLXEXT_PROTOTYPES
746extern void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member); 746extern void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member);
747#endif /* GLX_GLXEXT_PROTOTYPES */ 747#endif /* GLX_GLXEXT_PROTOTYPES */
748typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); 748typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
749#endif 749#endif
750 750
751#ifndef GLX_SGIX_swap_barrier 751#ifndef GLX_SGIX_swap_barrier
752#define GLX_SGIX_swap_barrier 1 752#define GLX_SGIX_swap_barrier 1
753#ifdef GLX_GLXEXT_PROTOTYPES 753#ifdef GLX_GLXEXT_PROTOTYPES
754extern void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier); 754extern void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier);
755extern Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max); 755extern Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max);
756#endif /* GLX_GLXEXT_PROTOTYPES */ 756#endif /* GLX_GLXEXT_PROTOTYPES */
757typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); 757typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
758typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); 758typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
759#endif 759#endif
760 760
761#ifndef GLX_SUN_get_transparent_index 761#ifndef GLX_SUN_get_transparent_index
762#define GLX_SUN_get_transparent_index 1 762#define GLX_SUN_get_transparent_index 1
763#ifdef GLX_GLXEXT_PROTOTYPES 763#ifdef GLX_GLXEXT_PROTOTYPES
764extern Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); 764extern Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
765#endif /* GLX_GLXEXT_PROTOTYPES */ 765#endif /* GLX_GLXEXT_PROTOTYPES */
766typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); 766typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
767#endif 767#endif
768 768
769#ifndef GLX_MESA_copy_sub_buffer 769#ifndef GLX_MESA_copy_sub_buffer
770#define GLX_MESA_copy_sub_buffer 1 770#define GLX_MESA_copy_sub_buffer 1
771#ifdef GLX_GLXEXT_PROTOTYPES 771#ifdef GLX_GLXEXT_PROTOTYPES
772extern void glXCopySubBufferMESA (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); 772extern void glXCopySubBufferMESA (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
773#endif /* GLX_GLXEXT_PROTOTYPES */ 773#endif /* GLX_GLXEXT_PROTOTYPES */
774typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); 774typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
775#endif 775#endif
776 776
777#ifndef GLX_MESA_pixmap_colormap 777#ifndef GLX_MESA_pixmap_colormap
778#define GLX_MESA_pixmap_colormap 1 778#define GLX_MESA_pixmap_colormap 1
779#ifdef GLX_GLXEXT_PROTOTYPES 779#ifdef GLX_GLXEXT_PROTOTYPES
780extern GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); 780extern GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
781#endif /* GLX_GLXEXT_PROTOTYPES */ 781#endif /* GLX_GLXEXT_PROTOTYPES */
782typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); 782typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
783#endif 783#endif
784 784
785#ifndef GLX_MESA_release_buffers 785#ifndef GLX_MESA_release_buffers
786#define GLX_MESA_release_buffers 1 786#define GLX_MESA_release_buffers 1
787#ifdef GLX_GLXEXT_PROTOTYPES 787#ifdef GLX_GLXEXT_PROTOTYPES
788extern Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable); 788extern Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable);
789#endif /* GLX_GLXEXT_PROTOTYPES */ 789#endif /* GLX_GLXEXT_PROTOTYPES */
790typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable); 790typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable);
791#endif 791#endif
792 792
793#ifndef GLX_MESA_set_3dfx_mode 793#ifndef GLX_MESA_set_3dfx_mode
794#define GLX_MESA_set_3dfx_mode 1 794#define GLX_MESA_set_3dfx_mode 1
795#ifdef GLX_GLXEXT_PROTOTYPES 795#ifdef GLX_GLXEXT_PROTOTYPES
796extern Bool glXSet3DfxModeMESA (int mode); 796extern Bool glXSet3DfxModeMESA (int mode);
797#endif /* GLX_GLXEXT_PROTOTYPES */ 797#endif /* GLX_GLXEXT_PROTOTYPES */
798typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode); 798typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode);
799#endif 799#endif
800 800
801#ifndef GLX_SGIX_visual_select_group 801#ifndef GLX_SGIX_visual_select_group
802#define GLX_SGIX_visual_select_group 1 802#define GLX_SGIX_visual_select_group 1
803#endif 803#endif
804 804
805#ifndef GLX_OML_swap_method 805#ifndef GLX_OML_swap_method
806#define GLX_OML_swap_method 1 806#define GLX_OML_swap_method 1
807#endif 807#endif
808 808
809#ifndef GLX_OML_sync_control 809#ifndef GLX_OML_sync_control
810#define GLX_OML_sync_control 1 810#define GLX_OML_sync_control 1
811#ifdef GLX_GLXEXT_PROTOTYPES 811#ifdef GLX_GLXEXT_PROTOTYPES
812extern Bool glXGetSyncValuesOML (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); 812extern Bool glXGetSyncValuesOML (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
813extern Bool glXGetMscRateOML (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); 813extern Bool glXGetMscRateOML (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
814extern int64_t glXSwapBuffersMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); 814extern int64_t glXSwapBuffersMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
815extern Bool glXWaitForMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); 815extern Bool glXWaitForMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
816extern Bool glXWaitForSbcOML (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); 816extern Bool glXWaitForSbcOML (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
817#endif /* GLX_GLXEXT_PROTOTYPES */ 817#endif /* GLX_GLXEXT_PROTOTYPES */
818typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); 818typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
819typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); 819typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
820typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder); 820typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
821typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); 821typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
822typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); 822typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
823#endif 823#endif
824 824
825#ifndef GLX_NV_float_buffer 825#ifndef GLX_NV_float_buffer
826#define GLX_NV_float_buffer 1 826#define GLX_NV_float_buffer 1
827#endif 827#endif
828 828
829#ifndef GLX_SGIX_hyperpipe 829#ifndef GLX_SGIX_hyperpipe
830#define GLX_SGIX_hyperpipe 1 830#define GLX_SGIX_hyperpipe 1
831 831
832typedef struct { 832typedef struct {
833 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 833 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
834 int networkId; 834 int networkId;
835} GLXHyperpipeNetworkSGIX; 835} GLXHyperpipeNetworkSGIX;
836 836
837typedef struct { 837typedef struct {
838 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 838 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
839 int channel; 839 int channel;
840 unsigned int 840 unsigned int
841 participationType; 841 participationType;
842 int timeSlice; 842 int timeSlice;
843} GLXHyperpipeConfigSGIX; 843} GLXHyperpipeConfigSGIX;
844 844
845typedef struct { 845typedef struct {
846 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 846 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
847 int srcXOrigin, srcYOrigin, srcWidth, srcHeight; 847 int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
848 int destXOrigin, destYOrigin, destWidth, destHeight; 848 int destXOrigin, destYOrigin, destWidth, destHeight;
849} GLXPipeRect; 849} GLXPipeRect;
850 850
851typedef struct { 851typedef struct {
852 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; 852 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
853 int XOrigin, YOrigin, maxHeight, maxWidth; 853 int XOrigin, YOrigin, maxHeight, maxWidth;
854} GLXPipeRectLimits; 854} GLXPipeRectLimits;
855 855
856#ifdef GLX_GLXEXT_PROTOTYPES 856#ifdef GLX_GLXEXT_PROTOTYPES
857extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes); 857extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes);
858extern int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); 858extern int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
859extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes); 859extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes);
860extern int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId); 860extern int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId);
861extern int glXBindHyperpipeSGIX (Display *dpy, int hpId); 861extern int glXBindHyperpipeSGIX (Display *dpy, int hpId);
862extern int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); 862extern int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
863extern int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList); 863extern int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
864extern int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); 864extern int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
865#endif /* GLX_GLXEXT_PROTOTYPES */ 865#endif /* GLX_GLXEXT_PROTOTYPES */
866typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes); 866typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
867typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); 867typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
868typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes); 868typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
869typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); 869typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
870typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); 870typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
871typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); 871typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
872typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList); 872typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
873typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); 873typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
874#endif 874#endif
875 875
876#ifndef GLX_MESA_agp_offset 876#ifndef GLX_MESA_agp_offset
877#define GLX_MESA_agp_offset 1 877#define GLX_MESA_agp_offset 1
878#ifdef GLX_GLXEXT_PROTOTYPES 878#ifdef GLX_GLXEXT_PROTOTYPES
879extern unsigned int glXGetAGPOffsetMESA (const void *pointer); 879extern unsigned int glXGetAGPOffsetMESA (const void *pointer);
880#endif /* GLX_GLXEXT_PROTOTYPES */ 880#endif /* GLX_GLXEXT_PROTOTYPES */
881typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer); 881typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer);
882#endif 882#endif
883 883
884#ifndef GLX_EXT_fbconfig_packed_float 884#ifndef GLX_EXT_fbconfig_packed_float
885#define GLX_EXT_fbconfig_packed_float 1 885#define GLX_EXT_fbconfig_packed_float 1
886#endif 886#endif
887 887
888#ifndef GLX_EXT_framebuffer_sRGB 888#ifndef GLX_EXT_framebuffer_sRGB
889#define GLX_EXT_framebuffer_sRGB 1 889#define GLX_EXT_framebuffer_sRGB 1
890#endif 890#endif
891 891
892#ifndef GLX_EXT_texture_from_pixmap 892#ifndef GLX_EXT_texture_from_pixmap
893#define GLX_EXT_texture_from_pixmap 1 893#define GLX_EXT_texture_from_pixmap 1
894#ifdef GLX_GLXEXT_PROTOTYPES 894#ifdef GLX_GLXEXT_PROTOTYPES
895extern void glXBindTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list); 895extern void glXBindTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
896extern void glXReleaseTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer); 896extern void glXReleaseTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer);
897#endif /* GLX_GLXEXT_PROTOTYPES */ 897#endif /* GLX_GLXEXT_PROTOTYPES */
898typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list); 898typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
899typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer); 899typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer);
900#endif 900#endif
901 901
902#ifndef GLX_NV_present_video 902#ifndef GLX_NV_present_video
903#define GLX_NV_present_video 1 903#define GLX_NV_present_video 1
904#ifdef GLX_GLXEXT_PROTOTYPES 904#ifdef GLX_GLXEXT_PROTOTYPES
905extern unsigned int * glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements); 905extern unsigned int * glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
906extern int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list); 906extern int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
907#endif /* GLX_GLXEXT_PROTOTYPES */ 907#endif /* GLX_GLXEXT_PROTOTYPES */
908typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements); 908typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
909typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list); 909typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
910#endif 910#endif
911 911
912#ifndef GLX_NV_video_output 912#ifndef GLX_NV_video_output
913#define GLX_NV_video_output 1 913#define GLX_NV_video_output 1
914#ifdef GLX_GLXEXT_PROTOTYPES 914#ifdef GLX_GLXEXT_PROTOTYPES
915extern int glXGetVideoDeviceNV (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice); 915extern int glXGetVideoDeviceNV (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
916extern int glXReleaseVideoDeviceNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice); 916extern int glXReleaseVideoDeviceNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
917extern int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); 917extern int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
918extern int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf); 918extern int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf);
919extern int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); 919extern int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
920extern int glXGetVideoInfoNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); 920extern int glXGetVideoInfoNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
921#endif /* GLX_GLXEXT_PROTOTYPES */ 921#endif /* GLX_GLXEXT_PROTOTYPES */
922typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice); 922typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
923typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice); 923typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
924typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer); 924typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
925typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf); 925typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf);
926typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); 926typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
927typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo); 927typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
928#endif 928#endif
929 929
930#ifndef GLX_NV_swap_group 930#ifndef GLX_NV_swap_group
931#define GLX_NV_swap_group 1 931#define GLX_NV_swap_group 1
932#ifdef GLX_GLXEXT_PROTOTYPES 932#ifdef GLX_GLXEXT_PROTOTYPES
933extern Bool glXJoinSwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint group); 933extern Bool glXJoinSwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint group);
934extern Bool glXBindSwapBarrierNV (Display *dpy, GLuint group, GLuint barrier); 934extern Bool glXBindSwapBarrierNV (Display *dpy, GLuint group, GLuint barrier);
935extern Bool glXQuerySwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier); 935extern Bool glXQuerySwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
936extern Bool glXQueryMaxSwapGroupsNV (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers); 936extern Bool glXQueryMaxSwapGroupsNV (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
937extern Bool glXQueryFrameCountNV (Display *dpy, int screen, GLuint *count); 937extern Bool glXQueryFrameCountNV (Display *dpy, int screen, GLuint *count);
938extern Bool glXResetFrameCountNV (Display *dpy, int screen); 938extern Bool glXResetFrameCountNV (Display *dpy, int screen);
939#endif /* GLX_GLXEXT_PROTOTYPES */ 939#endif /* GLX_GLXEXT_PROTOTYPES */
940typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group); 940typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group);
941typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuint barrier); 941typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuint barrier);
942typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier); 942typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
943typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers); 943typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
944typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint *count); 944typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint *count);
945typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen); 945typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen);
946#endif 946#endif
947 947
948#ifndef GLX_NV_video_capture 948#ifndef GLX_NV_video_capture
949#define GLX_NV_video_capture 1 949#define GLX_NV_video_capture 1
950#ifdef GLX_GLXEXT_PROTOTYPES 950#ifdef GLX_GLXEXT_PROTOTYPES
951extern int glXBindVideoCaptureDeviceNV (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); 951extern int glXBindVideoCaptureDeviceNV (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
952extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements); 952extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
953extern void glXLockVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device); 953extern void glXLockVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device);
954extern int glXQueryVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value); 954extern int glXQueryVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
955extern void glXReleaseVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device); 955extern void glXReleaseVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device);
956#endif /* GLX_GLXEXT_PROTOTYPES */ 956#endif /* GLX_GLXEXT_PROTOTYPES */
957typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device); 957typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
958typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements); 958typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
959typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device); 959typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device);
960typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value); 960typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
961typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device); 961typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device);
962#endif 962#endif
963 963
964#ifndef GLX_EXT_swap_control 964#ifndef GLX_EXT_swap_control
965#define GLX_EXT_swap_control 1 965#define GLX_EXT_swap_control 1
966#ifdef GLX_GLXEXT_PROTOTYPES 966#ifdef GLX_GLXEXT_PROTOTYPES
967extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval); 967extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
968#endif /* GLX_GLXEXT_PROTOTYPES */ 968#endif /* GLX_GLXEXT_PROTOTYPES */
969typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval); 969typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
970#endif 970#endif
971 971
972#ifndef GLX_NV_copy_image 972#ifndef GLX_NV_copy_image
973#define GLX_NV_copy_image 1 973#define GLX_NV_copy_image 1
974#ifdef GLX_GLXEXT_PROTOTYPES 974#ifdef GLX_GLXEXT_PROTOTYPES
975extern void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); 975extern void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
976#endif /* GLX_GLXEXT_PROTOTYPES */ 976#endif /* GLX_GLXEXT_PROTOTYPES */
977typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); 977typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
978#endif 978#endif
979 979
980#ifndef GLX_INTEL_swap_event 980#ifndef GLX_INTEL_swap_event
981#define GLX_INTEL_swap_event 1 981#define GLX_INTEL_swap_event 1
982#endif 982#endif
983 983
984#ifndef GLX_NV_multisample_coverage 984#ifndef GLX_NV_multisample_coverage
985#define GLX_NV_multisample_coverage 1 985#define GLX_NV_multisample_coverage 1
986#endif 986#endif
987 987
988 988
989#ifdef __cplusplus 989#ifdef __cplusplus
990} 990}
991#endif 991#endif
992 992
993#endif 993#endif