Go to the documentation of this file.
62 #error glxext.h included before glxew.h
65 #error glx.h included before glxew.h
73 #include <X11/Xutil.h>
83 #ifndef GLX_VERSION_1_0
84 #define GLX_VERSION_1_0 1
87 #define GLX_BUFFER_SIZE 2
90 #define GLX_DOUBLEBUFFER 5
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
124 extern XVisualInfo*
glXChooseVisual (Display* dpy,
int screen,
int * attribList);
126 Display* dpy, XVisualInfo* vis, Pixmap pixmap);
129 Display* dpy, XVisualInfo* vis,
GLXContext shareList, Bool direct);
142 #define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0)
148 #ifndef GLX_VERSION_1_1
149 #define GLX_VERSION_1_1
151 #define GLX_VENDOR 0x1
152 #define GLX_VERSION 0x2
153 #define GLX_EXTENSIONS 0x3
159 #define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1)
165 #ifndef GLX_VERSION_1_2
166 #define GLX_VERSION_1_2 1
168 typedef Display* (*PFNGLXGETCURRENTDISPLAYPROC)(
void );
170 #define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay)
172 #define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2)
178 #ifndef GLX_VERSION_1_3
179 #define GLX_VERSION_1_3 1
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
263 Display* dpy,
int screen,
const int * attrib_list,
int * nelements);
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);
280 Display* dpy,
int screen,
int * nelements);
282 Display* dpy,
GLXDrawable draw,
unsigned long * event_mask);
283 typedef XVisualInfo* (*PFNGLXGETVISUALFROMFBCONFIGPROC)(
292 Display* dpy,
GLXDrawable draw,
unsigned long event_mask);
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)
312 #define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3)
318 #ifndef GLX_VERSION_1_4
319 #define GLX_VERSION_1_4 1
321 #define GLX_SAMPLE_BUFFERS 100000
322 #define GLX_SAMPLES 100001
326 #define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4)
332 #ifndef GLX_3DFX_multisample
333 #define GLX_3DFX_multisample 1
335 #define GLX_SAMPLE_BUFFERS_3DFX 0x8050
336 #define GLX_SAMPLES_3DFX 0x8051
338 #define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample)
344 #ifndef GLX_ARB_create_context
345 #define GLX_ARB_create_context 1
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
355 const int * attrib_list);
357 #define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB)
359 #define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context)
365 #ifndef GLX_ARB_fbconfig_float
366 #define GLX_ARB_fbconfig_float 1
368 #define GLX_RGBA_FLOAT_BIT 0x00000004
369 #define GLX_RGBA_FLOAT_TYPE 0x20B9
371 #define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float)
377 #ifndef GLX_ARB_framebuffer_sRGB
378 #define GLX_ARB_framebuffer_sRGB 1
380 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
382 #define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB)
388 #ifndef GLX_ARB_get_proc_address
389 #define GLX_ARB_get_proc_address 1
393 #define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address)
399 #ifndef GLX_ARB_multisample
400 #define GLX_ARB_multisample 1
402 #define GLX_SAMPLE_BUFFERS_ARB 100000
403 #define GLX_SAMPLES_ARB 100001
405 #define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample)
411 #ifndef GLX_ATI_pixel_format_float
412 #define GLX_ATI_pixel_format_float 1
414 #define GLX_RGBA_FLOAT_ATI_BIT 0x00000100
416 #define GLXEW_ATI_pixel_format_float \
417 GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float)
423 #ifndef GLX_ATI_render_texture
424 #define GLX_ATI_render_texture 1
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
465 Display* dpy,
GLXDrawable draw,
const int * attrib_list);
469 #define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI)
470 #define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI)
471 #define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI)
473 #define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture)
479 #ifndef GLX_EXT_fbconfig_packed_float
480 #define GLX_EXT_fbconfig_packed_float 1
482 #define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
483 #define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
485 #define GLXEW_EXT_fbconfig_packed_float \
486 GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float)
492 #ifndef GLX_EXT_framebuffer_sRGB
493 #define GLX_EXT_framebuffer_sRGB 1
495 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
497 #define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB)
503 #ifndef GLX_EXT_import_context
504 #define GLX_EXT_import_context 1
506 #define GLX_SHARE_CONTEXT_EXT 0x800A
507 #define GLX_VISUAL_ID_EXT 0x800B
508 #define GLX_SCREEN_EXT 0x800C
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)
524 #define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context)
530 #ifndef GLX_EXT_scene_marker
531 #define GLX_EXT_scene_marker 1
533 #define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker)
539 #ifndef GLX_EXT_texture_from_pixmap
540 #define GLX_EXT_texture_from_pixmap 1
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
579 #define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT)
580 #define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT)
582 #define GLXEW_EXT_texture_from_pixmap \
583 GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap)
589 #ifndef GLX_EXT_visual_info
590 #define GLX_EXT_visual_info 1
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
609 #define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info)
615 #ifndef GLX_EXT_visual_rating
616 #define GLX_EXT_visual_rating 1
618 #define GLX_VISUAL_CAVEAT_EXT 0x20
619 #define GLX_SLOW_VISUAL_EXT 0x8001
620 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
622 #define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating)
628 #ifndef GLX_MESA_agp_offset
629 #define GLX_MESA_agp_offset 1
633 #define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA)
635 #define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset)
641 #ifndef GLX_MESA_copy_sub_buffer
642 #define GLX_MESA_copy_sub_buffer 1
647 #define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA)
649 #define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer)
655 #ifndef GLX_MESA_pixmap_colormap
656 #define GLX_MESA_pixmap_colormap 1
659 Display* dpy, XVisualInfo* visual, Pixmap pixmap, Colormap cmap);
661 #define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA)
663 #define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap)
669 #ifndef GLX_MESA_release_buffers
670 #define GLX_MESA_release_buffers 1
674 #define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA)
676 #define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers)
682 #ifndef GLX_MESA_set_3dfx_mode
683 #define GLX_MESA_set_3dfx_mode 1
685 #define GLX_3DFX_WINDOW_MODE_MESA 0x1
686 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
690 #define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA)
692 #define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode)
698 #ifndef GLX_NV_float_buffer
699 #define GLX_NV_float_buffer 1
701 #define GLX_FLOAT_COMPONENTS_NV 0x20B0
703 #define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer)
709 #ifndef GLX_NV_present_video
710 #define GLX_NV_present_video 1
712 #define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
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);
720 #define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV)
721 #define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV)
723 #define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video)
729 #ifndef GLX_NV_swap_group
730 #define GLX_NV_swap_group 1
739 Display* dpy,
int screen,
GLuint * maxGroups,
GLuint * maxBarriers);
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)
751 #define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group)
757 #ifndef GLX_NV_vertex_array_range
758 #define GLX_NV_vertex_array_range 1
760 typedef void * (*PFNGLXALLOCATEMEMORYNVPROC)(
765 #define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV)
766 #define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV)
768 #define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range)
774 #ifndef GLX_NV_video_output
775 #define GLX_NV_video_output 1
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
792 Display* dpy,
int screen,
int numVideoDevices,
796 unsigned long * pulCounterOutputPbuffer,
797 unsigned long * pulCounterOutputVideo);
802 Display* dpy,
GLXPbuffer pbuf,
int iBufferType,
803 unsigned long * pulCounterPbuffer,
GLboolean bBlock);
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)
812 #define GLXEW_NV_video_output GLXEW_GET_VAR(__GLXEW_NV_video_output)
818 #ifndef GLX_OML_swap_method
819 #define GLX_OML_swap_method 1
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
826 #define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method)
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
837 typedef Bool (*PFNGLXGETMSCRATEOMLPROC)(
840 typedef Bool (*PFNGLXGETSYNCVALUESOMLPROC)(
843 typedef int64_t (*PFNGLXSWAPBUFFERSMSCOMLPROC)(
846 typedef Bool (*PFNGLXWAITFORMSCOMLPROC)(
849 typedef Bool (*PFNGLXWAITFORSBCOMLPROC)(
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)
859 #define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control)
865 #ifndef GLX_SGIS_blended_overlay
866 #define GLX_SGIS_blended_overlay 1
868 #define GLX_BLENDED_RGBA_SGIS 0x8025
870 #define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay)
876 #ifndef GLX_SGIS_color_range
877 #define GLX_SGIS_color_range 1
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
889 #define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range)
895 #ifndef GLX_SGIS_multisample
896 #define GLX_SGIS_multisample 1
898 #define GLX_SAMPLE_BUFFERS_SGIS 100000
899 #define GLX_SAMPLES_SGIS 100001
901 #define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample)
907 #ifndef GLX_SGIS_shared_multisample
908 #define GLX_SGIS_shared_multisample 1
910 #define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
911 #define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
913 #define GLXEW_SGIS_shared_multisample \
914 GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample)
920 #ifndef GLX_SGIX_fbconfig
921 #define GLX_SGIX_fbconfig 1
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
939 Display* dpy,
int screen,
const int * attrib_list,
int * nelements);
948 Display* dpy, XVisualInfo* vis);
949 typedef XVisualInfo* (*PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(
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)
963 #define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig)
969 #ifndef GLX_SGIX_hyperpipe
970 #define GLX_SGIX_hyperpipe 1
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
1019 Display* dpy,
int timeSlice,
int attrib,
int size ,
void * attribList);
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);
1029 Display* dpy,
int hpId,
int * npipes);
1031 Display* dpy,
int * npipes);
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)
1047 #define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe)
1053 #ifndef GLX_SGIX_pbuffer
1054 #define GLX_SGIX_pbuffer 1
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
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)
1115 #define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer)
1121 #ifndef GLX_SGIX_swap_barrier
1122 #define GLX_SGIX_swap_barrier 1
1127 Display* dpy,
int screen,
int * max);
1129 #define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX)
1130 #define glXQueryMaxSwapBarriersSGIX \
1131 GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX)
1133 #define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier)
1139 #ifndef GLX_SGIX_swap_group
1140 #define GLX_SGIX_swap_group 1
1145 #define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX)
1147 #define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group)
1153 #ifndef GLX_SGIX_video_resize
1154 #define GLX_SGIX_video_resize 1
1156 #define GLX_SYNC_FRAME_SGIX 0x00000000
1157 #define GLX_SYNC_SWAP_SGIX 0x00000001
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,
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)
1177 #define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize)
1183 #ifndef GLX_SGIX_visual_select_group
1184 #define GLX_SGIX_visual_select_group 1
1186 #define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
1188 #define GLXEW_SGIX_visual_select_group \
1189 GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group)
1195 #ifndef GLX_SGI_cushion
1196 #define GLX_SGI_cushion 1
1199 Display* dpy, Window window,
float cushion);
1201 #define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI)
1203 #define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion)
1209 #ifndef GLX_SGI_make_current_read
1210 #define GLX_SGI_make_current_read 1
1216 #define glXGetCurrentReadDrawableSGI \
1217 GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI)
1218 #define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI)
1220 #define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read)
1226 #ifndef GLX_SGI_swap_control
1227 #define GLX_SGI_swap_control 1
1231 #define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI)
1233 #define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control)
1239 #ifndef GLX_SGI_video_sync
1240 #define GLX_SGI_video_sync 1
1244 int divisor,
int remainder,
unsigned int *
count );
1246 #define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI)
1247 #define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI)
1249 #define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync)
1255 #ifndef GLX_SUN_get_transparent_index
1256 #define GLX_SUN_get_transparent_index 1
1259 Display* dpy, Window overlay, Window underlay,
1260 unsigned long * pTransparentIndex);
1262 #define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN)
1264 #define GLXEW_SUN_get_transparent_index \
1265 GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index)
1271 #ifndef GLX_SUN_video_resize
1272 #define GLX_SUN_video_resize 1
1274 #define GLX_VIDEO_RESIZE_SUN 0x8171
1275 #define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD
1282 #define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN)
1283 #define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN)
1285 #define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize)
1292 #define GLXEW_EXPORT
1294 #define GLXEW_EXPORT extern
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;
1419 #if defined(GLEW_MX)
1420 struct GLXEWContextStruct
1482 typedef struct GLXEWContextStruct GLXEWContext;
1483 extern GLenum glxewContextInit(GLXEWContext* ctx);
1484 extern GLboolean glxewContextIsSupported(GLXEWContext* ctx,
const char *
name );
1486 #define glxewInit() glxewContextInit(glxewGetContext())
1487 #define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x)
1489 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x))
1490 #define GLXEW_GET_FUN(x) x
1494 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x)
1495 #define GLXEW_GET_FUN(x) x
PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX
PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX
unsigned int participationType
void glXSwapBuffers(Display *dpy, GLXDrawable drawable)
PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV
void(* PFNGLXDRAWABLEATTRIBATIPROC)(Display *dpy, GLXDrawable draw, const int *attrib_list)
PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX
PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable
GLXEW_EXPORT GLboolean __GLXEW_SGIX_video_resize
GLXEW_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer
PFNGLXQUERYCONTEXTPROC __glewXQueryContext
void(* PFNGLXBINDTEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config)
PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV
void(* PFNGLXFREEMEMORYNVPROC)(void *pointer)
GLXEW_EXPORT GLboolean __GLXEW_ATI_pixel_format_float
PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGPROC)(Display *dpy, GLXFBConfig config)
int(* PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock)
PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT
PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX
PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer
int(* PFNGLXQUERYCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh)
PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT
int(* PFNGLXGETVIDEOINFONVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay
Bool glXQueryExtension(Display *dpy, int *errorBase, int *eventBase)
Status(* PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex)
int(* PFNGLXRELEASEVIDEOIMAGENVPROC)(Display *dpy, GLXPbuffer pbuf)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_group
PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX
GLXWindow(* PFNGLXCREATEWINDOWPROC)(Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void)
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_info
GLXEW_EXPORT GLboolean __GLXEW_SGIS_color_range
XVisualInfo * glXChooseVisual(Display *dpy, int screen, int *attribList)
PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV
PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI
PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_1
GLXEW_EXPORT GLboolean __GLXEW_ARB_multisample
PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI
Bool(* PFNGLXBINDSWAPBARRIERNVPROC)(Display *dpy, GLuint group, GLuint barrier)
int(* PFNGLXGETVIDEODEVICENVPROC)(Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice)
PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX
int(* PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display *display, int screen, int channel, int *x, int *y, int *w, int *h)
PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_0
GLXContext(* PFNGLXIMPORTCONTEXTEXTPROC)(Display *dpy, GLXContextID contextID)
PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA
PFNGLXCREATEWINDOWPROC __glewXCreateWindow
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_barrier
struct __GLXFBConfigRec * GLXFBConfigSGIX
GLXContextID(* PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context)
GLXPixmap(* PFNGLXCREATEGLXPIXMAPMESAPROC)(Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_visual_select_group
union __GLXEvent GLXEvent
GLboolean(* PFNGLXSET3DFXMODEMESAPROC)(GLint mode)
GLXPixmap(* PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap)
GLXFBConfigSGIX *(* PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
GLXPixmap glXCreateGLXPixmap(Display *dpy, XVisualInfo *vis, Pixmap pixmap)
void(* PFNGLXDESTROYWINDOWPROC)(Display *dpy, GLXWindow win)
PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib
Bool glXQueryVersion(Display *dpy, int *major, int *minor)
Bool(* PFNGLXRELEASEBUFFERSMESAPROC)(Display *dpy, GLXDrawable d)
Bool(* PFNGLXRESETFRAMECOUNTNVPROC)(Display *dpy, int screen)
PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV
PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX
int(* PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display *display, int screen, int channel, Window window)
void(* PFNGLXDESTROYPBUFFERPROC)(Display *dpy, GLXPbuffer pbuf)
PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX
int(* PFNGLXHYPERPIPECONFIGSGIXPROC)(Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId)
PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX
PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX
int(* PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList)
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLEPROC)(void)
GLXHyperpipeNetworkSGIX *(* PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display *dpy, int *npipes)
GLXEW_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB
Bool(* PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_blended_overlay
GLubyte GLubyte GLubyte GLubyte w
void glXUseXFont(Font font, int first, int count, int listBase)
PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV
PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap
PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX
PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA
PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI
unsigned int(* PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX
GLXEW_EXPORT GLboolean __GLXEW_SGI_swap_control
int(* PFNGLXBINDVIDEOIMAGENVPROC)(Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer)
int(* PFNGLXQUERYCONTEXTPROC)(Display *dpy, GLXContext ctx, int attribute, int *value)
void(* PFNGLXRELEASETEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer)
PFNGLXCUSHIONSGIPROC __glewXCushionSGI
GLXEW_EXPORT GLboolean __GLXEW_MESA_agp_offset
PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV
PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV
GLuint const GLchar * name
PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV
GLXEW_EXPORT GLboolean __GLXEW_OML_swap_method
PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA
int(* PFNGLXGETVIDEOSYNCSGIPROC)(uint *count)
PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI
Bool(* PFNGLXJOINSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint group)
GLXEW_EXPORT GLboolean __GLXEW_SGI_cushion
Bool glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx)
PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX
void(* PFNGLXCOPYSUBBUFFERMESAPROC)(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_shared_multisample
PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV
PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX
PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV
GLXEW_EXPORT GLboolean __GLXEW_SGIX_hyperpipe
PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_3
GLXEW_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap
PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT
Display *(* PFNGLXGETCURRENTDISPLAYPROC)(void)
PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV
GLuint GLuint GLsizei count
PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent
const char * glXQueryExtensionsString(Display *dpy, int screen)
enum Status { eInsideTag=0, eOutsideTag } Status
PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA
void(*)(void) glXGetProcAddressARB(const GLubyte *procName)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2
mrpt::gui::CDisplayWindow3D::Ptr win
PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow
GLXEW_EXPORT GLboolean __GLXEW_NV_present_video
GLXEW_EXPORT GLboolean __GLXEW_3DFX_multisample
PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable
int(* PFNGLXBINDVIDEODEVICENVPROC)(Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list)
Bool(* PFNGLXMAKECONTEXTCURRENTPROC)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
void(* PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf)
GLXContext(* PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
void(* PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value)
struct __GLXcontextRec * GLXContext
PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX
PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT
PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI
void(* PFNGLXCUSHIONSGIPROC)(Display *dpy, Window window, float cushion)
PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI
void(* PFNGLXRELEASETEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
GLXEW_EXPORT GLboolean __GLXEW_ATI_render_texture
void(*)(void) glXGetProcAddress(const GLubyte *procName)
void(* PFNGLXBINDTEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer, const int *attrib_list)
int glXGetConfig(Display *dpy, XVisualInfo *vis, int attrib, int *value)
GLXEW_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX
PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV
GLXEW_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB
Bool glXIsDirect(Display *dpy, GLXContext ctx)
void(* PFNGLXJOINSWAPGROUPSGIXPROC)(Display *dpy, GLXDrawable drawable, GLXDrawable member)
PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN
int(* PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_4
const char * glXGetClientString(Display *dpy, int name)
PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX
void(* PFNGLXFREECONTEXTEXTPROC)(Display *dpy, GLXContext context)
int(* PFNGLXBINDHYPERPIPESGIXPROC)(Display *dpy, int hpId)
GLXEW_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float
GLXEW_EXPORT GLboolean __GLXEW_SGIX_fbconfig
PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX
PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT
GLenum GLsizei GLsizei height
PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap
GLXEW_EXPORT GLboolean __GLXEW_SGIX_pbuffer
PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV
PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX
PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent
GLXContext glXCreateContext(Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
int(* PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList)
GLXEW_EXPORT GLboolean __GLXEW_SUN_video_resize
GLXEW_EXPORT GLboolean __GLXEW_ARB_fbconfig_float
GLXContext glXGetCurrentContext(void)
GLXFBConfig *(* PFNGLXGETFBCONFIGSPROC)(Display *dpy, int screen, int *nelements)
GLXEW_EXPORT GLboolean __GLXEW_MESA_release_buffers
GLXEW_EXPORT GLboolean __GLXEW_NV_video_output
PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX
void(* PFNGLXBINDSWAPBARRIERSGIXPROC)(Display *dpy, GLXDrawable drawable, int barrier)
void glXDestroyGLXPixmap(Display *dpy, GLXPixmap pix)
GLXFBConfig *(* PFNGLXCHOOSEFBCONFIGPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig
unsigned int *(* PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display *dpy, int screen, int *nelements)
const char * glXQueryServerString(Display *dpy, int screen, int name)
int(* PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId)
PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV
int(* PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList)
int(* PFNGLXQUERYCONTEXTINFOEXTPROC)(Display *dpy, GLXContext context, int attribute, int *value)
PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV
Bool(* PFNGLXQUERYFRAMECOUNTNVPROC)(Display *dpy, int screen, GLuint *count)
PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN
void(* PFNGLXGETSELECTEDEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long *event_mask)
GLXEW_EXPORT GLboolean __GLXEW_SGI_video_sync
void(* PFNGLXDESTROYPIXMAPPROC)(Display *dpy, GLXPixmap pixmap)
PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX
void(* PFNGLXSELECTEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long event_mask)
GLboolean glxewIsSupported(const char *name)
PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX
GLXPbuffer(* PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display *dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list)
int(* PFNGLXSWAPINTERVALSGIPROC)(int interval)
void(* PFNGLXSELECTEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long mask)
GLsizei const GLfloat * value
GLXEW_EXPORT GLboolean __GLXEW_SGIS_multisample
int(* PFNGLXGETVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float *factor)
void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, GLulong mask)
PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
int(* PFNGLXRELEASEVIDEODEVICENVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice)
GLsizei const GLvoid * pointer
PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB
GLXEW_EXPORT GLboolean __GLXEW_NV_float_buffer
void glXDestroyContext(Display *dpy, GLXContext ctx)
PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig
GLXEW_EXPORT GLboolean __GLXEW_SUN_get_transparent_index
GLXEW_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap
GLXDrawable glXGetCurrentDrawable(void)
int(* PFNGLXVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float factor)
GLXEW_EXPORT GLboolean __GLXEW_EXT_scene_marker
unsigned int GLXVideoDeviceNV
int(* PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int *count)
GLXEW_EXPORT GLboolean __GLXEW_OML_sync_control
GLXContext(* PFNGLXCREATENEWCONTEXTPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
int(* PFNGLXCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int x, int y, int w, int h)
GLXPbufferClobberEvent glxpbufferclobber
PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI
struct __GLXFBConfigRec * GLXFBConfig
Bool(* PFNGLXMAKECURRENTREADSGIPROC)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
GLXEW_EXPORT GLboolean __GLXEW_NV_swap_group
int(* PFNGLXGETFBCONFIGATTRIBPROC)(Display *dpy, GLXFBConfig config, int attribute, int *value)
GLXEW_EXPORT GLboolean __GLXEW_SGI_make_current_read
GLXPixmap(* PFNGLXCREATEPIXMAPPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
GLboolean glxewGetExtension(const char *name)
PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX
GLXContext(* PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list)
PFNGLXSELECTEVENTPROC __glewXSelectEvent
GLXEW_EXPORT GLboolean __GLXEW_ARB_get_proc_address
void(* PFNGLXQUERYDRAWABLEPROC)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
GLXPbuffer(* PFNGLXCREATEPBUFFERPROC)(Display *dpy, GLXFBConfig config, const int *attrib_list)
GLXEW_EXPORT GLboolean __GLXEW_EXT_import_context
GLXEW_EXPORT GLboolean __GLXEW_ARB_create_context
Bool(* PFNGLXQUERYSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier)
void(* PFNGLXGETSELECTEDEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long *mask)
PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX
PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext
int(* PFNGLXCHANNELRECTSYNCSGIXPROC)(Display *display, int screen, int channel, GLenum synctype)
PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX
GLXFBConfigSGIX(* PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display *dpy, XVisualInfo *vis)
PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs
GLXEW_EXPORT GLboolean __GLXEW_NV_vertex_array_range
GLXHyperpipeConfigSGIX *(* PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId, int *npipes)
PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX
void *(* PFNGLXALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX
Bool(* PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display *dpy, int screen, int *max)
PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_rating
PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX
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