61 #error glxext.h included before glxew.h 64 #error glx.h included before glxew.h 74 #include <X11/Xutil.h> 84 #ifndef GLX_VERSION_1_0 85 #define GLX_VERSION_1_0 1 88 #define GLX_BUFFER_SIZE 2 91 #define GLX_DOUBLEBUFFER 5 93 #define GLX_AUX_BUFFERS 7 94 #define GLX_RED_SIZE 8 95 #define GLX_GREEN_SIZE 9 96 #define GLX_BLUE_SIZE 10 97 #define GLX_ALPHA_SIZE 11 98 #define GLX_DEPTH_SIZE 12 99 #define GLX_STENCIL_SIZE 13 100 #define GLX_ACCUM_RED_SIZE 14 101 #define GLX_ACCUM_GREEN_SIZE 15 102 #define GLX_ACCUM_BLUE_SIZE 16 103 #define GLX_ACCUM_ALPHA_SIZE 17 104 #define GLX_BAD_SCREEN 1 105 #define GLX_BAD_ATTRIBUTE 2 106 #define GLX_NO_EXTENSION 3 107 #define GLX_BAD_VISUAL 4 108 #define GLX_BAD_CONTEXT 5 109 #define GLX_BAD_VALUE 6 110 #define GLX_BAD_ENUM 7 125 Display* dpy, XVisualInfo* vis,
int attrib,
int*
value);
127 Display* dpy,
int screen,
int* attribList);
129 Display* dpy, XVisualInfo* vis, Pixmap pixmap);
132 Display* dpy, XVisualInfo* vis,
GLXContext shareList, Bool direct);
146 #define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0) 153 #ifndef GLX_VERSION_1_1 154 #define GLX_VERSION_1_1 156 #define GLX_VENDOR 0x1 157 #define GLX_VERSION 0x2 158 #define GLX_EXTENSIONS 0x3 164 #define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1) 171 #ifndef GLX_VERSION_1_2 172 #define GLX_VERSION_1_2 1 174 typedef Display* (*PFNGLXGETCURRENTDISPLAYPROC)(
void);
176 #define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay) 178 #define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2) 185 #ifndef GLX_VERSION_1_3 186 #define GLX_VERSION_1_3 1 188 #define GLX_RGBA_BIT 0x00000001 189 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 190 #define GLX_WINDOW_BIT 0x00000001 191 #define GLX_COLOR_INDEX_BIT 0x00000002 192 #define GLX_PIXMAP_BIT 0x00000002 193 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 194 #define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 195 #define GLX_PBUFFER_BIT 0x00000004 196 #define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 197 #define GLX_AUX_BUFFERS_BIT 0x00000010 198 #define GLX_CONFIG_CAVEAT 0x20 199 #define GLX_DEPTH_BUFFER_BIT 0x00000020 200 #define GLX_X_VISUAL_TYPE 0x22 201 #define GLX_TRANSPARENT_TYPE 0x23 202 #define GLX_TRANSPARENT_INDEX_VALUE 0x24 203 #define GLX_TRANSPARENT_RED_VALUE 0x25 204 #define GLX_TRANSPARENT_GREEN_VALUE 0x26 205 #define GLX_TRANSPARENT_BLUE_VALUE 0x27 206 #define GLX_TRANSPARENT_ALPHA_VALUE 0x28 207 #define GLX_STENCIL_BUFFER_BIT 0x00000040 208 #define GLX_ACCUM_BUFFER_BIT 0x00000080 209 #define GLX_NONE 0x8000 210 #define GLX_SLOW_CONFIG 0x8001 211 #define GLX_TRUE_COLOR 0x8002 212 #define GLX_DIRECT_COLOR 0x8003 213 #define GLX_PSEUDO_COLOR 0x8004 214 #define GLX_STATIC_COLOR 0x8005 215 #define GLX_GRAY_SCALE 0x8006 216 #define GLX_STATIC_GRAY 0x8007 217 #define GLX_TRANSPARENT_RGB 0x8008 218 #define GLX_TRANSPARENT_INDEX 0x8009 219 #define GLX_VISUAL_ID 0x800B 220 #define GLX_SCREEN 0x800C 221 #define GLX_NON_CONFORMANT_CONFIG 0x800D 222 #define GLX_DRAWABLE_TYPE 0x8010 223 #define GLX_RENDER_TYPE 0x8011 224 #define GLX_X_RENDERABLE 0x8012 225 #define GLX_FBCONFIG_ID 0x8013 226 #define GLX_RGBA_TYPE 0x8014 227 #define GLX_COLOR_INDEX_TYPE 0x8015 228 #define GLX_MAX_PBUFFER_WIDTH 0x8016 229 #define GLX_MAX_PBUFFER_HEIGHT 0x8017 230 #define GLX_MAX_PBUFFER_PIXELS 0x8018 231 #define GLX_PRESERVED_CONTENTS 0x801B 232 #define GLX_LARGEST_PBUFFER 0x801C 233 #define GLX_WIDTH 0x801D 234 #define GLX_HEIGHT 0x801E 235 #define GLX_EVENT_MASK 0x801F 236 #define GLX_DAMAGED 0x8020 237 #define GLX_SAVED 0x8021 238 #define GLX_WINDOW 0x8022 239 #define GLX_PBUFFER 0x8023 240 #define GLX_PBUFFER_HEIGHT 0x8040 241 #define GLX_PBUFFER_WIDTH 0x8041 242 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000 243 #define GLX_DONT_CARE 0xFFFFFFFF 270 Display* dpy,
int screen,
const int* attrib_list,
int* nelements);
275 Display* dpy,
GLXFBConfig config,
const int* attrib_list);
278 const int* attrib_list);
280 Display* dpy,
GLXFBConfig config, Window
win,
const int* attrib_list);
288 Display* dpy,
int screen,
int* nelements);
290 Display* dpy,
GLXDrawable draw,
unsigned long* event_mask);
291 typedef XVisualInfo* (*PFNGLXGETVISUALFROMFBCONFIGPROC)(
300 Display* dpy,
GLXDrawable draw,
unsigned long event_mask);
302 #define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig) 303 #define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext) 304 #define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer) 305 #define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap) 306 #define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow) 307 #define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer) 308 #define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap) 309 #define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow) 310 #define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable) 311 #define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib) 312 #define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs) 313 #define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent) 314 #define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig) 315 #define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent) 316 #define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext) 317 #define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable) 318 #define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent) 320 #define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3) 327 #ifndef GLX_VERSION_1_4 328 #define GLX_VERSION_1_4 1 330 #define GLX_SAMPLE_BUFFERS 100000 331 #define GLX_SAMPLES 100001 335 #define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4) 342 #ifndef GLX_3DFX_multisample 343 #define GLX_3DFX_multisample 1 345 #define GLX_SAMPLE_BUFFERS_3DFX 0x8050 346 #define GLX_SAMPLES_3DFX 0x8051 348 #define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample) 355 #ifndef GLX_ARB_create_context 356 #define GLX_ARB_create_context 1 358 #define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001 359 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 360 #define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 361 #define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 362 #define GLX_CONTEXT_FLAGS_ARB 0x2094 366 const int* attrib_list);
368 #define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB) 370 #define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context) 377 #ifndef GLX_ARB_fbconfig_float 378 #define GLX_ARB_fbconfig_float 1 380 #define GLX_RGBA_FLOAT_BIT 0x00000004 381 #define GLX_RGBA_FLOAT_TYPE 0x20B9 383 #define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float) 390 #ifndef GLX_ARB_framebuffer_sRGB 391 #define GLX_ARB_framebuffer_sRGB 1 393 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 395 #define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB) 402 #ifndef GLX_ARB_get_proc_address 403 #define GLX_ARB_get_proc_address 1 407 #define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address) 414 #ifndef GLX_ARB_multisample 415 #define GLX_ARB_multisample 1 417 #define GLX_SAMPLE_BUFFERS_ARB 100000 418 #define GLX_SAMPLES_ARB 100001 420 #define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample) 427 #ifndef GLX_ATI_pixel_format_float 428 #define GLX_ATI_pixel_format_float 1 430 #define GLX_RGBA_FLOAT_ATI_BIT 0x00000100 432 #define GLXEW_ATI_pixel_format_float \ 433 GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float) 440 #ifndef GLX_ATI_render_texture 441 #define GLX_ATI_render_texture 1 443 #define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 444 #define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 445 #define GLX_TEXTURE_FORMAT_ATI 0x9802 446 #define GLX_TEXTURE_TARGET_ATI 0x9803 447 #define GLX_MIPMAP_TEXTURE_ATI 0x9804 448 #define GLX_TEXTURE_RGB_ATI 0x9805 449 #define GLX_TEXTURE_RGBA_ATI 0x9806 450 #define GLX_NO_TEXTURE_ATI 0x9807 451 #define GLX_TEXTURE_CUBE_MAP_ATI 0x9808 452 #define GLX_TEXTURE_1D_ATI 0x9809 453 #define GLX_TEXTURE_2D_ATI 0x980A 454 #define GLX_MIPMAP_LEVEL_ATI 0x980B 455 #define GLX_CUBE_MAP_FACE_ATI 0x980C 456 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D 457 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E 458 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F 459 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 460 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 461 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 462 #define GLX_FRONT_LEFT_ATI 0x9813 463 #define GLX_FRONT_RIGHT_ATI 0x9814 464 #define GLX_BACK_LEFT_ATI 0x9815 465 #define GLX_BACK_RIGHT_ATI 0x9816 466 #define GLX_AUX0_ATI 0x9817 467 #define GLX_AUX1_ATI 0x9818 468 #define GLX_AUX2_ATI 0x9819 469 #define GLX_AUX3_ATI 0x981A 470 #define GLX_AUX4_ATI 0x981B 471 #define GLX_AUX5_ATI 0x981C 472 #define GLX_AUX6_ATI 0x981D 473 #define GLX_AUX7_ATI 0x981E 474 #define GLX_AUX8_ATI 0x981F 475 #define GLX_AUX9_ATI 0x9820 476 #define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 477 #define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 482 Display* dpy,
GLXDrawable draw,
const int* attrib_list);
486 #define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI) 487 #define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI) 488 #define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI) 490 #define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture) 497 #ifndef GLX_EXT_fbconfig_packed_float 498 #define GLX_EXT_fbconfig_packed_float 1 500 #define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 501 #define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 503 #define GLXEW_EXT_fbconfig_packed_float \ 504 GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float) 511 #ifndef GLX_EXT_framebuffer_sRGB 512 #define GLX_EXT_framebuffer_sRGB 1 514 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 516 #define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB) 523 #ifndef GLX_EXT_import_context 524 #define GLX_EXT_import_context 1 526 #define GLX_SHARE_CONTEXT_EXT 0x800A 527 #define GLX_VISUAL_ID_EXT 0x800B 528 #define GLX_SCREEN_EXT 0x800C 539 #define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT) 540 #define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT) 541 #define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT) 542 #define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT) 544 #define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context) 551 #ifndef GLX_EXT_scene_marker 552 #define GLX_EXT_scene_marker 1 554 #define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker) 561 #ifndef GLX_EXT_texture_from_pixmap 562 #define GLX_EXT_texture_from_pixmap 1 564 #define GLX_TEXTURE_1D_BIT_EXT 0x00000001 565 #define GLX_TEXTURE_2D_BIT_EXT 0x00000002 566 #define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 567 #define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 568 #define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 569 #define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 570 #define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 571 #define GLX_Y_INVERTED_EXT 0x20D4 572 #define GLX_TEXTURE_FORMAT_EXT 0x20D5 573 #define GLX_TEXTURE_TARGET_EXT 0x20D6 574 #define GLX_MIPMAP_TEXTURE_EXT 0x20D7 575 #define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 576 #define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 577 #define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA 578 #define GLX_TEXTURE_1D_EXT 0x20DB 579 #define GLX_TEXTURE_2D_EXT 0x20DC 580 #define GLX_TEXTURE_RECTANGLE_EXT 0x20DD 581 #define GLX_FRONT_LEFT_EXT 0x20DE 582 #define GLX_FRONT_RIGHT_EXT 0x20DF 583 #define GLX_BACK_LEFT_EXT 0x20E0 584 #define GLX_BACK_RIGHT_EXT 0x20E1 585 #define GLX_AUX0_EXT 0x20E2 586 #define GLX_AUX1_EXT 0x20E3 587 #define GLX_AUX2_EXT 0x20E4 588 #define GLX_AUX3_EXT 0x20E5 589 #define GLX_AUX4_EXT 0x20E6 590 #define GLX_AUX5_EXT 0x20E7 591 #define GLX_AUX6_EXT 0x20E8 592 #define GLX_AUX7_EXT 0x20E9 593 #define GLX_AUX8_EXT 0x20EA 594 #define GLX_AUX9_EXT 0x20EB 598 const int* attrib_list);
602 #define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT) 603 #define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT) 605 #define GLXEW_EXT_texture_from_pixmap \ 606 GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap) 613 #ifndef GLX_EXT_visual_info 614 #define GLX_EXT_visual_info 1 616 #define GLX_X_VISUAL_TYPE_EXT 0x22 617 #define GLX_TRANSPARENT_TYPE_EXT 0x23 618 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 619 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 620 #define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 621 #define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 622 #define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 623 #define GLX_NONE_EXT 0x8000 624 #define GLX_TRUE_COLOR_EXT 0x8002 625 #define GLX_DIRECT_COLOR_EXT 0x8003 626 #define GLX_PSEUDO_COLOR_EXT 0x8004 627 #define GLX_STATIC_COLOR_EXT 0x8005 628 #define GLX_GRAY_SCALE_EXT 0x8006 629 #define GLX_STATIC_GRAY_EXT 0x8007 630 #define GLX_TRANSPARENT_RGB_EXT 0x8008 631 #define GLX_TRANSPARENT_INDEX_EXT 0x8009 633 #define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info) 640 #ifndef GLX_EXT_visual_rating 641 #define GLX_EXT_visual_rating 1 643 #define GLX_VISUAL_CAVEAT_EXT 0x20 644 #define GLX_SLOW_VISUAL_EXT 0x8001 645 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D 647 #define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating) 654 #ifndef GLX_MESA_agp_offset 655 #define GLX_MESA_agp_offset 1 659 #define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA) 661 #define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset) 668 #ifndef GLX_MESA_copy_sub_buffer 669 #define GLX_MESA_copy_sub_buffer 1 675 #define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA) 677 #define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer) 684 #ifndef GLX_MESA_pixmap_colormap 685 #define GLX_MESA_pixmap_colormap 1 688 Display* dpy, XVisualInfo* visual, Pixmap pixmap, Colormap cmap);
690 #define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA) 692 #define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap) 699 #ifndef GLX_MESA_release_buffers 700 #define GLX_MESA_release_buffers 1 704 #define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA) 706 #define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers) 713 #ifndef GLX_MESA_set_3dfx_mode 714 #define GLX_MESA_set_3dfx_mode 1 716 #define GLX_3DFX_WINDOW_MODE_MESA 0x1 717 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 721 #define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA) 723 #define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode) 730 #ifndef GLX_NV_float_buffer 731 #define GLX_NV_float_buffer 1 733 #define GLX_FLOAT_COMPONENTS_NV 0x20B0 735 #define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer) 742 #ifndef GLX_NV_present_video 743 #define GLX_NV_present_video 1 745 #define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 748 Display* dpy,
unsigned int video_slot,
unsigned int video_device,
749 const int* attrib_list);
750 typedef unsigned int* (*PFNGLXENUMERATEVIDEODEVICESNVPROC)(
751 Display* dpy,
int screen,
int* nelements);
753 #define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV) 754 #define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV) 756 #define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video) 763 #ifndef GLX_NV_swap_group 764 #define GLX_NV_swap_group 1 773 Display* dpy,
int screen,
GLuint* maxGroups,
GLuint* maxBarriers);
778 #define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV) 779 #define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV) 780 #define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV) 781 #define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV) 782 #define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV) 783 #define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV) 785 #define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group) 792 #ifndef GLX_NV_vertex_array_range 793 #define GLX_NV_vertex_array_range 1 795 typedef void* (*PFNGLXALLOCATEMEMORYNVPROC)(
800 #define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV) 801 #define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV) 803 #define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range) 810 #ifndef GLX_NV_video_output 811 #define GLX_NV_video_output 1 813 #define GLX_VIDEO_OUT_COLOR_NV 0x20C3 814 #define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 815 #define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 816 #define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 817 #define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 818 #define GLX_VIDEO_OUT_FRAME_NV 0x20C8 819 #define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 820 #define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA 821 #define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB 822 #define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC 828 Display* dpy,
int screen,
int numVideoDevices,
832 unsigned long* pulCounterOutputPbuffer,
833 unsigned long* pulCounterOutputVideo);
838 Display* dpy,
GLXPbuffer pbuf,
int iBufferType,
839 unsigned long* pulCounterPbuffer,
GLboolean bBlock);
841 #define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV) 842 #define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV) 843 #define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV) 844 #define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV) 845 #define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV) 846 #define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV) 848 #define GLXEW_NV_video_output GLXEW_GET_VAR(__GLXEW_NV_video_output) 855 #ifndef GLX_OML_swap_method 856 #define GLX_OML_swap_method 1 858 #define GLX_SWAP_METHOD_OML 0x8060 859 #define GLX_SWAP_EXCHANGE_OML 0x8061 860 #define GLX_SWAP_COPY_OML 0x8062 861 #define GLX_SWAP_UNDEFINED_OML 0x8063 863 #define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method) 870 #if !defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && \ 871 (__STDC_VERSION__ >= 199901L) 872 #include <inttypes.h> 873 #define GLX_OML_sync_control 1 875 typedef Bool (*PFNGLXGETMSCRATEOMLPROC)(
878 typedef Bool (*PFNGLXGETSYNCVALUESOMLPROC)(
881 typedef int64_t (*PFNGLXSWAPBUFFERSMSCOMLPROC)(
884 typedef Bool (*PFNGLXWAITFORMSCOMLPROC)(
887 typedef Bool (*PFNGLXWAITFORSBCOMLPROC)(
891 #define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML) 892 #define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML) 893 #define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML) 894 #define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML) 895 #define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML) 897 #define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control) 904 #ifndef GLX_SGIS_blended_overlay 905 #define GLX_SGIS_blended_overlay 1 907 #define GLX_BLENDED_RGBA_SGIS 0x8025 909 #define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay) 916 #ifndef GLX_SGIS_color_range 917 #define GLX_SGIS_color_range 1 919 #define GLX_MIN_RED_SGIS 0 920 #define GLX_MAX_GREEN_SGIS 0 921 #define GLX_MIN_BLUE_SGIS 0 922 #define GLX_MAX_ALPHA_SGIS 0 923 #define GLX_MIN_GREEN_SGIS 0 924 #define GLX_MIN_ALPHA_SGIS 0 925 #define GLX_MAX_RED_SGIS 0 926 #define GLX_EXTENDED_RANGE_SGIS 0 927 #define GLX_MAX_BLUE_SGIS 0 929 #define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range) 936 #ifndef GLX_SGIS_multisample 937 #define GLX_SGIS_multisample 1 939 #define GLX_SAMPLE_BUFFERS_SGIS 100000 940 #define GLX_SAMPLES_SGIS 100001 942 #define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample) 949 #ifndef GLX_SGIS_shared_multisample 950 #define GLX_SGIS_shared_multisample 1 952 #define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 953 #define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 955 #define GLXEW_SGIS_shared_multisample \ 956 GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample) 963 #ifndef GLX_SGIX_fbconfig 964 #define GLX_SGIX_fbconfig 1 966 #define GLX_WINDOW_BIT_SGIX 0x00000001 967 #define GLX_RGBA_BIT_SGIX 0x00000001 968 #define GLX_PIXMAP_BIT_SGIX 0x00000002 969 #define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 970 #define GLX_SCREEN_EXT 0x800C 971 #define GLX_DRAWABLE_TYPE_SGIX 0x8010 972 #define GLX_RENDER_TYPE_SGIX 0x8011 973 #define GLX_X_RENDERABLE_SGIX 0x8012 974 #define GLX_FBCONFIG_ID_SGIX 0x8013 975 #define GLX_RGBA_TYPE_SGIX 0x8014 976 #define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 982 Display* dpy,
int screen,
const int* attrib_list,
int* nelements);
991 Display* dpy, XVisualInfo* vis);
992 typedef XVisualInfo* (*PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(
995 #define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX) 996 #define glXCreateContextWithConfigSGIX \ 997 GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX) 998 #define glXCreateGLXPixmapWithConfigSGIX \ 999 GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX) 1000 #define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX) 1001 #define glXGetFBConfigFromVisualSGIX \ 1002 GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX) 1003 #define glXGetVisualFromFBConfigSGIX \ 1004 GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX) 1006 #define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig) 1013 #ifndef GLX_SGIX_hyperpipe 1014 #define GLX_SGIX_hyperpipe 1 1016 #define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 1017 #define GLX_PIPE_RECT_SGIX 0x00000001 1018 #define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 1019 #define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 1020 #define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 1021 #define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 1022 #define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 1023 #define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 1024 #define GLX_BAD_HYPERPIPE_SGIX 92 1025 #define GLX_HYPERPIPE_ID_SGIX 0x8030 1063 Display* dpy,
int timeSlice,
int attrib,
int size,
void* attribList);
1068 Display* dpy,
int timeSlice,
int attrib,
int size,
1069 void* returnAttribList);
1071 Display* dpy,
int timeSlice,
int attrib,
int size,
void* attribList,
1072 void* returnAttribList);
1074 Display* dpy,
int hpId,
int* npipes);
1076 Display* dpy,
int* npipes);
1078 #define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX) 1079 #define glXDestroyHyperpipeConfigSGIX \ 1080 GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX) 1081 #define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX) 1082 #define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX) 1083 #define glXQueryHyperpipeAttribSGIX \ 1084 GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX) 1085 #define glXQueryHyperpipeBestAttribSGIX \ 1086 GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX) 1087 #define glXQueryHyperpipeConfigSGIX \ 1088 GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX) 1089 #define glXQueryHyperpipeNetworkSGIX \ 1090 GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX) 1092 #define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe) 1099 #ifndef GLX_SGIX_pbuffer 1100 #define GLX_SGIX_pbuffer 1 1102 #define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 1103 #define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 1104 #define GLX_PBUFFER_BIT_SGIX 0x00000004 1105 #define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 1106 #define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 1107 #define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 1108 #define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 1109 #define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 1110 #define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 1111 #define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 1112 #define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 1113 #define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 1114 #define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 1115 #define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 1116 #define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A 1117 #define GLX_PRESERVED_CONTENTS_SGIX 0x801B 1118 #define GLX_LARGEST_PBUFFER_SGIX 0x801C 1119 #define GLX_WIDTH_SGIX 0x801D 1120 #define GLX_HEIGHT_SGIX 0x801E 1121 #define GLX_EVENT_MASK_SGIX 0x801F 1122 #define GLX_DAMAGED_SGIX 0x8020 1123 #define GLX_SAVED_SGIX 0x8021 1124 #define GLX_WINDOW_SGIX 0x8022 1125 #define GLX_PBUFFER_SGIX 0x8023 1126 #define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 1146 unsigned int height,
int* attrib_list);
1156 #define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX) 1157 #define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX) 1158 #define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX) 1159 #define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX) 1160 #define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX) 1162 #define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer) 1169 #ifndef GLX_SGIX_swap_barrier 1170 #define GLX_SGIX_swap_barrier 1 1175 Display* dpy,
int screen,
int* max);
1177 #define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX) 1178 #define glXQueryMaxSwapBarriersSGIX \ 1179 GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX) 1181 #define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier) 1188 #ifndef GLX_SGIX_swap_group 1189 #define GLX_SGIX_swap_group 1 1194 #define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX) 1196 #define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group) 1203 #ifndef GLX_SGIX_video_resize 1204 #define GLX_SGIX_video_resize 1 1206 #define GLX_SYNC_FRAME_SGIX 0x00000000 1207 #define GLX_SYNC_SWAP_SGIX 0x00000001 1210 Display*
display,
int screen,
int channel, Window window);
1212 Display*
display,
int screen,
int channel,
int x,
int y,
int w,
int h);
1214 Display*
display,
int screen,
int channel,
GLenum synctype);
1216 Display*
display,
int screen,
int channel,
int*
x,
int*
y,
int*
w,
1219 Display*
display,
int screen,
int channel,
int* dx,
int* dy,
int* dw,
1222 #define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX) 1223 #define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX) 1224 #define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX) 1225 #define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX) 1226 #define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX) 1228 #define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize) 1235 #ifndef GLX_SGIX_visual_select_group 1236 #define GLX_SGIX_visual_select_group 1 1238 #define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 1240 #define GLXEW_SGIX_visual_select_group \ 1241 GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group) 1248 #ifndef GLX_SGI_cushion 1249 #define GLX_SGI_cushion 1 1252 Display* dpy, Window window,
float cushion);
1254 #define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI) 1256 #define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion) 1263 #ifndef GLX_SGI_make_current_read 1264 #define GLX_SGI_make_current_read 1 1270 #define glXGetCurrentReadDrawableSGI \ 1271 GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI) 1272 #define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI) 1274 #define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read) 1281 #ifndef GLX_SGI_swap_control 1282 #define GLX_SGI_swap_control 1 1286 #define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI) 1288 #define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control) 1295 #ifndef GLX_SGI_video_sync 1296 #define GLX_SGI_video_sync 1 1300 int divisor,
int remainder,
unsigned int*
count);
1302 #define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI) 1303 #define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI) 1305 #define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync) 1312 #ifndef GLX_SUN_get_transparent_index 1313 #define GLX_SUN_get_transparent_index 1 1316 Display* dpy, Window overlay, Window underlay,
1317 unsigned long* pTransparentIndex);
1319 #define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN) 1321 #define GLXEW_SUN_get_transparent_index \ 1322 GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index) 1329 #ifndef GLX_SUN_video_resize 1330 #define GLX_SUN_video_resize 1 1332 #define GLX_VIDEO_RESIZE_SUN 0x8171 1333 #define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD 1340 #define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN) 1341 #define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN) 1343 #define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize) 1351 #define GLXEW_EXPORT 1353 #define GLXEW_EXPORT extern 1420 #ifdef GLX_OML_sync_control 1421 extern PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML;
1422 extern PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML;
1423 extern PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML;
1424 extern PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML;
1425 extern PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML;
1480 #if defined(GLEW_MX) 1481 struct GLXEWContextStruct
1544 typedef struct GLXEWContextStruct GLXEWContext;
1545 extern GLenum glxewContextInit(GLXEWContext* ctx);
1546 extern GLboolean glxewContextIsSupported(
1547 GLXEWContext* ctx,
const char*
name);
1549 #define glxewInit() glxewContextInit(glxewGetContext()) 1550 #define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x) 1552 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) 1553 #define GLXEW_GET_FUN(x) x 1557 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) 1558 #define GLXEW_GET_FUN(x) x
GLXEW_EXPORT GLboolean __GLXEW_SGIS_color_range
int(* PFNGLXGETVIDEOSYNCSGIPROC)(uint *count)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_barrier
GLXEW_EXPORT GLboolean __GLXEW_EXT_framebuffer_sRGB
Bool glXQueryExtension(Display *dpy, int *errorBase, int *eventBase)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_2
GLuint GLuint GLsizei count
PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer
GLXEW_EXPORT GLboolean __GLXEW_ATI_pixel_format_float
void glXDestroyGLXPixmap(Display *dpy, GLXPixmap pix)
PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable
int(* PFNGLXRELEASEVIDEOIMAGENVPROC)(Display *dpy, GLXPbuffer pbuf)
PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX
Bool(* PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers)
Bool(* PFNGLXQUERYFRAMECOUNTNVPROC)(Display *dpy, int screen, GLuint *count)
PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib
const char * glXGetClientString(Display *dpy, int name)
PFNGLXSELECTEVENTPROC __glewXSelectEvent
Bool(* PFNGLXMAKECONTEXTCURRENTPROC)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
GLXContext(* PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT
PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable
int(* PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList)
PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX
GLXEW_EXPORT GLboolean __GLXEW_NV_float_buffer
void(* PFNGLXBINDTEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer, const int *attrib_list)
Bool glXIsDirect(Display *dpy, GLXContext ctx)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_visual_select_group
GLXContext(* PFNGLXIMPORTCONTEXTEXTPROC)(Display *dpy, GLXContextID contextID)
int(* PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int *count)
PFNGLXCREATEWINDOWPROC __glewXCreateWindow
GLXEW_EXPORT GLboolean __GLXEW_MESA_agp_offset
int(* PFNGLXQUERYCONTEXTPROC)(Display *dpy, GLXContext ctx, int attribute, int *value)
GLXEW_EXPORT GLboolean __GLXEW_MESA_release_buffers
int(* PFNGLXGETFBCONFIGATTRIBPROC)(Display *dpy, GLXFBConfig config, int attribute, int *value)
GLXPixmap(* PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap)
PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX
GLsizei const GLvoid * pointer
GLXPbuffer(* PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display *dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list)
PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX
int(* PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_blended_overlay
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_3
void(* PFNGLXCOPYSUBBUFFERMESAPROC)(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height)
unsigned int GLXVideoDeviceNV
Display *(* PFNGLXGETCURRENTDISPLAYPROC)(void)
const char * glXQueryServerString(Display *dpy, int screen, int name)
PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI
PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow
GLXEW_EXPORT GLboolean __GLXEW_SUN_video_resize
GLXEW_EXPORT GLboolean __GLXEW_MESA_copy_sub_buffer
GLboolean glxewGetExtension(const char *name)
GLXContext glXCreateContext(Display *dpy, XVisualInfo *vis, GLXContext shareList, Bool direct)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_shared_multisample
PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX
void(* PFNGLXDESTROYPIXMAPPROC)(Display *dpy, GLXPixmap pixmap)
int(* PFNGLXCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int x, int y, int w, int h)
GLXEW_EXPORT GLboolean __GLXEW_NV_present_video
GLXHyperpipeNetworkSGIX *(* PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display *dpy, int *npipes)
PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig
GLXEW_EXPORT GLboolean __GLXEW_OML_sync_control
void(* PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf)
PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI
void(* PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value)
Bool(* PFNGLXRESETFRAMECOUNTNVPROC)(Display *dpy, int screen)
struct __GLXcontextRec * GLXContext
PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX
GLXEW_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap
GLXPixmap(* PFNGLXCREATEPIXMAPPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI
void(*)(void) glXGetProcAddress(const GLubyte *procName)
unsigned int *(* PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display *dpy, int screen, int *nelements)
GLXEW_EXPORT GLboolean __GLXEW_3DFX_multisample
PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA
GLXEW_EXPORT GLboolean __GLXEW_SGIX_fbconfig
GLXEW_EXPORT GLboolean __GLXEW_SGIS_multisample
void(* PFNGLXGETSELECTEDEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long *event_mask)
GLXEW_EXPORT GLboolean __GLXEW_SGI_video_sync
GLXPixmap glXCreateGLXPixmap(Display *dpy, XVisualInfo *vis, Pixmap pixmap)
Bool(* PFNGLXQUERYSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier)
PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN
PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV
const char * glXQueryExtensionsString(Display *dpy, int screen)
void glXCopyContext(Display *dpy, GLXContext src, GLXContext dst, GLulong mask)
GLXEW_EXPORT GLboolean __GLXEW_NV_vertex_array_range
GLXContext glXGetCurrentContext(void)
GLXFBConfig *(* PFNGLXGETFBCONFIGSPROC)(Display *dpy, int screen, int *nelements)
void glXSwapBuffers(Display *dpy, GLXDrawable drawable)
PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV
GLubyte GLubyte GLubyte GLubyte w
GLXWindow(* PFNGLXCREATEWINDOWPROC)(Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
int(* PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display *display, int screen, int channel, Window window)
void *(* PFNGLXALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
void(* PFNGLXQUERYDRAWABLEPROC)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
int(* PFNGLXHYPERPIPECONFIGSGIXPROC)(Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId)
PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT
GLXEW_EXPORT GLboolean __GLXEW_SGI_swap_control
struct __GLXFBConfigRec * GLXFBConfig
PFNGLXQUERYCONTEXTPROC __glewXQueryContext
int(* PFNGLXSWAPINTERVALSGIPROC)(int interval)
GLXDrawable glXGetCurrentDrawable(void)
int glXGetConfig(Display *dpy, XVisualInfo *vis, int attrib, int *value)
PFNGLXCUSHIONSGIPROC __glewXCushionSGI
int(* PFNGLXBINDHYPERPIPESGIXPROC)(Display *dpy, int hpId)
PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI
void(* PFNGLXDESTROYWINDOWPROC)(Display *dpy, GLXWindow win)
void(* PFNGLXDESTROYPBUFFERPROC)(Display *dpy, GLXPbuffer pbuf)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_0
void glXUseXFont(Font font, int first, int count, int listBase)
GLXEW_EXPORT GLboolean __GLXEW_ARB_get_proc_address
PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV
PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI
int(* PFNGLXGETVIDEOINFONVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
GLXEW_EXPORT GLboolean __GLXEW_EXT_import_context
PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV
GLXFBConfig *(* PFNGLXCHOOSEFBCONFIGPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs
GLXPixmap(* PFNGLXCREATEGLXPIXMAPMESAPROC)(Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap)
int(* PFNGLXGETVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float *factor)
PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent
GLboolean glxewIsSupported(const char *name)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_4
PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN
int(* PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId)
GLXFBConfigSGIX(* PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display *dpy, XVisualInfo *vis)
PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext
PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay
int(* PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display *display, int screen, int channel, int *x, int *y, int *w, int *h)
PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX
Bool glXQueryVersion(Display *dpy, int *major, int *minor)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_pbuffer
GLboolean(* PFNGLXSET3DFXMODEMESAPROC)(GLint mode)
GLXEW_EXPORT GLboolean __GLXEW_ARB_fbconfig_float
PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI
PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX
PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV
PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV
GLXPbuffer(* PFNGLXCREATEPBUFFERPROC)(Display *dpy, GLXFBConfig config, const int *attrib_list)
GLXEW_EXPORT GLboolean __GLXEW_NV_swap_group
GLXEW_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap
PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX
int(* PFNGLXVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float factor)
PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV
PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV
PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX
PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI
enum Status { eInsideTag=0, eOutsideTag } Status
GLXContext(* PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list)
PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN
void(* PFNGLXFREEMEMORYNVPROC)(void *pointer)
PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX
GLXFBConfigSGIX *(* PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
Bool glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx)
mrpt::gui::CDisplayWindow3D::Ptr win
void(* PFNGLXJOINSWAPGROUPSGIXPROC)(Display *dpy, GLXDrawable drawable, GLXDrawable member)
PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT
GLXEW_EXPORT GLboolean __GLXEW_ARB_multisample
Bool(* PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display *dpy, int screen, int *max)
void(*)(void) glXGetProcAddressARB(const GLubyte *procName)
int(* PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList)
PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA
GLXContext(* PFNGLXCREATENEWCONTEXTPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
int(* PFNGLXRELEASEVIDEODEVICENVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice)
int(* PFNGLXGETVIDEODEVICENVPROC)(Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice)
int(* PFNGLXQUERYCONTEXTINFOEXTPROC)(Display *dpy, GLXContext context, int attribute, int *value)
PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV
PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer
GLXPbufferClobberEvent glxpbufferclobber
GLXEW_EXPORT GLboolean __GLXEW_SGIX_hyperpipe
void(* PFNGLXCUSHIONSGIPROC)(Display *dpy, Window window, float cushion)
PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT
PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_1
void(* PFNGLXBINDSWAPBARRIERSGIXPROC)(Display *dpy, GLXDrawable drawable, int barrier)
int(* PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value)
PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX
PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX
GLXEW_EXPORT GLboolean __GLXEW_ATI_render_texture
PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV
PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX
PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV
Bool(* PFNGLXJOINSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint group)
PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX
PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX
GLXEW_EXPORT GLboolean __GLXEW_SGI_make_current_read
PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA
GLXEW_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode
PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLEPROC)(void)
GLXEW_EXPORT GLboolean __GLXEW_SUN_get_transparent_index
void(* PFNGLXSELECTEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long mask)
unsigned int(* PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_group
GLXContextID(* PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context)
void glXDestroyContext(Display *dpy, GLXContext ctx)
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config)
union __GLXEvent GLXEvent
PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB
GLXEW_EXPORT GLboolean __GLXEW_SGIX_video_resize
PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX
GLXEW_EXPORT GLboolean __GLXEW_OML_swap_method
PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX
void(* PFNGLXBINDTEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
int(* PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList)
GLXEW_EXPORT GLboolean __GLXEW_NV_video_output
GLuint const GLchar * name
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void)
void(* PFNGLXGETSELECTEDEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long *mask)
PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV
GLXEW_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB
Status(* PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex)
PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX
int(* PFNGLXBINDVIDEOIMAGENVPROC)(Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer)
int(* PFNGLXBINDVIDEODEVICENVPROC)(Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list)
XVisualInfo * glXChooseVisual(Display *dpy, int screen, int *attribList)
PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX
PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX
PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV
PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap
void(* PFNGLXDRAWABLEATTRIBATIPROC)(Display *dpy, GLXDrawable draw, const int *attrib_list)
Bool(* PFNGLXBINDSWAPBARRIERNVPROC)(Display *dpy, GLuint group, GLuint barrier)
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red
PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap
GLXEW_EXPORT GLboolean __GLXEW_EXT_fbconfig_packed_float
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_rating
GLsizei const GLfloat * value
void(* PFNGLXRELEASETEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX
PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX
PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA
GLXEW_EXPORT GLboolean __GLXEW_SGI_cushion
PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI
Bool(* PFNGLXRELEASEBUFFERSMESAPROC)(Display *dpy, GLXDrawable d)
GLXHyperpipeConfigSGIX *(* PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId, int *npipes)
PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV
GLenum GLsizei GLsizei height
PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX
void(* PFNGLXFREECONTEXTEXTPROC)(Display *dpy, GLXContext context)
PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV
void(* PFNGLXSELECTEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long event_mask)
GLXEW_EXPORT GLboolean __GLXEW_ARB_create_context
PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent
PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV
unsigned int participationType
void(* PFNGLXRELEASETEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer)
struct __GLXFBConfigRec * GLXFBConfigSGIX
PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA
Bool(* PFNGLXMAKECURRENTREADSGIPROC)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT
PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX
int(* PFNGLXQUERYCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh)
GLXEW_EXPORT GLboolean __GLXEW_EXT_scene_marker
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGPROC)(Display *dpy, GLXFBConfig config)
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_info
PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX
int(* PFNGLXCHANNELRECTSYNCSGIXPROC)(Display *display, int screen, int channel, GLenum synctype)
PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX