1. yotis
  2. glxx

Commits

yotis  committed 4ad0da4

Fixed windows build

  • Participants
  • Parent commits 0d962e7
  • Branches default

Comments (0)

Files changed (533)

File include/glXxx/glXxx_all.h

View file
-#ifndef GLXXX_ALL
-#define GLXXX_ALL
-
-#include <glXxx/private/glx_version_1_3.h>
-#include <glXxx/private/glx_version_1_4.h>
-#include <glXxx/glx_arb_get_proc_address.h>
-#include <glXxx/glx_arb_multisample.h>
-#include <glXxx/glx_arb_vertex_buffer_object.h>
-#include <glXxx/glx_arb_fbconfig_float.h>
-#include <glXxx/glx_arb_framebuffer_srgb.h>
-#include <glXxx/glx_arb_create_context.h>
-#include <glXxx/glx_arb_create_context_profile.h>
-#include <glXxx/glx_arb_create_context_robustness.h>
-#include <glXxx/glx_sgis_multisample.h>
-#include <glXxx/glx_ext_visual_info.h>
-#include <glXxx/glx_sgi_swap_control.h>
-#include <glXxx/glx_sgi_video_sync.h>
-#include <glXxx/glx_sgi_make_current_read.h>
-#include <glXxx/glx_sgix_video_source.h>
-#include <glXxx/glx_ext_visual_rating.h>
-#include <glXxx/glx_ext_import_context.h>
-#include <glXxx/glx_sgix_fbconfig.h>
-#include <glXxx/glx_sgix_pbuffer.h>
-#include <glXxx/glx_sgi_cushion.h>
-#include <glXxx/glx_sgix_video_resize.h>
-#include <glXxx/glx_sgix_dmbuffer.h>
-#include <glXxx/glx_sgix_swap_group.h>
-#include <glXxx/glx_sgix_swap_barrier.h>
-#include <glXxx/glx_sgis_blended_overlay.h>
-#include <glXxx/glx_sgis_shared_multisample.h>
-#include <glXxx/glx_sun_get_transparent_index.h>
-#include <glXxx/glx_3dfx_multisample.h>
-#include <glXxx/glx_mesa_copy_sub_buffer.h>
-#include <glXxx/glx_mesa_pixmap_colormap.h>
-#include <glXxx/glx_mesa_release_buffers.h>
-#include <glXxx/glx_mesa_set_3dfx_mode.h>
-#include <glXxx/glx_sgix_visual_select_group.h>
-#include <glXxx/glx_oml_swap_method.h>
-#include <glXxx/glx_oml_sync_control.h>
-#include <glXxx/glx_nv_float_buffer.h>
-#include <glXxx/glx_sgix_hyperpipe.h>
-#include <glXxx/glx_mesa_agp_offset.h>
-#include <glXxx/glx_ext_fbconfig_packed_float.h>
-#include <glXxx/glx_ext_framebuffer_srgb.h>
-#include <glXxx/glx_ext_texture_from_pixmap.h>
-#include <glXxx/glx_nv_present_video.h>
-#include <glXxx/glx_nv_video_output.h>
-#include <glXxx/glx_nv_swap_group.h>
-#include <glXxx/glx_nv_video_capture.h>
-#include <glXxx/glx_ext_swap_control.h>
-#include <glXxx/glx_nv_copy_image.h>
-#include <glXxx/glx_intel_swap_event.h>
-#include <glXxx/glx_nv_multisample_coverage.h>
-#include <glXxx/glx_amd_gpu_association.h>
-#include <glXxx/glx_ext_create_context_es2_profile.h>
-
+#ifndef GLXXX_ALL
+#define GLXXX_ALL
+
+#include <glXxx/private/glx_version_1_3.h>
+#include <glXxx/private/glx_version_1_4.h>
+#include <glXxx/glx_arb_get_proc_address.h>
+#include <glXxx/glx_arb_multisample.h>
+#include <glXxx/glx_arb_vertex_buffer_object.h>
+#include <glXxx/glx_arb_fbconfig_float.h>
+#include <glXxx/glx_arb_framebuffer_srgb.h>
+#include <glXxx/glx_arb_create_context.h>
+#include <glXxx/glx_arb_create_context_profile.h>
+#include <glXxx/glx_arb_create_context_robustness.h>
+#include <glXxx/glx_sgis_multisample.h>
+#include <glXxx/glx_ext_visual_info.h>
+#include <glXxx/glx_sgi_swap_control.h>
+#include <glXxx/glx_sgi_video_sync.h>
+#include <glXxx/glx_sgi_make_current_read.h>
+#include <glXxx/glx_sgix_video_source.h>
+#include <glXxx/glx_ext_visual_rating.h>
+#include <glXxx/glx_ext_import_context.h>
+#include <glXxx/glx_sgix_fbconfig.h>
+#include <glXxx/glx_sgix_pbuffer.h>
+#include <glXxx/glx_sgi_cushion.h>
+#include <glXxx/glx_sgix_video_resize.h>
+#include <glXxx/glx_sgix_dmbuffer.h>
+#include <glXxx/glx_sgix_swap_group.h>
+#include <glXxx/glx_sgix_swap_barrier.h>
+#include <glXxx/glx_sgis_blended_overlay.h>
+#include <glXxx/glx_sgis_shared_multisample.h>
+#include <glXxx/glx_sun_get_transparent_index.h>
+#include <glXxx/glx_3dfx_multisample.h>
+#include <glXxx/glx_mesa_copy_sub_buffer.h>
+#include <glXxx/glx_mesa_pixmap_colormap.h>
+#include <glXxx/glx_mesa_release_buffers.h>
+#include <glXxx/glx_mesa_set_3dfx_mode.h>
+#include <glXxx/glx_sgix_visual_select_group.h>
+#include <glXxx/glx_oml_swap_method.h>
+#include <glXxx/glx_oml_sync_control.h>
+#include <glXxx/glx_nv_float_buffer.h>
+#include <glXxx/glx_sgix_hyperpipe.h>
+#include <glXxx/glx_mesa_agp_offset.h>
+#include <glXxx/glx_ext_fbconfig_packed_float.h>
+#include <glXxx/glx_ext_framebuffer_srgb.h>
+#include <glXxx/glx_ext_texture_from_pixmap.h>
+#include <glXxx/glx_nv_present_video.h>
+#include <glXxx/glx_nv_video_output.h>
+#include <glXxx/glx_nv_swap_group.h>
+#include <glXxx/glx_nv_video_capture.h>
+#include <glXxx/glx_ext_swap_control.h>
+#include <glXxx/glx_nv_copy_image.h>
+#include <glXxx/glx_intel_swap_event.h>
+#include <glXxx/glx_nv_multisample_coverage.h>
+#include <glXxx/glx_amd_gpu_association.h>
+#include <glXxx/glx_ext_create_context_es2_profile.h>
+
 #endif

File include/glXxx/glx_3dfx_multisample.h

View file
-#ifndef GLX_3DFX_multisample
-#define GLX_3DFX_multisample
-
-#include "private/glXxx.h"
-
-#define GLX_SAMPLE_BUFFERS_3DFX 0x8050
-#define GLX_SAMPLES_3DFX 0x8051
-
-bool has_glx_3dfx_multisample();
-
-#endif
+#ifndef GLX_3DFX_multisample
+#define GLX_3DFX_multisample
+
+#include "private/glXxx.h"
+
+#define GLX_SAMPLE_BUFFERS_3DFX 0x8050
+#define GLX_SAMPLES_3DFX 0x8051
+
+bool has_glx_3dfx_multisample();
+
+#endif

File include/glXxx/glx_amd_gpu_association.h

View file
-#ifndef GLX_AMD_gpu_association
-#define GLX_AMD_gpu_association
-
-#include "private/glXxx.h"
-
-#define GLX_GPU_VENDOR_AMD 0x1F00
-#define GLX_GPU_RENDERER_STRING_AMD 0x1F01
-#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
-#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
-#define GLX_GPU_RAM_AMD 0x21A3
-#define GLX_GPU_CLOCK_AMD 0x21A4
-#define GLX_GPU_NUM_PIPES_AMD 0x21A5
-#define GLX_GPU_NUM_SIMD_AMD 0x21A6
-#define GLX_GPU_NUM_RB_AMD 0x21A7
-#define GLX_GPU_NUM_SPI_AMD 0x21A8
-
-bool has_glx_amd_gpu_association();
-
-#endif
+#ifndef GLX_AMD_gpu_association
+#define GLX_AMD_gpu_association
+
+#include "private/glXxx.h"
+
+#define GLX_GPU_VENDOR_AMD 0x1F00
+#define GLX_GPU_RENDERER_STRING_AMD 0x1F01
+#define GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
+#define GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
+#define GLX_GPU_RAM_AMD 0x21A3
+#define GLX_GPU_CLOCK_AMD 0x21A4
+#define GLX_GPU_NUM_PIPES_AMD 0x21A5
+#define GLX_GPU_NUM_SIMD_AMD 0x21A6
+#define GLX_GPU_NUM_RB_AMD 0x21A7
+#define GLX_GPU_NUM_SPI_AMD 0x21A8
+
+bool has_glx_amd_gpu_association();
+
+#endif

File include/glXxx/glx_arb_create_context.h

View file
-#ifndef GLX_ARB_create_context
-#define GLX_ARB_create_context
-
-#include "private/glXxx.h"
-
-#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001
-#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
-#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
-#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
-#define GLX_CONTEXT_FLAGS_ARB 0x2094
-
-
-namespace glx_arb_create_context 
-{
-    GLXContext glXCreateContextAttribsARB(Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int* attrib_list);
-}
-bool has_glx_arb_create_context();
-bool load_glx_arb_create_context();
-
-#endif
+#ifndef GLX_ARB_create_context
+#define GLX_ARB_create_context
+
+#include "private/glXxx.h"
+
+#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001
+#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002
+#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091
+#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092
+#define GLX_CONTEXT_FLAGS_ARB 0x2094
+
+
+namespace glx_arb_create_context 
+{
+    GLXContext glXCreateContextAttribsARB(Display* dpy, GLXFBConfig config, GLXContext share_context, Bool direct, const int* attrib_list);
+}
+bool has_glx_arb_create_context();
+bool load_glx_arb_create_context();
+
+#endif

File include/glXxx/glx_arb_create_context_profile.h

View file
-#ifndef GLX_ARB_create_context_profile
-#define GLX_ARB_create_context_profile
-
-#include "private/glXxx.h"
-
-#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
-#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
-#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
-
-namespace glx_arb_create_context_profile 
-{
-}
-bool has_glx_arb_create_context_profile();
-
-#endif
+#ifndef GLX_ARB_create_context_profile
+#define GLX_ARB_create_context_profile
+
+#include "private/glXxx.h"
+
+#define GLX_CONTEXT_CORE_PROFILE_BIT_ARB 0x00000001
+#define GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB 0x00000002
+#define GLX_CONTEXT_PROFILE_MASK_ARB 0x9126
+
+namespace glx_arb_create_context_profile 
+{
+}
+bool has_glx_arb_create_context_profile();
+
+#endif

File include/glXxx/glx_arb_create_context_robustness.h

View file
-#ifndef GLX_ARB_create_context_robustness
-#define GLX_ARB_create_context_robustness
-
-#include "private/glXxx.h"
-
-#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
-#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
-#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
-#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
-
-namespace glx_arb_create_context_robustness 
-{
-}
-bool has_glx_arb_create_context_robustness();
-
-#endif
+#ifndef GLX_ARB_create_context_robustness
+#define GLX_ARB_create_context_robustness
+
+#include "private/glXxx.h"
+
+#define GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
+#define GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
+#define GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
+#define GLX_NO_RESET_NOTIFICATION_ARB 0x8261
+
+namespace glx_arb_create_context_robustness 
+{
+}
+bool has_glx_arb_create_context_robustness();
+
+#endif

File include/glXxx/glx_arb_fbconfig_float.h

View file
-#ifndef GLX_ARB_fbconfig_float
-#define GLX_ARB_fbconfig_float
-
-#include "private/glXxx.h"
-
-#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
-#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
-
-namespace glx_arb_fbconfig_float 
-{
-}
-bool has_glx_arb_fbconfig_float();
-
-#endif
+#ifndef GLX_ARB_fbconfig_float
+#define GLX_ARB_fbconfig_float
+
+#include "private/glXxx.h"
+
+#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
+#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
+
+namespace glx_arb_fbconfig_float 
+{
+}
+bool has_glx_arb_fbconfig_float();
+
+#endif

File include/glXxx/glx_arb_framebuffer_srgb.h

View file
-#ifndef GLX_ARB_framebuffer_sRGB
-#define GLX_ARB_framebuffer_sRGB
-
-#include "private/glXxx.h"
-
-#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
-
-namespace glx_arb_framebuffer_srgb 
-{
-}
-bool has_glx_arb_framebuffer_srgb();
-
-#endif
+#ifndef GLX_ARB_framebuffer_sRGB
+#define GLX_ARB_framebuffer_sRGB
+
+#include "private/glXxx.h"
+
+#define GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB 0x20B2
+
+namespace glx_arb_framebuffer_srgb 
+{
+}
+bool has_glx_arb_framebuffer_srgb();
+
+#endif

File include/glXxx/glx_arb_get_proc_address.h

View file
-#ifndef GLX_ARB_get_proc_address
-#define GLX_ARB_get_proc_address
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_arb_get_proc_address 
-{
-    __GLXextFuncPtr glXGetProcAddressARB(const GLubyte* procName);
-}
-bool has_glx_arb_get_proc_address();
-bool load_glx_arb_get_proc_address();
-
-#endif
+#ifndef GLX_ARB_get_proc_address
+#define GLX_ARB_get_proc_address
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_arb_get_proc_address 
+{
+    __GLXextFuncPtr glXGetProcAddressARB(const GLubyte* procName);
+}
+bool has_glx_arb_get_proc_address();
+bool load_glx_arb_get_proc_address();
+
+#endif

File include/glXxx/glx_arb_multisample.h

View file
-#ifndef GLX_ARB_multisample
-#define GLX_ARB_multisample
-
-#include "private/glXxx.h"
-
-#define GLX_SAMPLE_BUFFERS_ARB 100000
-#define GLX_SAMPLES_ARB 100001
-
-namespace glx_arb_multisample 
-{
-}
-bool has_glx_arb_multisample();
-
-#endif
+#ifndef GLX_ARB_multisample
+#define GLX_ARB_multisample
+
+#include "private/glXxx.h"
+
+#define GLX_SAMPLE_BUFFERS_ARB 100000
+#define GLX_SAMPLES_ARB 100001
+
+namespace glx_arb_multisample 
+{
+}
+bool has_glx_arb_multisample();
+
+#endif

File include/glXxx/glx_arb_vertex_buffer_object.h

View file
-#ifndef GLX_ARB_vertex_buffer_object
-#define GLX_ARB_vertex_buffer_object
-
-#include "private/glXxx.h"
-
-#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
-
-bool has_glx_arb_vertex_buffer_object();
-
-#endif
+#ifndef GLX_ARB_vertex_buffer_object
+#define GLX_ARB_vertex_buffer_object
+
+#include "private/glXxx.h"
+
+#define GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB 0x2095
+
+bool has_glx_arb_vertex_buffer_object();
+
+#endif

File include/glXxx/glx_ext_create_context_es2_profile.h

View file
-#ifndef GLX_EXT_create_context_es2_profile
-#define GLX_EXT_create_context_es2_profile
-
-#include "private/glXxx.h"
-
-#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
-
-bool has_glx_ext_create_context_es2_profile();
-
-#endif
+#ifndef GLX_EXT_create_context_es2_profile
+#define GLX_EXT_create_context_es2_profile
+
+#include "private/glXxx.h"
+
+#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
+
+bool has_glx_ext_create_context_es2_profile();
+
+#endif

File include/glXxx/glx_ext_fbconfig_packed_float.h

