Magellan Linux

Diff of /trunk/opengl-update/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 2065 by niro, Thu Mar 7 13:34:21 2013 UTC
# Line 6  extern "C" { Line 6  extern "C" {
6  #endif  #endif
7    
8  /*  /*
9  ** Copyright (c) 2007-2010 The Khronos Group Inc.  ** Copyright (c) 2007-2012 The Khronos Group Inc.
10  **  **
11  ** Permission is hereby granted, free of charge, to any person obtaining a  ** Permission is hereby granted, free of charge, to any person obtaining a
12  ** 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 48  extern "C" {
48  /*************************************************************/  /*************************************************************/
49    
50  /* Header file version number, required by OpenGL ABI for Linux */  /* Header file version number, required by OpenGL ABI for Linux */
51  /* glxext.h last updated 2010/02/10 */  /* glxext.h last updated 2013/01/02 */
52  /* Current version at http://www.opengl.org/registry/ */  /* Current version at http://www.opengl.org/registry/ */
53  #define GLX_GLXEXT_VERSION 27  #define GLX_GLXEXT_VERSION 34
54    
55  #ifndef GLX_VERSION_1_3  #ifndef GLX_VERSION_1_3
56  #define GLX_WINDOW_BIT                     0x00000001  #define GLX_WINDOW_BIT                     0x00000001
# Line 124  extern "C" { Line 124  extern "C" {
124  #define GLX_SAMPLES_ARB                    100001  #define GLX_SAMPLES_ARB                    100001
125  #endif  #endif
126    
127    #ifndef GLX_ARB_vertex_buffer_object
128    #define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
129    #endif
130    
131  #ifndef GLX_ARB_fbconfig_float  #ifndef GLX_ARB_fbconfig_float
132  #define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9  #define GLX_RGBA_FLOAT_TYPE_ARB            0x20B9
133  #define GLX_RGBA_FLOAT_BIT_ARB             0x00000004  #define GLX_RGBA_FLOAT_BIT_ARB             0x00000004
134  #endif  #endif
135    
136    #ifndef GLX_ARB_framebuffer_sRGB
137    #define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB   0x20B2
138    #endif
139    
140  #ifndef GLX_ARB_create_context  #ifndef GLX_ARB_create_context
141  #define GLX_CONTEXT_DEBUG_BIT_ARB          0x00000001  #define GLX_CONTEXT_DEBUG_BIT_ARB          0x00000001
142  #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002  #define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
# Line 143  extern "C" { Line 151  extern "C" {
151  #define GLX_CONTEXT_PROFILE_MASK_ARB       0x9126  #define GLX_CONTEXT_PROFILE_MASK_ARB       0x9126
152  #endif  #endif
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    
161  #ifndef GLX_SGIS_multisample  #ifndef GLX_SGIS_multisample
162  #define GLX_SAMPLE_BUFFERS_SGIS            100000  #define GLX_SAMPLE_BUFFERS_SGIS            100000
163  #define GLX_SAMPLES_SGIS                   100001  #define GLX_SAMPLES_SGIS                   100001
# Line 403  extern "C" { Line 418  extern "C" {
418  #define GLX_FLIP_COMPLETE_INTEL            0x8182  #define GLX_FLIP_COMPLETE_INTEL            0x8182
419  #endif  #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    
443    #ifndef GLX_EXT_create_context_es_profile
444    #define GLX_CONTEXT_ES_PROFILE_BIT_EXT     0x00000004
445    #endif
446    
447    #ifndef GLX_EXT_swap_control_tear
448    #define GLX_LATE_SWAPS_TEAR_EXT            0x20F3
449    #endif
450    
451    #ifndef GLX_EXT_buffer_age
452    #define GLX_BACK_BUFFER_AGE_EXT            0x20F4
453    #endif
454    
455    
456  /*************************************************************/  /*************************************************************/
457    
# Line 547  typedef __GLXextFuncPtr ( * PFNGLXGETPRO Line 596  typedef __GLXextFuncPtr ( * PFNGLXGETPRO
596  #define GLX_ARB_fbconfig_float 1  #define GLX_ARB_fbconfig_float 1
597  #endif  #endif
598    
599    #ifndef GLX_ARB_framebuffer_sRGB
600    #define GLX_ARB_framebuffer_sRGB 1
601    #endif
602    
603  #ifndef GLX_ARB_create_context  #ifndef GLX_ARB_create_context
604  #define GLX_ARB_create_context 1  #define GLX_ARB_create_context 1
605  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
# Line 559  typedef GLXContext ( * PFNGLXCREATECONTE Line 612  typedef GLXContext ( * PFNGLXCREATECONTE
612  #define GLX_ARB_create_context_profile 1  #define GLX_ARB_create_context_profile 1
613  #endif  #endif
614    
615    #ifndef GLX_ARB_create_context_robustness
616    #define GLX_ARB_create_context_robustness 1
617    #endif
618    
619  #ifndef GLX_SGIS_multisample  #ifndef GLX_SGIS_multisample
620  #define GLX_SGIS_multisample 1  #define GLX_SGIS_multisample 1
621  #endif  #endif
# Line 919  typedef void ( * PFNGLXRELEASEVIDEOCAPTU Line 976  typedef void ( * PFNGLXRELEASEVIDEOCAPTU
976  #ifndef GLX_EXT_swap_control  #ifndef GLX_EXT_swap_control
977  #define GLX_EXT_swap_control 1  #define GLX_EXT_swap_control 1
978  #ifdef GLX_GLXEXT_PROTOTYPES  #ifdef GLX_GLXEXT_PROTOTYPES
979  extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);  extern void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval);
980  #endif /* GLX_GLXEXT_PROTOTYPES */  #endif /* GLX_GLXEXT_PROTOTYPES */
981  typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);  typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval);
982  #endif  #endif
983    
984  #ifndef GLX_NV_copy_image  #ifndef GLX_NV_copy_image
# Line 936  typedef void ( * PFNGLXCOPYIMAGESUBDATAN Line 993  typedef void ( * PFNGLXCOPYIMAGESUBDATAN
993  #define GLX_INTEL_swap_event 1  #define GLX_INTEL_swap_event 1
994  #endif  #endif
995    
996    #ifndef GLX_NV_multisample_coverage
997    #define GLX_NV_multisample_coverage 1
998    #endif
999    
1000    #ifndef GLX_EXT_create_context_es2_profile
1001    #define GLX_EXT_create_context_es2_profile 1
1002    #endif
1003    
1004    #ifndef GLX_EXT_create_context_es_profile
1005    #define GLX_EXT_create_context_es_profile 1
1006    #endif
1007    
1008    #ifndef GLX_EXT_swap_control_tear
1009    #define GLX_EXT_swap_control_tear 1
1010    #endif
1011    
1012    #ifndef GLX_EXT_buffer_age
1013    #define GLX_EXT_buffer_age 1
1014    #endif
1015    
1016    
1017  #ifdef __cplusplus  #ifdef __cplusplus
1018  }  }

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