]> git.cworth.org Git - vogl/blob - glspec/glxext.spec
Initial vogl checkin
[vogl] / glspec / glxext.spec
1 # glxext.spec file
2 # DON'T REMOVE PREVIOUS LINE!!! libspec depends on it!
3 #
4 # Copyright (c) 1991-2005 Silicon Graphics, Inc. All Rights Reserved.
5 # Copyright (c) 2006-2010 The Khronos Group, Inc.
6 #
7 # This document is licensed under the SGI Free Software B License Version
8 # 2.0. For details, see http://oss.sgi.com/projects/FreeB/ .
9 #
10 # $Revision: 20495 $ on $Date: 2013-02-06 13:01:10 -0800 (Wed, 06 Feb 2013) $
11
12 required-props:
13 param:          retval retained
14 glxflags:       client-handcode client-intercept server-handcode
15 glxvendorglx:   *
16 vectorequiv:    *
17 category:       VERSION_1_3 VERSION_1_4 ARB_get_proc_address ARB_multisample ARB_fbconfig_float EXT_import_context SGIX_dmbuffer SGIX_fbconfig SGIX_pbuffer SGIX_swap_barrier SGIX_swap_group SGIX_video_resize SGIX_video_source SGI_cushion SGI_make_current_read SGI_swap_control SGI_video_sync SUN_get_transparent_index MESA_agp_offset MESA_copy_sub_buffer MESA_pixmap_colormap MESA_release_buffers MESA_set_3dfx_mode SGIX_visual_select_group OML_sync_control SGIX_hyperpipe EXT_texture_from_pixmap NV_swap_group NV_video_output NV_present_video ARB_create_context NV_video_capture NV_copy_image EXT_swap_control ARB_framebuffer_sRGB
18 glxopcode:      *
19
20 #
21 # Boilerplate to define types used by some extensions. This is done
22 #   up front, since it involves some complexities in protecting
23 #   the declarations whether or not the -protect flag is given to
24 #   the generator scripts.
25 #
26
27 passthru: #ifndef GLX_ARB_get_proc_address
28 passthru: typedef void (*__GLXextFuncPtr)(void);
29 passthru: #endif
30 passthru:
31 passthru: #ifndef GLX_SGIX_video_source
32 passthru: typedef XID GLXVideoSourceSGIX;
33 passthru: #endif
34 passthru:
35 passthru: #ifndef GLX_SGIX_fbconfig
36 passthru: typedef XID GLXFBConfigIDSGIX;
37 passthru: typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
38 passthru: #endif
39 passthru:
40 passthru: #ifndef GLX_SGIX_pbuffer
41 passthru: typedef XID GLXPbufferSGIX;
42 passthru: typedef struct {
43 passthru:     int type;
44 passthru:     unsigned long serial;       /* # of last request processed by server */
45 passthru:     Bool send_event;            /* true if this came for SendEvent request */
46 passthru:     Display *display;           /* display the event was read from */
47 passthru:     GLXDrawable drawable;       /* i.d. of Drawable */
48 passthru:     int event_type;             /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */
49 passthru:     int draw_type;              /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */
50 passthru:     unsigned int mask;          /* mask indicating which buffers are affected*/
51 passthru:     int x, y;
52 passthru:     int width, height;
53 passthru:     int count;                  /* if nonzero, at least this many more */
54 passthru: } GLXBufferClobberEventSGIX;
55 passthru: #endif
56 passthru:
57 passthru: #ifndef GLX_NV_video_output
58 passthru: typedef unsigned int GLXVideoDeviceNV;
59 passthru: #endif
60 passthru:
61 passthru: #ifndef GLX_NV_video_capture
62 passthru: typedef XID GLXVideoCaptureDeviceNV;
63 passthru: #endif
64 passthru:
65 passthru: #ifndef GLEXT_64_TYPES_DEFINED
66 passthru: /* This code block is duplicated in glext.h, so must be protected */
67 passthru: #define GLEXT_64_TYPES_DEFINED
68 passthru: /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
69 passthru: /* (as used in the GLX_OML_sync_control extension). */
70 passthru: #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
71 passthru: #include <inttypes.h>
72 passthru: #elif defined(__sun__) || defined(__digital__)
73 passthru: #include <inttypes.h>
74 passthru: #if defined(__STDC__)
75 passthru: #if defined(__arch64__) || defined(_LP64)
76 passthru: typedef long int int64_t;
77 passthru: typedef unsigned long int uint64_t;
78 passthru: #else
79 passthru: typedef long long int int64_t;
80 passthru: typedef unsigned long long int uint64_t;
81 passthru: #endif /* __arch64__ */
82 passthru: #endif /* __STDC__ */
83 passthru: #elif defined( __VMS ) || defined(__sgi)
84 passthru: #include <inttypes.h>
85 passthru: #elif defined(__SCO__) || defined(__USLC__)
86 passthru: #include <stdint.h>
87 passthru: #elif defined(__UNIXOS2__) || defined(__SOL64__)
88 passthru: typedef long int int32_t;
89 passthru: typedef long long int int64_t;
90 passthru: typedef unsigned long long int uint64_t;
91 passthru: #elif defined(_WIN32) && defined(__GNUC__)
92 passthru: #include <stdint.h>
93 passthru: #elif defined(_WIN32)
94 passthru: typedef __int32 int32_t;
95 passthru: typedef __int64 int64_t;
96 passthru: typedef unsigned __int64 uint64_t;
97 passthru: #else
98 passthru: #include <inttypes.h>     /* Fallback option */
99 passthru: #endif
100 passthru: #endif
101 passthru:
102
103 ###############################################################################
104 #
105 # GLX 1.3 commands
106 #
107 ###############################################################################
108
109 GetFBConfigs(dpy, screen, nelements)
110         return          GLXFBConfigPointer
111         param           dpy             Display in reference
112         param           screen          int in value
113         param           nelements       int out reference
114         category        VERSION_1_3
115         glxflags        client-handcode server-handcode
116         glxopcode       21
117
118 ChooseFBConfig(dpy, screen, attrib_list, nelements)
119         return          GLXFBConfigPointer
120         param           dpy             Display in reference
121         param           screen          int in value
122         param           attrib_list     int in array []
123         param           nelements       int out reference
124         category        VERSION_1_3
125         glxflags        client-handcode client-intercept server-handcode
126
127 GetFBConfigAttrib(dpy, config, attribute, value)
128         return          int
129         param           dpy             Display in reference
130         param           config          GLXFBConfig in value
131         param           attribute       int in value
132         param           value           int out reference
133         category        VERSION_1_3
134         glxflags        client-handcode client-intercept server-handcode
135
136 GetVisualFromFBConfig(dpy, config)
137         return          XVisualInfoPointer
138         param           dpy             Display in reference
139         param           config          GLXFBConfig in value
140         category        VERSION_1_3
141         glxflags        client-handcode client-intercept server-handcode
142
143 CreateWindow(dpy, config, win, attrib_list)
144         return          GLXWindow
145         param           dpy             Display in reference
146         param           config          GLXFBConfig in value
147         param           win             Window in value
148         param           attrib_list     int in array []
149         category        VERSION_1_3
150         glxflags        client-handcode server-handcode
151         glxopcode       31
152
153 DestroyWindow(dpy, win)
154         return          void
155         param           dpy             Display in reference
156         param           win             GLXWindow in value
157         category        VERSION_1_3
158         glxflags        client-handcode server-handcode
159         glxopcode       32
160
161 CreatePixmap(dpy, config, pixmap, attrib_list)
162         return          GLXPixmap
163         param           dpy             Display in reference
164         param           config          GLXFBConfig in value
165         param           pixmap          Pixmap in value
166         param           attrib_list     int in array []
167         category        VERSION_1_3
168         glxflags        client-handcode server-handcode
169         glxopcode       22
170
171 DestroyPixmap(dpy, pixmap)
172         return          void
173         param           dpy             Display in reference
174         param           pixmap          GLXPixmap in value
175         category        VERSION_1_3
176         glxflags        client-handcode server-handcode
177         glxopcode       23
178
179 CreatePbuffer(dpy, config, attrib_list)
180         return          GLXPbuffer
181         param           dpy             Display in reference
182         param           config          GLXFBConfig in value
183         param           attrib_list     int in array []
184         category        VERSION_1_3
185         glxflags        client-handcode server-handcode
186         glxopcode       27
187
188 DestroyPbuffer(dpy, pbuf)
189         return          void
190         param           dpy             Display in reference
191         param           pbuf            GLXPbuffer in value
192         category        VERSION_1_3
193         glxflags        client-handcode server-handcode
194         glxopcode       28
195
196 # glXGetDrawableAttributes -> GLX opcode 29
197 # glXChangeDrawableAttributes -> GLX opcode 30
198
199 # Uses glXGetDrawableAttributes protocol
200 QueryDrawable(dpy, draw, attribute, value)
201         return          int32_t
202         param           dpy             Display in reference
203         param           draw            GLXDrawable in value
204         param           attribute       int in value
205         param           value           uint out reference
206         category        VERSION_1_3
207         glxflags        client-handcode client-intercept server-handcode
208
209 CreateNewContext(dpy, config, render_type, share_list, direct)
210         return          GLXContext
211         param           dpy             Display in reference
212         param           config          GLXFBConfig in value
213         param           render_type     int in value
214         param           share_list      GLXContext in value
215         param           direct          Bool in value
216         category        VERSION_1_3
217         glxflags        client-handcode server-handcode
218         glxopcode       24
219
220 MakeContextCurrent(dpy, draw, read, ctx)
221         return          Bool
222         param           dpy             Display in reference
223         param           draw            GLXDrawable in value
224         param           read            GLXDrawable in value
225         param           ctx             GLXContext in value
226         category        VERSION_1_3
227         glxflags        client-handcode server-handcode
228         glxopcode       26
229
230 GetCurrentReadDrawable()
231         return          GLXDrawable
232         category        VERSION_1_3
233         glxflags        client-handcode client-intercept server-handcode
234
235 GetCurrentDisplay()
236         return          DisplayPointer
237         category        VERSION_1_3
238         glxflags        client-handcode client-intercept server-handcode
239
240 QueryContext(dpy, ctx, attribute, value)
241         return          int
242         param           dpy             Display in reference
243         param           ctx             GLXContext in value
244         param           attribute       int in value
245         param           value           int out reference
246         category        VERSION_1_3
247         glxflags        client-handcode server-handcode
248         glxopcode       25
249
250 # Uses glXChangeDrawableAttributes protocol
251 SelectEvent(dpy, draw, event_mask)
252         return          void
253         param           dpy             Display in reference
254         param           draw            GLXDrawable in value
255         param           event_mask      ulong in value
256         category        VERSION_1_3
257         glxflags        client-handcode server-handcode
258
259 # Uses glXGetDrawableAttributes protocol
260 GetSelectedEvent(dpy, draw, event_mask)
261         return          void
262         param           dpy             Display in reference
263         param           draw            GLXDrawable in value
264         param           event_mask      ulong out reference
265         category        VERSION_1_3
266         glxflags        client-handcode client-intercept server-handcode
267
268 ###############################################################################
269 #
270 # GLX 1.4 commands
271 #
272 ###############################################################################
273
274 GetProcAddress(procName)
275         return          FunctionPointer
276         param           procName        GLubyte in reference
277         category        VERSION_1_4
278         glxflags        client-handcode client-intercept server-handcode
279
280 ###############################################################################
281 #
282 # ARB Extension #2
283 # ARB_get_proc_address commands
284 # @promoted to core in GLX 1.4, but there's no provision for aliasing
285 # @in GLX spec files, yet
286 #
287 ###############################################################################
288
289 GetProcAddressARB(procName)
290         return          FunctionPointer
291         param           procName        GLubyte in reference
292         category        ARB_get_proc_address
293         glxflags        client-handcode client-intercept server-handcode
294
295 ###############################################################################
296 #
297 # ARB Extension #5
298 # ARB_multisample commands
299 #
300 ###############################################################################
301
302 # (none)
303 newcategory: ARB_multisample
304
305 ###############################################################################
306 #
307 # ARB Extension #39
308 # ARB_fbconfig_float commands
309 #
310 ###############################################################################
311
312 # (none)
313 newcategory: ARB_fbconfig_float
314
315 ###############################################################################
316 #
317 # ARB Extension #46
318 # ARB_framebuffer_sRGB commands
319 #
320 ###############################################################################
321
322 # (none)
323 newcategory: ARB_framebuffer_sRGB
324
325 ###############################################################################
326 #
327 # ARB Extension #56
328 # ARB_create_context commands
329 #
330 ###############################################################################
331
332 CreateContextAttribsARB(dpy, config, share_context, direct, attrib_list)
333         return          GLXContext
334         param           dpy             Display in reference
335         param           config          GLXFBConfig in value
336         param           share_context   GLXContext in value
337         param           direct          Bool in value
338         param           attrib_list     int in array []
339         category        ARB_create_context
340         glxflags        client-handcode client-intercept server-handcode
341         glxopcode       34
342
343 ###############################################################################
344 #
345 # ARB Extension #75
346 # ARB_create_context_profile commands
347 #
348 ###############################################################################
349
350 # (none)
351 newcategory: ARB_create_context_profile
352
353 ###############################################################################
354 #
355 # ARB Extension #101
356 # ARB_create_context_robustness commands
357 #
358 ###############################################################################
359
360 # (none)
361 newcategory: ARB_create_context_robustness
362
363
364 ###############################################################################
365 #
366 # Extension #25
367 # SGIS_multisample commands
368 #
369 ###############################################################################
370
371 # (none)
372 newcategory: SGIS_multisample
373
374 ###############################################################################
375 #
376 # Extension #28
377 # EXT_visual_info commands
378 #
379 ###############################################################################
380
381 # (none)
382 newcategory: EXT_visual_info
383
384 ###############################################################################
385 #
386 # Extension #40
387 # SGI_swap_control commands
388 #
389 ###############################################################################
390
391 SwapIntervalSGI(interval)
392         return          int
393         param           interval        int in value
394         category        SGI_swap_control
395         glxflags        client-handcode server-handcode
396         glxvendorglx    65536
397
398 ###############################################################################
399 #
400 # Extension #41
401 # SGI_video_sync commands
402 #
403 ###############################################################################
404
405 GetVideoSyncSGI(count)
406         return          int
407         param           count           uint out reference
408         category        SGI_video_sync
409         glxflags        client-handcode client-intercept server-handcode
410
411 WaitVideoSyncSGI(divisor, remainder, count)
412         return          int
413         param           divisor         int in value
414         param           remainder       int in value
415         param           count           uint out reference
416         category        SGI_video_sync
417         glxflags        client-handcode client-intercept server-handcode
418
419 ###############################################################################
420 #
421 # Extension #42
422 # SGI_make_current_read commands
423 #
424 ###############################################################################
425
426 MakeCurrentReadSGI(dpy, draw, read, ctx)
427         return          Bool
428         param           dpy             Display in reference
429         param           draw            GLXDrawable in value
430         param           read            GLXDrawable in value
431         param           ctx             GLXContext in value
432         category        SGI_make_current_read
433         glxflags        client-handcode server-handcode
434         glxvendorglx    65537
435
436 GetCurrentReadDrawableSGI()
437         return          GLXDrawable
438         category        SGI_make_current_read
439         glxflags        client-handcode client-intercept server-handcode
440
441 ###############################################################################
442 #
443 # Extension #43
444 # SGIX_video_source commands
445 #
446 ###############################################################################
447
448 newcategory: SGIX_video_source
449 passthru: #ifdef _VL_H
450
451 CreateGLXVideoSourceSGIX(display, screen, server, path, nodeClass, drainNode)
452         return          GLXVideoSourceSGIX
453         param           display         Display in reference
454         param           screen          int in value
455         param           server          VLServer in value
456         param           path            VLPath in value
457         param           nodeClass       int in value
458         param           drainNode       VLNode in value
459         category        SGIX_video_source
460         glxflags        client-handcode server-handcode
461         glxvendorglx    65538
462
463 DestroyGLXVideoSourceSGIX(dpy, glxvideosource)
464         return          void
465         param           dpy             Display in reference
466         param           glxvideosource  GLXVideoSourceSGIX in value
467         category        SGIX_video_source
468         glxflags        client-handcode server-handcode
469         glxvendorglx    65539
470
471 passend: #endif /* _VL_H */
472 endcategory:
473
474 ###############################################################################
475 #
476 # Extension #44
477 # EXT_visual_rating commands
478 #
479 ###############################################################################
480
481 # (none)
482 newcategory: EXT_visual_rating
483
484 ###############################################################################
485 #
486 # Extension #47
487 # EXT_import_context commands
488 #
489 ###############################################################################
490
491 GetCurrentDisplayEXT()
492         return          DisplayPointer
493         category        EXT_import_context
494         glxflags        client-handcode client-intercept server-handcode
495
496 QueryContextInfoEXT(dpy, context, attribute, value)
497         return          int
498         param           dpy             Display in reference
499         param           context         GLXContext in value
500         param           attribute       int in value
501         param           value           int out reference
502         category        EXT_import_context
503         glxflags        client-handcode server-handcode
504         glxvendorglx    1024
505
506 # 'constGLXContext' is a hack; the extension specification and glx.h
507 # should be fixed instead.
508 GetContextIDEXT(context)
509         return          GLXContextID
510         param           context         constGLXContext in value
511         category        EXT_import_context
512         glxflags        client-handcode client-intercept server-handcode
513
514 ImportContextEXT(dpy, contextID)
515         return          GLXContext
516         param           dpy             Display in reference
517         param           contextID       GLXContextID in value
518         category        EXT_import_context
519         glxflags        client-handcode client-intercept server-handcode
520
521 FreeContextEXT(dpy, context)
522         return          void
523         param           dpy             Display in reference
524         param           context         GLXContext in value
525         category        EXT_import_context
526         glxflags        client-handcode client-intercept server-handcode
527
528 ###############################################################################
529 #
530 # Extension #49
531 # SGIX_fbconfig commands
532 #
533 ###############################################################################
534
535 # GetFBConfigsSGIX protocol -> VendorPrivate opcode 65540
536
537 GetFBConfigAttribSGIX(dpy, config, attribute, value)
538         return          int
539         param           dpy             Display in reference
540         param           config          GLXFBConfigSGIX in value
541         param           attribute       int in value
542         param           value           int out reference
543         category        SGIX_fbconfig
544         glxflags        client-handcode client-intercept server-handcode
545
546 ChooseFBConfigSGIX(dpy, screen, attrib_list, nelements)
547         return          GLXFBConfigSGIXPointer
548         param           dpy             Display in reference
549         param           screen          int in value
550         param           attrib_list     int out reference
551         param           nelements       int out reference
552         category        SGIX_fbconfig
553         glxflags        client-handcode client-intercept server-handcode
554
555 CreateGLXPixmapWithConfigSGIX(dpy, config, pixmap)
556         return          GLXPixmap
557         param           dpy             Display in reference
558         param           config          GLXFBConfigSGIX in value
559         param           pixmap          Pixmap in value
560         category        SGIX_fbconfig
561         glxflags        client-handcode server-handcode
562         glxvendorglx    65542
563
564 CreateContextWithConfigSGIX(dpy, config, render_type, share_list, direct)
565         return          GLXContext
566         param           dpy             Display in reference
567         param           config          GLXFBConfigSGIX in value
568         param           render_type     int in value
569         param           share_list      GLXContext in value
570         param           direct          Bool in value
571         category        SGIX_fbconfig
572         glxflags        client-handcode server-handcode
573         glxvendorglx    65541
574
575 GetVisualFromFBConfigSGIX(dpy, config)
576         return          XVisualInfoPointer
577         param           dpy             Display in reference
578         param           config          GLXFBConfigSGIX in value
579         category        SGIX_fbconfig
580         glxflags        client-handcode client-intercept server-handcode
581
582 GetFBConfigFromVisualSGIX(dpy, vis)
583         return          GLXFBConfigSGIX
584         param           dpy             Display in reference
585         param           vis             XVisualInfo out reference
586         category        SGIX_fbconfig
587         glxflags        client-handcode client-intercept server-handcode
588
589 ###############################################################################
590 #
591 # Extension #50
592 # SGIX_pbuffer commands
593 #
594 ###############################################################################
595
596 # ChangeDrawableAttributesSGIX protocol -> VendorPrivate opcode 65545
597 # GetDrawableAttributesSGIX protocol -> VendorPrivate opcode 65546
598
599 CreateGLXPbufferSGIX(dpy, config, width,  height, attrib_list)
600         return          GLXPbufferSGIX
601         param           dpy             Display in reference
602         param           config          GLXFBConfigSGIX in value
603         param           width           uint in value
604         param           height          uint in value
605         param           attrib_list     int out reference
606         category        SGIX_pbuffer
607         glxflags        client-handcode server-handcode
608         glxvendorglx    65543
609
610 DestroyGLXPbufferSGIX(dpy, pbuf)
611         return          void
612         param           dpy             Display in reference
613         param           pbuf            GLXPbufferSGIX in value
614         category        SGIX_pbuffer
615         glxflags        client-handcode
616         glxvendorglx    65544
617
618 QueryGLXPbufferSGIX(dpy, pbuf, attribute, value)
619         return          int
620         param           dpy             Display in reference
621         param           pbuf            GLXPbufferSGIX in value
622         param           attribute       int in value
623         param           value           uint out reference
624         category        SGIX_pbuffer
625
626 SelectEventSGIX(dpy, drawable, mask)
627         return          void
628         param           dpy             Display in reference
629         param           drawable        GLXDrawable in value
630         param           mask            ulong in value
631         category        SGIX_pbuffer
632
633 GetSelectedEventSGIX(dpy, drawable, mask)
634         return          void
635         param           dpy             Display in reference
636         param           drawable        GLXDrawable in value
637         param           mask            ulong out reference
638         category        SGIX_pbuffer
639
640 ###############################################################################
641 #
642 # Extension #62
643 # SGI_cushion commands
644 #
645 ###############################################################################
646
647 CushionSGI(dpy, window, cushion)
648         return          void
649         param           dpy             Display in reference
650         param           window          Window in value
651         param           cushion         float in value
652         category        SGI_cushion
653
654 ###############################################################################
655 #
656 # Extension #83
657 # SGIX_video_resize commands
658 #
659 ###############################################################################
660
661 BindChannelToWindowSGIX(display, screen, channel, window)
662         return          int
663         param           display         Display in reference
664         param           screen          int in value
665         param           channel         int in value
666         param           window          Window in value
667         category        SGIX_video_resize
668
669 ChannelRectSGIX(display, screen, channel, x, y, w, h)
670         return          int
671         param           display         Display in reference
672         param           screen          int in value
673         param           channel         int in value
674         param           x               int in value
675         param           y               int in value
676         param           w               int in value
677         param           h               int in value
678         category        SGIX_video_resize
679
680 QueryChannelRectSGIX(display, screen, channel, dx, dy, dw, dh)
681         return          int
682         param           display         Display in reference
683         param           screen          int in value
684         param           channel         int in value
685         param           dx              int out reference
686         param           dy              int out reference
687         param           dw              int out reference
688         param           dh              int out reference
689         category        SGIX_video_resize
690
691 QueryChannelDeltasSGIX(display, screen, channel, x, y, w, h)
692         return          int
693         param           display         Display in reference
694         param           screen          int in value
695         param           channel         int in value
696         param           x               int out reference
697         param           y               int out reference
698         param           w               int out reference
699         param           h               int out reference
700         category        SGIX_video_resize
701
702 # @@@ Not in man page - this entry point may not be shipping?
703 ChannelRectSyncSGIX(display, screen, channel, synctype)
704         return          int
705         param           display         Display in reference
706         param           screen          int in value
707         param           channel         int in value
708         param           synctype        GLenum in value
709         category        SGIX_video_resize
710
711 ###############################################################################
712 #
713 # Extension #86
714 # SGIX_dmbuffer commands
715 #
716 ###############################################################################
717
718 newcategory: SGIX_dmbuffer
719 passthru: #ifdef _DM_BUFFER_H_
720
721 AssociateDMPbufferSGIX(dpy, pbuffer, params, dmbuffer)
722         return          Bool
723         param           dpy             Display in reference
724         param           pbuffer         GLXPbufferSGIX in value
725         param           params          DMparams out reference
726         param           dmbuffer        DMbuffer in value
727         category        SGIX_dmbuffer
728
729 passend: #endif /* _DM_BUFFER_H_ */
730 endcategory:
731
732 ###############################################################################
733 #
734 # Extension #91
735 # SGIX_swap_group commands
736 #
737 ###############################################################################
738
739 JoinSwapGroupSGIX(dpy, drawable, member)
740         return          void
741         param           dpy             Display in reference
742         param           drawable        GLXDrawable in value
743         param           member          GLXDrawable in value
744         category        SGIX_swap_group
745         glxflags        client-handcode server-handcode
746         glxvendorglx    65547
747
748 ###############################################################################
749 #
750 # Extension #92
751 # SGIX_swap_barrier commands
752 #
753 ###############################################################################
754
755 BindSwapBarrierSGIX(dpy, drawable, barrier)
756         return          void
757         param           dpy             Display in reference
758         param           drawable        GLXDrawable in value
759         param           barrier         int in value
760         category        SGIX_swap_barrier
761         glxflags        client-handcode server-handcode
762         glxvendorglx    65548
763
764 QueryMaxSwapBarriersSGIX(dpy, screen, max)
765         return          Bool
766         param           dpy             Display in reference
767         param           screen          int in value
768         param           max             int out reference
769         category        SGIX_swap_barrier
770         glxflags        client-handcode server-handcode
771         glxvendorglx    65549
772
773 ###############################################################################
774 #
775 # Extension #183
776 # SUN_get_transparent_index commands
777 #
778 ###############################################################################
779
780 GetTransparentIndexSUN(dpy, overlay, underlay, pTransparentIndex)
781         return          Status
782         param           dpy             Display in reference
783         param           overlay         Window in value
784         param           underlay        Window in value
785         param           pTransparentIndex       long out reference
786         category        SUN_get_transparent_index
787
788 ###############################################################################
789 #
790 # Extension #215
791 # MESA_copy_sub_buffer commands
792 #
793 ###############################################################################
794
795 CopySubBufferMESA(dpy, drawable, x, y, width, height)
796         return          void
797         param           dpy             Display in reference
798         param           drawable        GLXDrawable in value
799         param           x               int in value
800         param           y               int in value
801         param           width           int in value
802         param           height          int in value
803         category        MESA_copy_sub_buffer
804         glxflags        client-handcode client-intercept server-handcode
805
806 ###############################################################################
807 #
808 # Extension #216
809 # MESA_pixmap_colormap commands
810 #
811 ###############################################################################
812
813 CreateGLXPixmapMESA(dpy, visual, pixmap, cmap)
814         return          GLXPixmap
815         param           dpy             Display in reference
816         param           visual          XVisualInfo out reference
817         param           pixmap          Pixmap in value
818         param           cmap            Colormap in value
819         category        MESA_pixmap_colormap
820         glxflags        client-handcode client-intercept server-handcode
821
822 ###############################################################################
823 #
824 # Extension #217
825 # MESA_release_buffers commands
826 #
827 ###############################################################################
828
829 ReleaseBuffersMESA(dpy, drawable)
830         return          Bool
831         param           dpy             Display in reference
832         param           drawable        GLXDrawable in value
833         category        MESA_release_buffers
834         glxflags        client-handcode client-intercept server-handcode
835
836 ###############################################################################
837 #
838 # Extension #218
839 # MESA_set_3dfx_mode commands
840 #
841 ###############################################################################
842
843 # Brian's spec has this as returning 'GLboolean' and taking 'GLint mode'
844 Set3DfxModeMESA(mode)
845         return          Bool
846         param           mode            int in value
847         category        MESA_set_3dfx_mode
848         glxflags        client-handcode client-intercept server-handcode
849
850 ###############################################################################
851 #
852 # Extension #234
853 # SGIX_visual_select_group commands
854 #
855 ###############################################################################
856
857 # (none)
858 newcategory: SGIX_visual_select_group
859
860 ###############################################################################
861 #
862 # Extension #237
863 # OML_swap_method commands
864 #
865 ###############################################################################
866
867 # (none)
868 newcategory:  OML_swap_method
869
870 ###############################################################################
871 #
872 # Extension #238
873 # OML_sync_control commands
874 #
875 ###############################################################################
876
877 GetSyncValuesOML(dpy, drawable, ust, msc, sbc)
878         return          Bool
879         param           dpy             Display in reference
880         param           drawable        GLXDrawable in value
881         param           ust             int64_t out reference
882         param           msc             int64_t out reference
883         param           sbc             int64_t out reference
884         category        OML_sync_control
885         glxflags        client-handcode server-handcode
886
887 GetMscRateOML(dpy, drawable, numerator, denominator)
888         return          Bool
889         param           dpy             Display in reference
890         param           drawable        GLXDrawable in value
891         param           numerator       int32_t out reference
892         param           denominator     int32_t out reference
893         category        OML_sync_control
894         glxflags        client-handcode server-handcode
895
896 SwapBuffersMscOML(dpy, drawable, target_msc, divisor, remainder)
897         return          int64_t
898         param           dpy             Display in reference
899         param           drawable        GLXDrawable in value
900         param           target_msc      int64_t in value
901         param           divisor         int64_t in value
902         param           remainder       int64_t in value
903         category        OML_sync_control
904         glxflags        client-handcode server-handcode
905
906 WaitForMscOML(dpy, drawable, target_msc, divisor, remainder, ust, msc, sbc)
907         return          Bool
908         param           dpy             Display in reference
909         param           drawable        GLXDrawable in value
910         param           target_msc      int64_t in value
911         param           divisor         int64_t in value
912         param           remainder       int64_t in value
913         param           ust             int64_t out reference
914         param           msc             int64_t out reference
915         param           sbc             int64_t out reference
916         category        OML_sync_control
917         glxflags        client-handcode server-handcode
918
919 WaitForSbcOML(dpy, drawable, target_sbc, ust, msc, sbc)
920         return          Bool
921         param           dpy             Display in reference
922         param           drawable        GLXDrawable in value
923         param           target_sbc      int64_t in value
924         param           ust             int64_t out reference
925         param           msc             int64_t out reference
926         param           sbc             int64_t out reference
927         category        OML_sync_control
928         glxflags        client-handcode server-handcode
929
930 ###############################################################################
931 #
932 # Extension #281
933 # NV_float_buffer commands
934 #
935 ###############################################################################
936
937 # (none)
938 newcategory: NV_float_buffer
939
940 ###############################################################################
941 #
942 # Extension #307
943 # SGIX_hyperpipe commands
944 #
945 ###############################################################################
946
947 newcategory: SGIX_hyperpipe
948 passthru:
949 passthru: typedef struct {
950 passthru:     char    pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
951 passthru:     int     networkId;
952 passthru: } GLXHyperpipeNetworkSGIX;
953 passthru:
954 passthru: typedef struct {
955 passthru:     char    pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
956 passthru:     int     channel;
957 passthru:     unsigned int
958 passthru:             participationType;
959 passthru:     int     timeSlice;
960 passthru: } GLXHyperpipeConfigSGIX;
961 passthru:
962 passthru: typedef struct {
963 passthru:     char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
964 passthru:     int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
965 passthru:     int destXOrigin, destYOrigin, destWidth, destHeight;
966 passthru: } GLXPipeRect;
967 passthru:
968 passthru: typedef struct {
969 passthru:     char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
970 passthru:     int XOrigin, YOrigin, maxHeight, maxWidth;
971 passthru: } GLXPipeRectLimits;
972 passthru:
973
974 QueryHyperpipeNetworkSGIX(dpy, npipes)
975         return          GLXHyperpipeNetworkSGIXPointer
976         param           dpy             Display in reference
977         param           npipes          int out reference
978         glxflags        client-handcode server-handcode
979         category        SGIX_hyperpipe
980         glxvendorglx    65550
981
982 HyperpipeConfigSGIX(dpy, networkId, npipes, cfg, hpId)
983         return          int
984         param           dpy             Display in reference
985         param           networkId       int in value
986         param           npipes          int in value
987         param           cfg             GLXHyperpipeConfigSGIX out array [COMPSIZE(npipes)]
988         param           hpId            int out reference
989         glxflags        client-handcode server-handcode
990         category        SGIX_hyperpipe
991         glxvendorglx    65552
992
993 QueryHyperpipeConfigSGIX(dpy, hpId, npipes)
994         return          GLXHyperpipeConfigSGIXPointer
995         param           dpy             Display in reference
996         param           hpId            int in value
997         param           npipes          int out reference
998         glxflags        client-handcode server-handcode
999         category        SGIX_hyperpipe
1000         glxvendorglx    65551
1001
1002 DestroyHyperpipeConfigSGIX(dpy, hpId)
1003         return          int
1004         param           dpy             Display in reference
1005         param           hpId            int in value
1006         glxflags        client-handcode server-handcode
1007         category        SGIX_hyperpipe
1008         glxvendorglx    65553
1009
1010 BindHyperpipeSGIX(dpy, hpId)
1011         return          int
1012         param           dpy             Display in reference
1013         param           hpId            int in value
1014         glxflags        client-handcode server-handcode
1015         category        SGIX_hyperpipe
1016         glxvendorglx    ???
1017
1018 QueryHyperpipeBestAttribSGIX(dpy, timeSlice, attrib, size, attribList, returnAttribList)
1019         return          int
1020         param           dpy             Display in reference
1021         param           timeSlice       int in value
1022         param           attrib          int in value
1023         param           size            int in value
1024         param           attribList      void out array [COMPSIZE(size)]
1025         param           returnAttribList void out array [COMPSIZE(size)]
1026         glxflags        client-handcode server-handcode
1027         category        SGIX_hyperpipe
1028         glxvendorglx    ???
1029
1030 HyperpipeAttribSGIX(dpy, timeSlice, attrib, size, attribList)
1031         return          int
1032         param           dpy             Display in reference
1033         param           timeSlice       int in value
1034         param           attrib          int in value
1035         param           size            int in value
1036         param           attribList      void out array [COMPSIZE(size)]
1037         glxflags        client-handcode server-handcode
1038         category        SGIX_hyperpipe
1039         glxvendorglx    ???
1040
1041 QueryHyperpipeAttribSGIX(dpy, timeSlice, attrib, size, returnAttribList)
1042         return          int
1043         param           dpy             Display in reference
1044         param           timeSlice       int in value
1045         param           attrib          int in value
1046         param           size            int in value
1047         param           returnAttribList void out array [COMPSIZE(size)]
1048         glxflags        client-handcode server-handcode
1049         category        SGIX_hyperpipe
1050         glxvendorglx    ???
1051
1052 ###############################################################################
1053 #
1054 # Extension #308
1055 # MESA_agp_offset commands
1056 #
1057 ###############################################################################
1058
1059 GetAGPOffsetMESA(pointer)
1060         return          uint
1061         param           pointer         void in reference
1062         glxflags        client-handcode client-intercept server-handcode
1063         category        MESA_agp_offset
1064
1065 ###############################################################################
1066 #
1067 # Extension #328
1068 # EXT_fbconfig_packed_float commands
1069 #
1070 ###############################################################################
1071
1072 # (none)
1073 newcategory: EXT_fbconfig_packed_float
1074
1075 ###############################################################################
1076 #
1077 # Extension #337
1078 # EXT_framebuffer_sRGB commands
1079 #
1080 ###############################################################################
1081
1082 # (none)
1083 newcategory: EXT_framebuffer_sRGB
1084
1085 ###############################################################################
1086 #
1087 # Extension #344
1088 # EXT_texture_from_pixmap commands
1089 #
1090 ###############################################################################
1091
1092 BindTexImageEXT(dpy, drawable, buffer, attrib_list)
1093         return          void
1094         param           dpy             Display in reference
1095         param           drawable        GLXDrawable in value
1096         param           buffer          int in value
1097         param           attrib_list     int in array []
1098         category        EXT_texture_from_pixmap
1099         glxflags        client-handcode server-handcode
1100         glxvendorglx    1330
1101
1102 ReleaseTexImageEXT(dpy, drawable, buffer)
1103         return          void
1104         param           dpy             Display in reference
1105         param           drawable        GLXDrawable in value
1106         param           buffer          int in value
1107         category        EXT_texture_from_pixmap
1108         glxflags        client-handcode server-handcode
1109         glxvendorglx    1331
1110
1111 ###############################################################################
1112 #
1113 # Extension #347
1114 # NV_present_video commands
1115 #
1116 ###############################################################################
1117
1118 EnumerateVideoDevicesNV(dpy, screen, nelements)
1119         return          uintPointer
1120         param           dpy             Display in reference
1121         param           screen          int in value
1122         param           nelements       int out reference
1123         category        NV_present_video
1124         glxflags        client-handcode server-handcode
1125
1126 BindVideoDeviceNV(dpy, video_slot, video_device, attrib_list)
1127         return          int
1128         param           dpy             Display in reference
1129         param           video_slot      uint in value
1130         param           video_device    uint in value
1131         param           attrib_list     int in array []
1132         category        NV_present_video
1133         glxflags        client-handcode server-handcode
1134
1135 ###############################################################################
1136 #
1137 # Extension #348
1138 # NV_video_output commands
1139 #
1140 ###############################################################################
1141
1142 GetVideoDeviceNV(dpy, screen, numVideoDevices, pVideoDevice)
1143         return          int
1144         param           dpy             Display in reference
1145         param           screen          int in value
1146         param           numVideoDevices int in value
1147         param           pVideoDevice    GLXVideoDeviceNV out array [COMPSIZE(numVideoDevices)]
1148         category        NV_video_output
1149         glxflags        client-handcode server-handcode
1150         glxvendorglx    1313
1151
1152 ReleaseVideoDeviceNV(dpy, screen, VideoDevice)
1153         return          int
1154         param           dpy             Display in reference
1155         param           screen          int in value
1156         param           VideoDevice     GLXVideoDeviceNV in value
1157         category        NV_video_output
1158         glxflags        client-handcode server-handcode
1159         glxvendorglx    1314
1160
1161 BindVideoImageNV(dpy, VideoDevice, pbuf, iVideoBuffer)
1162         return          int
1163         param           dpy             Display in reference
1164         param           VideoDevice     GLXVideoDeviceNV in value
1165         param           pbuf            GLXPbuffer in value
1166         param           iVideoBuffer    int in value
1167         category        NV_video_output
1168         glxflags        client-handcode server-handcode
1169         glxvendorglx    1315
1170
1171 ReleaseVideoImageNV(dpy, pbuf)
1172         return          int
1173         param           dpy             Display in reference
1174         param           pbuf            GLXPbuffer in value
1175         category        NV_video_output
1176         glxflags        client-handcode server-handcode
1177         glxvendorglx    1316
1178
1179 SendPbufferToVideoNV(dpy, pbuf, iBufferType, pulCounterPbuffer, bBlock)
1180         return          int
1181         param           dpy             Display in reference
1182         param           pbuf            GLXPbuffer in value
1183         param           iBufferType     int in value
1184         param           pulCounterPbuffer ulong out reference
1185         param           bBlock          GLboolean in value
1186         category        NV_video_output
1187         glxflags        client-handcode server-handcode
1188         glxvendorglx    1317
1189
1190 GetVideoInfoNV(dpy, screen, VideoDevice, pulCounterOutputPbuffer, pulCounterOutputVideo)
1191         return          int
1192         param           dpy             Display in reference
1193         param           screen          int in value
1194         param           VideoDevice     GLXVideoDeviceNV in value
1195         param           pulCounterOutputPbuffer ulong out reference
1196         param           pulCounterOutputVideo   ulong out reference
1197         category        NV_video_output
1198         glxflags        client-handcode server-handcode
1199         glxvendorglx    1318
1200
1201 ###############################################################################
1202 #
1203 # Extension #350
1204 # NV_swap_group commands
1205 #
1206 ###############################################################################
1207
1208 JoinSwapGroupNV(dpy, drawable, group)
1209         return          Bool
1210         param           dpy             Display in reference
1211         param           drawable        GLXDrawable in value
1212         param           group           GLuint in value
1213         category        NV_swap_group
1214         glxflags        client-handcode server-handcode
1215
1216 BindSwapBarrierNV(dpy, group, barrier)
1217         return          Bool
1218         param           dpy             Display in reference
1219         param           group           GLuint in value
1220         param           barrier         GLuint in value
1221         category        NV_swap_group
1222         glxflags        client-handcode server-handcode
1223
1224 QuerySwapGroupNV(dpy, drawable, group, barrier)
1225         return          Bool
1226         param           dpy             Display in reference
1227         param           drawable        GLXDrawable in value
1228         param           group           GLuint out reference
1229         param           barrier         GLuint out reference
1230         category        NV_swap_group
1231         glxflags        client-handcode server-handcode
1232
1233 QueryMaxSwapGroupsNV(dpy, screen, maxGroups, maxBarriers)
1234         return          Bool
1235         param           dpy             Display in reference
1236         param           screen          int in value
1237         param           maxGroups       GLuint out reference
1238         param           maxBarriers     GLuint out reference
1239         category        NV_swap_group
1240         glxflags        client-handcode server-handcode
1241
1242 QueryFrameCountNV(dpy, screen, count)
1243         return          Bool
1244         param           dpy             Display in reference
1245         param           screen          int in value
1246         param           count           GLuint out reference
1247         category        NV_swap_group
1248         glxflags        client-handcode server-handcode
1249
1250 ResetFrameCountNV(dpy, screen)
1251         return          Bool
1252         param           dpy             Display in reference
1253         param           screen          int in value
1254         category        NV_swap_group
1255         glxflags        client-handcode server-handcode
1256
1257 ###############################################################################
1258 #
1259 # Extension #374
1260 # NV_video_capture commands
1261 #
1262 ###############################################################################
1263
1264 BindVideoCaptureDeviceNV(dpy, video_capture_slot, device)
1265         return          int
1266         param           dpy             Display in reference
1267         param           video_capture_slot uint in value
1268         param           device          GLXVideoCaptureDeviceNV in value
1269         category        NV_video_capture
1270         glxflags        client-handcode server-handcode
1271
1272 EnumerateVideoCaptureDevicesNV(dpy, screen, nelements)
1273         return          GLXVideoCaptureDeviceNVPointer
1274         param           dpy             Display in reference
1275         param           screen          int in value
1276         param           nelements       int out reference
1277         category        NV_video_capture
1278         glxflags        client-handcode server-handcode
1279
1280 LockVideoCaptureDeviceNV(dpy, device)
1281         return          void
1282         param           dpy             Display in reference
1283         param           device          GLXVideoCaptureDeviceNV in value
1284         category        NV_video_capture
1285         glxflags        client-handcode server-handcode
1286
1287 QueryVideoCaptureDeviceNV(dpy, device, attribute, value)
1288         return          int
1289         param           dpy             Display in reference
1290         param           device          GLXVideoCaptureDeviceNV in value
1291         param           attribute       int in value
1292         param           value           int out array [COMPSIZE(attribute)]
1293         category        NV_video_capture
1294         glxflags        client-handcode server-handcode
1295
1296 ReleaseVideoCaptureDeviceNV(dpy, device)
1297         return          void
1298         param           dpy             Display in reference
1299         param           device          GLXVideoCaptureDeviceNV in value
1300         category        NV_video_capture
1301         glxflags        client-handcode server-handcode
1302
1303 ###############################################################################
1304 #
1305 # Extension #375
1306 # EXT_swap_control commands
1307 #
1308 ###############################################################################
1309
1310 SwapIntervalEXT(dpy, drawable, interval)
1311         return          void
1312         param           dpy             Display in reference
1313         param           drawable        GLXDrawable in value
1314         param           interval        int in value
1315         category        EXT_swap_control
1316         glxflags        client-handcode server-handcode
1317         glxvendorglx    1416
1318
1319 ###############################################################################
1320 #
1321 # Extension #376
1322 # NV_copy_image commands
1323 #
1324 ###############################################################################
1325
1326 CopyImageSubDataNV(dpy, srcCtx, srcName, srcTarget, srcLevel, srcX, srcY, srcZ, dstCtx, dstName, dstTarget, dstLevel, dstX, dstY, dstZ, width, height, depth)
1327         return          void
1328         param           dpy             Display in reference
1329         param           srcCtx          GLXContext in value
1330         param           srcName         GLuint in value
1331         param           srcTarget       GLenum in value
1332         param           srcLevel        GLint in value
1333         param           srcX            GLint in value
1334         param           srcY            GLint in value
1335         param           srcZ            GLint in value
1336         param           dstCtx          GLXContext in value
1337         param           dstName         GLuint in value
1338         param           dstTarget       GLenum in value
1339         param           dstLevel        GLint in value
1340         param           dstX            GLint in value
1341         param           dstY            GLint in value
1342         param           dstZ            GLint in value
1343         param           width           GLsizei in value
1344         param           height          GLsizei in value
1345         param           depth           GLsizei in value
1346         category        NV_copy_image
1347         glxvendorglx    1360
1348         glxflags        client-handcode server-handcode
1349
1350 ###############################################################################
1351 #
1352 # Extension #384
1353 # INTEL_swap_event commands
1354 #
1355 ###############################################################################
1356
1357 # (none)
1358 newcategory: INTEL_swap_event
1359
1360 ###############################################################################
1361 #
1362 # Extension #393
1363 # NV_multisample_coverage commands
1364 #
1365 ###############################################################################
1366
1367 # (none)
1368 newcategory: NV_multisample_coverage
1369
1370 ###############################################################################
1371 #
1372 # Extension #398
1373 # AMD_gpu_association commands
1374 #
1375 ###############################################################################
1376
1377 # These are a weird mishmash of X and Windows types - are they correct?
1378 # Leave out of glxext.h for the time being.
1379
1380 #@    UINT  glXGetGPUIDsAMD(UINT maxCount, UINT *ids);
1381 #@    INT   glXGetGPUInfoAMD(UINT id, INT property, GLenum dataType,
1382 #@                           UINT size, void *data)
1383 #@    UINT  glXGetContextGPUIDAMD(GLXContext ctx);
1384 #@    HGLRC glXCreateAssociatedContextAMD(UINT id, GLXContext share_list);
1385 #@    HGLRC glXCreateAssociatedContextAttribsAMD(UINT id, GLXContext share_context,
1386 #@                                               const int *attribList);
1387 #@    BOOL  glXDeleteAssociatedContextAMD(GLXContext ctx);
1388 #@    BOOL  glXMakeAssociatedContextCurrentAMD(GLXContext ctx);
1389 #@    HGLRC glXGetCurrentAssociatedContextAMD(void);
1390 #@    VOID  glXBlitContextFramebufferAMD(GLXContext dstCtx, GLint srcX0, GLint srcY0,
1391 #@                                       GLint srcX1, GLint srcY1, GLint dstX0,
1392 #@                                       GLint dstY0, GLint dstX1, GLint dstY1,
1393 #@                                       GLbitfield mask, GLenum filter);
1394
1395 #@ glXGetGPUIDsAMD(maxCount, ids)
1396 #@         return          UINT
1397 #@         param           maxCount        UINT in value
1398 #@         param           ids             UINT in array [???]
1399 #@         category        AMD_gpu_association
1400 #@         version         4.1
1401 #@         extension
1402 #@         glxropcode      ?
1403 #@         glxflags        ignore
1404 #@         offset          ?
1405 #@
1406 #@ glXGetGPUInfoAMD(id, property, dataType, size, data)
1407 #@         return          INT
1408 #@         param           id              UINT in value
1409 #@         param           property        INT in value
1410 #@         param           dataType        GLenum in value
1411 #@         param           size            UINT in value
1412 #@         param           data            void in array [???]
1413 #@         category        AMD_gpu_association
1414 #@         version         4.1
1415 #@         extension
1416 #@         glxropcode      ?
1417 #@         glxflags        ignore
1418 #@         offset          ?
1419 #@
1420 #@ glXGetContextGPUIDAMD(ctx)
1421 #@         return          UINT
1422 #@         param           ctx             GLXContext in value
1423 #@         category        AMD_gpu_association
1424 #@         version         4.1
1425 #@         extension
1426 #@         glxropcode      ?
1427 #@         glxflags        ignore
1428 #@         offset          ?
1429 #@
1430 #@ glXCreateAssociatedContextAMD(id, share_list)
1431 #@         return          HGLRC
1432 #@         param           id              UINT in value
1433 #@         param           share_list      GLXContext in value
1434 #@         category        AMD_gpu_association
1435 #@         version         4.1
1436 #@         extension
1437 #@         glxropcode      ?
1438 #@         glxflags        ignore
1439 #@         offset          ?
1440 #@
1441 #@ glXCreateAssociatedContextAttribsAMD(id, share_context, attribList)
1442 #@         return          HGLRC
1443 #@         param           id              UINT in value
1444 #@         param           share_context   GLXContext in value
1445 #@         param           attribList      Int32 in array [???]
1446 #@         category        AMD_gpu_association
1447 #@         version         4.1
1448 #@         extension
1449 #@         glxropcode      ?
1450 #@         glxflags        ignore
1451 #@         offset          ?
1452 #@
1453 #@ glXDeleteAssociatedContextAMD(ctx)
1454 #@         return          BOOL
1455 #@         param           ctx             GLXContext in value
1456 #@         category        AMD_gpu_association
1457 #@         version         4.1
1458 #@         extension
1459 #@         glxropcode      ?
1460 #@         glxflags        ignore
1461 #@         offset          ?
1462 #@
1463 #@ glXMakeAssociatedContextCurrentAMD(ctx)
1464 #@         return          BOOL
1465 #@         param           ctx             GLXContext in value
1466 #@         category        AMD_gpu_association
1467 #@         version         4.1
1468 #@         extension
1469 #@         glxropcode      ?
1470 #@         glxflags        ignore
1471 #@         offset          ?
1472 #@
1473 #@ glXGetCurrentAssociatedContextAMD()
1474 #@         return          HGLRC
1475 #@         category        AMD_gpu_association
1476 #@         version         4.1
1477 #@         extension
1478 #@         glxropcode      ?
1479 #@         glxflags        ignore
1480 #@         offset          ?
1481 #@
1482 #@ glXBlitContextFramebufferAMD(dstCtx, srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter)
1483 #@         return          VOID
1484 #@         param           dstCtx          GLXContext in value
1485 #@         param           srcX0           GLint in value
1486 #@         param           srcY0           GLint in value
1487 #@         param           srcX1           GLint in value
1488 #@         param           srcY1           GLint in value
1489 #@         param           dstX0           GLint in value
1490 #@         param           dstY0           GLint in value
1491 #@         param           dstX1           GLint in value
1492 #@         param           dstY1           GLint in value
1493 #@         param           mask            GLbitfield in value
1494 #@         param           filter          GLenum in value
1495 #@         category        AMD_gpu_association
1496 #@         version         4.1
1497 #@         extension
1498 #@         glxropcode      ?
1499 #@         glxflags        ignore
1500 #@         offset          ?
1501
1502 ###############################################################################
1503 #
1504 # Extension #399
1505 # EXT_create_context_es2_profile commands
1506 # EXT_create_context_es_profile commands
1507 #
1508 ###############################################################################
1509
1510 # (none)
1511 newcategory: EXT_create_context_es2_profile
1512
1513 newcategory: EXT_create_context_es_profile
1514
1515 ###############################################################################
1516 #
1517 # Extension #414
1518 # EXT_swap_control_tear commands
1519 #
1520 ###############################################################################
1521
1522 # (none)
1523 newcategory: EXT_swap_control_tear
1524
1525 ###############################################################################
1526 #
1527 # Extension #427
1528 # EXT_buffer_age commands
1529 #
1530 ###############################################################################
1531
1532 # (none)
1533 newcategory: EXT_buffer_age
1534