View file
-#ifndef GLX_EXT_fbconfig_packed_float
-#define GLX_EXT_fbconfig_packed_float
-
-#include "private/glXxx.h"
-
-#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
-#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
-
-namespace glx_ext_fbconfig_packed_float 
-{
-}
-bool has_glx_ext_fbconfig_packed_float();
-
-#endif
+#ifndef GLX_EXT_fbconfig_packed_float
+#define GLX_EXT_fbconfig_packed_float
+
+#include "private/glXxx.h"
+
+#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
+#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
+
+namespace glx_ext_fbconfig_packed_float 
+{
+}
+bool has_glx_ext_fbconfig_packed_float();
+
+#endif

File include/glXxx/glx_ext_framebuffer_srgb.h

View file
-#ifndef GLX_EXT_framebuffer_sRGB
-#define GLX_EXT_framebuffer_sRGB
-
-#include "private/glXxx.h"
-
-#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
-
-namespace glx_ext_framebuffer_srgb 
-{
-}
-bool has_glx_ext_framebuffer_srgb();
-
-#endif
+#ifndef GLX_EXT_framebuffer_sRGB
+#define GLX_EXT_framebuffer_sRGB
+
+#include "private/glXxx.h"
+
+#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
+
+namespace glx_ext_framebuffer_srgb 
+{
+}
+bool has_glx_ext_framebuffer_srgb();
+
+#endif

File include/glXxx/glx_ext_import_context.h

View file
-#ifndef GLX_EXT_import_context
-#define GLX_EXT_import_context
-
-#include "private/glXxx.h"
-
-#define GLX_SHARE_CONTEXT_EXT 0x800A
-#define GLX_VISUAL_ID_EXT 0x800B
-#define GLX_SCREEN_EXT 0x800C
-
-
-namespace glx_ext_import_context 
-{
-    Display * glXGetCurrentDisplayEXT();
-    int glXQueryContextInfoEXT(Display* dpy, GLXContext context, int attribute, int* value);
-    GLXContextID glXGetContextIDEXT(const GLXContext context);
-    GLXContext glXImportContextEXT(Display* dpy, GLXContextID contextID);
-    void glXFreeContextEXT(Display* dpy, GLXContext context);
-}
-bool has_glx_ext_import_context();
-bool load_glx_ext_import_context();
-
-#endif
+#ifndef GLX_EXT_import_context
+#define GLX_EXT_import_context
+
+#include "private/glXxx.h"
+
+#define GLX_SHARE_CONTEXT_EXT 0x800A
+#define GLX_VISUAL_ID_EXT 0x800B
+#define GLX_SCREEN_EXT 0x800C
+
+
+namespace glx_ext_import_context 
+{
+    Display * glXGetCurrentDisplayEXT();
+    int glXQueryContextInfoEXT(Display* dpy, GLXContext context, int attribute, int* value);
+    GLXContextID glXGetContextIDEXT(const GLXContext context);
+    GLXContext glXImportContextEXT(Display* dpy, GLXContextID contextID);
+    void glXFreeContextEXT(Display* dpy, GLXContext context);
+}
+bool has_glx_ext_import_context();
+bool load_glx_ext_import_context();
+
+#endif

File include/glXxx/glx_ext_swap_control.h

View file
-#ifndef GLX_EXT_swap_control
-#define GLX_EXT_swap_control
-
-#include "private/glXxx.h"
-
-#define GLX_SWAP_INTERVAL_EXT 0x20F1
-#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
-
-
-namespace glx_ext_swap_control 
-{
-    int glXSwapIntervalEXT(Display* dpy, GLXDrawable drawable, int interval);
-}
-bool has_glx_ext_swap_control();
-bool load_glx_ext_swap_control();
-
-#endif
+#ifndef GLX_EXT_swap_control
+#define GLX_EXT_swap_control
+
+#include "private/glXxx.h"
+
+#define GLX_SWAP_INTERVAL_EXT 0x20F1
+#define GLX_MAX_SWAP_INTERVAL_EXT 0x20F2
+
+
+namespace glx_ext_swap_control 
+{
+    int glXSwapIntervalEXT(Display* dpy, GLXDrawable drawable, int interval);
+}
+bool has_glx_ext_swap_control();
+bool load_glx_ext_swap_control();
+
+#endif

File include/glXxx/glx_ext_texture_from_pixmap.h

View file
-#ifndef GLX_EXT_texture_from_pixmap
-#define GLX_EXT_texture_from_pixmap
-
-#include "private/glXxx.h"
-
-#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
-#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
-#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
-#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
-#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
-#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
-#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
-#define GLX_Y_INVERTED_EXT 0x20D4
-#define GLX_TEXTURE_FORMAT_EXT 0x20D5
-#define GLX_TEXTURE_TARGET_EXT 0x20D6
-#define GLX_MIPMAP_TEXTURE_EXT 0x20D7
-#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
-#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
-#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
-#define GLX_TEXTURE_1D_EXT 0x20DB
-#define GLX_TEXTURE_2D_EXT 0x20DC
-#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
-#define GLX_FRONT_LEFT_EXT 0x20DE
-#define GLX_FRONT_RIGHT_EXT 0x20DF
-#define GLX_BACK_LEFT_EXT 0x20E0
-#define GLX_BACK_RIGHT_EXT 0x20E1
-#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT
-#define GLX_BACK_EXT GLX_BACK_LEFT_EXT
-#define GLX_AUX0_EXT 0x20E2
-#define GLX_AUX1_EXT 0x20E3
-#define GLX_AUX2_EXT 0x20E4
-#define GLX_AUX3_EXT 0x20E5
-#define GLX_AUX4_EXT 0x20E6
-#define GLX_AUX5_EXT 0x20E7
-#define GLX_AUX6_EXT 0x20E8
-#define GLX_AUX7_EXT 0x20E9
-#define GLX_AUX8_EXT 0x20EA
-#define GLX_AUX9_EXT 0x20EB
-
-
-namespace glx_ext_texture_from_pixmap 
-{
-    void glXBindTexImageEXT(Display* dpy, GLXDrawable drawable, int buffer, const int* attrib_list);
-    void glXReleaseTexImageEXT(Display* dpy, GLXDrawable drawable, int buffer);
-}
-bool has_glx_ext_texture_from_pixmap();
-bool load_glx_ext_texture_from_pixmap();
-
-#endif
+#ifndef GLX_EXT_texture_from_pixmap
+#define GLX_EXT_texture_from_pixmap
+
+#include "private/glXxx.h"
+
+#define GLX_TEXTURE_1D_BIT_EXT 0x00000001
+#define GLX_TEXTURE_2D_BIT_EXT 0x00000002
+#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
+#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
+#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
+#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
+#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
+#define GLX_Y_INVERTED_EXT 0x20D4
+#define GLX_TEXTURE_FORMAT_EXT 0x20D5
+#define GLX_TEXTURE_TARGET_EXT 0x20D6
+#define GLX_MIPMAP_TEXTURE_EXT 0x20D7
+#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
+#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
+#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
+#define GLX_TEXTURE_1D_EXT 0x20DB
+#define GLX_TEXTURE_2D_EXT 0x20DC
+#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
+#define GLX_FRONT_LEFT_EXT 0x20DE
+#define GLX_FRONT_RIGHT_EXT 0x20DF
+#define GLX_BACK_LEFT_EXT 0x20E0
+#define GLX_BACK_RIGHT_EXT 0x20E1
+#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT
+#define GLX_BACK_EXT GLX_BACK_LEFT_EXT
+#define GLX_AUX0_EXT 0x20E2
+#define GLX_AUX1_EXT 0x20E3
+#define GLX_AUX2_EXT 0x20E4
+#define GLX_AUX3_EXT 0x20E5
+#define GLX_AUX4_EXT 0x20E6
+#define GLX_AUX5_EXT 0x20E7
+#define GLX_AUX6_EXT 0x20E8
+#define GLX_AUX7_EXT 0x20E9
+#define GLX_AUX8_EXT 0x20EA
+#define GLX_AUX9_EXT 0x20EB
+
+
+namespace glx_ext_texture_from_pixmap 
+{
+    void glXBindTexImageEXT(Display* dpy, GLXDrawable drawable, int buffer, const int* attrib_list);
+    void glXReleaseTexImageEXT(Display* dpy, GLXDrawable drawable, int buffer);
+}
+bool has_glx_ext_texture_from_pixmap();
+bool load_glx_ext_texture_from_pixmap();
+
+#endif

File include/glXxx/glx_ext_visual_info.h

View file
-#ifndef GLX_EXT_visual_info
-#define GLX_EXT_visual_info
-
-#include "private/glXxx.h"
-
-#define GLX_X_VISUAL_TYPE_EXT 0x22
-#define GLX_TRANSPARENT_TYPE_EXT 0x23
-#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
-#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
-#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
-#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
-#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
-#define GLX_NONE_EXT 0x8000
-#define GLX_TRUE_COLOR_EXT 0x8002
-#define GLX_DIRECT_COLOR_EXT 0x8003
-#define GLX_PSEUDO_COLOR_EXT 0x8004
-#define GLX_STATIC_COLOR_EXT 0x8005
-#define GLX_GRAY_SCALE_EXT 0x8006
-#define GLX_STATIC_GRAY_EXT 0x8007
-#define GLX_TRANSPARENT_RGB_EXT 0x8008
-#define GLX_TRANSPARENT_INDEX_EXT 0x8009
-
-namespace glx_ext_visual_info 
-{
-}
-bool has_glx_ext_visual_info();
-
-#endif
+#ifndef GLX_EXT_visual_info
+#define GLX_EXT_visual_info
+
+#include "private/glXxx.h"
+
+#define GLX_X_VISUAL_TYPE_EXT 0x22
+#define GLX_TRANSPARENT_TYPE_EXT 0x23
+#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
+#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
+#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
+#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
+#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
+#define GLX_NONE_EXT 0x8000
+#define GLX_TRUE_COLOR_EXT 0x8002
+#define GLX_DIRECT_COLOR_EXT 0x8003
+#define GLX_PSEUDO_COLOR_EXT 0x8004
+#define GLX_STATIC_COLOR_EXT 0x8005
+#define GLX_GRAY_SCALE_EXT 0x8006
+#define GLX_STATIC_GRAY_EXT 0x8007
+#define GLX_TRANSPARENT_RGB_EXT 0x8008
+#define GLX_TRANSPARENT_INDEX_EXT 0x8009
+
+namespace glx_ext_visual_info 
+{
+}
+bool has_glx_ext_visual_info();
+
+#endif

File include/glXxx/glx_ext_visual_rating.h

View file
-#ifndef GLX_EXT_visual_rating
-#define GLX_EXT_visual_rating
-
-#include "private/glXxx.h"
-
-#define GLX_VISUAL_CAVEAT_EXT 0x20
-#define GLX_SLOW_VISUAL_EXT 0x8001
-#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
-#define GLX_NONE_EXT 0x8000
-
-namespace glx_ext_visual_rating 
-{
-}
-bool has_glx_ext_visual_rating();
-
-#endif
+#ifndef GLX_EXT_visual_rating
+#define GLX_EXT_visual_rating
+
+#include "private/glXxx.h"
+
+#define GLX_VISUAL_CAVEAT_EXT 0x20
+#define GLX_SLOW_VISUAL_EXT 0x8001
+#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
+#define GLX_NONE_EXT 0x8000
+
+namespace glx_ext_visual_rating 
+{
+}
+bool has_glx_ext_visual_rating();
+
+#endif

File include/glXxx/glx_intel_swap_event.h

View file
-#ifndef GLX_INTEL_swap_event
-#define GLX_INTEL_swap_event
-
-#include "private/glXxx.h"
-
-#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
-#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
-#define GLX_COPY_COMPLETE_INTEL 0x8181
-#define GLX_FLIP_COMPLETE_INTEL 0x8182
-
-namespace glx_intel_swap_event 
-{
-}
-bool has_glx_intel_swap_event();
-
-#endif
+#ifndef GLX_INTEL_swap_event
+#define GLX_INTEL_swap_event
+
+#include "private/glXxx.h"
+
+#define GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK 0x04000000
+#define GLX_EXCHANGE_COMPLETE_INTEL 0x8180
+#define GLX_COPY_COMPLETE_INTEL 0x8181
+#define GLX_FLIP_COMPLETE_INTEL 0x8182
+
+namespace glx_intel_swap_event 
+{
+}
+bool has_glx_intel_swap_event();
+
+#endif

File include/glXxx/glx_mesa_agp_offset.h

View file
-#ifndef GLX_MESA_agp_offset
-#define GLX_MESA_agp_offset
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_mesa_agp_offset 
-{
-    unsigned int glXGetAGPOffsetMESA(const void* pointer);
-}
-bool has_glx_mesa_agp_offset();
-bool load_glx_mesa_agp_offset();
-
-#endif
+#ifndef GLX_MESA_agp_offset
+#define GLX_MESA_agp_offset
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_mesa_agp_offset 
+{
+    unsigned int glXGetAGPOffsetMESA(const void* pointer);
+}
+bool has_glx_mesa_agp_offset();
+bool load_glx_mesa_agp_offset();
+
+#endif

File include/glXxx/glx_mesa_copy_sub_buffer.h

View file
-#ifndef GLX_MESA_copy_sub_buffer
-#define GLX_MESA_copy_sub_buffer
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_mesa_copy_sub_buffer 
-{
-    void glXCopySubBufferMESA(Display* dpy, GLXDrawable drawable, int x, int y, int width, int height);
-}
-bool has_glx_mesa_copy_sub_buffer();
-bool load_glx_mesa_copy_sub_buffer();
-
-#endif
+#ifndef GLX_MESA_copy_sub_buffer
+#define GLX_MESA_copy_sub_buffer
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_mesa_copy_sub_buffer 
+{
+    void glXCopySubBufferMESA(Display* dpy, GLXDrawable drawable, int x, int y, int width, int height);
+}
+bool has_glx_mesa_copy_sub_buffer();
+bool load_glx_mesa_copy_sub_buffer();
+
+#endif

File include/glXxx/glx_mesa_pixmap_colormap.h

View file
-#ifndef GLX_MESA_pixmap_colormap
-#define GLX_MESA_pixmap_colormap
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_mesa_pixmap_colormap 
-{
-    GLXPixmap glXCreateGLXPixmapMESA(Display* dpy, XVisualInfo* visual, Pixmap pixmap, Colormap cmap);
-}
-bool has_glx_mesa_pixmap_colormap();
-bool load_glx_mesa_pixmap_colormap();
-
-#endif
+#ifndef GLX_MESA_pixmap_colormap
+#define GLX_MESA_pixmap_colormap
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_mesa_pixmap_colormap 
+{
+    GLXPixmap glXCreateGLXPixmapMESA(Display* dpy, XVisualInfo* visual, Pixmap pixmap, Colormap cmap);
+}
+bool has_glx_mesa_pixmap_colormap();
+bool load_glx_mesa_pixmap_colormap();
+
+#endif

File include/glXxx/glx_mesa_release_buffers.h

View file
-#ifndef GLX_MESA_release_buffers
-#define GLX_MESA_release_buffers
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_mesa_release_buffers 
-{
-    Bool glXReleaseBuffersMESA(Display* dpy, GLXDrawable drawable);
-}
-bool has_glx_mesa_release_buffers();
-bool load_glx_mesa_release_buffers();
-
-#endif
+#ifndef GLX_MESA_release_buffers
+#define GLX_MESA_release_buffers
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_mesa_release_buffers 
+{
+    Bool glXReleaseBuffersMESA(Display* dpy, GLXDrawable drawable);
+}
+bool has_glx_mesa_release_buffers();
+bool load_glx_mesa_release_buffers();
+
+#endif

File include/glXxx/glx_mesa_set_3dfx_mode.h

View file
-#ifndef GLX_MESA_set_3dfx_mode
-#define GLX_MESA_set_3dfx_mode
-
-#include "private/glXxx.h"
-
-#define GLX_3DFX_WINDOW_MODE_MESA 0x1
-#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
-
-
-namespace glx_mesa_set_3dfx_mode 
-{
-    Bool glXSet3DfxModeMESA(int mode);
-}
-bool has_glx_mesa_set_3dfx_mode();
-bool load_glx_mesa_set_3dfx_mode();
-
-#endif
+#ifndef GLX_MESA_set_3dfx_mode
+#define GLX_MESA_set_3dfx_mode
+
+#include "private/glXxx.h"
+
+#define GLX_3DFX_WINDOW_MODE_MESA 0x1
+#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
+
+
+namespace glx_mesa_set_3dfx_mode 
+{
+    Bool glXSet3DfxModeMESA(int mode);
+}
+bool has_glx_mesa_set_3dfx_mode();
+bool load_glx_mesa_set_3dfx_mode();
+
+#endif

File include/glXxx/glx_nv_copy_image.h

View file
-#ifndef GLX_NV_copy_image
-#define GLX_NV_copy_image
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_nv_copy_image 
-{
-    void glXCopyImageSubDataNV(Display* dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
-}
-bool has_glx_nv_copy_image();
-bool load_glx_nv_copy_image();
-
-#endif
+#ifndef GLX_NV_copy_image
+#define GLX_NV_copy_image
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_nv_copy_image 
+{
+    void glXCopyImageSubDataNV(Display* dpy, GLXContext srcCtx, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLXContext dstCtx, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth);
+}
+bool has_glx_nv_copy_image();
+bool load_glx_nv_copy_image();
+
+#endif

File include/glXxx/glx_nv_float_buffer.h

View file
-#ifndef GLX_NV_float_buffer
-#define GLX_NV_float_buffer
-
-#include "private/glXxx.h"
-
-#define GLX_FLOAT_COMPONENTS_NV 0x20B0
-
-namespace glx_nv_float_buffer 
-{
-}
-bool has_glx_nv_float_buffer();
-
-#endif
+#ifndef GLX_NV_float_buffer
+#define GLX_NV_float_buffer
+
+#include "private/glXxx.h"
+
+#define GLX_FLOAT_COMPONENTS_NV 0x20B0
+
+namespace glx_nv_float_buffer 
+{
+}
+bool has_glx_nv_float_buffer();
+
+#endif

File include/glXxx/glx_nv_multisample_coverage.h

View file
-#ifndef GLX_NV_multisample_coverage
-#define GLX_NV_multisample_coverage
-
-#include "private/glXxx.h"
-
-#define GLX_COVERAGE_SAMPLES_NV 100001
-#define GLX_COLOR_SAMPLES_NV 0x20B3
-
-namespace glx_nv_multisample_coverage 
-{
-}
-bool has_glx_nv_multisample_coverage();
-
-#endif
+#ifndef GLX_NV_multisample_coverage
+#define GLX_NV_multisample_coverage
+
+#include "private/glXxx.h"
+
+#define GLX_COVERAGE_SAMPLES_NV 100001
+#define GLX_COLOR_SAMPLES_NV 0x20B3
+
+namespace glx_nv_multisample_coverage 
+{
+}
+bool has_glx_nv_multisample_coverage();
+
+#endif

File include/glXxx/glx_nv_present_video.h

View file
-#ifndef GLX_NV_present_video
-#define GLX_NV_present_video
-
-#include "private/glXxx.h"
-
-#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
-
-
-namespace glx_nv_present_video 
-{
-    unsigned int * glXEnumerateVideoDevicesNV(Display* dpy, int screen, int* nelements);
-    int glXBindVideoDeviceNV(Display* dpy, unsigned int video_slot, unsigned int video_device, const int* attrib_list);
-}
-bool has_glx_nv_present_video();
-bool load_glx_nv_present_video();
-
-#endif
+#ifndef GLX_NV_present_video
+#define GLX_NV_present_video
+
+#include "private/glXxx.h"
+
+#define GLX_NUM_VIDEO_SLOTS_NV 0x20F0
+
+
+namespace glx_nv_present_video 
+{
+    unsigned int * glXEnumerateVideoDevicesNV(Display* dpy, int screen, int* nelements);
+    int glXBindVideoDeviceNV(Display* dpy, unsigned int video_slot, unsigned int video_device, const int* attrib_list);
+}
+bool has_glx_nv_present_video();
+bool load_glx_nv_present_video();
+
+#endif

File include/glXxx/glx_nv_swap_group.h

View file
-#ifndef GLX_NV_swap_group
-#define GLX_NV_swap_group
-
-#include "private/glXxx.h"
-
-
-
-namespace glx_nv_swap_group 
-{
-    Bool glXJoinSwapGroupNV(Display* dpy, GLXDrawable drawable, GLuint group);
-    Bool glXBindSwapBarrierNV(Display* dpy, GLuint group, GLuint barrier);
-    Bool glXQuerySwapGroupNV(Display* dpy, GLXDrawable drawable, GLuint* group, GLuint* barrier);
-    Bool glXQueryMaxSwapGroupsNV(Display* dpy, int screen, GLuint* maxGroups, GLuint* maxBarriers);
-    Bool glXQueryFrameCountNV(Display* dpy, int screen, GLuint* count);
-    Bool glXResetFrameCountNV(Display* dpy, int screen);
-}
-bool has_glx_nv_swap_group();
-bool load_glx_nv_swap_group();
-
-#endif
+#ifndef GLX_NV_swap_group
+#define GLX_NV_swap_group
+
+#include "private/glXxx.h"
+
+
+
+namespace glx_nv_swap_group 
+{
+    Bool glXJoinSwapGroupNV(Display* dpy, GLXDrawable drawable, GLuint group);
+    Bool glXBindSwapBarrierNV(Display* dpy, GLuint group, GLuint barrier);
+    Bool glXQuerySwapGroupNV(Display* dpy, GLXDrawable drawable, GLuint* group, GLuint* barrier);
+    Bool glXQueryMaxSwapGroupsNV(Display* dpy, int screen, GLuint* maxGroups, GLuint* maxBarriers);
+    Bool glXQueryFrameCountNV(Display* dpy, int screen, GLuint* count);
+    Bool glXResetFrameCountNV(Display* dpy, int screen);
+}
+bool has_glx_nv_swap_group();
+bool load_glx_nv_swap_group();
+
+#endif

File include/glXxx/glx_nv_video_capture.h

View file
-#ifndef GLX_NV_video_capture
-#define GLX_NV_video_capture
-
-#include "private/glXxx.h"
-
-#define GLX_DEVICE_ID_NV 0x20CD
-#define GLX_UNIQUE_ID_NV 0x20CE
-#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
-
-
-namespace glx_nv_video_capture 
-{
-    int glXBindVideoCaptureDeviceNV(Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
-    GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV(Display* dpy, int screen, int* nelements);
-    void glXLockVideoCaptureDeviceNV(Display* dpy, GLXVideoCaptureDeviceNV device);
-    int glXQueryVideoCaptureDeviceNV(Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int* value);
-    void glXReleaseVideoCaptureDeviceNV(Display* dpy, GLXVideoCaptureDeviceNV device);
-}
-bool has_glx_nv_video_capture();
-bool load_glx_nv_video_capture();
-
-#endif
+#ifndef GLX_NV_video_capture
+#define GLX_NV_video_capture
+
+#include "private/glXxx.h"
+
+#define GLX_DEVICE_ID_NV 0x20CD
+#define GLX_UNIQUE_ID_NV 0x20CE
+#define GLX_NUM_VIDEO_CAPTURE_SLOTS_NV 0x20CF
+
+
+namespace glx_nv_video_capture 
+{
+    int glXBindVideoCaptureDeviceNV(Display* dpy, unsigned int video_capture_slot, GLXVideoCaptureDeviceNV device);
+    GLXVideoCaptureDeviceNV * glXEnumerateVideoCaptureDevicesNV(Display* dpy, int screen, int* nelements);
+    void glXLockVideoCaptureDeviceNV(Display* dpy, GLXVideoCaptureDeviceNV device);
+    int glXQueryVideoCaptureDeviceNV(Display* dpy, GLXVideoCaptureDeviceNV device, int attribute, int* value);
+    void glXReleaseVideoCaptureDeviceNV(Display* dpy, GLXVideoCaptureDeviceNV device);
+}
+bool has_glx_nv_video_capture();
+bool load_glx_nv_video_capture();
+
+#endif

File include/glXxx/glx_nv_video_output.h

View file
-#ifndef GLX_NV_video_output
-#define GLX_NV_video_output
-
-#include "private/glXxx.h"
-
-#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
-#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
-#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
-#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
-#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
-#define GLX_VIDEO_OUT_FRAME_NV 0x20C8
-#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
-#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
-#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
-#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
-
-
-namespace glx_nv_video_output 
-{
-    int glXGetVideoDeviceNV(Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV* pVideoDevice);
-    int glXReleaseVideoDeviceNV(Display* dpy, int screen, GLXVideoDeviceNV VideoDevice);
-    int glXBindVideoImageNV(Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
-    int glXReleaseVideoImageNV(Display* dpy, GLXPbuffer pbuf);
-    int glXSendPbufferToVideoNV(Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long* pulCounterPbuffer, GLboolean bBlock);
-    int glXGetVideoInfoNV(Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long* pulCounterOutputVideo);
-}
-bool has_glx_nv_video_output();
-bool load_glx_nv_video_output();
-
-#endif
+#ifndef GLX_NV_video_output
+#define GLX_NV_video_output
+
+#include "private/glXxx.h"
+
+#define GLX_VIDEO_OUT_COLOR_NV 0x20C3
+#define GLX_VIDEO_OUT_ALPHA_NV 0x20C4
+#define GLX_VIDEO_OUT_DEPTH_NV 0x20C5
+#define GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
+#define GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
+#define GLX_VIDEO_OUT_FRAME_NV 0x20C8
+#define GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
+#define GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
+#define GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
+#define GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
+
+
+namespace glx_nv_video_output 
+{
+    int glXGetVideoDeviceNV(Display* dpy, int screen, int numVideoDevices, GLXVideoDeviceNV* pVideoDevice);
+    int glXReleaseVideoDeviceNV(Display* dpy, int screen, GLXVideoDeviceNV VideoDevice);
+    int glXBindVideoImageNV(Display* dpy, GLXVideoDeviceNV VideoDevice, GLXPbuffer pbuf, int iVideoBuffer);
+    int glXReleaseVideoImageNV(Display* dpy, GLXPbuffer pbuf);
+    int glXSendPbufferToVideoNV(Display* dpy, GLXPbuffer pbuf, int iBufferType, unsigned long* pulCounterPbuffer, GLboolean bBlock);
+    int glXGetVideoInfoNV(Display* dpy, int screen, GLXVideoDeviceNV VideoDevice, unsigned long* pulCounterOutputPbuffer, unsigned long* pulCounterOutputVideo);
+}
+bool has_glx_nv_video_output();
+bool load_glx_nv_video_output();
+
+#endif