Magellan Linux

Diff of /trunk/opengl-update/glxext.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 622 by niro, Wed Nov 14 18:36:58 2007 UTC revision 2197 by niro, Fri Oct 11 12:53:14 2013 UTC
# Line 6  extern "C" { Line 6  extern "C" {
6  #endif  #endif
7    
8  /*  /*
9  ** Copyright (c) 2007 The Khronos Group Inc.  ** THIS FILE IS OBSOLETE. Please migrate away from using the
10    ** ".spec" files and the headers generated from them to the
11    ** XML Registry and headers generated from that. See
12    **   http://www.opengl.org/registry/api/README.txt
13    ** for more information.
14    **
15    **
16    ** Copyright (c) 2007-2013 The Khronos Group Inc.
17  **  **
18  ** Permission is hereby granted, free of charge, to any person obtaining a  ** Permission is hereby granted, free of charge, to any person obtaining a
19  ** copy of this software and/or associated documentation files (the  ** copy of this software and/or associated documentation files (the
# Line 28  extern "C" { Line 35  extern "C" {
35  ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.  ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
36  */  */
37    
38    /* Function declaration macros - to move into glplatform.h */
39    
40  #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)  #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
41  #define WIN32_LEAN_AND_MEAN 1  #define WIN32_LEAN_AND_MEAN 1
42  #include <windows.h>  #include <windows.h>
# Line 46  extern "C" { Line 55  extern "C" {
55  /*************************************************************/  /*************************************************************/
56    
57  /* Header file version number, required by OpenGL ABI for Linux */  /* Header file version number, required by OpenGL ABI for Linux */
58  /* glxext.h last updated 2007/04/21 */  /* glxext.h last updated 2013/06/10 */
59  /* Current version at http://www.opengl.org/registry/ */  /* Current version at http://www.opengl.org/registry/ */
60  #define GLX_GLXEXT_VERSION 19  #define GLX_GLXEXT_VERSION 36
61    
62  #ifndef GLX_VERSION_1_3  #ifndef GLX_VERSION_1_3
63  #define GLX_WINDOW_BIT                     0x00000001  #define GLX_WINDOW_BIT                     0x00000001
# Line 122  extern "C" { Line 131  extern "C" {
131  #define GLX_SAMPLES_ARB                    100001  #define GLX_SAMPLES_ARB                    100001
132  #endif  #endif
133    
134    #ifndef GLX_ARB_vertex_buffer_object
135    #define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
136    #endif
137    
138  #ifndef GLX_ARB_fbconfig_float  #ifndef GLX_ARB_fbconfig_float
139  #define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9  #define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9
140  #define GLX_RGBA_FLOAT_BIT_ARB             0x00000004  #define GLX_RGBA_FLOAT_BIT_ARB             0x00000004
141  #endif  #endif
142    
143    #ifndef GLX_ARB_framebuffer_sRGB
144    #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB   0x20B2
145    #endif
146    
147    #ifndef GLX_ARB_create_context
148    #define GLX_CONTEXT_DEBUG_BIT_ARB          0x00000001
149    #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
150    #define GLX_CONTEXT_MAJOR_VERSION_ARB      0x2091
151    #define GLX_CONTEXT_MINOR_VERSION_ARB      0x2092
152    #define GLX_CONTEXT_FLAGS_ARB              0x2094
153    #endif
154    
155    #ifndef GLX_ARB_create_context_profile
156    #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB   0x00000001
157    #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
158    #define GLX_CONTEXT_PROFILE_MASK_ARB       0x9126
159    #endif
160    
161    #ifndef GLX_ARB_create_context_robustness
162    #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB  0x00000004
163    #define GLX_LOSE_CONTEXT_ON_RESET_ARB      0x8252
164    #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
165    #define GLX_NO_RESET_NOTIFICATION_ARB      0x8261
166    #endif
167    
168  #ifndef GLX_SGIS_multisample  #ifndef GLX_SGIS_multisample
169  #define GLX_SAMPLE_BUFFERS_SGIS            100000  #define GLX_SAMPLE_BUFFERS_SGIS            100000
170  #define GLX_SAMPLES_SGIS                   100001  #define GLX_SAMPLES_SGIS                   100001
# Line 346  extern "C" { Line 384  extern "C" {
384  #define GLX_AUX9_EXT                       0x20EB  #define GLX_AUX9_EXT                       0x20EB
385  #endif  #endif
386    
387    #ifndef GLX_NV_present_video
388    #define GLX_NUM_VIDEO_SLOTS_NV             0x20F0
389    #endif
390    
391    #ifndef GLX_NV_video_out
392    #define GLX_VIDEO_OUT_COLOR_NV             0x20C3
393    #define GLX_VIDEO_OUT_ALPHA_NV             0x20C4
394    #define GLX_VIDEO_OUT_DEPTH_NV             0x20C5
395    #define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV   0x20C6
396    #define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV   0x20C7
397    #define GLX_VIDEO_OUT_FRAME_NV             0x20C8
398    #define GLX_VIDEO_OUT_FIELD_1_NV           0x20C9
399    #define GLX_VIDEO_OUT_FIELD_2_NV           0x20CA
400    #define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
401    #define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
402    #endif
403    
404    #ifndef GLX_NV_swap_group
405    #endif
406    
407    #ifndef GLX_NV_video_capture
408    #define GLX_DEVICE_ID_NV                   0x20CD
409    #define GLX_UNIQUE_ID_NV                   0x20CE
410    #define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV     0x20CF
411    #endif
412    
413    #ifndef GLX_EXT_swap_control
414    #define GLX_SWAP_INTERVAL_EXT              0x20F1
415    #define GLX_MAX_SWAP_INTERVAL_EXT          0x20F2
416    #endif
417    
418    #ifndef GLX_NV_copy_image
419    #endif
420    
421    #ifndef GLX_INTEL_swap_event
422    #define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
423    #define GLX_EXCHANGE_COMPLETE_INTEL        0x8180
424    #define GLX_COPY_COMPLETE_INTEL            0x8181
425    #define GLX_FLIP_COMPLETE_INTEL            0x8182
426    #endif
427    
428    #ifndef GLX_NV_multisample_coverage
429    #define GLX_COVERAGE_SAMPLES_NV            100001
430    #define GLX_COLOR_SAMPLES_NV               0x20B3
431    #endif
432    
433    #ifndef GLX_AMD_gpu_association
434    #define GLX_GPU_VENDOR_AMD                 0x1F00
435    #define GLX_GPU_RENDERER_STRING_AMD        0x1F01
436    #define GLX_GPU_OPENGL_VERSION_STRING_AMD  0x1F02
437    #define GLX_GPU_FASTEST_TARGET_GPUS_AMD    0x21A2
438    #define GLX_GPU_RAM_AMD                    0x21A3
439    #define GLX_GPU_CLOCK_AMD                  0x21A4
440    #define GLX_GPU_NUM_PIPES_AMD              0x21A5
441    #define GLX_GPU_NUM_SIMD_AMD               0x21A6
442    #define GLX_GPU_NUM_RB_AMD                 0x21A7
443    #define GLX_GPU_NUM_SPI_AMD                0x21A8
444    #endif
445    
446    #ifndef GLX_EXT_create_context_es2_profile
447    #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT    0x00000004
448    #endif
449    
450    #ifndef GLX_EXT_create_context_es_profile
451    #define GLX_CONTEXT_ES_PROFILE_BIT_EXT     0x00000004
452    #endif
453    
454    #ifndef GLX_EXT_swap_control_tear
455    #define GLX_LATE_SWAPS_TEAR_EXT            0x20F3
456    #endif
457    
458    #ifndef GLX_EXT_buffer_age
459    #define GLX_BACK_BUFFER_AGE_EXT            0x20F4
460    #endif
461    
462    
463  /*************************************************************/  /*************************************************************/
464    
# Line 379  typedef struct { Line 492  typedef struct {
492  } GLXBufferClobberEventSGIX;  } GLXBufferClobberEventSGIX;
493  #endif  #endif
494    
495    #ifndef GLX_NV_video_output
496    typedef unsigned int GLXVideoDeviceNV;
497    #endif
498    
499    #ifndef GLX_NV_video_capture
500    typedef XID GLXVideoCaptureDeviceNV;
501    #endif
502    
503  #ifndef GLEXT_64_TYPES_DEFINED  #ifndef GLEXT_64_TYPES_DEFINED
504  /* This code block is duplicated in glxext.h, so must be protected */  /* This code block is duplicated in glext.h, so must be protected */
505  #define GLEXT_64_TYPES_DEFINED  #define GLEXT_64_TYPES_DEFINED
506  /* Define int32_t, int64_t, and uint64_t types for UST/MSC */  /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
507  /* (as used in the GLX_OML_sync_control extension). */  /* (as used in the GLX_OML_sync_control extension). */
# Line 389  typedef struct { Line 510  typedef struct {
510  #elif defined(__sun__) || defined(__digital__)  #elif defined(__sun__) || defined(__digital__)
511  #include <inttypes.h>  #include <inttypes.h>
512  #if defined(__STDC__)  #if defined(__STDC__)
513  #if defined(__arch64__)  #if defined(__arch64__) || defined(_LP64)
514  typedef long int int64_t;  typedef long int int64_t;
515  typedef unsigned long int uint64_t;  typedef unsigned long int uint64_t;
516  #else  #else
# Line 397  typedef long long int int64_t; Line 518  typedef long long int int64_t;
518  typedef unsigned long long int uint64_t;  typedef unsigned long long int uint64_t;
519  #endif /* __arch64__ */  #endif /* __arch64__ */
520  #endif /* __STDC__ */  #endif /* __STDC__ */
521  #elif defined( __VMS )  #elif defined( __VMS ) || defined(__sgi)
522  #include <inttypes.h>  #include <inttypes.h>
523  #elif defined(__SCO__) || defined(__USLC__)  #elif defined(__SCO__) || defined(__USLC__)
524  #include <stdint.h>  #include <stdint.h>
# Line 419  typedef unsigned __int64 uint64_t; Line 540  typedef unsigned __int64 uint64_t;
540  #ifndef GLX_VERSION_1_3  #ifndef GLX_VERSION_1_3
541  #define GLX_VERSION_1_3 1  #define GLX_VERSION_1_3 1
542  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
543  extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *);  extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements);
544  extern GLXFBConfig * glXChooseFBConfig (Display *, int, const int *, int *);  extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *attrib_list, int *nelements);
545  extern int glXGetFBConfigAttrib (Display *, GLXFBConfig, int, int *);  extern int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value);
546  extern XVisualInfo * glXGetVisualFromFBConfig (Display *, GLXFBConfig);  extern XVisualInfo * glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config);
547  extern GLXWindow glXCreateWindow (Display *, GLXFBConfig, Window, const int *);  extern GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
548  extern void glXDestroyWindow (Display *, GLXWindow);  extern void glXDestroyWindow (Display *dpy, GLXWindow win);
549  extern GLXPixmap glXCreatePixmap (Display *, GLXFBConfig, Pixmap, const int *);  extern GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
550  extern void glXDestroyPixmap (Display *, GLXPixmap);  extern void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap);
551  extern GLXPbuffer glXCreatePbuffer (Display *, GLXFBConfig, const int *);  extern GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int *attrib_list);
552  extern void glXDestroyPbuffer (Display *, GLXPbuffer);  extern void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf);
553  extern void glXQueryDrawable (Display *, GLXDrawable, int, unsigned int *);  extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
554  extern GLXContext glXCreateNewContext (Display *, GLXFBConfig, int, GLXContext, Bool);  extern GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
555  extern Bool glXMakeContextCurrent (Display *, GLXDrawable, GLXDrawable, GLXContext);  extern Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
556  extern GLXDrawable glXGetCurrentReadDrawable (void);  extern GLXDrawable glXGetCurrentReadDrawable (void);
557  extern Display * glXGetCurrentDisplay (void);  extern Display * glXGetCurrentDisplay (void);
558  extern int glXQueryContext (Display *, GLXContext, int, int *);  extern int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
559  extern void glXSelectEvent (Display *, GLXDrawable, unsigned long);  extern void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_mask);
560  extern void glXGetSelectedEvent (Display *, GLXDrawable, unsigned long *);  extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
561  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
562  typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);  typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
563  typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);  typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
# Line 461  typedef void ( * PFNGLXGETSELECTEDEVENTP Line 582  typedef void ( * PFNGLXGETSELECTEDEVENTP
582  #ifndef GLX_VERSION_1_4  #ifndef GLX_VERSION_1_4
583  #define GLX_VERSION_1_4 1  #define GLX_VERSION_1_4 1
584  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
585  extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *);  extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName);
586  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
587  typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName);  typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName);
588  #endif  #endif
# Line 469  typedef __GLXextFuncPtr ( * PFNGLXGETPRO Line 590  typedef __GLXextFuncPtr ( * PFNGLXGETPRO
590  #ifndef GLX_ARB_get_proc_address  #ifndef GLX_ARB_get_proc_address
591  #define GLX_ARB_get_proc_address 1  #define GLX_ARB_get_proc_address 1
592  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
593  extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);  extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
594  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
595  typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);  typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
596  #endif  #endif
# Line 482  typedef __GLXextFuncPtr ( * PFNGLXGETPRO Line 603  typedef __GLXextFuncPtr ( * PFNGLXGETPRO
603  #define GLX_ARB_fbconfig_float 1  #define GLX_ARB_fbconfig_float 1
604  #endif  #endif
605    
606    #ifndef GLX_ARB_framebuffer_sRGB
607    #define GLX_ARB_framebuffer_sRGB 1
608    #endif
609    
610    #ifndef GLX_ARB_create_context
611    #define GLX_ARB_create_context 1
612    #ifdef GLX_GLXEXT_PROTOTYPES
613    extern GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
614    #endif /* GLX_GLXEXT_PROTOTYPES */
615    typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int *attrib_list);
616    #endif
617    
618    #ifndef GLX_ARB_create_context_profile
619    #define GLX_ARB_create_context_profile 1
620    #endif
621    
622    #ifndef GLX_ARB_create_context_robustness
623    #define GLX_ARB_create_context_robustness 1
624    #endif
625    
626  #ifndef GLX_SGIS_multisample  #ifndef GLX_SGIS_multisample
627  #define GLX_SGIS_multisample 1  #define GLX_SGIS_multisample 1
628  #endif  #endif
# Line 493  typedef __GLXextFuncPtr ( * PFNGLXGETPRO Line 634  typedef __GLXextFuncPtr ( * PFNGLXGETPRO
634  #ifndef GLX_SGI_swap_control  #ifndef GLX_SGI_swap_control
635  #define GLX_SGI_swap_control 1  #define GLX_SGI_swap_control 1
636  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
637  extern int glXSwapIntervalSGI (int);  extern int glXSwapIntervalSGI (int interval);
638  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
639  typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);  typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
640  #endif  #endif
# Line 501  typedef int ( * PFNGLXSWAPINTERVALSGIPRO Line 642  typedef int ( * PFNGLXSWAPINTERVALSGIPRO
642  #ifndef GLX_SGI_video_sync  #ifndef GLX_SGI_video_sync
643  #define GLX_SGI_video_sync 1  #define GLX_SGI_video_sync 1
644  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
645  extern int glXGetVideoSyncSGI (unsigned int *);  extern int glXGetVideoSyncSGI (unsigned int *count);
646  extern int glXWaitVideoSyncSGI (int, int, unsigned int *);  extern int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count);
647  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
648  typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count);  typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count);
649  typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);  typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
# Line 511  typedef int ( * PFNGLXWAITVIDEOSYNCSGIPR Line 652  typedef int ( * PFNGLXWAITVIDEOSYNCSGIPR
652  #ifndef GLX_SGI_make_current_read  #ifndef GLX_SGI_make_current_read
653  #define GLX_SGI_make_current_read 1  #define GLX_SGI_make_current_read 1
654  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
655  extern Bool glXMakeCurrentReadSGI (Display *, GLXDrawable, GLXDrawable, GLXContext);  extern Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
656  extern GLXDrawable glXGetCurrentReadDrawableSGI (void);  extern GLXDrawable glXGetCurrentReadDrawableSGI (void);
657  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
658  typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);  typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
# Line 522  typedef GLXDrawable ( * PFNGLXGETCURRENT Line 663  typedef GLXDrawable ( * PFNGLXGETCURRENT
663  #define GLX_SGIX_video_source 1  #define GLX_SGIX_video_source 1
664  #ifdef _VL_H  #ifdef _VL_H
665  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
666  extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *, int, VLServer, VLPath, int, VLNode);  extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
667  extern void glXDestroyGLXVideoSourceSGIX (Display *, GLXVideoSourceSGIX);  extern void glXDestroyGLXVideoSourceSGIX (Display *dpy, GLXVideoSourceSGIX glxvideosource);
668  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
669  typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);  typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
670  typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource);  typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource);
# Line 538  typedef void ( * PFNGLXDESTROYGLXVIDEOSO Line 679  typedef void ( * PFNGLXDESTROYGLXVIDEOSO
679  #define GLX_EXT_import_context 1  #define GLX_EXT_import_context 1
680  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
681  extern Display * glXGetCurrentDisplayEXT (void);  extern Display * glXGetCurrentDisplayEXT (void);
682  extern int glXQueryContextInfoEXT (Display *, GLXContext, int, int *);  extern int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value);
683  extern GLXContextID glXGetContextIDEXT (const GLXContext);  extern GLXContextID glXGetContextIDEXT (const GLXContext context);
684  extern GLXContext glXImportContextEXT (Display *, GLXContextID);  extern GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID);
685  extern void glXFreeContextEXT (Display *, GLXContext);  extern void glXFreeContextEXT (Display *dpy, GLXContext context);
686  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
687  typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);  typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
688  typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);  typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);
# Line 553  typedef void ( * PFNGLXFREECONTEXTEXTPRO Line 694  typedef void ( * PFNGLXFREECONTEXTEXTPRO
694  #ifndef GLX_SGIX_fbconfig  #ifndef GLX_SGIX_fbconfig
695  #define GLX_SGIX_fbconfig 1  #define GLX_SGIX_fbconfig 1
696  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
697  extern int glXGetFBConfigAttribSGIX (Display *, GLXFBConfigSGIX, int, int *);  extern int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
698  extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *, int, int *, int *);  extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *dpy, int screen, int *attrib_list, int *nelements);
699  extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *, GLXFBConfigSGIX, Pixmap);  extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
700  extern GLXContext glXCreateContextWithConfigSGIX (Display *, GLXFBConfigSGIX, int, GLXContext, Bool);  extern GLXContext glXCreateContextWithConfigSGIX (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
701  extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *, GLXFBConfigSGIX);  extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfigSGIX config);
702  extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *, XVisualInfo *);  extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *dpy, XVisualInfo *vis);
703  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
704  typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);  typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
705  typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);  typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
# Line 571  typedef GLXFBConfigSGIX ( * PFNGLXGETFBC Line 712  typedef GLXFBConfigSGIX ( * PFNGLXGETFBC
712  #ifndef GLX_SGIX_pbuffer  #ifndef GLX_SGIX_pbuffer
713  #define GLX_SGIX_pbuffer 1  #define GLX_SGIX_pbuffer 1
714  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
715  extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *);  extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
716  extern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX);  extern void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf);
717  extern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *);  extern int glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
718  extern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long);  extern void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long mask);
719  extern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *);  extern void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigned long *mask);
720  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
721  typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);  typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
722  typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);  typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
# Line 587  typedef void ( * PFNGLXGETSELECTEDEVENTS Line 728  typedef void ( * PFNGLXGETSELECTEDEVENTS
728  #ifndef GLX_SGI_cushion  #ifndef GLX_SGI_cushion
729  #define GLX_SGI_cushion 1  #define GLX_SGI_cushion 1
730  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
731  extern void glXCushionSGI (Display *, Window, float);  extern void glXCushionSGI (Display *dpy, Window window, float cushion);
732  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
733  typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion);  typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion);
734  #endif  #endif
# Line 595  typedef void ( * PFNGLXCUSHIONSGIPROC) ( Line 736  typedef void ( * PFNGLXCUSHIONSGIPROC) (
736  #ifndef GLX_SGIX_video_resize  #ifndef GLX_SGIX_video_resize
737  #define GLX_SGIX_video_resize 1  #define GLX_SGIX_video_resize 1
738  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
739  extern int glXBindChannelToWindowSGIX (Display *, int, int, Window);  extern int glXBindChannelToWindowSGIX (Display *display, int screen, int channel, Window window);
740  extern int glXChannelRectSGIX (Display *, int, int, int, int, int, int);  extern int glXChannelRectSGIX (Display *display, int screen, int channel, int x, int y, int w, int h);
741  extern int glXQueryChannelRectSGIX (Display *, int, int, int *, int *, int *, int *);  extern int glXQueryChannelRectSGIX (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
742  extern int glXQueryChannelDeltasSGIX (Display *, int, int, int *, int *, int *, int *);  extern int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
743  extern int glXChannelRectSyncSGIX (Display *, int, int, GLenum);  extern int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GLenum synctype);
744  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
745  typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window);  typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window);
746  typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h);  typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h);
# Line 612  typedef int ( * PFNGLXCHANNELRECTSYNCSGI Line 753  typedef int ( * PFNGLXCHANNELRECTSYNCSGI
753  #define GLX_SGIX_dmbuffer 1  #define GLX_SGIX_dmbuffer 1
754  #ifdef _DM_BUFFER_H_  #ifdef _DM_BUFFER_H_
755  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
756  extern Bool glXAssociateDMPbufferSGIX (Display *, GLXPbufferSGIX, DMparams *, DMbuffer);  extern Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
757  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
758  typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);  typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
759  #endif /* _DM_BUFFER_H_ */  #endif /* _DM_BUFFER_H_ */
# Line 621  typedef Bool ( * PFNGLXASSOCIATEDMPBUFFE Line 762  typedef Bool ( * PFNGLXASSOCIATEDMPBUFFE
762  #ifndef GLX_SGIX_swap_group  #ifndef GLX_SGIX_swap_group
763  #define GLX_SGIX_swap_group 1  #define GLX_SGIX_swap_group 1
764  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
765  extern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable);  extern void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawable member);
766  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
767  typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);  typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
768  #endif  #endif
# Line 629  typedef void ( * PFNGLXJOINSWAPGROUPSGIX Line 770  typedef void ( * PFNGLXJOINSWAPGROUPSGIX
770  #ifndef GLX_SGIX_swap_barrier  #ifndef GLX_SGIX_swap_barrier
771  #define GLX_SGIX_swap_barrier 1  #define GLX_SGIX_swap_barrier 1
772  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
773  extern void glXBindSwapBarrierSGIX (Display *, GLXDrawable, int);  extern void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barrier);
774  extern Bool glXQueryMaxSwapBarriersSGIX (Display *, int, int *);  extern Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max);
775  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
776  typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);  typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
777  typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);  typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
# Line 639  typedef Bool ( * PFNGLXQUERYMAXSWAPBARRI Line 780  typedef Bool ( * PFNGLXQUERYMAXSWAPBARRI
780  #ifndef GLX_SUN_get_transparent_index  #ifndef GLX_SUN_get_transparent_index
781  #define GLX_SUN_get_transparent_index 1  #define GLX_SUN_get_transparent_index 1
782  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
783  extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *);  extern Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
784  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
785  typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);  typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
786  #endif  #endif
# Line 647  typedef Status ( * PFNGLXGETTRANSPARENTI Line 788  typedef Status ( * PFNGLXGETTRANSPARENTI
788  #ifndef GLX_MESA_copy_sub_buffer  #ifndef GLX_MESA_copy_sub_buffer
789  #define GLX_MESA_copy_sub_buffer 1  #define GLX_MESA_copy_sub_buffer 1
790  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
791  extern void glXCopySubBufferMESA (Display *, GLXDrawable, int, int, int, int);  extern void glXCopySubBufferMESA (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
792  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
793  typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);  typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
794  #endif  #endif
# Line 655  typedef void ( * PFNGLXCOPYSUBBUFFERMESA Line 796  typedef void ( * PFNGLXCOPYSUBBUFFERMESA
796  #ifndef GLX_MESA_pixmap_colormap  #ifndef GLX_MESA_pixmap_colormap
797  #define GLX_MESA_pixmap_colormap 1  #define GLX_MESA_pixmap_colormap 1
798  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
799  extern GLXPixmap glXCreateGLXPixmapMESA (Display *, XVisualInfo *, Pixmap, Colormap);  extern GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
800  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
801  typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);  typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
802  #endif  #endif
# Line 663  typedef GLXPixmap ( * PFNGLXCREATEGLXPIX Line 804  typedef GLXPixmap ( * PFNGLXCREATEGLXPIX
804  #ifndef GLX_MESA_release_buffers  #ifndef GLX_MESA_release_buffers
805  #define GLX_MESA_release_buffers 1  #define GLX_MESA_release_buffers 1
806  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
807  extern Bool glXReleaseBuffersMESA (Display *, GLXDrawable);  extern Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable);
808  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
809  typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable);  typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable);
810  #endif  #endif
# Line 671  typedef Bool ( * PFNGLXRELEASEBUFFERSMES Line 812  typedef Bool ( * PFNGLXRELEASEBUFFERSMES
812  #ifndef GLX_MESA_set_3dfx_mode  #ifndef GLX_MESA_set_3dfx_mode
813  #define GLX_MESA_set_3dfx_mode 1  #define GLX_MESA_set_3dfx_mode 1
814  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
815  extern Bool glXSet3DfxModeMESA (int);  extern Bool glXSet3DfxModeMESA (int mode);
816  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
817  typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode);  typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode);
818  #endif  #endif
# Line 687  typedef Bool ( * PFNGLXSET3DFXMODEMESAPR Line 828  typedef Bool ( * PFNGLXSET3DFXMODEMESAPR
828  #ifndef GLX_OML_sync_control  #ifndef GLX_OML_sync_control
829  #define GLX_OML_sync_control 1  #define GLX_OML_sync_control 1
830  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
831  extern Bool glXGetSyncValuesOML (Display *, GLXDrawable, int64_t *, int64_t *, int64_t *);  extern Bool glXGetSyncValuesOML (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
832  extern Bool glXGetMscRateOML (Display *, GLXDrawable, int32_t *, int32_t *);  extern Bool glXGetMscRateOML (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
833  extern int64_t glXSwapBuffersMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t);  extern int64_t glXSwapBuffersMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
834  extern Bool glXWaitForMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t, int64_t *, int64_t *, int64_t *);  extern Bool glXWaitForMscOML (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
835  extern Bool glXWaitForSbcOML (Display *, GLXDrawable, int64_t, int64_t *, int64_t *, int64_t *);  extern Bool glXWaitForSbcOML (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
836  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
837  typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);  typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
838  typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);  typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
# Line 732  typedef struct { Line 873  typedef struct {
873  } GLXPipeRectLimits;  } GLXPipeRectLimits;
874    
875  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
876  extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *, int *);  extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int *npipes);
877  extern int glXHyperpipeConfigSGIX (Display *, int, int, GLXHyperpipeConfigSGIX *, int *);  extern int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
878  extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *, int, int *);  extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int hpId, int *npipes);
879  extern int glXDestroyHyperpipeConfigSGIX (Display *, int);  extern int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId);
880  extern int glXBindHyperpipeSGIX (Display *, int);  extern int glXBindHyperpipeSGIX (Display *dpy, int hpId);
881  extern int glXQueryHyperpipeBestAttribSGIX (Display *, int, int, int, void *, void *);  extern int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
882  extern int glXHyperpipeAttribSGIX (Display *, int, int, int, void *);  extern int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
883  extern int glXQueryHyperpipeAttribSGIX (Display *, int, int, int, void *);  extern int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
884  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
885  typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);  typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
886  typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);  typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
# Line 754  typedef int ( * PFNGLXQUERYHYPERPIPEATTR Line 895  typedef int ( * PFNGLXQUERYHYPERPIPEATTR
895  #ifndef GLX_MESA_agp_offset  #ifndef GLX_MESA_agp_offset
896  #define GLX_MESA_agp_offset 1  #define GLX_MESA_agp_offset 1
897  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
898  extern unsigned int glXGetAGPOffsetMESA (const void *);  extern unsigned int glXGetAGPOffsetMESA (const void *pointer);
899  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
900  typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer);  typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer);
901  #endif  #endif
# Line 770  typedef unsigned int ( * PFNGLXGETAGPOFF Line 911  typedef unsigned int ( * PFNGLXGETAGPOFF
911  #ifndef GLX_EXT_texture_from_pixmap  #ifndef GLX_EXT_texture_from_pixmap
912  #define GLX_EXT_texture_from_pixmap 1  #define GLX_EXT_texture_from_pixmap 1
913  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
914  extern void glXBindTexImageEXT (Display *, GLXDrawable, int, const int *);  extern void glXBindTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
915  extern void glXReleaseTexImageEXT (Display *, GLXDrawable, int);  extern void glXReleaseTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer);
916  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
917  typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);  typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
918  typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer);  typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer);
919  #endif  #endif
920    
921    #ifndef GLX_NV_present_video
922    #define GLX_NV_present_video 1
923    #ifdef GLX_GLXEXT_PROTOTYPES
924    extern unsigned int * glXEnumerateVideoDevicesNV (Display *dpy, int screen, int *nelements);
925    extern int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
926    #endif /* GLX_GLXEXT_PROTOTYPES */
927    typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int screen, int *nelements);
928    typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_slot, unsigned int video_device, const int *attrib_list);
929    #endif
930    
931    #ifndef GLX_NV_video_output
932    #define GLX_NV_video_output 1
933    #ifdef GLX_GLXEXT_PROTOTYPES
934    extern int glXGetVideoDeviceNV (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
935    extern int glXReleaseVideoDeviceNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
936    extern int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
937    extern int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf);
938    extern int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
939    extern int glXGetVideoInfoNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
940    #endif /* GLX_GLXEXT_PROTOTYPES */
941    typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVideoDevices, GLXVideoDeviceNV *pVideoDevice);
942    typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice);
943    typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
944    typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf);
945    typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf, int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock);
946    typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVideo);
947    #endif
948    
949    #ifndef GLX_NV_swap_group
950    #define GLX_NV_swap_group 1
951    #ifdef GLX_GLXEXT_PROTOTYPES
952    extern Bool glXJoinSwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint group);
953    extern Bool glXBindSwapBarrierNV (Display *dpy, GLuint group, GLuint barrier);
954    extern Bool glXQuerySwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
955    extern Bool glXQueryMaxSwapGroupsNV (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
956    extern Bool glXQueryFrameCountNV (Display *dpy, int screen, GLuint *count);
957    extern Bool glXResetFrameCountNV (Display *dpy, int screen);
958    #endif /* GLX_GLXEXT_PROTOTYPES */
959    typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint group);
960    typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuint barrier);
961    typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable, GLuint *group, GLuint *barrier);
962    typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLuint *maxGroups, GLuint *maxBarriers);
963    typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint *count);
964    typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen);
965    #endif
966    
967    #ifndef GLX_NV_video_capture
968    #define GLX_NV_video_capture 1
969    #ifdef GLX_GLXEXT_PROTOTYPES
970    extern int glXBindVideoCaptureDeviceNV (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
971    extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *dpy, int screen, int *nelements);
972    extern void glXLockVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device);
973    extern int glXQueryVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
974    extern void glXReleaseVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV device);
975    #endif /* GLX_GLXEXT_PROTOTYPES */
976    typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
977    typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC) (Display *dpy, int screen, int *nelements);
978    typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device);
979    typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device, int attribute, int *value);
980    typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCaptureDeviceNV device);
981    #endif
982    
983    #ifndef GLX_EXT_swap_control
984    #define GLX_EXT_swap_control 1
985    #ifdef GLX_GLXEXT_PROTOTYPES
986    extern void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
987    #endif /* GLX_GLXEXT_PROTOTYPES */
988    typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
989    #endif
990    
991    #ifndef GLX_NV_copy_image
992    #define GLX_NV_copy_image 1
993    #ifdef GLX_GLXEXT_PROTOTYPES
994    extern void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
995    #endif /* GLX_GLXEXT_PROTOTYPES */
996    typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
997    #endif
998    
999    #ifndef GLX_INTEL_swap_event
1000    #define GLX_INTEL_swap_event 1
1001    #endif
1002    
1003    #ifndef GLX_NV_multisample_coverage
1004    #define GLX_NV_multisample_coverage 1
1005    #endif
1006    
1007    #ifndef GLX_EXT_create_context_es2_profile
1008    #define GLX_EXT_create_context_es2_profile 1
1009    #endif
1010    
1011    #ifndef GLX_EXT_create_context_es_profile
1012    #define GLX_EXT_create_context_es_profile 1
1013    #endif
1014    
1015    #ifndef GLX_EXT_swap_control_tear
1016    #define GLX_EXT_swap_control_tear 1
1017    #endif
1018    
1019    #ifndef GLX_EXT_buffer_age
1020    #define GLX_EXT_buffer_age 1
1021    #endif
1022    
1023    
1024  #ifdef __cplusplus  #ifdef __cplusplus
1025  }  }

Legend:
Removed from v.622  
changed lines
  Added in v.2197