Magellan Linux

Diff of /tags/openglupdate-2_3_13/glxext.h

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

revision 969 by niro, Tue Apr 6 22:28:07 2010 UTC revision 2197 by niro, Fri Oct 11 12:53:14 2013 UTC
# Line 6  extern "C" { Line 6  extern "C" {
6  #endif  #endif
7    
8  /*  /*
9  ** Copyright (c) 2007-2010 The Khronos Group Inc.  ** THIS FILE IS OBSOLETE. Please migrate away from using the
10    ** ".spec" files and the headers generated from them to the
11    ** XML Registry and headers generated from that. See
12    **   http://www.opengl.org/registry/api/README.txt
13    ** for more information.
14    **
15    **
16    ** Copyright (c) 2007-2013 The Khronos Group Inc.
17  **  **
18  ** Permission is hereby granted, free of charge, to any person obtaining a  ** Permission is hereby granted, free of charge, to any person obtaining a
19  ** copy of this software and/or associated documentation files (the  ** copy of this software and/or associated documentation files (the
# Line 48  extern "C" { Line 55  extern "C" {
55  /*************************************************************/  /*************************************************************/
56    
57  /* Header file version number, required by OpenGL ABI for Linux */  /* Header file version number, required by OpenGL ABI for Linux */
58  /* glxext.h last updated 2010/02/10 */  /* glxext.h last updated 2013/06/10 */
59  /* Current version at http://www.opengl.org/registry/ */  /* Current version at http://www.opengl.org/registry/ */
60  #define GLX_GLXEXT_VERSION 27  #define GLX_GLXEXT_VERSION 36
61    
62  #ifndef GLX_VERSION_1_3  #ifndef GLX_VERSION_1_3
63  #define GLX_WINDOW_BIT                     0x00000001  #define GLX_WINDOW_BIT                     0x00000001
# Line 124  extern "C" { Line 131  extern "C" {
131  #define GLX_SAMPLES_ARB                    100001  #define GLX_SAMPLES_ARB                    100001
132  #endif  #endif
133    
134    #ifndef GLX_ARB_vertex_buffer_object
135    #define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
136    #endif
137    
138  #ifndef GLX_ARB_fbconfig_float  #ifndef GLX_ARB_fbconfig_float
139  #define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9  #define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9
140  #define GLX_RGBA_FLOAT_BIT_ARB             0x00000004  #define GLX_RGBA_FLOAT_BIT_ARB             0x00000004
141  #endif  #endif
142    
143    #ifndef GLX_ARB_framebuffer_sRGB
144    #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB   0x20B2
145    #endif
146    
147  #ifndef GLX_ARB_create_context  #ifndef GLX_ARB_create_context
148  #define GLX_CONTEXT_DEBUG_BIT_ARB          0x00000001  #define GLX_CONTEXT_DEBUG_BIT_ARB          0x00000001
149  #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002  #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
# Line 143  extern "C" { Line 158  extern "C" {
158  #define GLX_CONTEXT_PROFILE_MASK_ARB       0x9126  #define GLX_CONTEXT_PROFILE_MASK_ARB       0x9126
159  #endif  #endif
160    
161    #ifndef GLX_ARB_create_context_robustness
162    #define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB  0x00000004
163    #define GLX_LOSE_CONTEXT_ON_RESET_ARB      0x8252
164    #define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
165    #define GLX_NO_RESET_NOTIFICATION_ARB      0x8261
166    #endif
167    
168  #ifndef GLX_SGIS_multisample  #ifndef GLX_SGIS_multisample
169  #define GLX_SAMPLE_BUFFERS_SGIS            100000  #define GLX_SAMPLE_BUFFERS_SGIS            100000
170  #define GLX_SAMPLES_SGIS                   100001  #define GLX_SAMPLES_SGIS                   100001
# Line 403  extern "C" { Line 425  extern "C" {
425  #define GLX_FLIP_COMPLETE_INTEL            0x8182  #define GLX_FLIP_COMPLETE_INTEL            0x8182
426  #endif  #endif
427    
428    #ifndef GLX_NV_multisample_coverage
429    #define GLX_COVERAGE_SAMPLES_NV            100001
430    #define GLX_COLOR_SAMPLES_NV               0x20B3
431    #endif
432    
433    #ifndef GLX_AMD_gpu_association
434    #define GLX_GPU_VENDOR_AMD                 0x1F00
435    #define GLX_GPU_RENDERER_STRING_AMD        0x1F01
436    #define GLX_GPU_OPENGL_VERSION_STRING_AMD  0x1F02
437    #define GLX_GPU_FASTEST_TARGET_GPUS_AMD    0x21A2
438    #define GLX_GPU_RAM_AMD                    0x21A3
439    #define GLX_GPU_CLOCK_AMD                  0x21A4
440    #define GLX_GPU_NUM_PIPES_AMD              0x21A5
441    #define GLX_GPU_NUM_SIMD_AMD               0x21A6
442    #define GLX_GPU_NUM_RB_AMD                 0x21A7
443    #define GLX_GPU_NUM_SPI_AMD                0x21A8
444    #endif
445    
446    #ifndef GLX_EXT_create_context_es2_profile
447    #define GLX_CONTEXT_ES2_PROFILE_BIT_EXT    0x00000004
448    #endif
449    
450    #ifndef GLX_EXT_create_context_es_profile
451    #define GLX_CONTEXT_ES_PROFILE_BIT_EXT     0x00000004
452    #endif
453    
454    #ifndef GLX_EXT_swap_control_tear
455    #define GLX_LATE_SWAPS_TEAR_EXT            0x20F3
456    #endif
457    
458    #ifndef GLX_EXT_buffer_age
459    #define GLX_BACK_BUFFER_AGE_EXT            0x20F4
460    #endif
461    
462    
463  /*************************************************************/  /*************************************************************/
464    
# Line 547  typedef __GLXextFuncPtr ( * PFNGLXGETPRO Line 603  typedef __GLXextFuncPtr ( * PFNGLXGETPRO
603  #define GLX_ARB_fbconfig_float 1  #define GLX_ARB_fbconfig_float 1
604  #endif  #endif
605    
606    #ifndef GLX_ARB_framebuffer_sRGB
607    #define GLX_ARB_framebuffer_sRGB 1
608    #endif
609    
610  #ifndef GLX_ARB_create_context  #ifndef GLX_ARB_create_context
611  #define GLX_ARB_create_context 1  #define GLX_ARB_create_context 1
612  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
# Line 559  typedef GLXContext ( * PFNGLXCREATECONTE Line 619  typedef GLXContext ( * PFNGLXCREATECONTE
619  #define GLX_ARB_create_context_profile 1  #define GLX_ARB_create_context_profile 1
620  #endif  #endif
621    
622    #ifndef GLX_ARB_create_context_robustness
623    #define GLX_ARB_create_context_robustness 1
624    #endif
625    
626  #ifndef GLX_SGIS_multisample  #ifndef GLX_SGIS_multisample
627  #define GLX_SGIS_multisample 1  #define GLX_SGIS_multisample 1
628  #endif  #endif
# Line 919  typedef void ( * PFNGLXRELEASEVIDEOCAPTU Line 983  typedef void ( * PFNGLXRELEASEVIDEOCAPTU
983  #ifndef GLX_EXT_swap_control  #ifndef GLX_EXT_swap_control
984  #define GLX_EXT_swap_control 1  #define GLX_EXT_swap_control 1
985  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
986  extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);  extern void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
987  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
988  typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);  typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
989  #endif  #endif
990    
991  #ifndef GLX_NV_copy_image  #ifndef GLX_NV_copy_image
# Line 936  typedef void ( * PFNGLXCOPYIMAGESUBDATAN Line 1000  typedef void ( * PFNGLXCOPYIMAGESUBDATAN
1000  #define GLX_INTEL_swap_event 1  #define GLX_INTEL_swap_event 1
1001  #endif  #endif
1002    
1003    #ifndef GLX_NV_multisample_coverage
1004    #define GLX_NV_multisample_coverage 1
1005    #endif
1006    
1007    #ifndef GLX_EXT_create_context_es2_profile
1008    #define GLX_EXT_create_context_es2_profile 1
1009    #endif
1010    
1011    #ifndef GLX_EXT_create_context_es_profile
1012    #define GLX_EXT_create_context_es_profile 1
1013    #endif
1014    
1015    #ifndef GLX_EXT_swap_control_tear
1016    #define GLX_EXT_swap_control_tear 1
1017    #endif
1018    
1019    #ifndef GLX_EXT_buffer_age
1020    #define GLX_EXT_buffer_age 1
1021    #endif
1022    
1023    
1024  #ifdef __cplusplus  #ifdef __cplusplus
1025  }  }

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