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 123 extern int glXGetConfig (Display *dpy, XVisualInfo *vis,
int attrib,
int *
value);
124 extern XVisualInfo*
glXChooseVisual (Display *dpy,
int screen,
int *attribList);
139 #define GLXEW_VERSION_1_0 GLXEW_GET_VAR(__GLXEW_VERSION_1_0) 145 #ifndef GLX_VERSION_1_1 146 #define GLX_VERSION_1_1 148 #define GLX_VENDOR 0x1 149 #define GLX_VERSION 0x2 150 #define GLX_EXTENSIONS 0x3 156 #define GLXEW_VERSION_1_1 GLXEW_GET_VAR(__GLXEW_VERSION_1_1) 162 #ifndef GLX_VERSION_1_2 163 #define GLX_VERSION_1_2 1 165 typedef Display* ( * PFNGLXGETCURRENTDISPLAYPROC) (
void);
167 #define glXGetCurrentDisplay GLXEW_GET_FUN(__glewXGetCurrentDisplay) 169 #define GLXEW_VERSION_1_2 GLXEW_GET_VAR(__GLXEW_VERSION_1_2) 175 #ifndef GLX_VERSION_1_3 176 #define GLX_VERSION_1_3 1 178 #define GLX_RGBA_BIT 0x00000001 179 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 180 #define GLX_WINDOW_BIT 0x00000001 181 #define GLX_COLOR_INDEX_BIT 0x00000002 182 #define GLX_PIXMAP_BIT 0x00000002 183 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 184 #define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 185 #define GLX_PBUFFER_BIT 0x00000004 186 #define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 187 #define GLX_AUX_BUFFERS_BIT 0x00000010 188 #define GLX_CONFIG_CAVEAT 0x20 189 #define GLX_DEPTH_BUFFER_BIT 0x00000020 190 #define GLX_X_VISUAL_TYPE 0x22 191 #define GLX_TRANSPARENT_TYPE 0x23 192 #define GLX_TRANSPARENT_INDEX_VALUE 0x24 193 #define GLX_TRANSPARENT_RED_VALUE 0x25 194 #define GLX_TRANSPARENT_GREEN_VALUE 0x26 195 #define GLX_TRANSPARENT_BLUE_VALUE 0x27 196 #define GLX_TRANSPARENT_ALPHA_VALUE 0x28 197 #define GLX_STENCIL_BUFFER_BIT 0x00000040 198 #define GLX_ACCUM_BUFFER_BIT 0x00000080 199 #define GLX_NONE 0x8000 200 #define GLX_SLOW_CONFIG 0x8001 201 #define GLX_TRUE_COLOR 0x8002 202 #define GLX_DIRECT_COLOR 0x8003 203 #define GLX_PSEUDO_COLOR 0x8004 204 #define GLX_STATIC_COLOR 0x8005 205 #define GLX_GRAY_SCALE 0x8006 206 #define GLX_STATIC_GRAY 0x8007 207 #define GLX_TRANSPARENT_RGB 0x8008 208 #define GLX_TRANSPARENT_INDEX 0x8009 209 #define GLX_VISUAL_ID 0x800B 210 #define GLX_SCREEN 0x800C 211 #define GLX_NON_CONFORMANT_CONFIG 0x800D 212 #define GLX_DRAWABLE_TYPE 0x8010 213 #define GLX_RENDER_TYPE 0x8011 214 #define GLX_X_RENDERABLE 0x8012 215 #define GLX_FBCONFIG_ID 0x8013 216 #define GLX_RGBA_TYPE 0x8014 217 #define GLX_COLOR_INDEX_TYPE 0x8015 218 #define GLX_MAX_PBUFFER_WIDTH 0x8016 219 #define GLX_MAX_PBUFFER_HEIGHT 0x8017 220 #define GLX_MAX_PBUFFER_PIXELS 0x8018 221 #define GLX_PRESERVED_CONTENTS 0x801B 222 #define GLX_LARGEST_PBUFFER 0x801C 223 #define GLX_WIDTH 0x801D 224 #define GLX_HEIGHT 0x801E 225 #define GLX_EVENT_MASK 0x801F 226 #define GLX_DAMAGED 0x8020 227 #define GLX_SAVED 0x8021 228 #define GLX_WINDOW 0x8022 229 #define GLX_PBUFFER 0x8023 230 #define GLX_PBUFFER_HEIGHT 0x8040 231 #define GLX_PBUFFER_WIDTH 0x8041 232 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000 233 #define GLX_DONT_CARE 0xFFFFFFFF 258 typedef GLXFBConfig* ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy,
int screen,
const int *attrib_list,
int *nelements);
268 typedef GLXFBConfig* ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy,
int screen,
int *nelements);
270 typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy,
GLXFBConfig config);
276 #define glXChooseFBConfig GLXEW_GET_FUN(__glewXChooseFBConfig) 277 #define glXCreateNewContext GLXEW_GET_FUN(__glewXCreateNewContext) 278 #define glXCreatePbuffer GLXEW_GET_FUN(__glewXCreatePbuffer) 279 #define glXCreatePixmap GLXEW_GET_FUN(__glewXCreatePixmap) 280 #define glXCreateWindow GLXEW_GET_FUN(__glewXCreateWindow) 281 #define glXDestroyPbuffer GLXEW_GET_FUN(__glewXDestroyPbuffer) 282 #define glXDestroyPixmap GLXEW_GET_FUN(__glewXDestroyPixmap) 283 #define glXDestroyWindow GLXEW_GET_FUN(__glewXDestroyWindow) 284 #define glXGetCurrentReadDrawable GLXEW_GET_FUN(__glewXGetCurrentReadDrawable) 285 #define glXGetFBConfigAttrib GLXEW_GET_FUN(__glewXGetFBConfigAttrib) 286 #define glXGetFBConfigs GLXEW_GET_FUN(__glewXGetFBConfigs) 287 #define glXGetSelectedEvent GLXEW_GET_FUN(__glewXGetSelectedEvent) 288 #define glXGetVisualFromFBConfig GLXEW_GET_FUN(__glewXGetVisualFromFBConfig) 289 #define glXMakeContextCurrent GLXEW_GET_FUN(__glewXMakeContextCurrent) 290 #define glXQueryContext GLXEW_GET_FUN(__glewXQueryContext) 291 #define glXQueryDrawable GLXEW_GET_FUN(__glewXQueryDrawable) 292 #define glXSelectEvent GLXEW_GET_FUN(__glewXSelectEvent) 294 #define GLXEW_VERSION_1_3 GLXEW_GET_VAR(__GLXEW_VERSION_1_3) 300 #ifndef GLX_VERSION_1_4 301 #define GLX_VERSION_1_4 1 303 #define GLX_SAMPLE_BUFFERS 100000 304 #define GLX_SAMPLES 100001 308 #define GLXEW_VERSION_1_4 GLXEW_GET_VAR(__GLXEW_VERSION_1_4) 314 #ifndef GLX_3DFX_multisample 315 #define GLX_3DFX_multisample 1 317 #define GLX_SAMPLE_BUFFERS_3DFX 0x8050 318 #define GLX_SAMPLES_3DFX 0x8051 320 #define GLXEW_3DFX_multisample GLXEW_GET_VAR(__GLXEW_3DFX_multisample) 326 #ifndef GLX_ARB_create_context 327 #define GLX_ARB_create_context 1 329 #define GLX_CONTEXT_DEBUG_BIT_ARB 0x0001 330 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 331 #define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 332 #define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 333 #define GLX_CONTEXT_FLAGS_ARB 0x2094 337 #define glXCreateContextAttribsARB GLXEW_GET_FUN(__glewXCreateContextAttribsARB) 339 #define GLXEW_ARB_create_context GLXEW_GET_VAR(__GLXEW_ARB_create_context) 345 #ifndef GLX_ARB_fbconfig_float 346 #define GLX_ARB_fbconfig_float 1 348 #define GLX_RGBA_FLOAT_BIT 0x00000004 349 #define GLX_RGBA_FLOAT_TYPE 0x20B9 351 #define GLXEW_ARB_fbconfig_float GLXEW_GET_VAR(__GLXEW_ARB_fbconfig_float) 357 #ifndef GLX_ARB_framebuffer_sRGB 358 #define GLX_ARB_framebuffer_sRGB 1 360 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 362 #define GLXEW_ARB_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_ARB_framebuffer_sRGB) 368 #ifndef GLX_ARB_get_proc_address 369 #define GLX_ARB_get_proc_address 1 373 #define GLXEW_ARB_get_proc_address GLXEW_GET_VAR(__GLXEW_ARB_get_proc_address) 379 #ifndef GLX_ARB_multisample 380 #define GLX_ARB_multisample 1 382 #define GLX_SAMPLE_BUFFERS_ARB 100000 383 #define GLX_SAMPLES_ARB 100001 385 #define GLXEW_ARB_multisample GLXEW_GET_VAR(__GLXEW_ARB_multisample) 391 #ifndef GLX_ATI_pixel_format_float 392 #define GLX_ATI_pixel_format_float 1 394 #define GLX_RGBA_FLOAT_ATI_BIT 0x00000100 396 #define GLXEW_ATI_pixel_format_float GLXEW_GET_VAR(__GLXEW_ATI_pixel_format_float) 402 #ifndef GLX_ATI_render_texture 403 #define GLX_ATI_render_texture 1 405 #define GLX_BIND_TO_TEXTURE_RGB_ATI 0x9800 406 #define GLX_BIND_TO_TEXTURE_RGBA_ATI 0x9801 407 #define GLX_TEXTURE_FORMAT_ATI 0x9802 408 #define GLX_TEXTURE_TARGET_ATI 0x9803 409 #define GLX_MIPMAP_TEXTURE_ATI 0x9804 410 #define GLX_TEXTURE_RGB_ATI 0x9805 411 #define GLX_TEXTURE_RGBA_ATI 0x9806 412 #define GLX_NO_TEXTURE_ATI 0x9807 413 #define GLX_TEXTURE_CUBE_MAP_ATI 0x9808 414 #define GLX_TEXTURE_1D_ATI 0x9809 415 #define GLX_TEXTURE_2D_ATI 0x980A 416 #define GLX_MIPMAP_LEVEL_ATI 0x980B 417 #define GLX_CUBE_MAP_FACE_ATI 0x980C 418 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_X_ATI 0x980D 419 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_X_ATI 0x980E 420 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Y_ATI 0x980F 421 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Y_ATI 0x9810 422 #define GLX_TEXTURE_CUBE_MAP_POSITIVE_Z_ATI 0x9811 423 #define GLX_TEXTURE_CUBE_MAP_NEGATIVE_Z_ATI 0x9812 424 #define GLX_FRONT_LEFT_ATI 0x9813 425 #define GLX_FRONT_RIGHT_ATI 0x9814 426 #define GLX_BACK_LEFT_ATI 0x9815 427 #define GLX_BACK_RIGHT_ATI 0x9816 428 #define GLX_AUX0_ATI 0x9817 429 #define GLX_AUX1_ATI 0x9818 430 #define GLX_AUX2_ATI 0x9819 431 #define GLX_AUX3_ATI 0x981A 432 #define GLX_AUX4_ATI 0x981B 433 #define GLX_AUX5_ATI 0x981C 434 #define GLX_AUX6_ATI 0x981D 435 #define GLX_AUX7_ATI 0x981E 436 #define GLX_AUX8_ATI 0x981F 437 #define GLX_AUX9_ATI 0x9820 438 #define GLX_BIND_TO_TEXTURE_LUMINANCE_ATI 0x9821 439 #define GLX_BIND_TO_TEXTURE_INTENSITY_ATI 0x9822 445 #define glXBindTexImageATI GLXEW_GET_FUN(__glewXBindTexImageATI) 446 #define glXDrawableAttribATI GLXEW_GET_FUN(__glewXDrawableAttribATI) 447 #define glXReleaseTexImageATI GLXEW_GET_FUN(__glewXReleaseTexImageATI) 449 #define GLXEW_ATI_render_texture GLXEW_GET_VAR(__GLXEW_ATI_render_texture) 455 #ifndef GLX_EXT_fbconfig_packed_float 456 #define GLX_EXT_fbconfig_packed_float 1 458 #define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 459 #define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 461 #define GLXEW_EXT_fbconfig_packed_float GLXEW_GET_VAR(__GLXEW_EXT_fbconfig_packed_float) 467 #ifndef GLX_EXT_framebuffer_sRGB 468 #define GLX_EXT_framebuffer_sRGB 1 470 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 472 #define GLXEW_EXT_framebuffer_sRGB GLXEW_GET_VAR(__GLXEW_EXT_framebuffer_sRGB) 478 #ifndef GLX_EXT_import_context 479 #define GLX_EXT_import_context 1 481 #define GLX_SHARE_CONTEXT_EXT 0x800A 482 #define GLX_VISUAL_ID_EXT 0x800B 483 #define GLX_SCREEN_EXT 0x800C 492 #define glXFreeContextEXT GLXEW_GET_FUN(__glewXFreeContextEXT) 493 #define glXGetContextIDEXT GLXEW_GET_FUN(__glewXGetContextIDEXT) 494 #define glXImportContextEXT GLXEW_GET_FUN(__glewXImportContextEXT) 495 #define glXQueryContextInfoEXT GLXEW_GET_FUN(__glewXQueryContextInfoEXT) 497 #define GLXEW_EXT_import_context GLXEW_GET_VAR(__GLXEW_EXT_import_context) 503 #ifndef GLX_EXT_scene_marker 504 #define GLX_EXT_scene_marker 1 506 #define GLXEW_EXT_scene_marker GLXEW_GET_VAR(__GLXEW_EXT_scene_marker) 512 #ifndef GLX_EXT_texture_from_pixmap 513 #define GLX_EXT_texture_from_pixmap 1 515 #define GLX_TEXTURE_1D_BIT_EXT 0x00000001 516 #define GLX_TEXTURE_2D_BIT_EXT 0x00000002 517 #define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 518 #define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 519 #define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 520 #define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 521 #define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 522 #define GLX_Y_INVERTED_EXT 0x20D4 523 #define GLX_TEXTURE_FORMAT_EXT 0x20D5 524 #define GLX_TEXTURE_TARGET_EXT 0x20D6 525 #define GLX_MIPMAP_TEXTURE_EXT 0x20D7 526 #define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 527 #define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 528 #define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA 529 #define GLX_TEXTURE_1D_EXT 0x20DB 530 #define GLX_TEXTURE_2D_EXT 0x20DC 531 #define GLX_TEXTURE_RECTANGLE_EXT 0x20DD 532 #define GLX_FRONT_LEFT_EXT 0x20DE 533 #define GLX_FRONT_RIGHT_EXT 0x20DF 534 #define GLX_BACK_LEFT_EXT 0x20E0 535 #define GLX_BACK_RIGHT_EXT 0x20E1 536 #define GLX_AUX0_EXT 0x20E2 537 #define GLX_AUX1_EXT 0x20E3 538 #define GLX_AUX2_EXT 0x20E4 539 #define GLX_AUX3_EXT 0x20E5 540 #define GLX_AUX4_EXT 0x20E6 541 #define GLX_AUX5_EXT 0x20E7 542 #define GLX_AUX6_EXT 0x20E8 543 #define GLX_AUX7_EXT 0x20E9 544 #define GLX_AUX8_EXT 0x20EA 545 #define GLX_AUX9_EXT 0x20EB 550 #define glXBindTexImageEXT GLXEW_GET_FUN(__glewXBindTexImageEXT) 551 #define glXReleaseTexImageEXT GLXEW_GET_FUN(__glewXReleaseTexImageEXT) 553 #define GLXEW_EXT_texture_from_pixmap GLXEW_GET_VAR(__GLXEW_EXT_texture_from_pixmap) 559 #ifndef GLX_EXT_visual_info 560 #define GLX_EXT_visual_info 1 562 #define GLX_X_VISUAL_TYPE_EXT 0x22 563 #define GLX_TRANSPARENT_TYPE_EXT 0x23 564 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 565 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 566 #define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 567 #define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 568 #define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 569 #define GLX_NONE_EXT 0x8000 570 #define GLX_TRUE_COLOR_EXT 0x8002 571 #define GLX_DIRECT_COLOR_EXT 0x8003 572 #define GLX_PSEUDO_COLOR_EXT 0x8004 573 #define GLX_STATIC_COLOR_EXT 0x8005 574 #define GLX_GRAY_SCALE_EXT 0x8006 575 #define GLX_STATIC_GRAY_EXT 0x8007 576 #define GLX_TRANSPARENT_RGB_EXT 0x8008 577 #define GLX_TRANSPARENT_INDEX_EXT 0x8009 579 #define GLXEW_EXT_visual_info GLXEW_GET_VAR(__GLXEW_EXT_visual_info) 585 #ifndef GLX_EXT_visual_rating 586 #define GLX_EXT_visual_rating 1 588 #define GLX_VISUAL_CAVEAT_EXT 0x20 589 #define GLX_SLOW_VISUAL_EXT 0x8001 590 #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D 592 #define GLXEW_EXT_visual_rating GLXEW_GET_VAR(__GLXEW_EXT_visual_rating) 598 #ifndef GLX_MESA_agp_offset 599 #define GLX_MESA_agp_offset 1 603 #define glXGetAGPOffsetMESA GLXEW_GET_FUN(__glewXGetAGPOffsetMESA) 605 #define GLXEW_MESA_agp_offset GLXEW_GET_VAR(__GLXEW_MESA_agp_offset) 611 #ifndef GLX_MESA_copy_sub_buffer 612 #define GLX_MESA_copy_sub_buffer 1 616 #define glXCopySubBufferMESA GLXEW_GET_FUN(__glewXCopySubBufferMESA) 618 #define GLXEW_MESA_copy_sub_buffer GLXEW_GET_VAR(__GLXEW_MESA_copy_sub_buffer) 624 #ifndef GLX_MESA_pixmap_colormap 625 #define GLX_MESA_pixmap_colormap 1 629 #define glXCreateGLXPixmapMESA GLXEW_GET_FUN(__glewXCreateGLXPixmapMESA) 631 #define GLXEW_MESA_pixmap_colormap GLXEW_GET_VAR(__GLXEW_MESA_pixmap_colormap) 637 #ifndef GLX_MESA_release_buffers 638 #define GLX_MESA_release_buffers 1 642 #define glXReleaseBuffersMESA GLXEW_GET_FUN(__glewXReleaseBuffersMESA) 644 #define GLXEW_MESA_release_buffers GLXEW_GET_VAR(__GLXEW_MESA_release_buffers) 650 #ifndef GLX_MESA_set_3dfx_mode 651 #define GLX_MESA_set_3dfx_mode 1 653 #define GLX_3DFX_WINDOW_MODE_MESA 0x1 654 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 658 #define glXSet3DfxModeMESA GLXEW_GET_FUN(__glewXSet3DfxModeMESA) 660 #define GLXEW_MESA_set_3dfx_mode GLXEW_GET_VAR(__GLXEW_MESA_set_3dfx_mode) 666 #ifndef GLX_NV_float_buffer 667 #define GLX_NV_float_buffer 1 669 #define GLX_FLOAT_COMPONENTS_NV 0x20B0 671 #define GLXEW_NV_float_buffer GLXEW_GET_VAR(__GLXEW_NV_float_buffer) 677 #ifndef GLX_NV_present_video 678 #define GLX_NV_present_video 1 680 #define GLX_NUM_VIDEO_SLOTS_NV 0x20F0 683 typedef unsigned int* ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy,
int screen,
int *nelements);
685 #define glXBindVideoDeviceNV GLXEW_GET_FUN(__glewXBindVideoDeviceNV) 686 #define glXEnumerateVideoDevicesNV GLXEW_GET_FUN(__glewXEnumerateVideoDevicesNV) 688 #define GLXEW_NV_present_video GLXEW_GET_VAR(__GLXEW_NV_present_video) 694 #ifndef GLX_NV_swap_group 695 #define GLX_NV_swap_group 1 704 #define glXBindSwapBarrierNV GLXEW_GET_FUN(__glewXBindSwapBarrierNV) 705 #define glXJoinSwapGroupNV GLXEW_GET_FUN(__glewXJoinSwapGroupNV) 706 #define glXQueryFrameCountNV GLXEW_GET_FUN(__glewXQueryFrameCountNV) 707 #define glXQueryMaxSwapGroupsNV GLXEW_GET_FUN(__glewXQueryMaxSwapGroupsNV) 708 #define glXQuerySwapGroupNV GLXEW_GET_FUN(__glewXQuerySwapGroupNV) 709 #define glXResetFrameCountNV GLXEW_GET_FUN(__glewXResetFrameCountNV) 711 #define GLXEW_NV_swap_group GLXEW_GET_VAR(__GLXEW_NV_swap_group) 717 #ifndef GLX_NV_vertex_array_range 718 #define GLX_NV_vertex_array_range 1 723 #define glXAllocateMemoryNV GLXEW_GET_FUN(__glewXAllocateMemoryNV) 724 #define glXFreeMemoryNV GLXEW_GET_FUN(__glewXFreeMemoryNV) 726 #define GLXEW_NV_vertex_array_range GLXEW_GET_VAR(__GLXEW_NV_vertex_array_range) 732 #ifndef GLX_NV_video_output 733 #define GLX_NV_video_output 1 735 #define GLX_VIDEO_OUT_COLOR_NV 0x20C3 736 #define GLX_VIDEO_OUT_ALPHA_NV 0x20C4 737 #define GLX_VIDEO_OUT_DEPTH_NV 0x20C5 738 #define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6 739 #define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7 740 #define GLX_VIDEO_OUT_FRAME_NV 0x20C8 741 #define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9 742 #define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA 743 #define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB 744 #define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC 753 #define glXBindVideoImageNV GLXEW_GET_FUN(__glewXBindVideoImageNV) 754 #define glXGetVideoDeviceNV GLXEW_GET_FUN(__glewXGetVideoDeviceNV) 755 #define glXGetVideoInfoNV GLXEW_GET_FUN(__glewXGetVideoInfoNV) 756 #define glXReleaseVideoDeviceNV GLXEW_GET_FUN(__glewXReleaseVideoDeviceNV) 757 #define glXReleaseVideoImageNV GLXEW_GET_FUN(__glewXReleaseVideoImageNV) 758 #define glXSendPbufferToVideoNV GLXEW_GET_FUN(__glewXSendPbufferToVideoNV) 760 #define GLXEW_NV_video_output GLXEW_GET_VAR(__GLXEW_NV_video_output) 766 #ifndef GLX_OML_swap_method 767 #define GLX_OML_swap_method 1 769 #define GLX_SWAP_METHOD_OML 0x8060 770 #define GLX_SWAP_EXCHANGE_OML 0x8061 771 #define GLX_SWAP_COPY_OML 0x8062 772 #define GLX_SWAP_UNDEFINED_OML 0x8063 774 #define GLXEW_OML_swap_method GLXEW_GET_VAR(__GLXEW_OML_swap_method) 780 #if !defined(GLX_OML_sync_control) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) 781 #include <inttypes.h> 782 #define GLX_OML_sync_control 1 784 typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display* dpy,
GLXDrawable drawable,
int32_t* numerator,
int32_t* denominator);
790 #define glXGetMscRateOML GLXEW_GET_FUN(__glewXGetMscRateOML) 791 #define glXGetSyncValuesOML GLXEW_GET_FUN(__glewXGetSyncValuesOML) 792 #define glXSwapBuffersMscOML GLXEW_GET_FUN(__glewXSwapBuffersMscOML) 793 #define glXWaitForMscOML GLXEW_GET_FUN(__glewXWaitForMscOML) 794 #define glXWaitForSbcOML GLXEW_GET_FUN(__glewXWaitForSbcOML) 796 #define GLXEW_OML_sync_control GLXEW_GET_VAR(__GLXEW_OML_sync_control) 802 #ifndef GLX_SGIS_blended_overlay 803 #define GLX_SGIS_blended_overlay 1 805 #define GLX_BLENDED_RGBA_SGIS 0x8025 807 #define GLXEW_SGIS_blended_overlay GLXEW_GET_VAR(__GLXEW_SGIS_blended_overlay) 813 #ifndef GLX_SGIS_color_range 814 #define GLX_SGIS_color_range 1 816 #define GLX_MIN_RED_SGIS 0 817 #define GLX_MAX_GREEN_SGIS 0 818 #define GLX_MIN_BLUE_SGIS 0 819 #define GLX_MAX_ALPHA_SGIS 0 820 #define GLX_MIN_GREEN_SGIS 0 821 #define GLX_MIN_ALPHA_SGIS 0 822 #define GLX_MAX_RED_SGIS 0 823 #define GLX_EXTENDED_RANGE_SGIS 0 824 #define GLX_MAX_BLUE_SGIS 0 826 #define GLXEW_SGIS_color_range GLXEW_GET_VAR(__GLXEW_SGIS_color_range) 832 #ifndef GLX_SGIS_multisample 833 #define GLX_SGIS_multisample 1 835 #define GLX_SAMPLE_BUFFERS_SGIS 100000 836 #define GLX_SAMPLES_SGIS 100001 838 #define GLXEW_SGIS_multisample GLXEW_GET_VAR(__GLXEW_SGIS_multisample) 844 #ifndef GLX_SGIS_shared_multisample 845 #define GLX_SGIS_shared_multisample 1 847 #define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 848 #define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 850 #define GLXEW_SGIS_shared_multisample GLXEW_GET_VAR(__GLXEW_SGIS_shared_multisample) 856 #ifndef GLX_SGIX_fbconfig 857 #define GLX_SGIX_fbconfig 1 859 #define GLX_WINDOW_BIT_SGIX 0x00000001 860 #define GLX_RGBA_BIT_SGIX 0x00000001 861 #define GLX_PIXMAP_BIT_SGIX 0x00000002 862 #define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 863 #define GLX_SCREEN_EXT 0x800C 864 #define GLX_DRAWABLE_TYPE_SGIX 0x8010 865 #define GLX_RENDER_TYPE_SGIX 0x8011 866 #define GLX_X_RENDERABLE_SGIX 0x8012 867 #define GLX_FBCONFIG_ID_SGIX 0x8013 868 #define GLX_RGBA_TYPE_SGIX 0x8014 869 #define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 874 typedef GLXFBConfigSGIX* ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy,
int screen,
const int *attrib_list,
int *nelements);
879 typedef XVisualInfo* ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy,
GLXFBConfig config);
881 #define glXChooseFBConfigSGIX GLXEW_GET_FUN(__glewXChooseFBConfigSGIX) 882 #define glXCreateContextWithConfigSGIX GLXEW_GET_FUN(__glewXCreateContextWithConfigSGIX) 883 #define glXCreateGLXPixmapWithConfigSGIX GLXEW_GET_FUN(__glewXCreateGLXPixmapWithConfigSGIX) 884 #define glXGetFBConfigAttribSGIX GLXEW_GET_FUN(__glewXGetFBConfigAttribSGIX) 885 #define glXGetFBConfigFromVisualSGIX GLXEW_GET_FUN(__glewXGetFBConfigFromVisualSGIX) 886 #define glXGetVisualFromFBConfigSGIX GLXEW_GET_FUN(__glewXGetVisualFromFBConfigSGIX) 888 #define GLXEW_SGIX_fbconfig GLXEW_GET_VAR(__GLXEW_SGIX_fbconfig) 894 #ifndef GLX_SGIX_hyperpipe 895 #define GLX_SGIX_hyperpipe 1 897 #define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 898 #define GLX_PIPE_RECT_SGIX 0x00000001 899 #define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 900 #define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 901 #define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 902 #define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 903 #define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 904 #define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 905 #define GLX_BAD_HYPERPIPE_SGIX 92 906 #define GLX_HYPERPIPE_ID_SGIX 0x8030 946 #define glXBindHyperpipeSGIX GLXEW_GET_FUN(__glewXBindHyperpipeSGIX) 947 #define glXDestroyHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXDestroyHyperpipeConfigSGIX) 948 #define glXHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXHyperpipeAttribSGIX) 949 #define glXHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXHyperpipeConfigSGIX) 950 #define glXQueryHyperpipeAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeAttribSGIX) 951 #define glXQueryHyperpipeBestAttribSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeBestAttribSGIX) 952 #define glXQueryHyperpipeConfigSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeConfigSGIX) 953 #define glXQueryHyperpipeNetworkSGIX GLXEW_GET_FUN(__glewXQueryHyperpipeNetworkSGIX) 955 #define GLXEW_SGIX_hyperpipe GLXEW_GET_VAR(__GLXEW_SGIX_hyperpipe) 961 #ifndef GLX_SGIX_pbuffer 962 #define GLX_SGIX_pbuffer 1 964 #define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 965 #define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 966 #define GLX_PBUFFER_BIT_SGIX 0x00000004 967 #define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 968 #define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 969 #define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 970 #define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 971 #define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 972 #define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 973 #define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 974 #define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 975 #define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 976 #define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 977 #define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 978 #define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A 979 #define GLX_PRESERVED_CONTENTS_SGIX 0x801B 980 #define GLX_LARGEST_PBUFFER_SGIX 0x801C 981 #define GLX_WIDTH_SGIX 0x801D 982 #define GLX_HEIGHT_SGIX 0x801E 983 #define GLX_EVENT_MASK_SGIX 0x801F 984 #define GLX_DAMAGED_SGIX 0x8020 985 #define GLX_SAVED_SGIX 0x8021 986 #define GLX_WINDOW_SGIX 0x8022 987 #define GLX_PBUFFER_SGIX 0x8023 988 #define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 999 #define glXCreateGLXPbufferSGIX GLXEW_GET_FUN(__glewXCreateGLXPbufferSGIX) 1000 #define glXDestroyGLXPbufferSGIX GLXEW_GET_FUN(__glewXDestroyGLXPbufferSGIX) 1001 #define glXGetSelectedEventSGIX GLXEW_GET_FUN(__glewXGetSelectedEventSGIX) 1002 #define glXQueryGLXPbufferSGIX GLXEW_GET_FUN(__glewXQueryGLXPbufferSGIX) 1003 #define glXSelectEventSGIX GLXEW_GET_FUN(__glewXSelectEventSGIX) 1005 #define GLXEW_SGIX_pbuffer GLXEW_GET_VAR(__GLXEW_SGIX_pbuffer) 1011 #ifndef GLX_SGIX_swap_barrier 1012 #define GLX_SGIX_swap_barrier 1 1017 #define glXBindSwapBarrierSGIX GLXEW_GET_FUN(__glewXBindSwapBarrierSGIX) 1018 #define glXQueryMaxSwapBarriersSGIX GLXEW_GET_FUN(__glewXQueryMaxSwapBarriersSGIX) 1020 #define GLXEW_SGIX_swap_barrier GLXEW_GET_VAR(__GLXEW_SGIX_swap_barrier) 1026 #ifndef GLX_SGIX_swap_group 1027 #define GLX_SGIX_swap_group 1 1031 #define glXJoinSwapGroupSGIX GLXEW_GET_FUN(__glewXJoinSwapGroupSGIX) 1033 #define GLXEW_SGIX_swap_group GLXEW_GET_VAR(__GLXEW_SGIX_swap_group) 1039 #ifndef GLX_SGIX_video_resize 1040 #define GLX_SGIX_video_resize 1 1042 #define GLX_SYNC_FRAME_SGIX 0x00000000 1043 #define GLX_SYNC_SWAP_SGIX 0x00000001 1051 #define glXBindChannelToWindowSGIX GLXEW_GET_FUN(__glewXBindChannelToWindowSGIX) 1052 #define glXChannelRectSGIX GLXEW_GET_FUN(__glewXChannelRectSGIX) 1053 #define glXChannelRectSyncSGIX GLXEW_GET_FUN(__glewXChannelRectSyncSGIX) 1054 #define glXQueryChannelDeltasSGIX GLXEW_GET_FUN(__glewXQueryChannelDeltasSGIX) 1055 #define glXQueryChannelRectSGIX GLXEW_GET_FUN(__glewXQueryChannelRectSGIX) 1057 #define GLXEW_SGIX_video_resize GLXEW_GET_VAR(__GLXEW_SGIX_video_resize) 1063 #ifndef GLX_SGIX_visual_select_group 1064 #define GLX_SGIX_visual_select_group 1 1066 #define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 1068 #define GLXEW_SGIX_visual_select_group GLXEW_GET_VAR(__GLXEW_SGIX_visual_select_group) 1074 #ifndef GLX_SGI_cushion 1075 #define GLX_SGI_cushion 1 1079 #define glXCushionSGI GLXEW_GET_FUN(__glewXCushionSGI) 1081 #define GLXEW_SGI_cushion GLXEW_GET_VAR(__GLXEW_SGI_cushion) 1087 #ifndef GLX_SGI_make_current_read 1088 #define GLX_SGI_make_current_read 1 1093 #define glXGetCurrentReadDrawableSGI GLXEW_GET_FUN(__glewXGetCurrentReadDrawableSGI) 1094 #define glXMakeCurrentReadSGI GLXEW_GET_FUN(__glewXMakeCurrentReadSGI) 1096 #define GLXEW_SGI_make_current_read GLXEW_GET_VAR(__GLXEW_SGI_make_current_read) 1102 #ifndef GLX_SGI_swap_control 1103 #define GLX_SGI_swap_control 1 1107 #define glXSwapIntervalSGI GLXEW_GET_FUN(__glewXSwapIntervalSGI) 1109 #define GLXEW_SGI_swap_control GLXEW_GET_VAR(__GLXEW_SGI_swap_control) 1115 #ifndef GLX_SGI_video_sync 1116 #define GLX_SGI_video_sync 1 1121 #define glXGetVideoSyncSGI GLXEW_GET_FUN(__glewXGetVideoSyncSGI) 1122 #define glXWaitVideoSyncSGI GLXEW_GET_FUN(__glewXWaitVideoSyncSGI) 1124 #define GLXEW_SGI_video_sync GLXEW_GET_VAR(__GLXEW_SGI_video_sync) 1130 #ifndef GLX_SUN_get_transparent_index 1131 #define GLX_SUN_get_transparent_index 1 1135 #define glXGetTransparentIndexSUN GLXEW_GET_FUN(__glewXGetTransparentIndexSUN) 1137 #define GLXEW_SUN_get_transparent_index GLXEW_GET_VAR(__GLXEW_SUN_get_transparent_index) 1143 #ifndef GLX_SUN_video_resize 1144 #define GLX_SUN_video_resize 1 1146 #define GLX_VIDEO_RESIZE_SUN 0x8171 1147 #define GL_VIDEO_RESIZE_COMPENSATION_SUN 0x85CD 1152 #define glXGetVideoResizeSUN GLXEW_GET_FUN(__glewXGetVideoResizeSUN) 1153 #define glXVideoResizeSUN GLXEW_GET_FUN(__glewXVideoResizeSUN) 1155 #define GLXEW_SUN_video_resize GLXEW_GET_VAR(__GLXEW_SUN_video_resize) 1162 #define GLXEW_EXPORT 1164 #define GLXEW_EXPORT extern 1231 #ifdef GLX_OML_sync_control 1232 extern PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML;
1233 extern PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML;
1234 extern PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML;
1235 extern PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML;
1236 extern PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML;
1287 #if defined(GLEW_MX) 1288 struct GLXEWContextStruct
1350 typedef struct GLXEWContextStruct GLXEWContext;
1351 extern GLenum glxewContextInit (GLXEWContext* ctx);
1352 extern GLboolean glxewContextIsSupported (GLXEWContext* ctx,
const char*
name);
1354 #define glxewInit() glxewContextInit(glxewGetContext()) 1355 #define glxewIsSupported(x) glxewContextIsSupported(glxewGetContext(), x) 1357 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&(glxewGetContext()->x)) 1358 #define GLXEW_GET_FUN(x) x 1362 #define GLXEW_GET_VAR(x) (*(const GLboolean*)&x) 1363 #define GLXEW_GET_FUN(x) x int(* PFNGLXGETFBCONFIGATTRIBPROC)(Display *dpy, GLXFBConfig config, int attribute, int *value)
GLXFBConfigSGIX(* PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)(Display *dpy, XVisualInfo *vis)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_color_range
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
int(* PFNGLXRELEASEVIDEODEVICENVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice)
GLXEW_EXPORT GLboolean __GLXEW_ATI_pixel_format_float
void glXDestroyGLXPixmap(Display *dpy, GLXPixmap pix)
void(* PFNGLXDESTROYWINDOWPROC)(Display *dpy, GLXWindow win)
PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config)
PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX
int(* PFNGLXCHANNELRECTSYNCSGIXPROC)(Display *display, int screen, int channel, GLenum synctype)
void(* PFNGLXDRAWABLEATTRIBATIPROC)(Display *dpy, GLXDrawable draw, const int *attrib_list)
PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib
const char * glXGetClientString(Display *dpy, int name)
PFNGLXSELECTEVENTPROC __glewXSelectEvent
Bool(* PFNGLXMAKECURRENTREADSGIPROC)(Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT
PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable
PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX
GLXEW_EXPORT GLboolean __GLXEW_NV_float_buffer
Bool glXIsDirect(Display *dpy, GLXContext ctx)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_visual_select_group
PFNGLXCREATEWINDOWPROC __glewXCreateWindow
Bool(* PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)(Display *dpy, int screen, int *max)
GLXEW_EXPORT GLboolean __GLXEW_MESA_agp_offset
GLXEW_EXPORT GLboolean __GLXEW_MESA_release_buffers
GLXContextID(* PFNGLXGETCONTEXTIDEXTPROC)(const GLXContext context)
PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX
GLsizei const GLvoid * pointer
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLESGIPROC)(void)
void(* PFNGLXDESTROYPBUFFERPROC)(Display *dpy, GLXPbuffer pbuf)
PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX
GLXContext(* PFNGLXIMPORTCONTEXTEXTPROC)(Display *dpy, GLXContextID contextID)
void(* PFNGLXBINDTEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer, const int *attrib_list)
GLXFBConfigSGIX *(* PFNGLXCHOOSEFBCONFIGSGIXPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
GLXEW_EXPORT GLboolean __GLXEW_SGIS_blended_overlay
int(* PFNGLXGETVIDEOSYNCSGIPROC)(uint *count)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_3
unsigned int GLXVideoDeviceNV
const char * glXQueryServerString(Display *dpy, int screen, int name)
PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI
GLXContext(* PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow
GLXEW_EXPORT GLboolean __GLXEW_SUN_video_resize
GLXPbuffer(* PFNGLXCREATEGLXPBUFFERSGIXPROC)(Display *dpy, GLXFBConfig config, unsigned int width, unsigned int height, int *attrib_list)
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
Bool(* PFNGLXRELEASEBUFFERSMESAPROC)(Display *dpy, GLXDrawable d)
PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX
int(* PFNGLXWAITVIDEOSYNCSGIPROC)(int divisor, int remainder, unsigned int *count)
int(* PFNGLXBINDVIDEOIMAGENVPROC)(Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer)
GLXEW_EXPORT GLboolean __GLXEW_NV_present_video
PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig
GLXEW_EXPORT GLboolean __GLXEW_OML_sync_control
PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI
struct __GLXcontextRec * GLXContext
PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX
GLXEW_EXPORT GLboolean __GLXEW_EXT_texture_from_pixmap
GLXHyperpipeConfigSGIX *(* PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId, int *npipes)
PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI
void(* PFNGLXDESTROYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf)
GLXPixmap(* PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap)
GLXEW_EXPORT GLboolean __GLXEW_3DFX_multisample
GLXWindow(* PFNGLXCREATEWINDOWPROC)(Display *dpy, GLXFBConfig config, Window win, const int *attrib_list)
int(* PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList)
PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA
GLXEW_EXPORT GLboolean __GLXEW_SGIX_fbconfig
GLXEW_EXPORT GLboolean __GLXEW_SGIS_multisample
GLXEW_EXPORT GLboolean __GLXEW_SGI_video_sync
GLXPixmap glXCreateGLXPixmap(Display *dpy, XVisualInfo *vis, Pixmap pixmap)
PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN
PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV
int(* PFNGLXGETVIDEOINFONVPROC)(Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo)
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
Bool(* PFNGLXMAKECONTEXTCURRENTPROC)(Display *display, GLXDrawable draw, GLXDrawable read, GLXContext ctx)
int(* PFNGLXGETVIDEODEVICENVPROC)(Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice)
GLXContext glXGetCurrentContext(void)
void glXSwapBuffers(Display *dpy, GLXDrawable drawable)
PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV
GLubyte GLubyte GLubyte GLubyte w
void(* PFNGLXFREECONTEXTEXTPROC)(Display *dpy, GLXContext context)
Bool(* PFNGLXQUERYSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier)
void(* PFNGLXFREEMEMORYNVPROC)(void *pointer)
void(* PFNGLXQUERYDRAWABLEPROC)(Display *dpy, GLXDrawable draw, int attribute, unsigned int *value)
void(* PFNGLXBINDSWAPBARRIERSGIXPROC)(Display *dpy, GLXDrawable drawable, int barrier)
unsigned int(* PFNGLXGETAGPOFFSETMESAPROC)(const void *pointer)
PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT
GLXEW_EXPORT GLboolean __GLXEW_SGI_swap_control
struct __GLXFBConfigRec * GLXFBConfig
PFNGLXQUERYCONTEXTPROC __glewXQueryContext
GLXDrawable glXGetCurrentDrawable(void)
GLXPixmap(* PFNGLXCREATEPIXMAPPROC)(Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list)
int glXGetConfig(Display *dpy, XVisualInfo *vis, int attrib, int *value)
PFNGLXCUSHIONSGIPROC __glewXCushionSGI
PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI
void(* PFNGLXSELECTEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long mask)
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
GLXEW_EXPORT GLboolean __GLXEW_EXT_import_context
int(* PFNGLXQUERYCHANNELDELTASSGIXPROC)(Display *display, int screen, int channel, int *x, int *y, int *w, int *h)
PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV
PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs
void(* PFNGLXJOINSWAPGROUPSGIXPROC)(Display *dpy, GLXDrawable drawable, GLXDrawable member)
PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent
GLboolean glxewIsSupported(const char *name)
Bool(* PFNGLXBINDSWAPBARRIERNVPROC)(Display *dpy, GLuint group, GLuint barrier)
GLXPixmap(* PFNGLXCREATEGLXPIXMAPMESAPROC)(Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_4
PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN
PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext
PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay
PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX
Bool glXQueryVersion(Display *dpy, int *major, int *minor)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_pbuffer
GLXEW_EXPORT GLboolean __GLXEW_ARB_fbconfig_float
PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI
PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX
void(* PFNGLXRELEASETEXIMAGEEXTPROC)(Display *display, GLXDrawable drawable, int buffer)
PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV
PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV
Bool(* PFNGLXRESETFRAMECOUNTNVPROC)(Display *dpy, int screen)
GLXEW_EXPORT GLboolean __GLXEW_NV_swap_group
GLXEW_EXPORT GLboolean __GLXEW_MESA_pixmap_colormap
PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX
PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV
PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV
int(* PFNGLXSWAPINTERVALSGIPROC)(int interval)
int(* PFNGLXCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int x, int y, int w, int h)
PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX
PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI
PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN
PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX
Bool glXMakeCurrent(Display *dpy, GLXDrawable drawable, GLXContext ctx)
void(* PFNGLXDESTROYPIXMAPPROC)(Display *dpy, GLXPixmap pixmap)
PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT
void(* PFNGLXCOPYSUBBUFFERMESAPROC)(Display *dpy, GLXDrawable drawable, int x, int y, int width, int height)
void(* PFNGLXGETSELECTEDEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long *event_mask)
GLXEW_EXPORT GLboolean __GLXEW_ARB_multisample
PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA
GLXContext(* PFNGLXCREATECONTEXTATTRIBSARBPROC)(Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list)
PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV
PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer
GLXPbufferClobberEvent glxpbufferclobber
GLXEW_EXPORT GLboolean __GLXEW_SGIX_hyperpipe
int(* PFNGLXGETFBCONFIGATTRIBSGIXPROC)(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value)
void(*)(void) glXGetProcAddressARB(const GLubyte *procName)
PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT
PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX
void(* PFNGLXGETSELECTEDEVENTSGIXPROC)(Display *dpy, GLXDrawable drawable, unsigned long *mask)
GLXEW_EXPORT GLboolean __GLXEW_VERSION_1_1
PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX
PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX
GLXPbuffer(* PFNGLXCREATEPBUFFERPROC)(Display *dpy, GLXFBConfig config, const int *attrib_list)
GLXEW_EXPORT GLboolean __GLXEW_ATI_render_texture
PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV
PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX
PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV
PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX
int(* PFNGLXGETVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float *factor)
PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX
GLXEW_EXPORT GLboolean __GLXEW_SGI_make_current_read
PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA
GLXDrawable(* PFNGLXGETCURRENTREADDRAWABLEPROC)(void)
XVisualInfo *(* PFNGLXGETVISUALFROMFBCONFIGPROC)(Display *dpy, GLXFBConfig config)
GLXEW_EXPORT GLboolean __GLXEW_MESA_set_3dfx_mode
PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT
GLboolean(* PFNGLXSET3DFXMODEMESAPROC)(GLint mode)
void(* PFNGLXCUSHIONSGIPROC)(Display *dpy, Window window, float cushion)
GLXEW_EXPORT GLboolean __GLXEW_SUN_get_transparent_index
Status(* PFNGLXGETTRANSPARENTINDEXSUNPROC)(Display *dpy, Window overlay, Window underlay, unsigned long *pTransparentIndex)
void(* PFNGLXSELECTEVENTPROC)(Display *dpy, GLXDrawable draw, unsigned long event_mask)
GLXEW_EXPORT GLboolean __GLXEW_SGIX_swap_group
void glXDestroyContext(Display *dpy, GLXContext ctx)
void(* PFNGLXRELEASETEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
union __GLXEvent GLXEvent
GLXContext(* PFNGLXCREATENEWCONTEXTPROC)(Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct)
PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB
GLXEW_EXPORT GLboolean __GLXEW_SGIX_video_resize
PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX
int(* PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)(Display *dpy, int hpId)
GLXFBConfig *(* PFNGLXGETFBCONFIGSPROC)(Display *dpy, int screen, int *nelements)
GLXEW_EXPORT GLboolean __GLXEW_OML_swap_method
PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX
GLXEW_EXPORT GLboolean __GLXEW_NV_video_output
Display *(* PFNGLXGETCURRENTDISPLAYPROC)(void)
GLuint const GLchar * name
PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV
GLXEW_EXPORT GLboolean __GLXEW_ARB_framebuffer_sRGB
PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX
XVisualInfo * glXChooseVisual(Display *dpy, int screen, int *attribList)
PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX
int(* PFNGLXHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *attribList)
int(* PFNGLXVIDEORESIZESUNPROC)(Display *display, GLXDrawable window, float factor)
PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX
PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV
PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap
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
GLXHyperpipeNetworkSGIX *(* PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)(Display *dpy, int *npipes)
int(* PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)(Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList)
PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX
void(* PFNGLXQUERYGLXPBUFFERSGIXPROC)(Display *dpy, GLXPbuffer pbuf, int attribute, unsigned int *value)
PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX
PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA
GLXEW_EXPORT GLboolean __GLXEW_SGI_cushion
PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI
int(* PFNGLXQUERYCONTEXTINFOEXTPROC)(Display *dpy, GLXContext context, int attribute, int *value)
PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV
GLenum GLsizei GLsizei height
PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX
PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV
GLXEW_EXPORT GLboolean __GLXEW_ARB_create_context
void(* PFNGLXBINDTEXIMAGEATIPROC)(Display *dpy, GLXPbuffer pbuf, int buffer)
PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent
PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV
void(*)(void) glXGetProcAddress(const GLubyte *procName)
void *(* PFNGLXALLOCATEMEMORYNVPROC)(GLsizei size, GLfloat readFrequency, GLfloat writeFrequency, GLfloat priority)
int(* PFNGLXBINDVIDEODEVICENVPROC)(Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list)
int(* PFNGLXHYPERPIPECONFIGSGIXPROC)(Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId)
unsigned int participationType
int(* PFNGLXRELEASEVIDEOIMAGENVPROC)(Display *dpy, GLXPbuffer pbuf)
GLuint GLuint GLsizei GLenum type
Bool(* PFNGLXQUERYFRAMECOUNTNVPROC)(Display *dpy, int screen, GLuint *count)
struct __GLXFBConfigRec * GLXFBConfigSGIX
PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA
PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT
PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX
GLXFBConfig *(* PFNGLXCHOOSEFBCONFIGPROC)(Display *dpy, int screen, const int *attrib_list, int *nelements)
int(* PFNGLXQUERYCONTEXTPROC)(Display *dpy, GLXContext ctx, int attribute, int *value)
Bool(* PFNGLXJOINSWAPGROUPNVPROC)(Display *dpy, GLXDrawable drawable, GLuint group)
GLXEW_EXPORT GLboolean __GLXEW_EXT_scene_marker
unsigned int *(* PFNGLXENUMERATEVIDEODEVICESNVPROC)(Display *dpy, int screen, int *nelements)
int(* PFNGLXBINDCHANNELTOWINDOWSGIXPROC)(Display *display, int screen, int channel, Window window)
int(* PFNGLXSENDPBUFFERTOVIDEONVPROC)(Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock)
GLXEW_EXPORT GLboolean __GLXEW_EXT_visual_info
PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX
int(* PFNGLXBINDHYPERPIPESGIXPROC)(Display *dpy, int hpId)
Bool(* PFNGLXQUERYMAXSWAPGROUPSNVPROC)(Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers)
int(* PFNGLXQUERYCHANNELRECTSGIXPROC)(Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh)
PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX