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



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST