The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
glxew.h
Go to the documentation of this file.
1 /*
2 ** The OpenGL Extension Wrangler Library
3 ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
4 ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
5 ** Copyright (C) 2002, Lev Povalahev
6 ** All rights reserved.
7 **
8 ** Redistribution and use in source and binary forms, with or without
9 ** modification, are permitted provided that the following conditions are met:
10 **
11 ** * Redistributions of source code must retain the above copyright notice,
12 ** this list of conditions and the following disclaimer.
13 ** * Redistributions in binary form must reproduce the above copyright notice,
14 ** this list of conditions and the following disclaimer in the documentation
15 ** and/or other materials provided with the distribution.
16 ** * The name of the author may be used to endorse or promote products
17 ** derived from this software without specific prior written permission.
18 **
19 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20 ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
23 ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 ** THE POSSIBILITY OF SUCH DAMAGE.
30 */
31 
32 /*
33  * Mesa 3-D graphics library
34  * Version: 7.0
35  *
36  * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
37  *
38  * Permission is hereby granted, free of charge, to any person obtaining a
39  * copy of this software and associated documentation files (the "Software"),
40  * to deal in the Software without restriction, including without limitation
41  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
42  * and/or sell copies of the Software, and to permit persons to whom the
43  * Software is furnished to do so, subject to the following conditions:
44  *
45  * The above copyright notice and this permission notice shall be included
46  * in all copies or substantial portions of the Software.
47  *
48  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
49  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
50  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
51  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
52  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
53  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
54  */
55 
56 /*
57 ** Copyright (c) 2007 The Khronos Group Inc.
58 **
59 ** Permission is hereby granted, free of charge, to any person obtaining a
60 ** copy of this software and/or associated documentation files (the
61 ** "Materials"), to deal in the Materials without restriction, including
62 ** without limitation the rights to use, copy, modify, merge, publish,
63 ** distribute, sublicense, and/or sell copies of the Materials, and to
64 ** permit persons to whom the Materials are furnished to do so, subject to
65 ** the following conditions:
66 **
67 ** The above copyright notice and this permission notice shall be included
68 ** in all copies or substantial portions of the Materials.
69 **
70 ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
71 ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
72 ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
73 ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
74 ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
75 ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
76 ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
77 */
78 
79 #ifndef __glxew_h__
80 #define __glxew_h__
81 #define __GLXEW_H__
82 
83 #ifdef __glxext_h_
84 #error glxext.h included before glxew.h
85 #endif
86 
87 #if defined(GLX_H) || defined(__GLX_glx_h__) || defined(__glx_h__)
88 #error glx.h included before glxew.h
89 #endif
90 
91 #define __glxext_h_
92 
93 #define GLX_H
94 #define __GLX_glx_h__
95 #define __glx_h__
96 
97 #include <X11/Xlib.h>
98 #include <X11/Xutil.h>
99 #include <X11/Xmd.h>
100 #include "glew.h"
101 
102 #ifdef __cplusplus
103 extern "C" {
104 #endif
105 
106 /* ---------------------------- GLX_VERSION_1_0 --------------------------- */
107 
108 #ifndef GLX_VERSION_1_0
109 #define GLX_VERSION_1_0 1
110 
111 #define GLX_USE_GL 1
112 #define GLX_BUFFER_SIZE 2
113 #define GLX_LEVEL 3
114 #define GLX_RGBA 4
115 #define GLX_DOUBLEBUFFER 5
116 #define GLX_STEREO 6
117 #define GLX_AUX_BUFFERS 7
118 #define GLX_RED_SIZE 8
119 #define GLX_GREEN_SIZE 9
120 #define GLX_BLUE_SIZE 10
121 #define GLX_ALPHA_SIZE 11
122 #define GLX_DEPTH_SIZE 12
123 #define GLX_STENCIL_SIZE 13
124 #define GLX_ACCUM_RED_SIZE 14
125 #define GLX_ACCUM_GREEN_SIZE 15
126 #define GLX_ACCUM_BLUE_SIZE 16
127 #define GLX_ACCUM_ALPHA_SIZE 17
128 #define GLX_BAD_SCREEN 1
129 #define GLX_BAD_ATTRIBUTE 2
130 #define GLX_NO_EXTENSION 3
131 #define GLX_BAD_VISUAL 4
132 #define GLX_BAD_CONTEXT 5
133 #define GLX_BAD_VALUE 6
134 #define GLX_BAD_ENUM 7
135 
136 typedef XID GLXDrawable;
137 typedef XID GLXPixmap;
138 #ifdef __sun
139 typedef struct __glXContextRec *GLXContext;
140 #else
141 typedef struct __GLXcontextRec *GLXContext;
142 #endif
143 
144 typedef unsigned int GLXVideoDeviceNV;
145 
146 extern Bool glXQueryExtension (Display *dpy, int *errorBase, int *eventBase);
147 extern Bool glXQueryVersion (Display *dpy, int *major, int *minor);
148 extern int glXGetConfig (Display *dpy, XVisualInfo *vis, int attrib, int *value);
149 extern XVisualInfo* glXChooseVisual (Display *dpy, int screen, int *attribList);
150 extern GLXPixmap glXCreateGLXPixmap (Display *dpy, XVisualInfo *vis, Pixmap pixmap);
151 extern void glXDestroyGLXPixmap (Display *dpy, GLXPixmap pix);
152 extern GLXContext glXCreateContext (Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct);
153 extern void glXDestroyContext (Display *dpy, GLXContext ctx);
154 extern Bool glXIsDirect (Display *dpy, GLXContext ctx);
155 extern void glXCopyContext (Display *dpy, GLXContext src, GLXContext dst, GLulong mask);
156 extern Bool glXMakeCurrent (Display *dpy, GLXDrawable drawable, GLXContext ctx);
157 extern GLXContext glXGetCurrentContext (void);
158 extern GLXDrawable glXGetCurrentDrawable (void);
159 extern void glXWaitGL (void);
160 extern void glXWaitX (void);
161 extern void glXSwapBuffers (Display *dpy, GLXDrawable drawable);
162 extern void glXUseXFont (Font font, int first, int count, int listBase);
163 
164 #define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0)
165 
166 #endif /* GLX_VERSION_1_0 */
167 
168 /* ---------------------------- GLX_VERSION_1_1 --------------------------- */
169 
170 #ifndef GLX_VERSION_1_1
171 #define GLX_VERSION_1_1
172 
173 #define GLX_VENDOR 0x1
174 #define GLX_VERSION 0x2
175 #define GLX_EXTENSIONS 0x3
176 
177 extern const char* glXQueryExtensionsString (Display *dpy, int screen);
178 extern const char* glXGetClientString (Display *dpy, int name);
179 extern const char* glXQueryServerString (Display *dpy, int screen, int name);
180 
181 #define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1)
182 
183 #endif /* GLX_VERSION_1_1 */
184 
185 /* ---------------------------- GLX_VERSION_1_2 ---------------------------- */
186 
187 #ifndef GLX_VERSION_1_2
188 #define GLX_VERSION_1_2 1
189 
190 typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
191 
192 #define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay)
193 
194 #define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2)
195 
196 #endif /* GLX_VERSION_1_2 */
197 
198 /* ---------------------------- GLX_VERSION_1_3 ---------------------------- */
199 
200 #ifndef GLX_VERSION_1_3
201 #define GLX_VERSION_1_3 1
202 
203 #define GLX_RGBA_BIT 0x00000001
204 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001
205 #define GLX_WINDOW_BIT 0x00000001
206 #define GLX_COLOR_INDEX_BIT 0x00000002
207 #define GLX_PIXMAP_BIT 0x00000002
208 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002
209 #define GLX_BACK_LEFT_BUFFER_BIT 0x00000004
210 #define GLX_PBUFFER_BIT 0x00000004
211 #define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008
212 #define GLX_AUX_BUFFERS_BIT 0x00000010
213 #define GLX_CONFIG_CAVEAT 0x20
214 #define GLX_DEPTH_BUFFER_BIT 0x00000020
215 #define GLX_X_VISUAL_TYPE 0x22
216 #define GLX_TRANSPARENT_TYPE 0x23
217 #define GLX_TRANSPARENT_INDEX_VALUE 0x24
218 #define GLX_TRANSPARENT_RED_VALUE 0x25
219 #define GLX_TRANSPARENT_GREEN_VALUE 0x26
220 #define GLX_TRANSPARENT_BLUE_VALUE 0x27
221 #define GLX_TRANSPARENT_ALPHA_VALUE 0x28
222 #define GLX_STENCIL_BUFFER_BIT 0x00000040
223 #define GLX_ACCUM_BUFFER_BIT 0x00000080
224 #define GLX_NONE 0x8000
225 #define GLX_SLOW_CONFIG 0x8001
226 #define GLX_TRUE_COLOR 0x8002
227 #define GLX_DIRECT_COLOR 0x8003
228 #define GLX_PSEUDO_COLOR 0x8004
229 #define GLX_STATIC_COLOR 0x8005
230 #define GLX_GRAY_SCALE 0x8006
231 #define GLX_STATIC_GRAY 0x8007
232 #define GLX_TRANSPARENT_RGB 0x8008
233 #define GLX_TRANSPARENT_INDEX 0x8009
234 #define GLX_VISUAL_ID 0x800B
235 #define GLX_SCREEN 0x800C
236 #define GLX_NON_CONFORMANT_CONFIG 0x800D
237 #define GLX_DRAWABLE_TYPE 0x8010
238 #define GLX_RENDER_TYPE 0x8011
239 #define GLX_X_RENDERABLE 0x8012
240 #define GLX_FBCONFIG_ID 0x8013
241 #define GLX_RGBA_TYPE 0x8014
242 #define GLX_COLOR_INDEX_TYPE 0x8015
243 #define GLX_MAX_PBUFFER_WIDTH 0x8016
244 #define GLX_MAX_PBUFFER_HEIGHT 0x8017
245 #define GLX_MAX_PBUFFER_PIXELS 0x8018
246 #define GLX_PRESERVED_CONTENTS 0x801B
247 #define GLX_LARGEST_PBUFFER 0x801C
248 #define GLX_WIDTH 0x801D
249 #define GLX_HEIGHT 0x801E
250 #define GLX_EVENT_MASK 0x801F
251 #define GLX_DAMAGED 0x8020
252 #define GLX_SAVED 0x8021
253 #define GLX_WINDOW 0x8022
254 #define GLX_PBUFFER 0x8023
255 #define GLX_PBUFFER_HEIGHT 0x8040
256 #define GLX_PBUFFER_WIDTH 0x8041
257 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000
258 #define GLX_DONT_CARE 0xFFFFFFFF
259 
260 typedef XID GLXFBConfigID;
261 typedef XID GLXPbuffer;
262 typedef XID GLXWindow;
263 typedef struct __GLXFBConfigRec *GLXFBConfig;
264 
265 typedef struct {
267  int draw_type;
268  unsigned long serial;
269  Bool send_event;
270  Display *display;
271  GLXDrawable drawable;
272  unsigned int buffer_mask;
273  unsigned int aux_buffer;
274  int x, y;
275  int width, height;
276  int count;
278 typedef union __GLXEvent {
280  long pad[24];
281 } GLXEvent;
282 
283 typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
284 typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
285 typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
286 typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
287 typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
288 typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
289 typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
290 typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
292 typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
293 typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
294 typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
295 typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
296 typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
297 typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
298 typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
299 typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
300 
301 #define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig)
302 #define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext)
303 #define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer)
304 #define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap)
305 #define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow)
306 #define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer)
307 #define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap)
308 #define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow)
309 #define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable)
310 #define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib)
311 #define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs)
312 #define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent)
313 #define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig)
314 #define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent)
315 #define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext)
316 #define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable)
317 #define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent)
318 
319 #define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3)
320 
321 #endif /* GLX_VERSION_1_3 */
322 
323 /* ---------------------------- GLX_VERSION_1_4 ---------------------------- */
324 
325 #ifndef GLX_VERSION_1_4
326 #define GLX_VERSION_1_4 1
327 
328 #define GLX_SAMPLE_BUFFERS 100000
329 #define GLX_SAMPLES 100001
330 
331 extern void ( * glXGetProcAddress (const GLubyte *procName)) (void);
332 
333 #define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4)
334 
335 #endif /* GLX_VERSION_1_4 */
336 
337 /* -------------------------- GLX_3DFX_multisample ------------------------- */
338 
339 #ifndef GLX_3DFX_multisample
340 #define GLX_3DFX_multisample 1
341 
342 #define GLX_SAMPLE_BUFFERS_3DFX 0x8050
343 #define GLX_SAMPLES_3DFX 0x8051
344 
345 #define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample)
346 
347 #endif /* GLX_3DFX_multisample */
348 
349 /* ------------------------ GLX_AMD_gpu_association ------------------------ */
350 
351 #ifndef GLX_AMD_gpu_association
352 #define GLX_AMD_gpu_association 1
353 
354 #define GLX_GPU_VENDOR_AMD 0x1F00
355 #define GLX_GPU_RENDERER_STRING_AMD 0x1F01
356 #define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
357 #define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
358 #define GLX_GPU_RAM_AMD 0x21A3
359 #define GLX_GPU_CLOCK_AMD 0x21A4
360 #define GLX_GPU_NUM_PIPES_AMD 0x21A5
361 #define GLX_GPU_NUM_SIMD_AMD 0x21A6
362 #define GLX_GPU_NUM_RB_AMD 0x21A7
363 #define GLX_GPU_NUM_SPI_AMD 0x21A8
364 
365 #define GLXEW_AMD_gpu_association GLXEW_GET_VAR(__GLXEW_AMD_gpu_association)
366 
367 #endif /* GLX_AMD_gpu_association */
368 
369 /* ------------------------- GLX_ARB_create_context ------------------------ */
370 
371 #ifndef GLX_ARB_create_context
372 #define GLX_ARB_create_context 1
373 
374 #define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001
375 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002
376 #define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
377 #define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
378 #define GLX_CONTEXT_FLAGS_ARB 0x2094
379 
380 typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
381 
382 #define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB)
383 
384 #define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context)
385 
386 #endif /* GLX_ARB_create_context */
387 
388 /* --------------------- GLX_ARB_create_context_profile -------------------- */
389 
390 #ifndef GLX_ARB_create_context_profile
391 #define GLX_ARB_create_context_profile 1
392 
393 #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
394 #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
395 #define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
396 
397 #define GLXEW_ARB_create_context_profile GLXEW_GET_VAR(__GLXEW_ARB_create_context_profile)
398 
399 #endif /* GLX_ARB_create_context_profile */
400 
401 /* ------------------- GLX_ARB_create_context_robustness ------------------- */
402 
403 #ifndef GLX_ARB_create_context_robustness
404 #define GLX_ARB_create_context_robustness 1
405 
406 #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
407 #define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
408 #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
409 #define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
410 
411 #define GLXEW_ARB_create_context_robustness GLXEW_GET_VAR(__GLXEW_ARB_create_context_robustness)
412 
413 #endif /* GLX_ARB_create_context_robustness */
414 
415 /* ------------------------- GLX_ARB_fbconfig_float ------------------------ */
416 
417 #ifndef GLX_ARB_fbconfig_float
418 #define GLX_ARB_fbconfig_float 1
419 
420 #define GLX_RGBA_FLOAT_BIT 0x00000004
421 #define GLX_RGBA_FLOAT_TYPE 0x20B9
422 
423 #define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float)
424 
425 #endif /* GLX_ARB_fbconfig_float */
426 
427 /* ------------------------ GLX_ARB_framebuffer_sRGB ----------------------- */
428 
429 #ifndef GLX_ARB_framebuffer_sRGB
430 #define GLX_ARB_framebuffer_sRGB 1
431 
432 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
433 
434 #define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB)
435 
436 #endif /* GLX_ARB_framebuffer_sRGB */
437 
438 /* ------------------------ GLX_ARB_get_proc_address ----------------------- */
439 
440 #ifndef GLX_ARB_get_proc_address
441 #define GLX_ARB_get_proc_address 1
442 
443 extern void ( * glXGetProcAddressARB (const GLubyte *procName)) (void);
444 
445 #define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address)
446 
447 #endif /* GLX_ARB_get_proc_address */
448 
449 /* -------------------------- GLX_ARB_multisample -------------------------- */
450 
451 #ifndef GLX_ARB_multisample
452 #define GLX_ARB_multisample 1
453 
454 #define GLX_SAMPLE_BUFFERS_ARB 100000
455 #define GLX_SAMPLES_ARB 100001
456 
457 #define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample)
458 
459 #endif /* GLX_ARB_multisample */
460 
461 /* ---------------------- GLX_ARB_vertex_buffer_object --------------------- */
462 
463 #ifndef GLX_ARB_vertex_buffer_object
464 #define GLX_ARB_vertex_buffer_object 1
465 
466 #define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
467 
468 #define GLXEW_ARB_vertex_buffer_object GLXEW_GET_VAR(__GLXEW_ARB_vertex_buffer_object)
469 
470 #endif /* GLX_ARB_vertex_buffer_object */
471 
472 /* ----------------------- GLX_ATI_pixel_format_float ---------------------- */
473 
474 #ifndef GLX_ATI_pixel_format_float
475 #define GLX_ATI_pixel_format_float 1
476 
477 #define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
478 
479 #define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float)
480 
481 #endif /* GLX_ATI_pixel_format_float */
482 
483 /* ------------------------- GLX_ATI_render_texture ------------------------ */
484 
485 #ifndef GLX_ATI_render_texture
486 #define GLX_ATI_render_texture 1
487 
488 #define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800
489 #define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801
490 #define GLX_TEXTURE_FORMAT_ATI 0x9802
491 #define GLX_TEXTURE_TARGET_ATI 0x9803
492 #define GLX_MIPMAP_TEXTURE_ATI 0x9804
493 #define GLX_TEXTURE_RGB_ATI 0x9805
494 #define GLX_TEXTURE_RGBA_ATI 0x9806
495 #define GLX_NO_TEXTURE_ATI 0x9807
496 #define GLX_TEXTURE_CUBE_MAP_ATI 0x9808
497 #define GLX_TEXTURE_1D_ATI 0x9809
498 #define GLX_TEXTURE_2D_ATI 0x980A
499 #define GLX_MIPMAP_LEVEL_ATI 0x980B
500 #define GLX_CUBE_MAP_FACE_ATI 0x980C
501 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D
502 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E
503 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F
504 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810
505 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811
506 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812
507 #define GLX_FRONT_LEFT_ATI 0x9813
508 #define GLX_FRONT_RIGHT_ATI 0x9814
509 #define GLX_BACK_LEFT_ATI 0x9815
510 #define GLX_BACK_RIGHT_ATI 0x9816
511 #define GLX_AUX0_ATI 0x9817
512 #define GLX_AUX1_ATI 0x9818
513 #define GLX_AUX2_ATI 0x9819
514 #define GLX_AUX3_ATI 0x981A
515 #define GLX_AUX4_ATI 0x981B
516 #define GLX_AUX5_ATI 0x981C
517 #define GLX_AUX6_ATI 0x981D
518 #define GLX_AUX7_ATI 0x981E
519 #define GLX_AUX8_ATI 0x981F
520 #define GLX_AUX9_ATI 0x9820
521 #define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821
522 #define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822
523 
524 typedef void ( * PFNGLXBINDTEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
525 typedef void ( * PFNGLXDRAWABLEATTRIBATIPROC) (Display *dpy, GLXDrawable draw, const int *attrib_list);
526 typedef void ( * PFNGLXRELEASETEXIMAGEATIPROC) (Display *dpy, GLXPbuffer pbuf, int buffer);
527 
528 #define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI)
529 #define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI)
530 #define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI)
531 
532 #define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture)
533 
534 #endif /* GLX_ATI_render_texture */
535 
536 /* ------------------- GLX_EXT_create_context_es2_profile ------------------ */
537 
538 #ifndef GLX_EXT_create_context_es2_profile
539 #define GLX_EXT_create_context_es2_profile 1
540 
541 #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
542 
543 #define GLXEW_EXT_create_context_es2_profile GLXEW_GET_VAR(__GLXEW_EXT_create_context_es2_profile)
544 
545 #endif /* GLX_EXT_create_context_es2_profile */
546 
547 /* --------------------- GLX_EXT_fbconfig_packed_float --------------------- */
548 
549 #ifndef GLX_EXT_fbconfig_packed_float
550 #define GLX_EXT_fbconfig_packed_float 1
551 
552 #define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
553 #define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
554 
555 #define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float)
556 
557 #endif /* GLX_EXT_fbconfig_packed_float */
558 
559 /* ------------------------ GLX_EXT_framebuffer_sRGB ----------------------- */
560 
561 #ifndef GLX_EXT_framebuffer_sRGB
562 #define GLX_EXT_framebuffer_sRGB 1
563 
564 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
565 
566 #define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB)
567 
568 #endif /* GLX_EXT_framebuffer_sRGB */
569 
570 /* ------------------------- GLX_EXT_import_context ------------------------ */
571 
572 #ifndef GLX_EXT_import_context
573 #define GLX_EXT_import_context 1
574 
575 #define GLX_SHARE_CONTEXT_EXT 0x800A
576 #define GLX_VISUAL_ID_EXT 0x800B
577 #define GLX_SCREEN_EXT 0x800C
578 
579 typedef XID GLXContextID;
580 
581 typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display* dpy, GLXContext context);
582 typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
583 typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display* dpy, GLXContextID contextID);
584 typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display* dpy, GLXContext context, int attribute,int *value);
585 
586 #define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT)
587 #define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT)
588 #define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT)
589 #define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT)
590 
591 #define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context)
592 
593 #endif /* GLX_EXT_import_context */
594 
595 /* -------------------------- GLX_EXT_scene_marker ------------------------- */
596 
597 #ifndef GLX_EXT_scene_marker
598 #define GLX_EXT_scene_marker 1
599 
600 #define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker)
601 
602 #endif /* GLX_EXT_scene_marker */
603 
604 /* -------------------------- GLX_EXT_swap_control ------------------------- */
605 
606 #ifndef GLX_EXT_swap_control
607 #define GLX_EXT_swap_control 1
608 
609 #define GLX_SWAP_INTERVAL_EXT 0x20F1
610 #define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
611 
612 typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display* dpy, GLXDrawable drawable, int interval);
613 
614 #define glXSwapIntervalEXT GLXEW_GET_FUN(__glewXSwapIntervalEXT)
615 
616 #define GLXEW_EXT_swap_control GLXEW_GET_VAR(__GLXEW_EXT_swap_control)
617 
618 #endif /* GLX_EXT_swap_control */
619 
620 /* ---------------------- GLX_EXT_texture_from_pixmap ---------------------- */
621 
622 #ifndef GLX_EXT_texture_from_pixmap
623 #define GLX_EXT_texture_from_pixmap 1
624 
625 #define GLX_TEXTURE_1D_BIT_EXT 0x00000001
626 #define GLX_TEXTURE_2D_BIT_EXT 0x00000002
627 #define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
628 #define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
629 #define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
630 #define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
631 #define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
632 #define GLX_Y_INVERTED_EXT 0x20D4
633 #define GLX_TEXTURE_FORMAT_EXT 0x20D5
634 #define GLX_TEXTURE_TARGET_EXT 0x20D6
635 #define GLX_MIPMAP_TEXTURE_EXT 0x20D7
636 #define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
637 #define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
638 #define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
639 #define GLX_TEXTURE_1D_EXT 0x20DB
640 #define GLX_TEXTURE_2D_EXT 0x20DC
641 #define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
642 #define GLX_FRONT_LEFT_EXT 0x20DE
643 #define GLX_FRONT_RIGHT_EXT 0x20DF
644 #define GLX_BACK_LEFT_EXT 0x20E0
645 #define GLX_BACK_RIGHT_EXT 0x20E1
646 #define GLX_AUX0_EXT 0x20E2
647 #define GLX_AUX1_EXT 0x20E3
648 #define GLX_AUX2_EXT 0x20E4
649 #define GLX_AUX3_EXT 0x20E5
650 #define GLX_AUX4_EXT 0x20E6
651 #define GLX_AUX5_EXT 0x20E7
652 #define GLX_AUX6_EXT 0x20E8
653 #define GLX_AUX7_EXT 0x20E9
654 #define GLX_AUX8_EXT 0x20EA
655 #define GLX_AUX9_EXT 0x20EB
656 
657 typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list);
658 typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display* display, GLXDrawable drawable, int buffer);
659 
660 #define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT)
661 #define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT)
662 
663 #define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap)
664 
665 #endif /* GLX_EXT_texture_from_pixmap */
666 
667 /* -------------------------- GLX_EXT_visual_info -------------------------- */
668 
669 #ifndef GLX_EXT_visual_info
670 #define GLX_EXT_visual_info 1
671 
672 #define GLX_X_VISUAL_TYPE_EXT 0x22
673 #define GLX_TRANSPARENT_TYPE_EXT 0x23
674 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
675 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
676 #define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
677 #define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
678 #define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
679 #define GLX_NONE_EXT 0x8000
680 #define GLX_TRUE_COLOR_EXT 0x8002
681 #define GLX_DIRECT_COLOR_EXT 0x8003
682 #define GLX_PSEUDO_COLOR_EXT 0x8004
683 #define GLX_STATIC_COLOR_EXT 0x8005
684 #define GLX_GRAY_SCALE_EXT 0x8006
685 #define GLX_STATIC_GRAY_EXT 0x8007
686 #define GLX_TRANSPARENT_RGB_EXT 0x8008
687 #define GLX_TRANSPARENT_INDEX_EXT 0x8009
688 
689 #define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info)
690 
691 #endif /* GLX_EXT_visual_info */
692 
693 /* ------------------------- GLX_EXT_visual_rating ------------------------- */
694 
695 #ifndef GLX_EXT_visual_rating
696 #define GLX_EXT_visual_rating 1
697 
698 #define GLX_VISUAL_CAVEAT_EXT 0x20
699 #define GLX_SLOW_VISUAL_EXT 0x8001
700 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
701 
702 #define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating)
703 
704 #endif /* GLX_EXT_visual_rating */
705 
706 /* -------------------------- GLX_INTEL_swap_event ------------------------- */
707 
708 #ifndef GLX_INTEL_swap_event
709 #define GLX_INTEL_swap_event 1
710 
711 #define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
712 #define GLX_COPY_COMPLETE_INTEL 0x8181
713 #define GLX_FLIP_COMPLETE_INTEL 0x8182
714 #define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
715 
716 #define GLXEW_INTEL_swap_event GLXEW_GET_VAR(__GLXEW_INTEL_swap_event)
717 
718 #endif /* GLX_INTEL_swap_event */
719 
720 /* -------------------------- GLX_MESA_agp_offset -------------------------- */
721 
722 #ifndef GLX_MESA_agp_offset
723 #define GLX_MESA_agp_offset 1
724 
725 typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void* pointer);
726 
727 #define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA)
728 
729 #define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset)
730 
731 #endif /* GLX_MESA_agp_offset */
732 
733 /* ------------------------ GLX_MESA_copy_sub_buffer ----------------------- */
734 
735 #ifndef GLX_MESA_copy_sub_buffer
736 #define GLX_MESA_copy_sub_buffer 1
737 
738 typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height);
739 
740 #define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA)
741 
742 #define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer)
743 
744 #endif /* GLX_MESA_copy_sub_buffer */
745 
746 /* ------------------------ GLX_MESA_pixmap_colormap ----------------------- */
747 
748 #ifndef GLX_MESA_pixmap_colormap
749 #define GLX_MESA_pixmap_colormap 1
750 
751 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
752 
753 #define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA)
754 
755 #define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap)
756 
757 #endif /* GLX_MESA_pixmap_colormap */
758 
759 /* ------------------------ GLX_MESA_release_buffers ----------------------- */
760 
761 #ifndef GLX_MESA_release_buffers
762 #define GLX_MESA_release_buffers 1
763 
764 typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display* dpy, GLXDrawable d);
765 
766 #define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA)
767 
768 #define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers)
769 
770 #endif /* GLX_MESA_release_buffers */
771 
772 /* ------------------------- GLX_MESA_set_3dfx_mode ------------------------ */
773 
774 #ifndef GLX_MESA_set_3dfx_mode
775 #define GLX_MESA_set_3dfx_mode 1
776 
777 #define GLX_3DFX_WINDOW_MODE_MESA 0x1
778 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
779 
781 
782 #define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA)
783 
784 #define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode)
785 
786 #endif /* GLX_MESA_set_3dfx_mode */
787 
788 /* --------------------------- GLX_NV_copy_image --------------------------- */
789 
790 #ifndef GLX_NV_copy_image
791 #define GLX_NV_copy_image 1
792 
794 
795 #define glXCopyImageSubDataNV GLXEW_GET_FUN(__glewXCopyImageSubDataNV)
796 
797 #define GLXEW_NV_copy_image GLXEW_GET_VAR(__GLXEW_NV_copy_image)
798 
799 #endif /* GLX_NV_copy_image */
800 
801 /* -------------------------- GLX_NV_float_buffer -------------------------- */
802 
803 #ifndef GLX_NV_float_buffer
804 #define GLX_NV_float_buffer 1
805 
806 #define GLX_FLOAT_COMPONENTS_NV 0x20B0
807 
808 #define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer)
809 
810 #endif /* GLX_NV_float_buffer */
811 
812 /* ---------------------- GLX_NV_multisample_coverage ---------------------- */
813 
814 #ifndef GLX_NV_multisample_coverage
815 #define GLX_NV_multisample_coverage 1
816 
817 #define GLX_COLOR_SAMPLES_NV 0x20B3
818 #define GLX_COVERAGE_SAMPLES_NV 100001
819 
820 #define GLXEW_NV_multisample_coverage GLXEW_GET_VAR(__GLXEW_NV_multisample_coverage)
821 
822 #endif /* GLX_NV_multisample_coverage */
823 
824 /* -------------------------- GLX_NV_present_video ------------------------- */
825 
826 #ifndef GLX_NV_present_video
827 #define GLX_NV_present_video 1
828 
829 #define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
830 
831 typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display* dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
832 typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
833 
834 #define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV)
835 #define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV)
836 
837 #define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video)
838 
839 #endif /* GLX_NV_present_video */
840 
841 /* --------------------------- GLX_NV_swap_group --------------------------- */
842 
843 #ifndef GLX_NV_swap_group
844 #define GLX_NV_swap_group 1
845 
846 typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display* dpy, GLuint group, GLuint barrier);
847 typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint group);
848 typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display* dpy, int screen, GLuint *count);
849 typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display* dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
850 typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display* dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
851 typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display* dpy, int screen);
852 
853 #define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV)
854 #define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV)
855 #define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV)
856 #define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV)
857 #define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV)
858 #define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV)
859 
860 #define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group)
861 
862 #endif /* GLX_NV_swap_group */
863 
864 /* ----------------------- GLX_NV_vertex_array_range ----------------------- */
865 
866 #ifndef GLX_NV_vertex_array_range
867 #define GLX_NV_vertex_array_range 1
868 
869 typedef void * ( * PFNGLXALLOCATEMEMORYNVPROC) (GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority);
870 typedef void ( * PFNGLXFREEMEMORYNVPROC) (void *pointer);
871 
872 #define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV)
873 #define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV)
874 
875 #define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range)
876 
877 #endif /* GLX_NV_vertex_array_range */
878 
879 /* -------------------------- GLX_NV_video_capture ------------------------- */
880 
881 #ifndef GLX_NV_video_capture
882 #define GLX_NV_video_capture 1
883 
884 #define GLX_DEVICE_ID_NV 0x20CD
885 #define GLX_UNIQUE_ID_NV 0x20CE
886 #define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
887 
889 
890 typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
891 typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display* dpy, int screen, int *nelements);
892 typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
893 typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
894 typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display* dpy, GLXVideoCaptureDeviceNV device);
895 
896 #define glXBindVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXBindVideoCaptureDeviceNV)
897 #define glXEnumerateVideoCaptureDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoCaptureDevicesNV)
898 #define glXLockVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXLockVideoCaptureDeviceNV)
899 #define glXQueryVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXQueryVideoCaptureDeviceNV)
900 #define glXReleaseVideoCaptureDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoCaptureDeviceNV)
901 
902 #define GLXEW_NV_video_capture GLXEW_GET_VAR(__GLXEW_NV_video_capture)
903 
904 #endif /* GLX_NV_video_capture */
905 
906 /* -------------------------- GLX_NV_video_output -------------------------- */
907 
908 #ifndef GLX_NV_video_output
909 #define GLX_NV_video_output 1
910 
911 #define GLX_VIDEO_OUT_COLOR_NV 0x20C3
912 #define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
913 #define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
914 #define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
915 #define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
916 #define GLX_VIDEO_OUT_FRAME_NV 0x20C8
917 #define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
918 #define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
919 #define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
920 #define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
921 
922 typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
923 typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
924 typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
925 typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display* dpy, int screen, GLXVideoDeviceNV VideoDevice);
926 typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display* dpy, GLXPbuffer pbuf);
927 typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
928 
929 #define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV)
930 #define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV)
931 #define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV)
932 #define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV)
933 #define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV)
934 #define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV)
935 
936 #define GLXEW_NV_video_output GLXEW_GET_VAR(__GLXEW_NV_video_output)
937 
938 #endif /* GLX_NV_video_output */
939 
940 /* -------------------------- GLX_OML_swap_method -------------------------- */
941 
942 #ifndef GLX_OML_swap_method
943 #define GLX_OML_swap_method 1
944 
945 #define GLX_SWAP_METHOD_OML 0x8060
946 #define GLX_SWAP_EXCHANGE_OML 0x8061
947 #define GLX_SWAP_COPY_OML 0x8062
948 #define GLX_SWAP_UNDEFINED_OML 0x8063
949 
950 #define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method)
951 
952 #endif /* GLX_OML_swap_method */
953 
954 /* -------------------------- GLX_OML_sync_control ------------------------- */
955 
956 #ifndef GLX_OML_sync_control
957 #define GLX_OML_sync_control 1
958 
959 typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator);
960 typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc);
961 typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
962 typedef 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);
963 typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display* dpy, GLXDrawable drawable, int64_t target_sbc, int64_t* ust, int64_t* msc, int64_t* sbc);
964 
965 #define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML)
966 #define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML)
967 #define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML)
968 #define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML)
969 #define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML)
970 
971 #define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control)
972 
973 #endif /* GLX_OML_sync_control */
974 
975 /* ------------------------ GLX_SGIS_blended_overlay ----------------------- */
976 
977 #ifndef GLX_SGIS_blended_overlay
978 #define GLX_SGIS_blended_overlay 1
979 
980 #define GLX_BLENDED_RGBA_SGIS 0x8025
981 
982 #define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay)
983 
984 #endif /* GLX_SGIS_blended_overlay */
985 
986 /* -------------------------- GLX_SGIS_color_range ------------------------- */
987 
988 #ifndef GLX_SGIS_color_range
989 #define GLX_SGIS_color_range 1
990 
991 #define GLX_MIN_RED_SGIS 0
992 #define GLX_MAX_GREEN_SGIS 0
993 #define GLX_MIN_BLUE_SGIS 0
994 #define GLX_MAX_ALPHA_SGIS 0
995 #define GLX_MIN_GREEN_SGIS 0
996 #define GLX_MIN_ALPHA_SGIS 0
997 #define GLX_MAX_RED_SGIS 0
998 #define GLX_EXTENDED_RANGE_SGIS 0
999 #define GLX_MAX_BLUE_SGIS 0
1000 
1001 #define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range)
1002 
1003 #endif /* GLX_SGIS_color_range */
1004 
1005 /* -------------------------- GLX_SGIS_multisample ------------------------- */
1006 
1007 #ifndef GLX_SGIS_multisample
1008 #define GLX_SGIS_multisample 1
1009 
1010 #define GLX_SAMPLE_BUFFERS_SGIS 100000
1011 #define GLX_SAMPLES_SGIS 100001
1012 
1013 #define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample)
1014 
1015 #endif /* GLX_SGIS_multisample */
1016 
1017 /* ---------------------- GLX_SGIS_shared_multisample ---------------------- */
1018 
1019 #ifndef GLX_SGIS_shared_multisample
1020 #define GLX_SGIS_shared_multisample 1
1021 
1022 #define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
1023 #define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
1024 
1025 #define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample)
1026 
1027 #endif /* GLX_SGIS_shared_multisample */
1028 
1029 /* --------------------------- GLX_SGIX_fbconfig --------------------------- */
1030 
1031 #ifndef GLX_SGIX_fbconfig
1032 #define GLX_SGIX_fbconfig 1
1033 
1034 #define GLX_WINDOW_BIT_SGIX 0x00000001
1035 #define GLX_RGBA_BIT_SGIX 0x00000001
1036 #define GLX_PIXMAP_BIT_SGIX 0x00000002
1037 #define GLX_COLOR_INDEX_BIT_SGIX 0x00000002
1038 #define GLX_SCREEN_EXT 0x800C
1039 #define GLX_DRAWABLE_TYPE_SGIX 0x8010
1040 #define GLX_RENDER_TYPE_SGIX 0x8011
1041 #define GLX_X_RENDERABLE_SGIX 0x8012
1042 #define GLX_FBCONFIG_ID_SGIX 0x8013
1043 #define GLX_RGBA_TYPE_SGIX 0x8014
1044 #define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
1045 
1046 typedef XID GLXFBConfigIDSGIX;
1047 typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
1048 
1049 typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
1050 typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
1051 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display* dpy, GLXFBConfig config, Pixmap pixmap);
1052 typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display* dpy, GLXFBConfigSGIX config, int attribute, int *value);
1053 typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display* dpy, XVisualInfo *vis);
1054 typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfig config);
1055 
1056 #define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX)
1057 #define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX)
1058 #define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX)
1059 #define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX)
1060 #define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX)
1061 #define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX)
1062 
1063 #define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig)
1064 
1065 #endif /* GLX_SGIX_fbconfig */
1066 
1067 /* --------------------------- GLX_SGIX_hyperpipe -------------------------- */
1068 
1069 #ifndef GLX_SGIX_hyperpipe
1070 #define GLX_SGIX_hyperpipe 1
1071 
1072 #define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001
1073 #define GLX_PIPE_RECT_SGIX 0x00000001
1074 #define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002
1075 #define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002
1076 #define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
1077 #define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
1078 #define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
1079 #define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91
1080 #define GLX_BAD_HYPERPIPE_SGIX 92
1081 #define GLX_HYPERPIPE_ID_SGIX 0x8030
1082 
1083 typedef struct {
1087 typedef struct {
1089  int XOrigin;
1090  int YOrigin;
1092  int maxWidth;
1094 typedef struct {
1096  int channel;
1097  unsigned int participationType;
1100 typedef struct {
1104  int srcWidth;
1110 } GLXPipeRect;
1111 
1112 typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
1113 typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
1114 typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
1115 typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
1116 typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
1117 typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
1118 typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
1119 typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
1120 
1121 #define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX)
1122 #define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX)
1123 #define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX)
1124 #define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX)
1125 #define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX)
1126 #define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX)
1127 #define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX)
1128 #define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX)
1129 
1130 #define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe)
1131 
1132 #endif /* GLX_SGIX_hyperpipe */
1133 
1134 /* ---------------------------- GLX_SGIX_pbuffer --------------------------- */
1135 
1136 #ifndef GLX_SGIX_pbuffer
1137 #define GLX_SGIX_pbuffer 1
1138 
1139 #define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
1140 #define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
1141 #define GLX_PBUFFER_BIT_SGIX 0x00000004
1142 #define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004
1143 #define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008
1144 #define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010
1145 #define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020
1146 #define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040
1147 #define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080
1148 #define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100
1149 #define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016
1150 #define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017
1151 #define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018
1152 #define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019
1153 #define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A
1154 #define GLX_PRESERVED_CONTENTS_SGIX 0x801B
1155 #define GLX_LARGEST_PBUFFER_SGIX 0x801C
1156 #define GLX_WIDTH_SGIX 0x801D
1157 #define GLX_HEIGHT_SGIX 0x801E
1158 #define GLX_EVENT_MASK_SGIX 0x801F
1159 #define GLX_DAMAGED_SGIX 0x8020
1160 #define GLX_SAVED_SGIX 0x8021
1161 #define GLX_WINDOW_SGIX 0x8022
1162 #define GLX_PBUFFER_SGIX 0x8023
1163 #define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000
1164 
1165 typedef XID GLXPbufferSGIX;
1166 typedef struct { int type; unsigned long serial; Bool send_event; Display *display; GLXDrawable drawable; int event_type; int draw_type; unsigned int mask; int x, y; int width, height; int count; } GLXBufferClobberEventSGIX;
1167 
1168 typedef GLXPbuffer ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display* dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list);
1169 typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf);
1170 typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long *mask);
1171 typedef void ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display* dpy, GLXPbuffer pbuf, int attribute, unsigned int *value);
1172 typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display* dpy, GLXDrawable drawable, unsigned long mask);
1173 
1174 #define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX)
1175 #define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX)
1176 #define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX)
1177 #define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX)
1178 #define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX)
1179 
1180 #define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer)
1181 
1182 #endif /* GLX_SGIX_pbuffer */
1183 
1184 /* ------------------------- GLX_SGIX_swap_barrier ------------------------- */
1185 
1186 #ifndef GLX_SGIX_swap_barrier
1187 #define GLX_SGIX_swap_barrier 1
1188 
1189 typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
1190 typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
1191 
1192 #define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX)
1193 #define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX)
1194 
1195 #define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier)
1196 
1197 #endif /* GLX_SGIX_swap_barrier */
1198 
1199 /* -------------------------- GLX_SGIX_swap_group -------------------------- */
1200 
1201 #ifndef GLX_SGIX_swap_group
1202 #define GLX_SGIX_swap_group 1
1203 
1204 typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
1205 
1206 #define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX)
1207 
1208 #define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group)
1209 
1210 #endif /* GLX_SGIX_swap_group */
1211 
1212 /* ------------------------- GLX_SGIX_video_resize ------------------------- */
1213 
1214 #ifndef GLX_SGIX_video_resize
1215 #define GLX_SGIX_video_resize 1
1216 
1217 #define GLX_SYNC_FRAME_SGIX 0x00000000
1218 #define GLX_SYNC_SWAP_SGIX 0x00000001
1219 
1220 typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display* display, int screen, int channel, Window window);
1221 typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int x, int y, int w, int h);
1222 typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display* display, int screen, int channel, GLenum synctype);
1223 typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display* display, int screen, int channel, int *x, int *y, int *w, int *h);
1224 typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display* display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
1225 
1226 #define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX)
1227 #define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX)
1228 #define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX)
1229 #define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX)
1230 #define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX)
1231 
1232 #define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize)
1233 
1234 #endif /* GLX_SGIX_video_resize */
1235 
1236 /* ---------------------- GLX_SGIX_visual_select_group --------------------- */
1237 
1238 #ifndef GLX_SGIX_visual_select_group
1239 #define GLX_SGIX_visual_select_group 1
1240 
1241 #define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
1242 
1243 #define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group)
1244 
1245 #endif /* GLX_SGIX_visual_select_group */
1246 
1247 /* ---------------------------- GLX_SGI_cushion ---------------------------- */
1248 
1249 #ifndef GLX_SGI_cushion
1250 #define GLX_SGI_cushion 1
1251 
1252 typedef void ( * PFNGLXCUSHIONSGIPROC) (Display* dpy, Window window, float cushion);
1253 
1254 #define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI)
1255 
1256 #define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion)
1257 
1258 #endif /* GLX_SGI_cushion */
1259 
1260 /* ----------------------- GLX_SGI_make_current_read ----------------------- */
1261 
1262 #ifndef GLX_SGI_make_current_read
1263 #define GLX_SGI_make_current_read 1
1264 
1266 typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display* dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
1267 
1268 #define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI)
1269 #define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI)
1270 
1271 #define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read)
1272 
1273 #endif /* GLX_SGI_make_current_read */
1274 
1275 /* -------------------------- GLX_SGI_swap_control ------------------------- */
1276 
1277 #ifndef GLX_SGI_swap_control
1278 #define GLX_SGI_swap_control 1
1279 
1280 typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
1281 
1282 #define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI)
1283 
1284 #define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control)
1285 
1286 #endif /* GLX_SGI_swap_control */
1287 
1288 /* --------------------------- GLX_SGI_video_sync -------------------------- */
1289 
1290 #ifndef GLX_SGI_video_sync
1291 #define GLX_SGI_video_sync 1
1292 
1293 typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int* count);
1294 typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int* count);
1295 
1296 #define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI)
1297 #define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI)
1298 
1299 #define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync)
1300 
1301 #endif /* GLX_SGI_video_sync */
1302 
1303 /* --------------------- GLX_SUN_get_transparent_index --------------------- */
1304 
1305 #ifndef GLX_SUN_get_transparent_index
1306 #define GLX_SUN_get_transparent_index 1
1307 
1308 typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display* dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex);
1309 
1310 #define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN)
1311 
1312 #define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index)
1313 
1314 #endif /* GLX_SUN_get_transparent_index */
1315 
1316 /* -------------------------- GLX_SUN_video_resize ------------------------- */
1317 
1318 #ifndef GLX_SUN_video_resize
1319 #define GLX_SUN_video_resize 1
1320 
1321 #define GLX_VIDEO_RESIZE_SUN 0x8171
1322 #define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD
1323 
1324 typedef int ( * PFNGLXGETVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float* factor);
1325 typedef int ( * PFNGLXVIDEORESIZESUNPROC) (Display* display, GLXDrawable window, float factor);
1326 
1327 #define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN)
1328 #define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN)
1329 
1330 #define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize)
1331 
1332 #endif /* GLX_SUN_video_resize */
1333 
1334 /* ------------------------------------------------------------------------- */
1335 
1336 #ifdef GLEW_MX
1337 #define GLXEW_EXPORT
1338 #else
1339 #define GLXEW_EXPORT extern
1340 #endif /* GLEW_MX */
1341 
1343 
1361 
1363 
1367 
1372 
1374 
1377 
1379 
1381 
1383 
1385 
1387 
1389 
1392 
1399 
1402 
1408 
1415 
1421 
1428 
1437 
1443 
1446 
1448 
1454 
1456 
1459 
1461 
1464 
1466 
1469 
1470 #if defined(GLEW_MX)
1471 struct GLXEWContextStruct
1472 {
1473 #endif /* GLEW_MX */
1474 
1534 
1535 #ifdef GLEW_MX
1536 }; /* GLXEWContextStruct */
1537 #endif /* GLEW_MX */
1538 
1539 /* ------------------------------------------------------------------------ */
1540 
1541 #ifdef GLEW_MX
1542 
1543 typedef struct GLXEWContextStruct GLXEWContext;
1544 extern GLenum glxewContextInit (GLXEWContext* ctx);
1545 extern GLboolean glxewContextIsSupported (const GLXEWContext* ctx, const char* name);
1546 
1547 #define glxewInit() glxewContextInit(glxewGetContext())
1548 #define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x)
1549 
1550 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x))
1551 #define GLXEW_GET_FUN(x) x
1552 
1553 #else /* GLEW_MX */
1554 
1555 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
1556 #define GLXEW_GET_FUN(x) x
1557 
1558 extern GLboolean glxewIsSupported (const char* name);
1559 
1560 #endif /* GLEW_MX */
1561 
1562 extern GLboolean glxewGetExtension (const char* name);
1563 
1564 #ifdef __cplusplus
1565 }
1566 #endif
1567 
1568 #endif /* __glxew_h__ */
GLXEW_EXPORT GLboolean __GLXEW_SGIS_color_range
Definition: glxew.h:1518
GLXFBConfigSGIX(* PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display *dpy, XVisualInfo *vis)
Definition: glxew.h:1053
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_barrier
Definition: glxew.h:1524
int destHeight
Definition: glxew.h:1109
GLXEW_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB
Definition: glxew.h:1494
void(* PFNGLXDRAWABLEATTRIBATIPROC)(Display *dpy, GLXDrawable draw, const int *attrib_list)
Definition: glxew.h:525
GLXContext(* PFNGLXCREATENEWCONTEXTPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
Definition: glxew.h:284
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint dstX
Definition: glew.h:9817
Bool glXQueryExtension(Display *dpy, int *errorBase, int *eventBase)
unsigned int GLuint
Definition: glew.h:253
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2
Definition: glxew.h:1477
PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer
Definition: glew.c:10553
long pad[24]
Definition: glxew.h:280
GLXEW_EXPORT GLboolean __GLXEW_ATI_pixel_format_float
Definition: glxew.h:1490
void glXDestroyGLXPixmap(Display *dpy, GLXPixmap pix)
XID GLXPbuffer
Definition: glxew.h:261
PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable
Definition: glew.c:10563
void(* PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)(Display *dpy, GLXVideoCaptureDeviceNV device)
Definition: glxew.h:894
Bool(* PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display *dpy, int screen, int *max)
Definition: glxew.h:1190
int(* PFNGLXHYPERPIPECONFIGSGIXPROC)(Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId)
Definition: glxew.h:1115
int(* PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList)
Definition: glxew.h:1116
PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX
Definition: glew.c:10656
void(* PFNGLXRELEASETEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
Definition: glxew.h:526
PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib
Definition: glew.c:10557
const char * glXGetClientString(Display *dpy, int name)
PFNGLXSELECTEVENTPROC __glewXSelectEvent
Definition: glew.c:10564
GLvoid **typedef void(GLAPIENTRY *PFNGLGETVERTEXATTRIBDVPROC)(GLuint
Definition: glew.h:1806
PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT
Definition: glew.c:10573
PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV
Definition: glew.c:10592
PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable
Definition: glew.c:10556
GLenum srcTarget
Definition: glew.h:9817
GLint GLint GLsizei GLsizei GLsizei depth
Definition: glew.h:1222
PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX
Definition: glew.c:10638
GLXEW_EXPORT GLboolean __GLXEW_NV_float_buffer
Definition: glxew.h:1508
Bool glXIsDirect(Display *dpy, GLXContext ctx)
unsigned int buffer_mask
Definition: glxew.h:272
int(* PFNGLXGETVIDEOINFONVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
Definition: glxew.h:924
GLXEW_EXPORT GLboolean __GLXEW_SGIX_visual_select_group
Definition: glxew.h:1527
int destYOrigin
Definition: glxew.h:1107
PFNGLXCREATEWINDOWPROC __glewXCreateWindow
Definition: glew.c:10552
PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML
Definition: glew.c:10624
GLXContext(* PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
Definition: glxew.h:1050
GLXEW_EXPORT GLboolean __GLXEW_MESA_agp_offset
Definition: glxew.h:1502
GLXEW_EXPORT GLboolean __GLXEW_MESA_release_buffers
Definition: glxew.h:1505
PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig
Definition: glew.c:10548
Graphical text output.
GLXEW_EXPORT GLboolean __GLXEW_INTEL_swap_event
Definition: glxew.h:1501
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX
Definition: glxew.h:1078
static const struct @12 priority[]
GLenum GLint srcLevel
Definition: glew.h:9817
void(* PFNGLXFREEMEMORYNVPROC)(void *pointer)
Definition: glxew.h:870
PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX
Definition: glew.c:10657
void glXWaitX(void)
PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV
Definition: glew.c:10607
int srcYOrigin
Definition: glxew.h:1103
unsigned long GLulong
Definition: glew.h:261
GLXEW_EXPORT GLboolean __GLXEW_SGIS_blended_overlay
Definition: glxew.h:1517
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_3
Definition: glxew.h:1478
Bool(* PFNGLXBINDSWAPBARRIERNVPROC)(Display *dpy, GLuint group, GLuint barrier)
Definition: glxew.h:846
unsigned int GLXVideoDeviceNV
Definition: glxew.h:144
unsigned int participationType
Definition: glxew.h:1097
Display *(* PFNGLXGETCURRENTDISPLAYPROC)(void)
Definition: glxew.h:190
const char * glXQueryServerString(Display *dpy, int screen, int name)
PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI
Definition: glew.c:10570
PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT
Definition: glew.c:10577
PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow
Definition: glew.c:10555
game_display * screen
Definition: resources.cpp:27
GLXEW_EXPORT GLboolean __GLXEW_SUN_video_resize
Definition: glxew.h:1533
Bool(* PFNGLXQUERYSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier)
Definition: glxew.h:850
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)
Definition: glxew.h:793
GLXEW_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer
Definition: glxew.h:1503
GLboolean glxewGetExtension(const char *name)
Definition: glew.c:11313
GLXContext glXCreateContext(Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_shared_multisample
Definition: glxew.h:1520
PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX
Definition: glew.c:10626
void(* PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value)
Definition: glxew.h:1171
void(* PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf)
Definition: glxew.h:1169
Bool(* PFNGLXMAKECURRENTREADSGIPROC)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
Definition: glxew.h:1266
unsigned long unsigned long * pulCounterOutputVideo
Definition: wglew.h:1079
unsigned long * pulCounterOutputPbuffer
Definition: wglew.h:1079
GLXEW_EXPORT GLboolean __GLXEW_NV_present_video
Definition: glxew.h:1510
void(* PFNGLXGETSELECTEDEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long *mask)
Definition: glxew.h:1170
PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig
Definition: glew.c:10560
XID GLXFBConfigIDSGIX
Definition: glxew.h:1046
GLXEW_EXPORT GLboolean __GLXEW_OML_sync_control
Definition: glxew.h:1516
PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI
Definition: glew.c:10667
struct __GLXcontextRec * GLXContext
Definition: glxew.h:141
PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX
Definition: glew.c:10640
GLXEW_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap
Definition: glxew.h:1498
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint GLint dstZ
Definition: glew.h:9817
PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI
Definition: glew.c:10662
GLXContextID(* PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context)
Definition: glxew.h:582
XID GLXWindow
Definition: glxew.h:262
unsigned long serial
Definition: glxew.h:268
Bool(* PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers)
Definition: glxew.h:849
void(* PFNGLXCUSHIONSGIPROC)(Display *dpy, Window window, float cushion)
Definition: glxew.h:1252
GLXEW_EXPORT GLboolean __GLXEW_3DFX_multisample
Definition: glxew.h:1480
PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA
Definition: glew.c:10582
#define h
Bool(* PFNGLXMAKECONTEXTCURRENTPROC)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
Definition: glxew.h:296
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGPROC)(Display *dpy, GLXFBConfig config)
Definition: glxew.h:295
GLXEW_EXPORT GLboolean __GLXEW_SGIX_fbconfig
Definition: glxew.h:1521
GLXEW_EXPORT GLboolean __GLXEW_SGIS_multisample
Definition: glxew.h:1519
int srcXOrigin
Definition: glxew.h:1102
GLXHyperpipeConfigSGIX *(* PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId, int *npipes)
Definition: glxew.h:1118
GLint GLint GLint GLint GLint GLint y
Definition: glew.h:1220
GLuint divisor
Definition: glew.h:2358
GLXEW_EXPORT GLboolean __GLXEW_SGI_video_sync
Definition: glxew.h:1531
GLenum src
Definition: glew.h:2392
GLXPixmap glXCreateGLXPixmap(Display *dpy, XVisualInfo *vis, Pixmap pixmap)
int GLsizei
Definition: glew.h:255
#define d
void(* PFNGLXFREECONTEXTEXTPROC)(Display *dpy, GLXContext context)
Definition: glxew.h:581
GLXPixmap(* PFNGLXCREATEPIXMAPPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
Definition: glxew.h:286
PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN
Definition: glew.c:10671
PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV
Definition: glew.c:10600
INT64 target_msc
Definition: wglew.h:1102
void(* PFNGLXSELECTEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long event_mask)
Definition: glxew.h:299
int(* PFNGLXQUERYCONTEXTPROC)(Display *dpy, GLXContext ctx, int attribute, int *value)
Definition: glxew.h:297
GLXWindow(* PFNGLXCREATEWINDOWPROC)(Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
Definition: glxew.h:287
const char * glXQueryExtensionsString(Display *dpy, int screen)
GLenum mode
Definition: glew.h:2390
void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, GLulong mask)
INT64 target_sbc
Definition: wglew.h:1105
int destWidth
Definition: glxew.h:1108
GLXEW_EXPORT GLboolean __GLXEW_NV_vertex_array_range
Definition: glxew.h:1512
GLXContext glXGetCurrentContext(void)
void glXSwapBuffers(Display *dpy, GLXDrawable drawable)
int(* PFNGLXBINDVIDEODEVICENVPROC)(Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list)
Definition: glxew.h:831
PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV
Definition: glew.c:10602
unsigned int GLenum
Definition: glew.h:251
int(* PFNGLXCHANNELRECTSYNCSGIXPROC)(Display *display, int screen, int channel, GLenum synctype)
Definition: glxew.h:1222
int(* PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)(Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device)
Definition: glxew.h:890
GLuint srcName
Definition: wglew.h:870
Bool(* PFNGLXGETMSCRATEOMLPROC)(Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator)
Definition: glxew.h:959
int64_t(* PFNGLXSWAPBUFFERSMSCOMLPROC)(Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder)
Definition: glxew.h:961
int(* PFNGLXGETFBCONFIGATTRIBPROC)(Display *dpy, GLXFBConfig config, int attribute, int *value)
Definition: glxew.h:292
unsigned int aux_buffer
Definition: glxew.h:273
GLXFBConfigSGIX *(* PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
Definition: glxew.h:1049
int(* PFNGLXGETVIDEODEVICENVPROC)(Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice)
Definition: glxew.h:923
int(* PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList)
Definition: glxew.h:1114
HPBUFFERARB int iVideoBuffer
Definition: wglew.h:1077
PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT
Definition: glew.c:10580
GLXEW_EXPORT GLboolean __GLXEW_SGI_swap_control
Definition: glxew.h:1530
struct __GLXFBConfigRec * GLXFBConfig
Definition: glxew.h:263
PFNGLXQUERYCONTEXTPROC __glewXQueryContext
Definition: glew.c:10562
GLXEW_EXPORT GLboolean __GLXEW_NV_multisample_coverage
Definition: glxew.h:1509
PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML
Definition: glew.c:10623
GLXDrawable glXGetCurrentDrawable(void)
int glXGetConfig(Display *dpy, XVisualInfo *vis, int attrib, int *value)
PFNGLXCUSHIONSGIPROC __glewXCushionSGI
Definition: glew.c:10659
int(* PFNGLXGETVIDEOSYNCSGIPROC)(unsigned int *count)
Definition: glxew.h:1293
PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI
Definition: glew.c:10568
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_0
Definition: glxew.h:1475
void glXUseXFont(Font font, int first, int count, int listBase)
INT32 * numerator
Definition: wglew.h:1100
GLXEW_EXPORT GLboolean __GLXEW_ARB_get_proc_address
Definition: glxew.h:1487
PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV
Definition: glew.c:10618
PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI
Definition: glew.c:10664
INT64 INT64 * msc
Definition: wglew.h:1101
GLXPixmap(* PFNGLXCREATEGLXPIXMAPMESAPROC)(Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap)
Definition: glxew.h:751
GLuint GLuint * maxBarriers
Definition: wglew.h:1000
int(* PFNGLXVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float factor)
Definition: glxew.h:1325
Bool(* PFNGLXRESETFRAMECOUNTNVPROC)(Display *dpy, int screen)
Definition: glxew.h:851
GLXEW_EXPORT GLboolean __GLXEW_EXT_import_context
Definition: glxew.h:1495
int(* PFNGLXQUERYCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh)
Definition: glxew.h:1224
Bool(* PFNGLXRELEASEBUFFERSMESAPROC)(Display *dpy, GLXDrawable d)
Definition: glxew.h:764
GLenum GLint GLint GLint GLint GLuint GLenum GLint dstLevel
Definition: glew.h:9817
XID GLXFBConfigID
Definition: glxew.h:260
PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV
Definition: glew.c:10617
void(* PFNGLXSWAPINTERVALEXTPROC)(Display *dpy, GLXDrawable drawable, int interval)
Definition: glxew.h:612
PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs
Definition: glew.c:10558
PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent
Definition: glew.c:10559
GLboolean glxewIsSupported(const char *name)
Definition: glew.c:15027
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_4
Definition: glxew.h:1479
PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN
Definition: glew.c:10672
PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML
Definition: glew.c:10622
int(* PFNGLXBINDVIDEOIMAGENVPROC)(Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer)
Definition: glxew.h:922
PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext
Definition: glew.c:10549
PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay
Definition: glew.c:10546
INT32 INT32 * denominator
Definition: wglew.h:1100
GLubyte GLubyte GLubyte GLubyte w
Definition: glew.h:1858
PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX
Definition: glew.c:10643
GLsizei const GLfloat * value
Definition: glew.h:1817
Bool glXQueryVersion(Display *dpy, int *major, int *minor)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_pbuffer
Definition: glxew.h:1523
GLenum GLenum dst
Definition: glew.h:2392
Bool(* PFNGLXWAITFORSBCOMLPROC)(Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc)
Definition: glxew.h:963
GLenum GLint GLint GLint srcY
Definition: glew.h:9817
GLXEW_EXPORT GLboolean __GLXEW_ARB_fbconfig_float
Definition: glxew.h:1485
PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI
Definition: glew.c:10661
PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX
Definition: glew.c:10648
GLXEW_EXPORT GLboolean __GLXEW_ARB_create_context_profile
Definition: glxew.h:1483
PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV
Definition: glew.c:10601
PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV
Definition: glew.c:10613
Bool(* PFNGLXGETSYNCVALUESOMLPROC)(Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc)
Definition: glxew.h:960
GLXEW_EXPORT GLboolean __GLXEW_NV_copy_image
Definition: glxew.h:1507
int(* PFNGLXQUERYCONTEXTINFOEXTPROC)(Display *dpy, GLXContext context, int attribute, int *value)
Definition: glxew.h:584
void draw(surface screen)
GLXEW_EXPORT GLboolean __GLXEW_NV_swap_group
Definition: glxew.h:1511
GLXEW_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap
Definition: glxew.h:1504
PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX
Definition: glew.c:10649
#define GLXEW_EXPORT
Definition: glxew.h:1339
HGLRC const int * attribList
Definition: wglew.h:139
unsigned int(* PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
Definition: glxew.h:725
PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV
Definition: glew.c:10616
GLenum GLint GLuint mask
Definition: glew.h:1813
PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV
Definition: glew.c:10604
void(* PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)(Display *dpy, GLXVideoCaptureDeviceNV device)
Definition: glxew.h:892
PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX
Definition: glew.c:10644
PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI
Definition: glew.c:10569
PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN
Definition: glew.c:10669
PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX
Definition: glew.c:10651
GLXVideoCaptureDeviceNV *(* PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)(Display *dpy, int screen, int *nelements)
Definition: glxew.h:891
typedef int(WINAPI *PFNWGLRELEASEPBUFFERDCARBPROC)(HPBUFFERARB hPbuffer
Bool glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx)
GLuint GLuint GLsizei count
Definition: glew.h:1221
GLsizei const GLvoid * pointer
Definition: glew.h:1491
XID GLXVideoCaptureDeviceNV
Definition: glxew.h:888
PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT
Definition: glew.c:10572
int(* PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId)
Definition: glxew.h:1113
GLenum GLint GLint GLint GLint GLuint dstName
Definition: glew.h:9817
int(* PFNGLXRELEASEVIDEODEVICENVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice)
Definition: glxew.h:925
GLXEW_EXPORT GLboolean __GLXEW_ARB_multisample
Definition: glxew.h:1488
Bool(* PFNGLXQUERYFRAMECOUNTNVPROC)(Display *dpy, int screen, GLuint *count)
Definition: glxew.h:848
PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA
Definition: glew.c:10590
GLXFBConfig *(* PFNGLXCHOOSEFBCONFIGPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
Definition: glxew.h:283
GLuint buffer
Definition: glew.h:1648
PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV
Definition: glew.c:10598
PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer
Definition: glew.c:10550
GLXEW_EXPORT GLboolean __GLXEW_SGIX_hyperpipe
Definition: glxew.h:1522
float GLfloat
Definition: glew.h:262
void(*)(void) glXGetProcAddressARB(const GLubyte *procName)
PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT
Definition: glew.c:10575
PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX
Definition: glew.c:10642
GLenum GLint GLint GLint GLint srcZ
Definition: glew.h:9817
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_1
Definition: glxew.h:1476
int(* PFNGLXBINDHYPERPIPESGIXPROC)(Display *dpy, int hpId)
Definition: glxew.h:1112
GLenum glxewContextInit(GLXEW_CONTEXT_ARG_DEF_LIST)
Definition: glew.c:11325
GLuint * maxGroups
Definition: wglew.h:1000
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config)
Definition: glxew.h:1054
int(* PFNGLXCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int x, int y, int w, int h)
Definition: glxew.h:1221
int(* PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock)
Definition: glxew.h:927
void(* PFNGLXBINDTEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
Definition: glxew.h:524
PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX
Definition: glew.c:10629
int unsigned long * pulCounterPbuffer
Definition: wglew.h:1082
PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX
Definition: glew.c:10635
GLXEW_EXPORT GLboolean __GLXEW_EXT_swap_control
Definition: glxew.h:1497
int(* PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int *count)
Definition: glxew.h:1294
GLXEW_EXPORT GLboolean __GLXEW_ATI_render_texture
Definition: glxew.h:1491
PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV
Definition: glew.c:10614
int(* PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display *display, int screen, int channel, int *x, int *y, int *w, int *h)
Definition: glxew.h:1223
PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX
Definition: glew.c:10631
PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV
Definition: glew.c:10594
INT64 * ust
Definition: wglew.h:1101
PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX
Definition: glew.c:10627
PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX
Definition: glew.c:10628
GLXEW_EXPORT GLboolean __GLXEW_SGI_make_current_read
Definition: glxew.h:1529
PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML
Definition: glew.c:10620
PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA
Definition: glew.c:10586
void(* PFNGLXDESTROYPIXMAPPROC)(Display *dpy, GLXPixmap pixmap)
Definition: glxew.h:289
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLEPROC)(void)
Definition: glxew.h:291
GLXEW_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode
Definition: glxew.h:1506
PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT
Definition: glew.c:10574
GLXEW_EXPORT GLboolean __GLXEW_SUN_get_transparent_index
Definition: glxew.h:1532
GLint GLint GLint GLint GLint x
Definition: glew.h:1220
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_group
Definition: glxew.h:1525
GLXContext(* PFNGLXIMPORTCONTEXTEXTPROC)(Display *dpy, GLXContextID contextID)
Definition: glxew.h:583
void glXDestroyContext(Display *dpy, GLXContext ctx)
void read(config &cfg, std::istream &in, abstract_validator *validator)
Definition: parser.cpp:400
union __GLXEvent GLXEvent
int iBufferType
Definition: wglew.h:1082
void(* PFNGLXRELEASETEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer)
Definition: glxew.h:658
int(* PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display *display, int screen, int channel, Window window)
Definition: glxew.h:1220
PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB
Definition: glew.c:10566
XID GLXContextID
Definition: glxew.h:579
GLXEW_EXPORT GLboolean __GLXEW_SGIX_video_resize
Definition: glxew.h:1526
int(* PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList)
Definition: glxew.h:1117
PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV
Definition: glew.c:10608
PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX
Definition: glew.c:10633
GLenum GLint GLint GLint GLint GLuint GLenum dstTarget
Definition: glew.h:9817
int(* PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value)
Definition: glxew.h:1052
GLXEW_EXPORT GLboolean __GLXEW_OML_swap_method
Definition: glxew.h:1515
PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX
Definition: glew.c:10653
GLXEW_EXPORT GLboolean __GLXEW_NV_video_output
Definition: glxew.h:1514
GLint GLint GLint GLint GLint GLint GLsizei GLsizei height
Definition: glew.h:1220
GLuint const GLchar * name
Definition: glew.h:1782
int(* PFNGLXSWAPINTERVALSGIPROC)(int interval)
Definition: glxew.h:1280
void(* PFNGLXBINDTEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer, const int *attrib_list)
Definition: glxew.h:657
PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV
Definition: glew.c:10605
void(* PFNGLXSELECTEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long mask)
Definition: glxew.h:1172
GLXEW_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB
Definition: glxew.h:1486
GLsizeiptr size
Definition: glew.h:1649
void *(* PFNGLXALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
Definition: glxew.h:869
PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX
Definition: glew.c:10637
PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV
Definition: glew.c:10610
XVisualInfo * glXChooseVisual(Display *dpy, int screen, int *attribList)
PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX
Definition: glew.c:10645
GLXEW_EXPORT GLboolean __GLXEW_ARB_vertex_buffer_object
Definition: glxew.h:1489
PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX
Definition: glew.c:10655
GLboolean GLuint group
Definition: glew.h:2589
GLuint barrier
Definition: wglew.h:997
PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV
Definition: glew.c:10597
void(* PFNGLXQUERYDRAWABLEPROC)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
Definition: glxew.h:298
void(* PFNGLXDESTROYPBUFFERPROC)(Display *dpy, GLXPbuffer pbuf)
Definition: glxew.h:288
PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap
Definition: glew.c:10554
GLXEW_EXPORT GLboolean __GLXEW_AMD_gpu_association
Definition: glxew.h:1481
PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap
Definition: glew.c:10551
GLXEW_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float
Definition: glxew.h:1493
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_rating
Definition: glxew.h:1500
int GLint
Definition: glew.h:254
INT64 INT64 INT64 remainder
Definition: wglew.h:1102
GLXEW_EXPORT GLboolean __GLXEW_NV_video_capture
Definition: glxew.h:1513
int srcHeight
Definition: glxew.h:1105
PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX
Definition: glew.c:10630
void(* PFNGLXBINDSWAPBARRIERSGIXPROC)(Display *dpy, GLXDrawable drawable, int barrier)
Definition: glxew.h:1189
PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX
Definition: glew.c:10646
PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA
Definition: glew.c:10584
GLint * first
Definition: glew.h:1496
GLXEW_EXPORT GLboolean __GLXEW_SGI_cushion
Definition: glxew.h:1528
PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI
Definition: glew.c:10666
void(* PFNGLXCOPYSUBBUFFERMESAPROC)(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height)
Definition: glxew.h:738
void(* PFNGLXJOINSWAPGROUPSGIXPROC)(Display *dpy, GLXDrawable drawable, GLXDrawable member)
Definition: glxew.h:1204
int srcWidth
Definition: glxew.h:1104
XID GLXPixmap
Definition: glxew.h:137
GLXHyperpipeNetworkSGIX *(* PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display *dpy, int *npipes)
Definition: glxew.h:1119
Display * display
Definition: glxew.h:270
int(* PFNGLXGETVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float *factor)
Definition: glxew.h:1324
GLXPbufferClobberEvent glxpbufferclobber
Definition: glxew.h:279
GLenum GLint GLint GLint GLint GLuint GLenum GLint GLint GLint dstY
Definition: glew.h:9817
GLXPbuffer(* PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display *dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list)
Definition: glxew.h:1168
GLint GLint GLint GLint GLint GLint GLsizei width
Definition: glew.h:1220
PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV
Definition: glew.c:10595
PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV
Definition: glew.c:10611
void(* PFNGLXDESTROYWINDOWPROC)(Display *dpy, GLXWindow win)
Definition: glxew.h:290
PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX
Definition: glew.c:10636
void glXWaitGL(void)
int unsigned long BOOL bBlock
Definition: wglew.h:1082
#define mask(n)
Definition: lbitlib.cpp:28
GLXPbuffer(* PFNGLXCREATEPBUFFERPROC)(Display *dpy, GLXFBConfig config, const int *attrib_list)
Definition: glxew.h:285
PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV
Definition: glew.c:10615
GLXEW_EXPORT GLboolean __GLXEW_ARB_create_context
Definition: glxew.h:1482
PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent
Definition: glew.c:10561
INT64 INT64 INT64 * sbc
Definition: wglew.h:1101
GLXFBConfig *(* PFNGLXGETFBCONFIGSPROC)(Display *dpy, int screen, int *nelements)
Definition: glxew.h:293
int destXOrigin
Definition: glxew.h:1106
unsigned char GLboolean
Definition: glew.h:256
PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV
Definition: glew.c:10599
GLXDrawable drawable
Definition: glxew.h:271
A config object defines a single node in a WML file, with access to child nodes.
Definition: config.hpp:83
void(*)(void) glXGetProcAddress(const GLubyte *procName)
Bool(* PFNGLXJOINSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint group)
Definition: glxew.h:847
PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML
Definition: glew.c:10621
XID GLXDrawable
Definition: glxew.h:136
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)
Definition: glxew.h:962
GLXContext(* PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list)
Definition: glxew.h:380
GLenum GLint GLint srcX
Definition: glew.h:9817
struct __GLXFBConfigRec * GLXFBConfigSGIX
Definition: glxew.h:1047
GLboolean(* PFNGLXSET3DFXMODEMESAPROC)(GLint mode)
Definition: glxew.h:780
unsigned char GLubyte
Definition: glew.h:259
GLXEW_EXPORT GLboolean __GLXEW_EXT_create_context_es2_profile
Definition: glxew.h:1492
int(* PFNGLXRELEASEVIDEOIMAGENVPROC)(Display *dpy, GLXPbuffer pbuf)
Definition: glxew.h:926
PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA
Definition: glew.c:10588
PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT
Definition: glew.c:10579
PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX
Definition: glew.c:10639
void(* PFNGLXGETSELECTEDEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long *event_mask)
Definition: glxew.h:294
GLXPixmap(* PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap)
Definition: glxew.h:1051
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void)
Definition: glxew.h:1265
PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV
Definition: glew.c:10609
unsigned int *(* PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display *dpy, int screen, int *nelements)
Definition: glxew.h:832
GLXEW_EXPORT GLboolean __GLXEW_EXT_scene_marker
Definition: glxew.h:1496
GLXEW_EXPORT GLboolean __GLXEW_ARB_create_context_robustness
Definition: glxew.h:1484
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_info
Definition: glxew.h:1499
PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX
Definition: glew.c:10634
int(* PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)(Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value)
Definition: glxew.h:893
Status(* PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex)
Definition: glxew.h:1308
XID GLXPbufferSGIX
Definition: glxew.h:1165
channel
Definition: utils.hpp:250
PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX
Definition: glew.c:10654