OLD | NEW |
1 #ifndef __glxext_h_ | 1 #ifndef __glxext_h_ |
2 #define __glxext_h_ | 2 #define __glxext_h_ |
3 | 3 |
4 #ifdef __cplusplus | 4 #ifdef __cplusplus |
5 extern "C" { | 5 extern "C" { |
6 #endif | 6 #endif |
7 | 7 |
8 /* | 8 /* |
9 ** Copyright (c) 2007-2009 The Khronos Group Inc. | 9 ** Copyright (c) 2007-2010 The Khronos Group Inc. |
10 ** | 10 ** |
11 ** Permission is hereby granted, free of charge, to any person obtaining a | 11 ** Permission is hereby granted, free of charge, to any person obtaining a |
12 ** copy of this software and/or associated documentation files (the | 12 ** copy of this software and/or associated documentation files (the |
13 ** "Materials"), to deal in the Materials without restriction, including | 13 ** "Materials"), to deal in the Materials without restriction, including |
14 ** without limitation the rights to use, copy, modify, merge, publish, | 14 ** without limitation the rights to use, copy, modify, merge, publish, |
15 ** distribute, sublicense, and/or sell copies of the Materials, and to | 15 ** distribute, sublicense, and/or sell copies of the Materials, and to |
16 ** permit persons to whom the Materials are furnished to do so, subject to | 16 ** permit persons to whom the Materials are furnished to do so, subject to |
17 ** the following conditions: | 17 ** the following conditions: |
18 ** | 18 ** |
19 ** The above copyright notice and this permission notice shall be included | 19 ** The above copyright notice and this permission notice shall be included |
(...skipping 21 matching lines...) Expand all Loading... |
41 #ifndef APIENTRYP | 41 #ifndef APIENTRYP |
42 #define APIENTRYP APIENTRY * | 42 #define APIENTRYP APIENTRY * |
43 #endif | 43 #endif |
44 #ifndef GLAPI | 44 #ifndef GLAPI |
45 #define GLAPI extern | 45 #define GLAPI extern |
46 #endif | 46 #endif |
47 | 47 |
48 /*************************************************************/ | 48 /*************************************************************/ |
49 | 49 |
50 /* Header file version number, required by OpenGL ABI for Linux */ | 50 /* Header file version number, required by OpenGL ABI for Linux */ |
51 /* glxext.h last updated 2009/10/08 */ | 51 /* glxext.h last updated 2010/08/06 */ |
52 /* Current version at http://www.opengl.org/registry/ */ | 52 /* Current version at http://www.opengl.org/registry/ */ |
53 #define GLX_GLXEXT_VERSION 25 | 53 #define GLX_GLXEXT_VERSION 32 |
54 | 54 |
55 #ifndef GLX_VERSION_1_3 | 55 #ifndef GLX_VERSION_1_3 |
56 #define GLX_WINDOW_BIT 0x00000001 | 56 #define GLX_WINDOW_BIT 0x00000001 |
57 #define GLX_PIXMAP_BIT 0x00000002 | 57 #define GLX_PIXMAP_BIT 0x00000002 |
58 #define GLX_PBUFFER_BIT 0x00000004 | 58 #define GLX_PBUFFER_BIT 0x00000004 |
59 #define GLX_RGBA_BIT 0x00000001 | 59 #define GLX_RGBA_BIT 0x00000001 |
60 #define GLX_COLOR_INDEX_BIT 0x00000002 | 60 #define GLX_COLOR_INDEX_BIT 0x00000002 |
61 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000 | 61 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000 |
62 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 | 62 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 |
63 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 | 63 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 #endif | 117 #endif |
118 | 118 |
119 #ifndef GLX_ARB_get_proc_address | 119 #ifndef GLX_ARB_get_proc_address |
120 #endif | 120 #endif |
121 | 121 |
122 #ifndef GLX_ARB_multisample | 122 #ifndef GLX_ARB_multisample |
123 #define GLX_SAMPLE_BUFFERS_ARB 100000 | 123 #define GLX_SAMPLE_BUFFERS_ARB 100000 |
124 #define GLX_SAMPLES_ARB 100001 | 124 #define GLX_SAMPLES_ARB 100001 |
125 #endif | 125 #endif |
126 | 126 |
| 127 #ifndef GLX_ARB_vertex_buffer_object |
| 128 #define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095 |
| 129 #endif |
| 130 |
127 #ifndef GLX_ARB_fbconfig_float | 131 #ifndef GLX_ARB_fbconfig_float |
128 #define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 | 132 #define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 |
129 #define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 | 133 #define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 |
130 #endif | 134 #endif |
131 | 135 |
| 136 #ifndef GLX_ARB_framebuffer_sRGB |
| 137 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2 |
| 138 #endif |
| 139 |
132 #ifndef GLX_ARB_create_context | 140 #ifndef GLX_ARB_create_context |
133 #define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 | 141 #define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 |
134 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 | 142 #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 |
135 #define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 | 143 #define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 |
136 #define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 | 144 #define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 |
137 #define GLX_CONTEXT_FLAGS_ARB 0x2094 | 145 #define GLX_CONTEXT_FLAGS_ARB 0x2094 |
138 #endif | 146 #endif |
139 | 147 |
140 #ifndef GLX_ARB_create_context_profile | 148 #ifndef GLX_ARB_create_context_profile |
141 #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 | 149 #define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001 |
142 #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 | 150 #define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002 |
143 #define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 | 151 #define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126 |
144 #endif | 152 #endif |
145 | 153 |
| 154 #ifndef GLX_ARB_create_context_robustness |
| 155 #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004 |
| 156 #define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252 |
| 157 #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256 |
| 158 #define GLX_NO_RESET_NOTIFICATION_ARB 0x8261 |
| 159 #endif |
| 160 |
146 #ifndef GLX_SGIS_multisample | 161 #ifndef GLX_SGIS_multisample |
147 #define GLX_SAMPLE_BUFFERS_SGIS 100000 | 162 #define GLX_SAMPLE_BUFFERS_SGIS 100000 |
148 #define GLX_SAMPLES_SGIS 100001 | 163 #define GLX_SAMPLES_SGIS 100001 |
149 #endif | 164 #endif |
150 | 165 |
151 #ifndef GLX_EXT_visual_info | 166 #ifndef GLX_EXT_visual_info |
152 #define GLX_X_VISUAL_TYPE_EXT 0x22 | 167 #define GLX_X_VISUAL_TYPE_EXT 0x22 |
153 #define GLX_TRANSPARENT_TYPE_EXT 0x23 | 168 #define GLX_TRANSPARENT_TYPE_EXT 0x23 |
154 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 | 169 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 |
155 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 | 170 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 #endif | 404 #endif |
390 | 405 |
391 #ifndef GLX_EXT_swap_control | 406 #ifndef GLX_EXT_swap_control |
392 #define GLX_SWAP_INTERVAL_EXT 0x20F1 | 407 #define GLX_SWAP_INTERVAL_EXT 0x20F1 |
393 #define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 | 408 #define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2 |
394 #endif | 409 #endif |
395 | 410 |
396 #ifndef GLX_NV_copy_image | 411 #ifndef GLX_NV_copy_image |
397 #endif | 412 #endif |
398 | 413 |
| 414 #ifndef GLX_INTEL_swap_event |
| 415 #define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000 |
| 416 #define GLX_EXCHANGE_COMPLETE_INTEL 0x8180 |
| 417 #define GLX_COPY_COMPLETE_INTEL 0x8181 |
| 418 #define GLX_FLIP_COMPLETE_INTEL 0x8182 |
| 419 #endif |
| 420 |
| 421 #ifndef GLX_NV_multisample_coverage |
| 422 #define GLX_COVERAGE_SAMPLES_NV 100001 |
| 423 #define GLX_COLOR_SAMPLES_NV 0x20B3 |
| 424 #endif |
| 425 |
| 426 #ifndef GLX_AMD_gpu_association |
| 427 #define GLX_GPU_VENDOR_AMD 0x1F00 |
| 428 #define GLX_GPU_RENDERER_STRING_AMD 0x1F01 |
| 429 #define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02 |
| 430 #define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2 |
| 431 #define GLX_GPU_RAM_AMD 0x21A3 |
| 432 #define GLX_GPU_CLOCK_AMD 0x21A4 |
| 433 #define GLX_GPU_NUM_PIPES_AMD 0x21A5 |
| 434 #define GLX_GPU_NUM_SIMD_AMD 0x21A6 |
| 435 #define GLX_GPU_NUM_RB_AMD 0x21A7 |
| 436 #define GLX_GPU_NUM_SPI_AMD 0x21A8 |
| 437 #endif |
| 438 |
| 439 #ifndef GLX_EXT_create_context_es2_profile |
| 440 #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004 |
| 441 #endif |
| 442 |
399 | 443 |
400 /*************************************************************/ | 444 /*************************************************************/ |
401 | 445 |
402 #ifndef GLX_ARB_get_proc_address | 446 #ifndef GLX_ARB_get_proc_address |
403 typedef void (*__GLXextFuncPtr)(void); | 447 typedef void (*__GLXextFuncPtr)(void); |
404 #endif | 448 #endif |
405 | 449 |
406 #ifndef GLX_SGIX_video_source | 450 #ifndef GLX_SGIX_video_source |
407 typedef XID GLXVideoSourceSGIX; | 451 typedef XID GLXVideoSourceSGIX; |
408 #endif | 452 #endif |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 typedef __int64 int64_t; | 514 typedef __int64 int64_t; |
471 typedef unsigned __int64 uint64_t; | 515 typedef unsigned __int64 uint64_t; |
472 #else | 516 #else |
473 #include <inttypes.h> /* Fallback option */ | 517 #include <inttypes.h> /* Fallback option */ |
474 #endif | 518 #endif |
475 #endif | 519 #endif |
476 | 520 |
477 #ifndef GLX_VERSION_1_3 | 521 #ifndef GLX_VERSION_1_3 |
478 #define GLX_VERSION_1_3 1 | 522 #define GLX_VERSION_1_3 1 |
479 #ifdef GLX_GLXEXT_PROTOTYPES | 523 #ifdef GLX_GLXEXT_PROTOTYPES |
480 extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *); | 524 extern GLXFBConfig * glXGetFBConfigs (Display *dpy, int screen, int *nelements); |
481 extern GLXFBConfig * glXChooseFBConfig (Display *, int, const int *, int *); | 525 extern GLXFBConfig * glXChooseFBConfig (Display *dpy, int screen, const int *att
rib_list, int *nelements); |
482 extern int glXGetFBConfigAttrib (Display *, GLXFBConfig, int, int *); | 526 extern int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute
, int *value); |
483 extern XVisualInfo * glXGetVisualFromFBConfig (Display *, GLXFBConfig); | 527 extern XVisualInfo * glXGetVisualFromFBConfig (Display *dpy, GLXFBConfig config)
; |
484 extern GLXWindow glXCreateWindow (Display *, GLXFBConfig, Window, const int *); | 528 extern GLXWindow glXCreateWindow (Display *dpy, GLXFBConfig config, Window win,
const int *attrib_list); |
485 extern void glXDestroyWindow (Display *, GLXWindow); | 529 extern void glXDestroyWindow (Display *dpy, GLXWindow win); |
486 extern GLXPixmap glXCreatePixmap (Display *, GLXFBConfig, Pixmap, const int *); | 530 extern GLXPixmap glXCreatePixmap (Display *dpy, GLXFBConfig config, Pixmap pixma
p, const int *attrib_list); |
487 extern void glXDestroyPixmap (Display *, GLXPixmap); | 531 extern void glXDestroyPixmap (Display *dpy, GLXPixmap pixmap); |
488 extern GLXPbuffer glXCreatePbuffer (Display *, GLXFBConfig, const int *); | 532 extern GLXPbuffer glXCreatePbuffer (Display *dpy, GLXFBConfig config, const int
*attrib_list); |
489 extern void glXDestroyPbuffer (Display *, GLXPbuffer); | 533 extern void glXDestroyPbuffer (Display *dpy, GLXPbuffer pbuf); |
490 extern void glXQueryDrawable (Display *, GLXDrawable, int, unsigned int *); | 534 extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, uns
igned int *value); |
491 extern GLXContext glXCreateNewContext (Display *, GLXFBConfig, int, GLXContext,
Bool); | 535 extern GLXContext glXCreateNewContext (Display *dpy, GLXFBConfig config, int ren
der_type, GLXContext share_list, Bool direct); |
492 extern Bool glXMakeContextCurrent (Display *, GLXDrawable, GLXDrawable, GLXConte
xt); | 536 extern Bool glXMakeContextCurrent (Display *dpy, GLXDrawable draw, GLXDrawable r
ead, GLXContext ctx); |
493 extern GLXDrawable glXGetCurrentReadDrawable (void); | 537 extern GLXDrawable glXGetCurrentReadDrawable (void); |
494 extern Display * glXGetCurrentDisplay (void); | 538 extern Display * glXGetCurrentDisplay (void); |
495 extern int glXQueryContext (Display *, GLXContext, int, int *); | 539 extern int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *va
lue); |
496 extern void glXSelectEvent (Display *, GLXDrawable, unsigned long); | 540 extern void glXSelectEvent (Display *dpy, GLXDrawable draw, unsigned long event_
mask); |
497 extern void glXGetSelectedEvent (Display *, GLXDrawable, unsigned long *); | 541 extern void glXGetSelectedEvent (Display *dpy, GLXDrawable draw, unsigned long *
event_mask); |
498 #endif /* GLX_GLXEXT_PROTOTYPES */ | 542 #endif /* GLX_GLXEXT_PROTOTYPES */ |
499 typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int
*nelements); | 543 typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int
*nelements); |
500 typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, c
onst int *attrib_list, int *nelements); | 544 typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, c
onst int *attrib_list, int *nelements); |
501 typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config,
int attribute, int *value); | 545 typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config,
int attribute, int *value); |
502 typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBC
onfig config); | 546 typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBC
onfig config); |
503 typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config,
Window win, const int *attrib_list); | 547 typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config,
Window win, const int *attrib_list); |
504 typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); | 548 typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); |
505 typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config,
Pixmap pixmap, const int *attrib_list); | 549 typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config,
Pixmap pixmap, const int *attrib_list); |
506 typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); | 550 typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); |
507 typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig confi
g, const int *attrib_list); | 551 typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig confi
g, const int *attrib_list); |
508 typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); | 552 typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); |
509 typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int a
ttribute, unsigned int *value); | 553 typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int a
ttribute, unsigned int *value); |
510 typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig co
nfig, int render_type, GLXContext share_list, Bool direct); | 554 typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig co
nfig, int render_type, GLXContext share_list, Bool direct); |
511 typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw,
GLXDrawable read, GLXContext ctx); | 555 typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw,
GLXDrawable read, GLXContext ctx); |
512 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); | 556 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); |
513 typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void); | 557 typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void); |
514 typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attri
bute, int *value); | 558 typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attri
bute, int *value); |
515 typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigne
d long event_mask); | 559 typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigne
d long event_mask); |
516 typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, un
signed long *event_mask); | 560 typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, un
signed long *event_mask); |
517 #endif | 561 #endif |
518 | 562 |
519 #ifndef GLX_VERSION_1_4 | 563 #ifndef GLX_VERSION_1_4 |
520 #define GLX_VERSION_1_4 1 | 564 #define GLX_VERSION_1_4 1 |
521 #ifdef GLX_GLXEXT_PROTOTYPES | 565 #ifdef GLX_GLXEXT_PROTOTYPES |
522 extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *); | 566 extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName); |
523 #endif /* GLX_GLXEXT_PROTOTYPES */ | 567 #endif /* GLX_GLXEXT_PROTOTYPES */ |
524 typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); | 568 typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); |
525 #endif | 569 #endif |
526 | 570 |
527 #ifndef GLX_ARB_get_proc_address | 571 #ifndef GLX_ARB_get_proc_address |
528 #define GLX_ARB_get_proc_address 1 | 572 #define GLX_ARB_get_proc_address 1 |
529 #ifdef GLX_GLXEXT_PROTOTYPES | 573 #ifdef GLX_GLXEXT_PROTOTYPES |
530 extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *); | 574 extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName); |
531 #endif /* GLX_GLXEXT_PROTOTYPES */ | 575 #endif /* GLX_GLXEXT_PROTOTYPES */ |
532 typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procNam
e); | 576 typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procNam
e); |
533 #endif | 577 #endif |
534 | 578 |
535 #ifndef GLX_ARB_multisample | 579 #ifndef GLX_ARB_multisample |
536 #define GLX_ARB_multisample 1 | 580 #define GLX_ARB_multisample 1 |
537 #endif | 581 #endif |
538 | 582 |
539 #ifndef GLX_ARB_fbconfig_float | 583 #ifndef GLX_ARB_fbconfig_float |
540 #define GLX_ARB_fbconfig_float 1 | 584 #define GLX_ARB_fbconfig_float 1 |
541 #endif | 585 #endif |
542 | 586 |
| 587 #ifndef GLX_ARB_framebuffer_sRGB |
| 588 #define GLX_ARB_framebuffer_sRGB 1 |
| 589 #endif |
| 590 |
543 #ifndef GLX_ARB_create_context | 591 #ifndef GLX_ARB_create_context |
544 #define GLX_ARB_create_context 1 | 592 #define GLX_ARB_create_context 1 |
545 #ifdef GLX_GLXEXT_PROTOTYPES | 593 #ifdef GLX_GLXEXT_PROTOTYPES |
546 extern GLXContext glXCreateContextAttribsARB (Display *, GLXFBConfig, GLXContext
, Bool, const int *); | 594 extern GLXContext glXCreateContextAttribsARB (Display *dpy, GLXFBConfig config,
GLXContext share_context, Bool direct, const int *attrib_list); |
547 #endif /* GLX_GLXEXT_PROTOTYPES */ | 595 #endif /* GLX_GLXEXT_PROTOTYPES */ |
548 typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBCo
nfig config, GLXContext share_context, Bool direct, const int *attrib_list); | 596 typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBCo
nfig config, GLXContext share_context, Bool direct, const int *attrib_list); |
549 #endif | 597 #endif |
550 | 598 |
551 #ifndef GLX_ARB_create_context_profile | 599 #ifndef GLX_ARB_create_context_profile |
552 #define GLX_ARB_create_context_profile 1 | 600 #define GLX_ARB_create_context_profile 1 |
553 #endif | 601 #endif |
554 | 602 |
| 603 #ifndef GLX_ARB_create_context_robustness |
| 604 #define GLX_ARB_create_context_robustness 1 |
| 605 #endif |
| 606 |
555 #ifndef GLX_SGIS_multisample | 607 #ifndef GLX_SGIS_multisample |
556 #define GLX_SGIS_multisample 1 | 608 #define GLX_SGIS_multisample 1 |
557 #endif | 609 #endif |
558 | 610 |
559 #ifndef GLX_EXT_visual_info | 611 #ifndef GLX_EXT_visual_info |
560 #define GLX_EXT_visual_info 1 | 612 #define GLX_EXT_visual_info 1 |
561 #endif | 613 #endif |
562 | 614 |
563 #ifndef GLX_SGI_swap_control | 615 #ifndef GLX_SGI_swap_control |
564 #define GLX_SGI_swap_control 1 | 616 #define GLX_SGI_swap_control 1 |
565 #ifdef GLX_GLXEXT_PROTOTYPES | 617 #ifdef GLX_GLXEXT_PROTOTYPES |
566 extern int glXSwapIntervalSGI (int); | 618 extern int glXSwapIntervalSGI (int interval); |
567 #endif /* GLX_GLXEXT_PROTOTYPES */ | 619 #endif /* GLX_GLXEXT_PROTOTYPES */ |
568 typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); | 620 typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); |
569 #endif | 621 #endif |
570 | 622 |
571 #ifndef GLX_SGI_video_sync | 623 #ifndef GLX_SGI_video_sync |
572 #define GLX_SGI_video_sync 1 | 624 #define GLX_SGI_video_sync 1 |
573 #ifdef GLX_GLXEXT_PROTOTYPES | 625 #ifdef GLX_GLXEXT_PROTOTYPES |
574 extern int glXGetVideoSyncSGI (unsigned int *); | 626 extern int glXGetVideoSyncSGI (unsigned int *count); |
575 extern int glXWaitVideoSyncSGI (int, int, unsigned int *); | 627 extern int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int *count)
; |
576 #endif /* GLX_GLXEXT_PROTOTYPES */ | 628 #endif /* GLX_GLXEXT_PROTOTYPES */ |
577 typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); | 629 typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); |
578 typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigne
d int *count); | 630 typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigne
d int *count); |
579 #endif | 631 #endif |
580 | 632 |
581 #ifndef GLX_SGI_make_current_read | 633 #ifndef GLX_SGI_make_current_read |
582 #define GLX_SGI_make_current_read 1 | 634 #define GLX_SGI_make_current_read 1 |
583 #ifdef GLX_GLXEXT_PROTOTYPES | 635 #ifdef GLX_GLXEXT_PROTOTYPES |
584 extern Bool glXMakeCurrentReadSGI (Display *, GLXDrawable, GLXDrawable, GLXConte
xt); | 636 extern Bool glXMakeCurrentReadSGI (Display *dpy, GLXDrawable draw, GLXDrawable r
ead, GLXContext ctx); |
585 extern GLXDrawable glXGetCurrentReadDrawableSGI (void); | 637 extern GLXDrawable glXGetCurrentReadDrawableSGI (void); |
586 #endif /* GLX_GLXEXT_PROTOTYPES */ | 638 #endif /* GLX_GLXEXT_PROTOTYPES */ |
587 typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw,
GLXDrawable read, GLXContext ctx); | 639 typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw,
GLXDrawable read, GLXContext ctx); |
588 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); | 640 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); |
589 #endif | 641 #endif |
590 | 642 |
591 #ifndef GLX_SGIX_video_source | 643 #ifndef GLX_SGIX_video_source |
592 #define GLX_SGIX_video_source 1 | 644 #define GLX_SGIX_video_source 1 |
593 #ifdef _VL_H | 645 #ifdef _VL_H |
594 #ifdef GLX_GLXEXT_PROTOTYPES | 646 #ifdef GLX_GLXEXT_PROTOTYPES |
595 extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *, int, VLServer,
VLPath, int, VLNode); | 647 extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *display, int scr
een, VLServer server, VLPath path, int nodeClass, VLNode drainNode); |
596 extern void glXDestroyGLXVideoSourceSGIX (Display *, GLXVideoSourceSGIX); | 648 extern void glXDestroyGLXVideoSourceSGIX (Display *dpy, GLXVideoSourceSGIX glxvi
deosource); |
597 #endif /* GLX_GLXEXT_PROTOTYPES */ | 649 #endif /* GLX_GLXEXT_PROTOTYPES */ |
598 typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *dis
play, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode)
; | 650 typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *dis
play, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode)
; |
599 typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSou
rceSGIX glxvideosource); | 651 typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSou
rceSGIX glxvideosource); |
600 #endif /* _VL_H */ | 652 #endif /* _VL_H */ |
601 #endif | 653 #endif |
602 | 654 |
603 #ifndef GLX_EXT_visual_rating | 655 #ifndef GLX_EXT_visual_rating |
604 #define GLX_EXT_visual_rating 1 | 656 #define GLX_EXT_visual_rating 1 |
605 #endif | 657 #endif |
606 | 658 |
607 #ifndef GLX_EXT_import_context | 659 #ifndef GLX_EXT_import_context |
608 #define GLX_EXT_import_context 1 | 660 #define GLX_EXT_import_context 1 |
609 #ifdef GLX_GLXEXT_PROTOTYPES | 661 #ifdef GLX_GLXEXT_PROTOTYPES |
610 extern Display * glXGetCurrentDisplayEXT (void); | 662 extern Display * glXGetCurrentDisplayEXT (void); |
611 extern int glXQueryContextInfoEXT (Display *, GLXContext, int, int *); | 663 extern int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribu
te, int *value); |
612 extern GLXContextID glXGetContextIDEXT (const GLXContext); | 664 extern GLXContextID glXGetContextIDEXT (const GLXContext context); |
613 extern GLXContext glXImportContextEXT (Display *, GLXContextID); | 665 extern GLXContext glXImportContextEXT (Display *dpy, GLXContextID contextID); |
614 extern void glXFreeContextEXT (Display *, GLXContext); | 666 extern void glXFreeContextEXT (Display *dpy, GLXContext context); |
615 #endif /* GLX_GLXEXT_PROTOTYPES */ | 667 #endif /* GLX_GLXEXT_PROTOTYPES */ |
616 typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void); | 668 typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void); |
617 typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context
, int attribute, int *value); | 669 typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context
, int attribute, int *value); |
618 typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); | 670 typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); |
619 typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID c
ontextID); | 671 typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID c
ontextID); |
620 typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); | 672 typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); |
621 #endif | 673 #endif |
622 | 674 |
623 #ifndef GLX_SGIX_fbconfig | 675 #ifndef GLX_SGIX_fbconfig |
624 #define GLX_SGIX_fbconfig 1 | 676 #define GLX_SGIX_fbconfig 1 |
625 #ifdef GLX_GLXEXT_PROTOTYPES | 677 #ifdef GLX_GLXEXT_PROTOTYPES |
626 extern int glXGetFBConfigAttribSGIX (Display *, GLXFBConfigSGIX, int, int *); | 678 extern int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int a
ttribute, int *value); |
627 extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *, int, int *, int *); | 679 extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *dpy, int screen, int *a
ttrib_list, int *nelements); |
628 extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *, GLXFBConfigSGIX, P
ixmap); | 680 extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *dpy, GLXFBConfigSGIX
config, Pixmap pixmap); |
629 extern GLXContext glXCreateContextWithConfigSGIX (Display *, GLXFBConfigSGIX, in
t, GLXContext, Bool); | 681 extern GLXContext glXCreateContextWithConfigSGIX (Display *dpy, GLXFBConfigSGIX
config, int render_type, GLXContext share_list, Bool direct); |
630 extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *, GLXFBConfigSGIX); | 682 extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *dpy, GLXFBConfigSGIX
config); |
631 extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *, XVisualInfo *); | 683 extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *dpy, XVisualInfo *
vis); |
632 #endif /* GLX_GLXEXT_PROTOTYPES */ | 684 #endif /* GLX_GLXEXT_PROTOTYPES */ |
633 typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX
config, int attribute, int *value); | 685 typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX
config, int attribute, int *value); |
634 typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int s
creen, int *attrib_list, int *nelements); | 686 typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int s
creen, int *attrib_list, int *nelements); |
635 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GL
XFBConfigSGIX config, Pixmap pixmap); | 687 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GL
XFBConfigSGIX config, Pixmap pixmap); |
636 typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLX
FBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); | 688 typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLX
FBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); |
637 typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GL
XFBConfigSGIX config); | 689 typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GL
XFBConfigSGIX config); |
638 typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy,
XVisualInfo *vis); | 690 typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy,
XVisualInfo *vis); |
639 #endif | 691 #endif |
640 | 692 |
641 #ifndef GLX_SGIX_pbuffer | 693 #ifndef GLX_SGIX_pbuffer |
642 #define GLX_SGIX_pbuffer 1 | 694 #define GLX_SGIX_pbuffer 1 |
643 #ifdef GLX_GLXEXT_PROTOTYPES | 695 #ifdef GLX_GLXEXT_PROTOTYPES |
644 extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsig
ned int, unsigned int, int *); | 696 extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *dpy, GLXFBConfigSGIX con
fig, unsigned int width, unsigned int height, int *attrib_list); |
645 extern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX); | 697 extern void glXDestroyGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf); |
646 extern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int
*); | 698 extern int glXQueryGLXPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuf, int attrib
ute, unsigned int *value); |
647 extern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long); | 699 extern void glXSelectEventSGIX (Display *dpy, GLXDrawable drawable, unsigned lon
g mask); |
648 extern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *); | 700 extern void glXGetSelectedEventSGIX (Display *dpy, GLXDrawable drawable, unsigne
d long *mask); |
649 #endif /* GLX_GLXEXT_PROTOTYPES */ | 701 #endif /* GLX_GLXEXT_PROTOTYPES */ |
650 typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBC
onfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); | 702 typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBC
onfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); |
651 typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX
pbuf); | 703 typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX
pbuf); |
652 typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbu
f, int attribute, unsigned int *value); | 704 typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbu
f, int attribute, unsigned int *value); |
653 typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable,
unsigned long mask); | 705 typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable,
unsigned long mask); |
654 typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable draw
able, unsigned long *mask); | 706 typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable draw
able, unsigned long *mask); |
655 #endif | 707 #endif |
656 | 708 |
657 #ifndef GLX_SGI_cushion | 709 #ifndef GLX_SGI_cushion |
658 #define GLX_SGI_cushion 1 | 710 #define GLX_SGI_cushion 1 |
659 #ifdef GLX_GLXEXT_PROTOTYPES | 711 #ifdef GLX_GLXEXT_PROTOTYPES |
660 extern void glXCushionSGI (Display *, Window, float); | 712 extern void glXCushionSGI (Display *dpy, Window window, float cushion); |
661 #endif /* GLX_GLXEXT_PROTOTYPES */ | 713 #endif /* GLX_GLXEXT_PROTOTYPES */ |
662 typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushi
on); | 714 typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushi
on); |
663 #endif | 715 #endif |
664 | 716 |
665 #ifndef GLX_SGIX_video_resize | 717 #ifndef GLX_SGIX_video_resize |
666 #define GLX_SGIX_video_resize 1 | 718 #define GLX_SGIX_video_resize 1 |
667 #ifdef GLX_GLXEXT_PROTOTYPES | 719 #ifdef GLX_GLXEXT_PROTOTYPES |
668 extern int glXBindChannelToWindowSGIX (Display *, int, int, Window); | 720 extern int glXBindChannelToWindowSGIX (Display *display, int screen, int channel
, Window window); |
669 extern int glXChannelRectSGIX (Display *, int, int, int, int, int, int); | 721 extern int glXChannelRectSGIX (Display *display, int screen, int channel, int x,
int y, int w, int h); |
670 extern int glXQueryChannelRectSGIX (Display *, int, int, int *, int *, int *, in
t *); | 722 extern int glXQueryChannelRectSGIX (Display *display, int screen, int channel, i
nt *dx, int *dy, int *dw, int *dh); |
671 extern int glXQueryChannelDeltasSGIX (Display *, int, int, int *, int *, int *,
int *); | 723 extern int glXQueryChannelDeltasSGIX (Display *display, int screen, int channel,
int *x, int *y, int *w, int *h); |
672 extern int glXChannelRectSyncSGIX (Display *, int, int, GLenum); | 724 extern int glXChannelRectSyncSGIX (Display *display, int screen, int channel, GL
enum synctype); |
673 #endif /* GLX_GLXEXT_PROTOTYPES */ | 725 #endif /* GLX_GLXEXT_PROTOTYPES */ |
674 typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen
, int channel, Window window); | 726 typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen
, int channel, Window window); |
675 typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int ch
annel, int x, int y, int w, int h); | 727 typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int ch
annel, int x, int y, int w, int h); |
676 typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, i
nt channel, int *dx, int *dy, int *dw, int *dh); | 728 typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, i
nt channel, int *dx, int *dy, int *dw, int *dh); |
677 typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen,
int channel, int *x, int *y, int *w, int *h); | 729 typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen,
int channel, int *x, int *y, int *w, int *h); |
678 typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, in
t channel, GLenum synctype); | 730 typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, in
t channel, GLenum synctype); |
679 #endif | 731 #endif |
680 | 732 |
681 #ifndef GLX_SGIX_dmbuffer | 733 #ifndef GLX_SGIX_dmbuffer |
682 #define GLX_SGIX_dmbuffer 1 | 734 #define GLX_SGIX_dmbuffer 1 |
683 #ifdef _DM_BUFFER_H_ | 735 #ifdef _DM_BUFFER_H_ |
684 #ifdef GLX_GLXEXT_PROTOTYPES | 736 #ifdef GLX_GLXEXT_PROTOTYPES |
685 extern Bool glXAssociateDMPbufferSGIX (Display *, GLXPbufferSGIX, DMparams *, DM
buffer); | 737 extern Bool glXAssociateDMPbufferSGIX (Display *dpy, GLXPbufferSGIX pbuffer, DMp
arams *params, DMbuffer dmbuffer); |
686 #endif /* GLX_GLXEXT_PROTOTYPES */ | 738 #endif /* GLX_GLXEXT_PROTOTYPES */ |
687 typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX
pbuffer, DMparams *params, DMbuffer dmbuffer); | 739 typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX
pbuffer, DMparams *params, DMbuffer dmbuffer); |
688 #endif /* _DM_BUFFER_H_ */ | 740 #endif /* _DM_BUFFER_H_ */ |
689 #endif | 741 #endif |
690 | 742 |
691 #ifndef GLX_SGIX_swap_group | 743 #ifndef GLX_SGIX_swap_group |
692 #define GLX_SGIX_swap_group 1 | 744 #define GLX_SGIX_swap_group 1 |
693 #ifdef GLX_GLXEXT_PROTOTYPES | 745 #ifdef GLX_GLXEXT_PROTOTYPES |
694 extern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable); | 746 extern void glXJoinSwapGroupSGIX (Display *dpy, GLXDrawable drawable, GLXDrawabl
e member); |
695 #endif /* GLX_GLXEXT_PROTOTYPES */ | 747 #endif /* GLX_GLXEXT_PROTOTYPES */ |
696 typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawabl
e, GLXDrawable member); | 748 typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawabl
e, GLXDrawable member); |
697 #endif | 749 #endif |
698 | 750 |
699 #ifndef GLX_SGIX_swap_barrier | 751 #ifndef GLX_SGIX_swap_barrier |
700 #define GLX_SGIX_swap_barrier 1 | 752 #define GLX_SGIX_swap_barrier 1 |
701 #ifdef GLX_GLXEXT_PROTOTYPES | 753 #ifdef GLX_GLXEXT_PROTOTYPES |
702 extern void glXBindSwapBarrierSGIX (Display *, GLXDrawable, int); | 754 extern void glXBindSwapBarrierSGIX (Display *dpy, GLXDrawable drawable, int barr
ier); |
703 extern Bool glXQueryMaxSwapBarriersSGIX (Display *, int, int *); | 755 extern Bool glXQueryMaxSwapBarriersSGIX (Display *dpy, int screen, int *max); |
704 #endif /* GLX_GLXEXT_PROTOTYPES */ | 756 #endif /* GLX_GLXEXT_PROTOTYPES */ |
705 typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawa
ble, int barrier); | 757 typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawa
ble, int barrier); |
706 typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen,
int *max); | 758 typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen,
int *max); |
707 #endif | 759 #endif |
708 | 760 |
709 #ifndef GLX_SUN_get_transparent_index | 761 #ifndef GLX_SUN_get_transparent_index |
710 #define GLX_SUN_get_transparent_index 1 | 762 #define GLX_SUN_get_transparent_index 1 |
711 #ifdef GLX_GLXEXT_PROTOTYPES | 763 #ifdef GLX_GLXEXT_PROTOTYPES |
712 extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *); | 764 extern Status glXGetTransparentIndexSUN (Display *dpy, Window overlay, Window un
derlay, long *pTransparentIndex); |
713 #endif /* GLX_GLXEXT_PROTOTYPES */ | 765 #endif /* GLX_GLXEXT_PROTOTYPES */ |
714 typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overl
ay, Window underlay, long *pTransparentIndex); | 766 typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overl
ay, Window underlay, long *pTransparentIndex); |
715 #endif | 767 #endif |
716 | 768 |
717 #ifndef GLX_MESA_copy_sub_buffer | 769 #ifndef GLX_MESA_copy_sub_buffer |
718 #define GLX_MESA_copy_sub_buffer 1 | 770 #define GLX_MESA_copy_sub_buffer 1 |
719 #ifdef GLX_GLXEXT_PROTOTYPES | 771 #ifdef GLX_GLXEXT_PROTOTYPES |
720 extern void glXCopySubBufferMESA (Display *, GLXDrawable, int, int, int, int); | 772 extern void glXCopySubBufferMESA (Display *dpy, GLXDrawable drawable, int x, int
y, int width, int height); |
721 #endif /* GLX_GLXEXT_PROTOTYPES */ | 773 #endif /* GLX_GLXEXT_PROTOTYPES */ |
722 typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawabl
e, int x, int y, int width, int height); | 774 typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawabl
e, int x, int y, int width, int height); |
723 #endif | 775 #endif |
724 | 776 |
725 #ifndef GLX_MESA_pixmap_colormap | 777 #ifndef GLX_MESA_pixmap_colormap |
726 #define GLX_MESA_pixmap_colormap 1 | 778 #define GLX_MESA_pixmap_colormap 1 |
727 #ifdef GLX_GLXEXT_PROTOTYPES | 779 #ifdef GLX_GLXEXT_PROTOTYPES |
728 extern GLXPixmap glXCreateGLXPixmapMESA (Display *, XVisualInfo *, Pixmap, Color
map); | 780 extern GLXPixmap glXCreateGLXPixmapMESA (Display *dpy, XVisualInfo *visual, Pixm
ap pixmap, Colormap cmap); |
729 #endif /* GLX_GLXEXT_PROTOTYPES */ | 781 #endif /* GLX_GLXEXT_PROTOTYPES */ |
730 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo
*visual, Pixmap pixmap, Colormap cmap); | 782 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo
*visual, Pixmap pixmap, Colormap cmap); |
731 #endif | 783 #endif |
732 | 784 |
733 #ifndef GLX_MESA_release_buffers | 785 #ifndef GLX_MESA_release_buffers |
734 #define GLX_MESA_release_buffers 1 | 786 #define GLX_MESA_release_buffers 1 |
735 #ifdef GLX_GLXEXT_PROTOTYPES | 787 #ifdef GLX_GLXEXT_PROTOTYPES |
736 extern Bool glXReleaseBuffersMESA (Display *, GLXDrawable); | 788 extern Bool glXReleaseBuffersMESA (Display *dpy, GLXDrawable drawable); |
737 #endif /* GLX_GLXEXT_PROTOTYPES */ | 789 #endif /* GLX_GLXEXT_PROTOTYPES */ |
738 typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawab
le); | 790 typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawab
le); |
739 #endif | 791 #endif |
740 | 792 |
741 #ifndef GLX_MESA_set_3dfx_mode | 793 #ifndef GLX_MESA_set_3dfx_mode |
742 #define GLX_MESA_set_3dfx_mode 1 | 794 #define GLX_MESA_set_3dfx_mode 1 |
743 #ifdef GLX_GLXEXT_PROTOTYPES | 795 #ifdef GLX_GLXEXT_PROTOTYPES |
744 extern Bool glXSet3DfxModeMESA (int); | 796 extern Bool glXSet3DfxModeMESA (int mode); |
745 #endif /* GLX_GLXEXT_PROTOTYPES */ | 797 #endif /* GLX_GLXEXT_PROTOTYPES */ |
746 typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode); | 798 typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode); |
747 #endif | 799 #endif |
748 | 800 |
749 #ifndef GLX_SGIX_visual_select_group | 801 #ifndef GLX_SGIX_visual_select_group |
750 #define GLX_SGIX_visual_select_group 1 | 802 #define GLX_SGIX_visual_select_group 1 |
751 #endif | 803 #endif |
752 | 804 |
753 #ifndef GLX_OML_swap_method | 805 #ifndef GLX_OML_swap_method |
754 #define GLX_OML_swap_method 1 | 806 #define GLX_OML_swap_method 1 |
755 #endif | 807 #endif |
756 | 808 |
757 #ifndef GLX_OML_sync_control | 809 #ifndef GLX_OML_sync_control |
758 #define GLX_OML_sync_control 1 | 810 #define GLX_OML_sync_control 1 |
759 #ifdef GLX_GLXEXT_PROTOTYPES | 811 #ifdef GLX_GLXEXT_PROTOTYPES |
760 extern Bool glXGetSyncValuesOML (Display *, GLXDrawable, int64_t *, int64_t *, i
nt64_t *); | 812 extern Bool glXGetSyncValuesOML (Display *dpy, GLXDrawable drawable, int64_t *us
t, int64_t *msc, int64_t *sbc); |
761 extern Bool glXGetMscRateOML (Display *, GLXDrawable, int32_t *, int32_t *); | 813 extern Bool glXGetMscRateOML (Display *dpy, GLXDrawable drawable, int32_t *numer
ator, int32_t *denominator); |
762 extern int64_t glXSwapBuffersMscOML (Display *, GLXDrawable, int64_t, int64_t, i
nt64_t); | 814 extern int64_t glXSwapBuffersMscOML (Display *dpy, GLXDrawable drawable, int64_t
target_msc, int64_t divisor, int64_t remainder); |
763 extern Bool glXWaitForMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t,
int64_t *, int64_t *, int64_t *); | 815 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 *s
bc); |
764 extern Bool glXWaitForSbcOML (Display *, GLXDrawable, int64_t, int64_t *, int64_
t *, int64_t *); | 816 extern Bool glXWaitForSbcOML (Display *dpy, GLXDrawable drawable, int64_t target
_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); |
765 #endif /* GLX_GLXEXT_PROTOTYPES */ | 817 #endif /* GLX_GLXEXT_PROTOTYPES */ |
766 typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable
, int64_t *ust, int64_t *msc, int64_t *sbc); | 818 typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable
, int64_t *ust, int64_t *msc, int64_t *sbc); |
767 typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, i
nt32_t *numerator, int32_t *denominator); | 819 typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, i
nt32_t *numerator, int32_t *denominator); |
768 typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable draw
able, int64_t target_msc, int64_t divisor, int64_t remainder); | 820 typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable draw
able, int64_t target_msc, int64_t divisor, int64_t remainder); |
769 typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, i
nt64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *ms
c, int64_t *sbc); | 821 typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, i
nt64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *ms
c, int64_t *sbc); |
770 typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, i
nt64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); | 822 typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, i
nt64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); |
771 #endif | 823 #endif |
772 | 824 |
773 #ifndef GLX_NV_float_buffer | 825 #ifndef GLX_NV_float_buffer |
774 #define GLX_NV_float_buffer 1 | 826 #define GLX_NV_float_buffer 1 |
(...skipping 20 matching lines...) Expand all Loading... |
795 int srcXOrigin, srcYOrigin, srcWidth, srcHeight; | 847 int srcXOrigin, srcYOrigin, srcWidth, srcHeight; |
796 int destXOrigin, destYOrigin, destWidth, destHeight; | 848 int destXOrigin, destYOrigin, destWidth, destHeight; |
797 } GLXPipeRect; | 849 } GLXPipeRect; |
798 | 850 |
799 typedef struct { | 851 typedef struct { |
800 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; | 852 char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; |
801 int XOrigin, YOrigin, maxHeight, maxWidth; | 853 int XOrigin, YOrigin, maxHeight, maxWidth; |
802 } GLXPipeRectLimits; | 854 } GLXPipeRectLimits; |
803 | 855 |
804 #ifdef GLX_GLXEXT_PROTOTYPES | 856 #ifdef GLX_GLXEXT_PROTOTYPES |
805 extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *, int *)
; | 857 extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *dpy, int
*npipes); |
806 extern int glXHyperpipeConfigSGIX (Display *, int, int, GLXHyperpipeConfigSGIX *
, int *); | 858 extern int glXHyperpipeConfigSGIX (Display *dpy, int networkId, int npipes, GLXH
yperpipeConfigSGIX *cfg, int *hpId); |
807 extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *, int, int
*); | 859 extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *dpy, int h
pId, int *npipes); |
808 extern int glXDestroyHyperpipeConfigSGIX (Display *, int); | 860 extern int glXDestroyHyperpipeConfigSGIX (Display *dpy, int hpId); |
809 extern int glXBindHyperpipeSGIX (Display *, int); | 861 extern int glXBindHyperpipeSGIX (Display *dpy, int hpId); |
810 extern int glXQueryHyperpipeBestAttribSGIX (Display *, int, int, int, void *, vo
id *); | 862 extern int glXQueryHyperpipeBestAttribSGIX (Display *dpy, int timeSlice, int att
rib, int size, void *attribList, void *returnAttribList); |
811 extern int glXHyperpipeAttribSGIX (Display *, int, int, int, void *); | 863 extern int glXHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib, int
size, void *attribList); |
812 extern int glXQueryHyperpipeAttribSGIX (Display *, int, int, int, void *); | 864 extern int glXQueryHyperpipeAttribSGIX (Display *dpy, int timeSlice, int attrib,
int size, void *returnAttribList); |
813 #endif /* GLX_GLXEXT_PROTOTYPES */ | 865 #endif /* GLX_GLXEXT_PROTOTYPES */ |
814 typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Disp
lay *dpy, int *npipes); | 866 typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Disp
lay *dpy, int *npipes); |
815 typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int
npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); | 867 typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int
npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); |
816 typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Displa
y *dpy, int hpId, int *npipes); | 868 typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Displa
y *dpy, int hpId, int *npipes); |
817 typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); | 869 typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); |
818 typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); | 870 typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId); |
819 typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeS
lice, int attrib, int size, void *attribList, void *returnAttribList); | 871 typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeS
lice, int attrib, int size, void *attribList, void *returnAttribList); |
820 typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int
attrib, int size, void *attribList); | 872 typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int
attrib, int size, void *attribList); |
821 typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice
, int attrib, int size, void *returnAttribList); | 873 typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice
, int attrib, int size, void *returnAttribList); |
822 #endif | 874 #endif |
823 | 875 |
824 #ifndef GLX_MESA_agp_offset | 876 #ifndef GLX_MESA_agp_offset |
825 #define GLX_MESA_agp_offset 1 | 877 #define GLX_MESA_agp_offset 1 |
826 #ifdef GLX_GLXEXT_PROTOTYPES | 878 #ifdef GLX_GLXEXT_PROTOTYPES |
827 extern unsigned int glXGetAGPOffsetMESA (const void *); | 879 extern unsigned int glXGetAGPOffsetMESA (const void *pointer); |
828 #endif /* GLX_GLXEXT_PROTOTYPES */ | 880 #endif /* GLX_GLXEXT_PROTOTYPES */ |
829 typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer); | 881 typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer); |
830 #endif | 882 #endif |
831 | 883 |
832 #ifndef GLX_EXT_fbconfig_packed_float | 884 #ifndef GLX_EXT_fbconfig_packed_float |
833 #define GLX_EXT_fbconfig_packed_float 1 | 885 #define GLX_EXT_fbconfig_packed_float 1 |
834 #endif | 886 #endif |
835 | 887 |
836 #ifndef GLX_EXT_framebuffer_sRGB | 888 #ifndef GLX_EXT_framebuffer_sRGB |
837 #define GLX_EXT_framebuffer_sRGB 1 | 889 #define GLX_EXT_framebuffer_sRGB 1 |
838 #endif | 890 #endif |
839 | 891 |
840 #ifndef GLX_EXT_texture_from_pixmap | 892 #ifndef GLX_EXT_texture_from_pixmap |
841 #define GLX_EXT_texture_from_pixmap 1 | 893 #define GLX_EXT_texture_from_pixmap 1 |
842 #ifdef GLX_GLXEXT_PROTOTYPES | 894 #ifdef GLX_GLXEXT_PROTOTYPES |
843 extern void glXBindTexImageEXT (Display *, GLXDrawable, int, const int *); | 895 extern void glXBindTexImageEXT (Display *dpy, GLXDrawable drawable, int buffer,
const int *attrib_list); |
844 extern void glXReleaseTexImageEXT (Display *, GLXDrawable, int); | 896 extern void glXReleaseTexImageEXT (Display *dpy, GLXDrawable drawable, int buffe
r); |
845 #endif /* GLX_GLXEXT_PROTOTYPES */ | 897 #endif /* GLX_GLXEXT_PROTOTYPES */ |
846 typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable,
int buffer, const int *attrib_list); | 898 typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable,
int buffer, const int *attrib_list); |
847 typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawab
le, int buffer); | 899 typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawab
le, int buffer); |
848 #endif | 900 #endif |
849 | 901 |
850 #ifndef GLX_NV_present_video | 902 #ifndef GLX_NV_present_video |
851 #define GLX_NV_present_video 1 | 903 #define GLX_NV_present_video 1 |
852 #ifdef GLX_GLXEXT_PROTOTYPES | 904 #ifdef GLX_GLXEXT_PROTOTYPES |
853 extern unsigned int * glXEnumerateVideoDevicesNV (Display *, int, int *); | 905 extern unsigned int * glXEnumerateVideoDevicesNV (Display *dpy, int screen, int
*nelements); |
854 extern int glXBindVideoDeviceNV (Display *, unsigned int, unsigned int, const in
t *); | 906 extern int glXBindVideoDeviceNV (Display *dpy, unsigned int video_slot, unsigned
int video_device, const int *attrib_list); |
855 #endif /* GLX_GLXEXT_PROTOTYPES */ | 907 #endif /* GLX_GLXEXT_PROTOTYPES */ |
856 typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int
screen, int *nelements); | 908 typedef unsigned int * ( * PFNGLXENUMERATEVIDEODEVICESNVPROC) (Display *dpy, int
screen, int *nelements); |
857 typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_s
lot, unsigned int video_device, const int *attrib_list); | 909 typedef int ( * PFNGLXBINDVIDEODEVICENVPROC) (Display *dpy, unsigned int video_s
lot, unsigned int video_device, const int *attrib_list); |
858 #endif | 910 #endif |
859 | 911 |
860 #ifndef GLX_NV_video_output | 912 #ifndef GLX_NV_video_output |
861 #define GLX_NV_video_output 1 | 913 #define GLX_NV_video_output 1 |
862 #ifdef GLX_GLXEXT_PROTOTYPES | 914 #ifdef GLX_GLXEXT_PROTOTYPES |
863 extern int glXGetVideoDeviceNV (Display *, int, int, GLXVideoDeviceNV *); | 915 extern int glXGetVideoDeviceNV (Display *dpy, int screen, int numVideoDevices, G
LXVideoDeviceNV *pVideoDevice); |
864 extern int glXReleaseVideoDeviceNV (Display *, int, GLXVideoDeviceNV); | 916 extern int glXReleaseVideoDeviceNV (Display *dpy, int screen, GLXVideoDeviceNV V
ideoDevice); |
865 extern int glXBindVideoImageNV (Display *, GLXVideoDeviceNV, GLXPbuffer, int); | 917 extern int glXBindVideoImageNV (Display *dpy, GLXVideoDeviceNV VideoDevice, GLXP
buffer pbuf, int iVideoBuffer); |
866 extern int glXReleaseVideoImageNV (Display *, GLXPbuffer); | 918 extern int glXReleaseVideoImageNV (Display *dpy, GLXPbuffer pbuf); |
867 extern int glXSendPbufferToVideoNV (Display *, GLXPbuffer, int, unsigned long *,
GLboolean); | 919 extern int glXSendPbufferToVideoNV (Display *dpy, GLXPbuffer pbuf, int iBufferTy
pe, unsigned long *pulCounterPbuffer, GLboolean bBlock); |
868 extern int glXGetVideoInfoNV (Display *, int, GLXVideoDeviceNV, unsigned long *,
unsigned long *); | 920 extern int glXGetVideoInfoNV (Display *dpy, int screen, GLXVideoDeviceNV VideoDe
vice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCounterOutputVid
eo); |
869 #endif /* GLX_GLXEXT_PROTOTYPES */ | 921 #endif /* GLX_GLXEXT_PROTOTYPES */ |
870 typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVi
deoDevices, GLXVideoDeviceNV *pVideoDevice); | 922 typedef int ( * PFNGLXGETVIDEODEVICENVPROC) (Display *dpy, int screen, int numVi
deoDevices, GLXVideoDeviceNV *pVideoDevice); |
871 typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVi
deoDeviceNV VideoDevice); | 923 typedef int ( * PFNGLXRELEASEVIDEODEVICENVPROC) (Display *dpy, int screen, GLXVi
deoDeviceNV VideoDevice); |
872 typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV Vide
oDevice, GLXPbuffer pbuf, int iVideoBuffer); | 924 typedef int ( * PFNGLXBINDVIDEOIMAGENVPROC) (Display *dpy, GLXVideoDeviceNV Vide
oDevice, GLXPbuffer pbuf, int iVideoBuffer); |
873 typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf); | 925 typedef int ( * PFNGLXRELEASEVIDEOIMAGENVPROC) (Display *dpy, GLXPbuffer pbuf); |
874 typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf,
int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); | 926 typedef int ( * PFNGLXSENDPBUFFERTOVIDEONVPROC) (Display *dpy, GLXPbuffer pbuf,
int iBufferType, unsigned long *pulCounterPbuffer, GLboolean bBlock); |
875 typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDev
iceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCou
nterOutputVideo); | 927 typedef int ( * PFNGLXGETVIDEOINFONVPROC) (Display *dpy, int screen, GLXVideoDev
iceNV VideoDevice, unsigned long *pulCounterOutputPbuffer, unsigned long *pulCou
nterOutputVideo); |
876 #endif | 928 #endif |
877 | 929 |
878 #ifndef GLX_NV_swap_group | 930 #ifndef GLX_NV_swap_group |
879 #define GLX_NV_swap_group 1 | 931 #define GLX_NV_swap_group 1 |
880 #ifdef GLX_GLXEXT_PROTOTYPES | 932 #ifdef GLX_GLXEXT_PROTOTYPES |
881 extern Bool glXJoinSwapGroupNV (Display *, GLXDrawable, GLuint); | 933 extern Bool glXJoinSwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint group
); |
882 extern Bool glXBindSwapBarrierNV (Display *, GLuint, GLuint); | 934 extern Bool glXBindSwapBarrierNV (Display *dpy, GLuint group, GLuint barrier); |
883 extern Bool glXQuerySwapGroupNV (Display *, GLXDrawable, GLuint *, GLuint *); | 935 extern Bool glXQuerySwapGroupNV (Display *dpy, GLXDrawable drawable, GLuint *gro
up, GLuint *barrier); |
884 extern Bool glXQueryMaxSwapGroupsNV (Display *, int, GLuint *, GLuint *); | 936 extern Bool glXQueryMaxSwapGroupsNV (Display *dpy, int screen, GLuint *maxGroups
, GLuint *maxBarriers); |
885 extern Bool glXQueryFrameCountNV (Display *, int, GLuint *); | 937 extern Bool glXQueryFrameCountNV (Display *dpy, int screen, GLuint *count); |
886 extern Bool glXResetFrameCountNV (Display *, int); | 938 extern Bool glXResetFrameCountNV (Display *dpy, int screen); |
887 #endif /* GLX_GLXEXT_PROTOTYPES */ | 939 #endif /* GLX_GLXEXT_PROTOTYPES */ |
888 typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable,
GLuint group); | 940 typedef Bool ( * PFNGLXJOINSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable,
GLuint group); |
889 typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuin
t barrier); | 941 typedef Bool ( * PFNGLXBINDSWAPBARRIERNVPROC) (Display *dpy, GLuint group, GLuin
t barrier); |
890 typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable
, GLuint *group, GLuint *barrier); | 942 typedef Bool ( * PFNGLXQUERYSWAPGROUPNVPROC) (Display *dpy, GLXDrawable drawable
, GLuint *group, GLuint *barrier); |
891 typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLui
nt *maxGroups, GLuint *maxBarriers); | 943 typedef Bool ( * PFNGLXQUERYMAXSWAPGROUPSNVPROC) (Display *dpy, int screen, GLui
nt *maxGroups, GLuint *maxBarriers); |
892 typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint
*count); | 944 typedef Bool ( * PFNGLXQUERYFRAMECOUNTNVPROC) (Display *dpy, int screen, GLuint
*count); |
893 typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen); | 945 typedef Bool ( * PFNGLXRESETFRAMECOUNTNVPROC) (Display *dpy, int screen); |
894 #endif | 946 #endif |
895 | 947 |
896 #ifndef GLX_NV_video_capture | 948 #ifndef GLX_NV_video_capture |
897 #define GLX_NV_video_capture 1 | 949 #define GLX_NV_video_capture 1 |
898 #ifdef GLX_GLXEXT_PROTOTYPES | 950 #ifdef GLX_GLXEXT_PROTOTYPES |
899 extern int glXBindVideoCaptureDeviceNV (Display *, unsigned int, GLXVideoCapture
DeviceNV); | 951 extern int glXBindVideoCaptureDeviceNV (Display *dpy, unsigned int video_capture
_slot, GLXVideoCaptureDeviceNV device); |
900 extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *, i
nt, int *); | 952 extern GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV (Display *dpy
, int screen, int *nelements); |
901 extern void glXLockVideoCaptureDeviceNV (Display *, GLXVideoCaptureDeviceNV); | 953 extern void glXLockVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV d
evice); |
902 extern int glXQueryVideoCaptureDeviceNV (Display *, GLXVideoCaptureDeviceNV, int
, int *); | 954 extern int glXQueryVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceNV d
evice, int attribute, int *value); |
903 extern void glXReleaseVideoCaptureDeviceNV (Display *, GLXVideoCaptureDeviceNV); | 955 extern void glXReleaseVideoCaptureDeviceNV (Display *dpy, GLXVideoCaptureDeviceN
V device); |
904 #endif /* GLX_GLXEXT_PROTOTYPES */ | 956 #endif /* GLX_GLXEXT_PROTOTYPES */ |
905 typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int
video_capture_slot, GLXVideoCaptureDeviceNV device); | 957 typedef int ( * PFNGLXBINDVIDEOCAPTUREDEVICENVPROC) (Display *dpy, unsigned int
video_capture_slot, GLXVideoCaptureDeviceNV device); |
906 typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)
(Display *dpy, int screen, int *nelements); | 958 typedef GLXVideoCaptureDeviceNV * ( * PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)
(Display *dpy, int screen, int *nelements); |
907 typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCapt
ureDeviceNV device); | 959 typedef void ( * PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCapt
ureDeviceNV device); |
908 typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCapt
ureDeviceNV device, int attribute, int *value); | 960 typedef int ( * PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoCapt
ureDeviceNV device, int attribute, int *value); |
909 typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoC
aptureDeviceNV device); | 961 typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoC
aptureDeviceNV device); |
910 #endif | 962 #endif |
911 | 963 |
912 #ifndef GLX_EXT_swap_control | 964 #ifndef GLX_EXT_swap_control |
913 #define GLX_EXT_swap_control 1 | 965 #define GLX_EXT_swap_control 1 |
914 #ifdef GLX_GLXEXT_PROTOTYPES | 966 #ifdef GLX_GLXEXT_PROTOTYPES |
915 extern int glXSwapIntervalEXT (Display *, GLXDrawable, int); | 967 extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval)
; |
916 #endif /* GLX_GLXEXT_PROTOTYPES */ | 968 #endif /* GLX_GLXEXT_PROTOTYPES */ |
917 typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable,
int interval); | 969 typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable,
int interval); |
918 #endif | 970 #endif |
919 | 971 |
920 #ifndef GLX_NV_copy_image | 972 #ifndef GLX_NV_copy_image |
921 #define GLX_NV_copy_image 1 | 973 #define GLX_NV_copy_image 1 |
922 #ifdef GLX_GLXEXT_PROTOTYPES | 974 #ifdef GLX_GLXEXT_PROTOTYPES |
923 extern void glXCopyImageSubDataNV (Display *, GLXContext, GLuint, GLenum, GLint,
GLint, GLint, GLint, GLXContext, GLuint, GLenum, GLint, GLint, GLint, GLint, GL
sizei, GLsizei, GLsizei); | 975 extern void glXCopyImageSubDataNV (Display *dpy, GLXContext srcCtx, GLuint srcNa
me, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXCon
text dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint
dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); |
924 #endif /* GLX_GLXEXT_PROTOTYPES */ | 976 #endif /* GLX_GLXEXT_PROTOTYPES */ |
925 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, GLin
t dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); | 977 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, GLin
t dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth); |
926 #endif | 978 #endif |
927 | 979 |
| 980 #ifndef GLX_INTEL_swap_event |
| 981 #define GLX_INTEL_swap_event 1 |
| 982 #endif |
| 983 |
| 984 #ifndef GLX_NV_multisample_coverage |
| 985 #define GLX_NV_multisample_coverage 1 |
| 986 #endif |
| 987 |
928 | 988 |
929 #ifdef __cplusplus | 989 #ifdef __cplusplus |
930 } | 990 } |
931 #endif | 991 #endif |
932 | 992 |
933 #endif | 993 #endif |
OLD | NEW |