Commit 07518fba authored by hybrid's avatar hybrid

New glext.h and glxext.h including support in ExtensionHandler for OpenGL 3.0 additions.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@1502 dfc29bdd-3216-0410-991c-e03cc46cb475
parent f1198e2c
...@@ -12,7 +12,7 @@ Changes in version 1.5 (... 2008) ...@@ -12,7 +12,7 @@ Changes in version 1.5 (... 2008)
- Fixed usage of SIrrCreationParameters struct, which dind't have copy constructor and assignment operator anymore, since the Irrlicht version string was made const. - Fixed usage of SIrrCreationParameters struct, which dind't have copy constructor and assignment operator anymore, since the Irrlicht version string was made const.
- New glext.h (version 40) - New glext.h (version 41) and glxext.h (version 20) supporting OpenGL 3.0
- Added support for read-only locking of textures. Can speed up those calls. - Added support for read-only locking of textures. Can speed up those calls.
...@@ -139,6 +139,10 @@ Changes in version 1.5 (... 2008) ...@@ -139,6 +139,10 @@ Changes in version 1.5 (... 2008)
- Fixed a performance bug in ISceneNode constructor reported by izhbq412 - Fixed a performance bug in ISceneNode constructor reported by izhbq412
- Win32 device now makes the cursor invisible immediately when setVisible(false) is called.
- Command line tool for mesh conversion added.
- Added volume light scene node - Added volume light scene node
- .obj files now won't duplicate vertices unnecessarily. This allows recalculation of smooth normals and other things, and is also faster when rendering. The loading is a little slower now. - .obj files now won't duplicate vertices unnecessarily. This allows recalculation of smooth normals and other things, and is also faster when rendering. The loading is a little slower now.
...@@ -151,7 +155,8 @@ Changes in version 1.5 (... 2008) ...@@ -151,7 +155,8 @@ Changes in version 1.5 (... 2008)
- Windows Mobile 6 SDK - Windows Mobile 6 SDK
- Visual Studio 2005 - Visual Studio 2005
- b3d meshes now always contain proper normals. Also some other bugs fixed. - Added checks to avoid buffer overrun in b3d loader. Enabled normals calculation in all cases, previously it was not done for lightmapped meshes.
Fixed transparency support. Added mipmap creation flag support which might disable mipmap creation too often. Should be checked.
- Burningvideo: MipMap Selection repaired - Burningvideo: MipMap Selection repaired
...@@ -159,7 +164,7 @@ Changes in version 1.5 (... 2008) ...@@ -159,7 +164,7 @@ Changes in version 1.5 (... 2008)
- Added collision manager speedup patch by RogerBorg. - Added collision manager speedup patch by RogerBorg.
- The d3d textures don't keep the initial IImage copied, but use the texture data to recover. - D3D drivers now releases the IImage member from initialization, thus freeing lots of memory. The image is accessible via the driver anyway.
- SDL device character handling enhanced. - SDL device character handling enhanced.
...@@ -188,6 +193,8 @@ Changes in version 1.5 (... 2008) ...@@ -188,6 +193,8 @@ Changes in version 1.5 (... 2008)
Nodes are now solid or transparent. ( but still more states are needed ) Nodes are now solid or transparent. ( but still more states are needed )
- GUI: - GUI:
- Editbox didn't draw children
- Checking IsEnabled is now consistent across all GUI elements - Checking IsEnabled is now consistent across all GUI elements
- Move window to front bug fixed. - Move window to front bug fixed.
- Disabling the BMP loader now compiles without the built-in font - Disabling the BMP loader now compiles without the built-in font
...@@ -197,7 +204,6 @@ Changes in version 1.5 (... 2008) ...@@ -197,7 +204,6 @@ Changes in version 1.5 (... 2008)
- Fixed a bug in CGUISpriteBank which caused a crash when a non-looping animated sprite reached the end of its animation. - Fixed a bug in CGUISpriteBank which caused a crash when a non-looping animated sprite reached the end of its animation.
- Modal screens no longer flash invisible children when rejecting a focus change. - Modal screens no longer flash invisible children when rejecting a focus change.
- Finally added StarSonata patch with table element and TabControl additions. Table is based on MultiColor listbox by Acki, and has loads of changes by CuteAlien. - Finally added StarSonata patch with table element and TabControl additions. Table is based on MultiColor listbox by Acki, and has loads of changes by CuteAlien.
- EditBox didn't draw children.
------------------------------------------- -------------------------------------------
Changes in version 1.4.2 (x.x.2008) Changes in version 1.4.2 (x.x.2008)
......
...@@ -81,13 +81,21 @@ static const char* const OpenGLFeatureStrings[] = { ...@@ -81,13 +81,21 @@ static const char* const OpenGLFeatureStrings[] = {
"GL_APPLE_vertex_array_range", "GL_APPLE_vertex_array_range",
"GL_APPLE_ycbcr_422", "GL_APPLE_ycbcr_422",
"GL_ARB_color_buffer_float", "GL_ARB_color_buffer_float",
"GL_ARB_depth_buffer_float",
"GL_ARB_depth_texture", "GL_ARB_depth_texture",
"GL_ARB_draw_buffers", "GL_ARB_draw_buffers",
"GL_ARB_draw_instanced",
"GL_ARB_fragment_program", "GL_ARB_fragment_program",
"GL_ARB_fragment_program_shadow", "GL_ARB_fragment_program_shadow",
"GL_ARB_fragment_shader", "GL_ARB_fragment_shader",
"GL_ARB_framebuffer_object",
"GL_ARB_framebuffer_sRGB",
"GL_ARB_geometry_shader4",
"GL_ARB_half_float_pixel", "GL_ARB_half_float_pixel",
"GL_ARB_half_float_vertex",
"GL_ARB_imaging", "GL_ARB_imaging",
"GL_ARB_instanced_arrays",
"GL_ARB_map_buffer_range",
"GL_ARB_matrix_palette", "GL_ARB_matrix_palette",
"GL_ARB_multisample", "GL_ARB_multisample",
"GL_ARB_multitexture", "GL_ARB_multitexture",
...@@ -100,7 +108,9 @@ static const char* const OpenGLFeatureStrings[] = { ...@@ -100,7 +108,9 @@ static const char* const OpenGLFeatureStrings[] = {
"GL_ARB_shadow", "GL_ARB_shadow",
"GL_ARB_shadow_ambient", "GL_ARB_shadow_ambient",
"GL_ARB_texture_border_clamp", "GL_ARB_texture_border_clamp",
"GL_ARB_texture_buffer_object",
"GL_ARB_texture_compression", "GL_ARB_texture_compression",
"GL_ARB_texture_compression_rgtc",
"GL_ARB_texture_cube_map", "GL_ARB_texture_cube_map",
"GL_ARB_texture_env_add", "GL_ARB_texture_env_add",
"GL_ARB_texture_env_combine", "GL_ARB_texture_env_combine",
...@@ -110,7 +120,9 @@ static const char* const OpenGLFeatureStrings[] = { ...@@ -110,7 +120,9 @@ static const char* const OpenGLFeatureStrings[] = {
"GL_ARB_texture_mirrored_repeat", "GL_ARB_texture_mirrored_repeat",
"GL_ARB_texture_non_power_of_two", "GL_ARB_texture_non_power_of_two",
"GL_ARB_texture_rectangle", "GL_ARB_texture_rectangle",
"GL_ARB_texture_rg",
"GL_ARB_transpose_matrix", "GL_ARB_transpose_matrix",
"GL_ARB_vertex_array_object",
"GL_ARB_vertex_blend", "GL_ARB_vertex_blend",
"GL_ARB_vertex_buffer_object", "GL_ARB_vertex_buffer_object",
"GL_ARB_vertex_program", "GL_ARB_vertex_program",
...@@ -208,6 +220,7 @@ static const char* const OpenGLFeatureStrings[] = { ...@@ -208,6 +220,7 @@ static const char* const OpenGLFeatureStrings[] = {
"GL_EXT_texture_shared_exponent", "GL_EXT_texture_shared_exponent",
"GL_EXT_texture_sRGB", "GL_EXT_texture_sRGB",
"GL_EXT_timer_query", "GL_EXT_timer_query",
"GL_EXT_transform_feedback",
"GL_EXT_vertex_array", "GL_EXT_vertex_array",
"GL_EXT_vertex_shader", "GL_EXT_vertex_shader",
"GL_EXT_vertex_weighting", "GL_EXT_vertex_weighting",
...@@ -235,6 +248,7 @@ static const char* const OpenGLFeatureStrings[] = { ...@@ -235,6 +248,7 @@ static const char* const OpenGLFeatureStrings[] = {
"GL_MESAX_texture_stack", "GL_MESAX_texture_stack",
"GL_MESA_ycbcr_texture", "GL_MESA_ycbcr_texture",
"GL_NV_blend_square", "GL_NV_blend_square",
"GL_NV_conditional_render",
"GL_NV_copy_depth_to_color", "GL_NV_copy_depth_to_color",
"GL_NV_depth_buffer_float", "GL_NV_depth_buffer_float",
"GL_NV_depth_clamp", "GL_NV_depth_clamp",
...@@ -258,6 +272,7 @@ static const char* const OpenGLFeatureStrings[] = { ...@@ -258,6 +272,7 @@ static const char* const OpenGLFeatureStrings[] = {
"GL_NV_parameter_buffer_object", "GL_NV_parameter_buffer_object",
"GL_NV_pixel_data_range", "GL_NV_pixel_data_range",
"GL_NV_point_sprite", "GL_NV_point_sprite",
"GL_NV_present_video",
"GL_NV_primitive_restart", "GL_NV_primitive_restart",
"GL_NV_register_combiners", "GL_NV_register_combiners",
"GL_NV_register_combiners2", "GL_NV_register_combiners2",
...@@ -376,13 +391,21 @@ class COpenGLExtensionHandler ...@@ -376,13 +391,21 @@ class COpenGLExtensionHandler
IRR_APPLE_vertex_array_range, IRR_APPLE_vertex_array_range,
IRR_APPLE_ycbcr_422, IRR_APPLE_ycbcr_422,
IRR_ARB_color_buffer_float, IRR_ARB_color_buffer_float,
IRR_ARB_depth_buffer_float,
IRR_ARB_depth_texture, IRR_ARB_depth_texture,
IRR_ARB_draw_buffers, IRR_ARB_draw_buffers,
IRR_ARB_draw_instanced,
IRR_ARB_fragment_program, IRR_ARB_fragment_program,
IRR_ARB_fragment_program_shadow, IRR_ARB_fragment_program_shadow,
IRR_ARB_fragment_shader, IRR_ARB_fragment_shader,
IRR_ARB_framebuffer_object,
IRR_ARB_framebuffer_sRGB,
IRR_ARB_geometry_shader4,
IRR_ARB_half_float_pixel, IRR_ARB_half_float_pixel,
IRR_ARB_half_float_vertex,
IRR_ARB_imaging, IRR_ARB_imaging,
IRR_ARB_instanced_arrays,
IRR_ARB_map_buffer_range,
IRR_ARB_matrix_palette, IRR_ARB_matrix_palette,
IRR_ARB_multisample, IRR_ARB_multisample,
IRR_ARB_multitexture, IRR_ARB_multitexture,
...@@ -395,7 +418,9 @@ class COpenGLExtensionHandler ...@@ -395,7 +418,9 @@ class COpenGLExtensionHandler
IRR_ARB_shadow, IRR_ARB_shadow,
IRR_ARB_shadow_ambient, IRR_ARB_shadow_ambient,
IRR_ARB_texture_border_clamp, IRR_ARB_texture_border_clamp,
IRR_ARB_texture_buffer_object,
IRR_ARB_texture_compression, IRR_ARB_texture_compression,
IRR_ARB_texture_compression_rgtc,
IRR_ARB_texture_cube_map, IRR_ARB_texture_cube_map,
IRR_ARB_texture_env_add, IRR_ARB_texture_env_add,
IRR_ARB_texture_env_combine, IRR_ARB_texture_env_combine,
...@@ -405,7 +430,9 @@ class COpenGLExtensionHandler ...@@ -405,7 +430,9 @@ class COpenGLExtensionHandler
IRR_ARB_texture_mirrored_repeat, IRR_ARB_texture_mirrored_repeat,
IRR_ARB_texture_non_power_of_two, IRR_ARB_texture_non_power_of_two,
IRR_ARB_texture_rectangle, IRR_ARB_texture_rectangle,
IRR_ARB_texture_rg,
IRR_ARB_transpose_matrix, IRR_ARB_transpose_matrix,
IRR_ARB_vertex_array_object,
IRR_ARB_vertex_blend, IRR_ARB_vertex_blend,
IRR_ARB_vertex_buffer_object, IRR_ARB_vertex_buffer_object,
IRR_ARB_vertex_program, IRR_ARB_vertex_program,
...@@ -503,6 +530,7 @@ class COpenGLExtensionHandler ...@@ -503,6 +530,7 @@ class COpenGLExtensionHandler
IRR_EXT_texture_shared_exponent, IRR_EXT_texture_shared_exponent,
IRR_EXT_texture_sRGB, IRR_EXT_texture_sRGB,
IRR_EXT_timer_query, IRR_EXT_timer_query,
IRR_EXT_transform_feedback,
IRR_EXT_vertex_array, IRR_EXT_vertex_array,
IRR_EXT_vertex_shader, IRR_EXT_vertex_shader,
IRR_EXT_vertex_weighting, IRR_EXT_vertex_weighting,
...@@ -530,6 +558,7 @@ class COpenGLExtensionHandler ...@@ -530,6 +558,7 @@ class COpenGLExtensionHandler
IRR_MESAX_texture_stack, IRR_MESAX_texture_stack,
IRR_MESA_ycbcr_texture, IRR_MESA_ycbcr_texture,
IRR_NV_blend_square, IRR_NV_blend_square,
IRR_NV_conditional_render,
IRR_NV_copy_depth_to_color, IRR_NV_copy_depth_to_color,
IRR_NV_depth_buffer_float, IRR_NV_depth_buffer_float,
IRR_NV_depth_clamp, IRR_NV_depth_clamp,
...@@ -553,6 +582,7 @@ class COpenGLExtensionHandler ...@@ -553,6 +582,7 @@ class COpenGLExtensionHandler
IRR_NV_parameter_buffer_object, IRR_NV_parameter_buffer_object,
IRR_NV_pixel_data_range, IRR_NV_pixel_data_range,
IRR_NV_point_sprite, IRR_NV_point_sprite,
IRR_NV_present_video,
IRR_NV_primitive_restart, IRR_NV_primitive_restart,
IRR_NV_register_combiners, IRR_NV_register_combiners,
IRR_NV_register_combiners2, IRR_NV_register_combiners2,
......
...@@ -46,9 +46,9 @@ extern "C" { ...@@ -46,9 +46,9 @@ extern "C" {
/*************************************************************/ /*************************************************************/
/* Header file version number, required by OpenGL ABI for Linux */ /* Header file version number, required by OpenGL ABI for Linux */
/* glext.h last updated 2008/03/24 */ /* glext.h last updated 2008/08/10 */
/* Current version at http://www.opengl.org/registry/ */ /* Current version at http://www.opengl.org/registry/ */
#define GL_GLEXT_VERSION 40 #define GL_GLEXT_VERSION 41
#ifndef GL_VERSION_1_2 #ifndef GL_VERSION_1_2
#define GL_UNSIGNED_BYTE_3_3_2 0x8032 #define GL_UNSIGNED_BYTE_3_3_2 0x8032
...@@ -479,6 +479,117 @@ extern "C" { ...@@ -479,6 +479,117 @@ extern "C" {
#define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
#endif #endif
#ifndef GL_VERSION_3_0
#define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
#define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
#define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
#define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
#define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
#define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
#define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
#define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
#define GL_MAJOR_VERSION 0x821B
#define GL_MINOR_VERSION 0x821C
#define GL_NUM_EXTENSIONS 0x821D
#define GL_CONTEXT_FLAGS 0x821E
#define GL_DEPTH_BUFFER 0x8223
#define GL_STENCIL_BUFFER 0x8224
#define GL_COMPRESSED_RED 0x8225
#define GL_COMPRESSED_RG 0x8226
#define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
#define GL_RGBA32F 0x8814
#define GL_RGB32F 0x8815
#define GL_RGBA16F 0x881A
#define GL_RGB16F 0x881B
#define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
#define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
#define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
#define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
#define GL_CLAMP_VERTEX_COLOR 0x891A
#define GL_CLAMP_FRAGMENT_COLOR 0x891B
#define GL_CLAMP_READ_COLOR 0x891C
#define GL_FIXED_ONLY 0x891D
#define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
#define GL_TEXTURE_RED_TYPE 0x8C10
#define GL_TEXTURE_GREEN_TYPE 0x8C11
#define GL_TEXTURE_BLUE_TYPE 0x8C12
#define GL_TEXTURE_ALPHA_TYPE 0x8C13
#define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
#define GL_TEXTURE_INTENSITY_TYPE 0x8C15
#define GL_TEXTURE_DEPTH_TYPE 0x8C16
#define GL_UNSIGNED_NORMALIZED 0x8C17
#define GL_TEXTURE_1D_ARRAY 0x8C18
#define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
#define GL_TEXTURE_2D_ARRAY 0x8C1A
#define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
#define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
#define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
#define GL_R11F_G11F_B10F 0x8C3A
#define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
#define GL_RGB9_E5 0x8C3D
#define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
#define GL_TEXTURE_SHARED_SIZE 0x8C3F
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
#define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
#define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
#define GL_PRIMITIVES_GENERATED 0x8C87
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
#define GL_RASTERIZER_DISCARD 0x8C89
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
#define GL_INTERLEAVED_ATTRIBS 0x8C8C
#define GL_SEPARATE_ATTRIBS 0x8C8D
#define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
#define GL_RGBA32UI 0x8D70
#define GL_RGB32UI 0x8D71
#define GL_RGBA16UI 0x8D76
#define GL_RGB16UI 0x8D77
#define GL_RGBA8UI 0x8D7C
#define GL_RGB8UI 0x8D7D
#define GL_RGBA32I 0x8D82
#define GL_RGB32I 0x8D83
#define GL_RGBA16I 0x8D88
#define GL_RGB16I 0x8D89
#define GL_RGBA8I 0x8D8E
#define GL_RGB8I 0x8D8F
#define GL_RED_INTEGER 0x8D94
#define GL_GREEN_INTEGER 0x8D95
#define GL_BLUE_INTEGER 0x8D96
#define GL_ALPHA_INTEGER 0x8D97
#define GL_RGB_INTEGER 0x8D98
#define GL_RGBA_INTEGER 0x8D99
#define GL_BGR_INTEGER 0x8D9A
#define GL_BGRA_INTEGER 0x8D9B
#define GL_SAMPLER_1D_ARRAY 0x8DC0
#define GL_SAMPLER_2D_ARRAY 0x8DC1
#define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
#define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
#define GL_SAMPLER_CUBE_SHADOW 0x8DC5
#define GL_UNSIGNED_INT_VEC2 0x8DC6
#define GL_UNSIGNED_INT_VEC3 0x8DC7
#define GL_UNSIGNED_INT_VEC4 0x8DC8
#define GL_INT_SAMPLER_1D 0x8DC9
#define GL_INT_SAMPLER_2D 0x8DCA
#define GL_INT_SAMPLER_3D 0x8DCB
#define GL_INT_SAMPLER_CUBE 0x8DCC
#define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
#define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
#define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
#define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
#define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
#define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
#define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
#define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
#define GL_QUERY_WAIT 0x8E13
#define GL_QUERY_NO_WAIT 0x8E14
#define GL_QUERY_BY_REGION_WAIT 0x8E15
#define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
#endif
#ifndef GL_ARB_multitexture #ifndef GL_ARB_multitexture
#define GL_TEXTURE0_ARB 0x84C0 #define GL_TEXTURE0_ARB 0x84C0
#define GL_TEXTURE1_ARB 0x84C1 #define GL_TEXTURE1_ARB 0x84C1
...@@ -974,6 +1085,175 @@ extern "C" { ...@@ -974,6 +1085,175 @@ extern "C" {
#define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
#endif #endif
#ifndef GL_ARB_depth_buffer_float
#define GL_DEPTH_COMPONENT32F 0x8CAC
#define GL_DEPTH32F_STENCIL8 0x8CAD
#define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
#endif
#ifndef GL_ARB_draw_instanced
#endif
#ifndef GL_ARB_framebuffer_object
#define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
#define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
#define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
#define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
#define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
#define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
#define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
#define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
#define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
#define GL_FRAMEBUFFER_DEFAULT 0x8218
#define GL_FRAMEBUFFER_UNDEFINED 0x8219
#define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
#define GL_INDEX 0x8222
#define GL_MAX_RENDERBUFFER_SIZE 0x84E8
#define GL_DEPTH_STENCIL 0x84F9
#define GL_UNSIGNED_INT_24_8 0x84FA
#define GL_DEPTH24_STENCIL8 0x88F0
#define GL_TEXTURE_STENCIL_SIZE 0x88F1
#define GL_FRAMEBUFFER_BINDING 0x8CA6
#define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
#define GL_RENDERBUFFER_BINDING 0x8CA7
#define GL_READ_FRAMEBUFFER 0x8CA8
#define GL_DRAW_FRAMEBUFFER 0x8CA9
#define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
#define GL_RENDERBUFFER_SAMPLES 0x8CAB
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
#define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
#define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
#define GL_FRAMEBUFFER_COMPLETE 0x8CD5
#define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
#define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
#define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
#define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
#define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
#define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
#define GL_COLOR_ATTACHMENT0 0x8CE0
#define GL_COLOR_ATTACHMENT1 0x8CE1
#define GL_COLOR_ATTACHMENT2 0x8CE2
#define GL_COLOR_ATTACHMENT3 0x8CE3
#define GL_COLOR_ATTACHMENT4 0x8CE4
#define GL_COLOR_ATTACHMENT5 0x8CE5
#define GL_COLOR_ATTACHMENT6 0x8CE6
#define GL_COLOR_ATTACHMENT7 0x8CE7
#define GL_COLOR_ATTACHMENT8 0x8CE8
#define GL_COLOR_ATTACHMENT9 0x8CE9
#define GL_COLOR_ATTACHMENT10 0x8CEA
#define GL_COLOR_ATTACHMENT11 0x8CEB
#define GL_COLOR_ATTACHMENT12 0x8CEC
#define GL_COLOR_ATTACHMENT13 0x8CED
#define GL_COLOR_ATTACHMENT14 0x8CEE
#define GL_COLOR_ATTACHMENT15 0x8CEF
#define GL_DEPTH_ATTACHMENT 0x8D00
#define GL_STENCIL_ATTACHMENT 0x8D20
#define GL_FRAMEBUFFER 0x8D40
#define GL_RENDERBUFFER 0x8D41
#define GL_RENDERBUFFER_WIDTH 0x8D42
#define GL_RENDERBUFFER_HEIGHT 0x8D43
#define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
#define GL_STENCIL_INDEX1 0x8D46
#define GL_STENCIL_INDEX4 0x8D47
#define GL_STENCIL_INDEX8 0x8D48
#define GL_STENCIL_INDEX16 0x8D49
#define GL_RENDERBUFFER_RED_SIZE 0x8D50
#define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
#define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
#define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
#define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
#define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
#define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
#define GL_MAX_SAMPLES 0x8D57
#endif
#ifndef GL_ARB_framebuffer_sRGB
#define GL_FRAMEBUFFER_SRGB 0x8DB9
#endif
#ifndef GL_ARB_geometry_shader4
#define GL_LINES_ADJACENCY_ARB 0x000A
#define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
#define GL_TRIANGLES_ADJACENCY_ARB 0x000C
#define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
#define GL_PROGRAM_POINT_SIZE_ARB 0x8642
#define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
#define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
#define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
#define GL_GEOMETRY_SHADER_ARB 0x8DD9
#define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
#define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
#define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
#define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
#define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
#define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
#define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
#define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
#endif
#ifndef GL_ARB_half_float_vertex
#define GL_HALF_FLOAT 0x140B
#endif
#ifndef GL_ARB_instanced_arrays
#endif
#ifndef GL_ARB_map_buffer_range
#define GL_MAP_READ_BIT 0x0001
#define GL_MAP_WRITE_BIT 0x0002
#define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
#define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
#define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
#define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
#endif
#ifndef GL_ARB_texture_buffer_object
#define GL_TEXTURE_BUFFER_ARB 0x8C2A
#define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
#define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
#define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
#define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
#endif
#ifndef GL_ARB_texture_compression_rgtc
#define GL_COMPRESSED_RED_RGTC1 0x8DBB
#define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
#define GL_COMPRESSED_RG_RGTC2 0x8DBD
#define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
#endif
#ifndef GL_ARB_texture_rg
#define GL_RG 0x8227
#define GL_RG_INTEGER 0x8228
#define GL_R8 0x8229
#define GL_R16 0x822A
#define GL_RG8 0x822B
#define GL_RG16 0x822C
#define GL_R16F 0x822D
#define GL_R32F 0x822E
#define GL_RG16F 0x822F
#define GL_RG32F 0x8230
#define GL_R8I 0x8231
#define GL_R8UI 0x8232
#define GL_R16I 0x8233
#define GL_R16UI 0x8234
#define GL_R32I 0x8235
#define GL_R32UI 0x8236
#define GL_RG8I 0x8237
#define GL_RG8UI 0x8238
#define GL_RG16I 0x8239
#define GL_RG16UI 0x823A
#define GL_RG32I 0x823B
#define GL_RG32UI 0x823C
#endif
#ifndef GL_ARB_vertex_array_object
#define GL_VERTEX_ARRAY_BINDING 0x85B5
#endif
#ifndef GL_EXT_abgr #ifndef GL_EXT_abgr
#define GL_ABGR_EXT 0x8000 #define GL_ABGR_EXT 0x8000
#endif #endif
...@@ -3382,6 +3662,40 @@ extern "C" { ...@@ -3382,6 +3662,40 @@ extern "C" {
#ifndef GL_GREMEDY_frame_terminator #ifndef GL_GREMEDY_frame_terminator
#endif #endif
#ifndef GL_NV_conditional_render
#define GL_QUERY_WAIT_NV 0x8E13
#define GL_QUERY_NO_WAIT_NV 0x8E14
#define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
#define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
#endif
#ifndef GL_NV_present_video
#define GL_FRAME_NV 0x8E26
#define GL_FIELDS_NV 0x8E27
#define GL_CURRENT_TIME_NV 0x8E28
#define GL_NUM_FILL_STREAMS_NV 0x8E29
#define GL_PRESENT_TIME_NV 0x8E2A
#define GL_PRESENT_DURATION_NV 0x8E2B
#endif
#ifndef GL_EXT_transform_feedback
#define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
#define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
#define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
#define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
#define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
#define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
#define GL_PRIMITIVES_GENERATED_EXT 0x8C87
#define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
#define GL_RASTERIZER_DISCARD_EXT 0x8C89
#define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
#define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
#define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
#define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
#define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
#endif
/*************************************************************/ /*************************************************************/
...@@ -3419,16 +3733,16 @@ typedef unsigned short GLhalfNV; ...@@ -3419,16 +3733,16 @@ typedef unsigned short GLhalfNV;
#endif #endif
#ifndef GLEXT_64_TYPES_DEFINED #ifndef GLEXT_64_TYPES_DEFINED
/* This code block is duplicated in glext.h, so must be protected */ /* This code block is duplicated in glxext.h, so must be protected */
#define GLEXT_64_TYPES_DEFINED #define GLEXT_64_TYPES_DEFINED
/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
/* (as used in the GL_EXT_timer_query extension). */ /* (as used in the GL_EXT_timer_query extension). */
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#include <inttypes.h> #include <inttypes.h>
#elif defined(__sun__) #elif defined(__sun__) || defined(__digital__)
#include <inttypes.h> #include <inttypes.h>
#if defined(__STDC__) #if defined(__STDC__)
#if defined(__arch64__) #if defined(__arch64__) || defined(_LP64)
typedef long int int64_t; typedef long int int64_t;
typedef unsigned long int uint64_t; typedef unsigned long int uint64_t;
#else #else
...@@ -3436,7 +3750,7 @@ typedef long long int int64_t; ...@@ -3436,7 +3750,7 @@ typedef long long int int64_t;
typedef unsigned long long int uint64_t; typedef unsigned long long int uint64_t;
#endif /* __arch64__ */ #endif /* __arch64__ */
#endif /* __STDC__ */ #endif /* __STDC__ */
#elif defined( __VMS ) #elif defined( __VMS ) || defined(__sgi)
#include <inttypes.h> #include <inttypes.h>
#elif defined(__SCO__) || defined(__USLC__) #elif defined(__SCO__) || defined(__USLC__)
#include <stdint.h> #include <stdint.h>
...@@ -3990,6 +4304,10 @@ typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei co ...@@ -3990,6 +4304,10 @@ typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei co
typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
#endif #endif
#ifndef GL_VERSION_3_0
#define GL_VERSION_3_0 1
#endif
#ifndef GL_ARB_multitexture #ifndef GL_ARB_multitexture
#define GL_ARB_multitexture 1 #define GL_ARB_multitexture 1
#ifdef GL_GLEXT_PROTOTYPES #ifdef GL_GLEXT_PROTOTYPES
...@@ -4569,6 +4887,54 @@ typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp); ...@@ -4569,6 +4887,54 @@ typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
#define GL_ARB_pixel_buffer_object 1 #define GL_ARB_pixel_buffer_object 1
#endif #endif
#ifndef GL_ARB_depth_buffer_float
#define GL_ARB_depth_buffer_float 1
#endif
#ifndef GL_ARB_draw_instanced
#define GL_ARB_draw_instanced 1
#endif
#ifndef GL_ARB_framebuffer_object
#define GL_ARB_framebuffer_object 1
#endif
#ifndef GL_ARB_framebuffer_sRGB
#define GL_ARB_framebuffer_sRGB 1
#endif
#ifndef GL_ARB_geometry_shader4
#define GL_ARB_geometry_shader4 1
#endif
#ifndef GL_ARB_half_float_vertex
#define GL_ARB_half_float_vertex 1
#endif
#ifndef GL_ARB_instanced_arrays
#define GL_ARB_instanced_arrays 1
#endif
#ifndef GL_ARB_map_buffer_range
#define GL_ARB_map_buffer_range 1
#endif
#ifndef GL_ARB_texture_buffer_object
#define GL_ARB_texture_buffer_object 1
#endif
#ifndef GL_ARB_texture_compression_rgtc
#define GL_ARB_texture_compression_rgtc 1
#endif
#ifndef GL_ARB_texture_rg
#define GL_ARB_texture_rg 1
#endif
#ifndef GL_ARB_vertex_array_object
#define GL_ARB_vertex_array_object 1
#endif
#ifndef GL_EXT_abgr #ifndef GL_EXT_abgr
#define GL_EXT_abgr 1 #define GL_EXT_abgr 1
#endif #endif
...@@ -7263,6 +7629,18 @@ GLAPI void APIENTRY glFrameTerminatorGREMEDY (void); ...@@ -7263,6 +7629,18 @@ GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void); typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
#endif #endif
#ifndef GL_NV_conditional_render
#define GL_NV_conditional_render 1
#endif
#ifndef GL_NV_present_video
#define GL_NV_present_video 1
#endif
#ifndef GL_EXT_transform_feedback
#define GL_EXT_transform_feedback 1
#endif
#ifdef __cplusplus #ifdef __cplusplus
} }
......
#ifndef __glxext_h_ #ifndef __glxext_h_
#define __glxext_h_ #define __glxext_h_
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
/* /*
** Copyright (c) 2007 The Khronos Group Inc. ** Copyright (c) 2007 The Khronos Group Inc.
** **
** Permission is hereby granted, free of charge, to any person obtaining a ** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the ** copy of this software and/or associated documentation files (the
** "Materials"), to deal in the Materials without restriction, including ** "Materials"), to deal in the Materials without restriction, including
** without limitation the rights to use, copy, modify, merge, publish, ** without limitation the rights to use, copy, modify, merge, publish,
** distribute, sublicense, and/or sell copies of the Materials, and to ** distribute, sublicense, and/or sell copies of the Materials, and to
** permit persons to whom the Materials are furnished to do so, subject to ** permit persons to whom the Materials are furnished to do so, subject to
** the following conditions: ** the following conditions:
** **
** The above copyright notice and this permission notice shall be included ** The above copyright notice and this permission notice shall be included
** in all copies or substantial portions of the Materials. ** in all copies or substantial portions of the Materials.
** **
** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
*/ */
#if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
#define WIN32_LEAN_AND_MEAN 1 #define WIN32_LEAN_AND_MEAN 1
#include <windows.h> #include <windows.h>
#endif #endif
#ifndef APIENTRY #ifndef APIENTRY
#define APIENTRY #define APIENTRY
#endif #endif
#ifndef APIENTRYP #ifndef APIENTRYP
#define APIENTRYP APIENTRY * #define APIENTRYP APIENTRY *
#endif #endif
#ifndef GLAPI #ifndef GLAPI
#define GLAPI extern #define GLAPI extern
#endif #endif
/*************************************************************/ /*************************************************************/
/* Header file version number, required by OpenGL ABI for Linux */ /* Header file version number, required by OpenGL ABI for Linux */
/* glxext.h last updated 2007/04/21 */ /* glxext.h last updated 2008/08/10 */
/* Current version at http://www.opengl.org/registry/ */ /* Current version at http://www.opengl.org/registry/ */
#define GLX_GLXEXT_VERSION 19 #define GLX_GLXEXT_VERSION 20
#ifndef GLX_VERSION_1_3 #ifndef GLX_VERSION_1_3
#define GLX_WINDOW_BIT 0x00000001 #define GLX_WINDOW_BIT 0x00000001
#define GLX_PIXMAP_BIT 0x00000002 #define GLX_PIXMAP_BIT 0x00000002
#define GLX_PBUFFER_BIT 0x00000004 #define GLX_PBUFFER_BIT 0x00000004
#define GLX_RGBA_BIT 0x00000001 #define GLX_RGBA_BIT 0x00000001
#define GLX_COLOR_INDEX_BIT 0x00000002 #define GLX_COLOR_INDEX_BIT 0x00000002
#define GLX_PBUFFER_CLOBBER_MASK 0x08000000 #define GLX_PBUFFER_CLOBBER_MASK 0x08000000
#define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001 #define GLX_FRONT_LEFT_BUFFER_BIT 0x00000001
#define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002 #define GLX_FRONT_RIGHT_BUFFER_BIT 0x00000002
#define GLX_BACK_LEFT_BUFFER_BIT 0x00000004 #define GLX_BACK_LEFT_BUFFER_BIT 0x00000004
#define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008 #define GLX_BACK_RIGHT_BUFFER_BIT 0x00000008
#define GLX_AUX_BUFFERS_BIT 0x00000010 #define GLX_AUX_BUFFERS_BIT 0x00000010
#define GLX_DEPTH_BUFFER_BIT 0x00000020 #define GLX_DEPTH_BUFFER_BIT 0x00000020
#define GLX_STENCIL_BUFFER_BIT 0x00000040 #define GLX_STENCIL_BUFFER_BIT 0x00000040
#define GLX_ACCUM_BUFFER_BIT 0x00000080 #define GLX_ACCUM_BUFFER_BIT 0x00000080
#define GLX_CONFIG_CAVEAT 0x20 #define GLX_CONFIG_CAVEAT 0x20
#define GLX_X_VISUAL_TYPE 0x22 #define GLX_X_VISUAL_TYPE 0x22
#define GLX_TRANSPARENT_TYPE 0x23 #define GLX_TRANSPARENT_TYPE 0x23
#define GLX_TRANSPARENT_INDEX_VALUE 0x24 #define GLX_TRANSPARENT_INDEX_VALUE 0x24
#define GLX_TRANSPARENT_RED_VALUE 0x25 #define GLX_TRANSPARENT_RED_VALUE 0x25
#define GLX_TRANSPARENT_GREEN_VALUE 0x26 #define GLX_TRANSPARENT_GREEN_VALUE 0x26
#define GLX_TRANSPARENT_BLUE_VALUE 0x27 #define GLX_TRANSPARENT_BLUE_VALUE 0x27
#define GLX_TRANSPARENT_ALPHA_VALUE 0x28 #define GLX_TRANSPARENT_ALPHA_VALUE 0x28
#define GLX_DONT_CARE 0xFFFFFFFF #define GLX_DONT_CARE 0xFFFFFFFF
#define GLX_NONE 0x8000 #define GLX_NONE 0x8000
#define GLX_SLOW_CONFIG 0x8001 #define GLX_SLOW_CONFIG 0x8001
#define GLX_TRUE_COLOR 0x8002 #define GLX_TRUE_COLOR 0x8002
#define GLX_DIRECT_COLOR 0x8003 #define GLX_DIRECT_COLOR 0x8003
#define GLX_PSEUDO_COLOR 0x8004 #define GLX_PSEUDO_COLOR 0x8004
#define GLX_STATIC_COLOR 0x8005 #define GLX_STATIC_COLOR 0x8005
#define GLX_GRAY_SCALE 0x8006 #define GLX_GRAY_SCALE 0x8006
#define GLX_STATIC_GRAY 0x8007 #define GLX_STATIC_GRAY 0x8007
#define GLX_TRANSPARENT_RGB 0x8008 #define GLX_TRANSPARENT_RGB 0x8008
#define GLX_TRANSPARENT_INDEX 0x8009 #define GLX_TRANSPARENT_INDEX 0x8009
#define GLX_VISUAL_ID 0x800B #define GLX_VISUAL_ID 0x800B
#define GLX_SCREEN 0x800C #define GLX_SCREEN 0x800C
#define GLX_NON_CONFORMANT_CONFIG 0x800D #define GLX_NON_CONFORMANT_CONFIG 0x800D
#define GLX_DRAWABLE_TYPE 0x8010 #define GLX_DRAWABLE_TYPE 0x8010
#define GLX_RENDER_TYPE 0x8011 #define GLX_RENDER_TYPE 0x8011
#define GLX_X_RENDERABLE 0x8012 #define GLX_X_RENDERABLE 0x8012
#define GLX_FBCONFIG_ID 0x8013 #define GLX_FBCONFIG_ID 0x8013
#define GLX_RGBA_TYPE 0x8014 #define GLX_RGBA_TYPE 0x8014
#define GLX_COLOR_INDEX_TYPE 0x8015 #define GLX_COLOR_INDEX_TYPE 0x8015
#define GLX_MAX_PBUFFER_WIDTH 0x8016 #define GLX_MAX_PBUFFER_WIDTH 0x8016
#define GLX_MAX_PBUFFER_HEIGHT 0x8017 #define GLX_MAX_PBUFFER_HEIGHT 0x8017
#define GLX_MAX_PBUFFER_PIXELS 0x8018 #define GLX_MAX_PBUFFER_PIXELS 0x8018
#define GLX_PRESERVED_CONTENTS 0x801B #define GLX_PRESERVED_CONTENTS 0x801B
#define GLX_LARGEST_PBUFFER 0x801C #define GLX_LARGEST_PBUFFER 0x801C
#define GLX_WIDTH 0x801D #define GLX_WIDTH 0x801D
#define GLX_HEIGHT 0x801E #define GLX_HEIGHT 0x801E
#define GLX_EVENT_MASK 0x801F #define GLX_EVENT_MASK 0x801F
#define GLX_DAMAGED 0x8020 #define GLX_DAMAGED 0x8020
#define GLX_SAVED 0x8021 #define GLX_SAVED 0x8021
#define GLX_WINDOW 0x8022 #define GLX_WINDOW 0x8022
#define GLX_PBUFFER 0x8023 #define GLX_PBUFFER 0x8023
#define GLX_PBUFFER_HEIGHT 0x8040 #define GLX_PBUFFER_HEIGHT 0x8040
#define GLX_PBUFFER_WIDTH 0x8041 #define GLX_PBUFFER_WIDTH 0x8041
#endif #endif
#ifndef GLX_VERSION_1_4 #ifndef GLX_VERSION_1_4
#define GLX_SAMPLE_BUFFERS 100000 #define GLX_SAMPLE_BUFFERS 100000
#define GLX_SAMPLES 100001 #define GLX_SAMPLES 100001
#endif #endif
#ifndef GLX_ARB_get_proc_address #ifndef GLX_ARB_get_proc_address
#endif #endif
#ifndef GLX_ARB_multisample #ifndef GLX_ARB_multisample
#define GLX_SAMPLE_BUFFERS_ARB 100000 #define GLX_SAMPLE_BUFFERS_ARB 100000
#define GLX_SAMPLES_ARB 100001 #define GLX_SAMPLES_ARB 100001
#endif #endif
#ifndef GLX_ARB_fbconfig_float #ifndef GLX_ARB_fbconfig_float
#define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9 #define GLX_RGBA_FLOAT_TYPE_ARB 0x20B9
#define GLX_RGBA_FLOAT_BIT_ARB 0x00000004 #define GLX_RGBA_FLOAT_BIT_ARB 0x00000004
#endif #endif
#ifndef GLX_SGIS_multisample #ifndef GLX_SGIS_multisample
#define GLX_SAMPLE_BUFFERS_SGIS 100000 #define GLX_SAMPLE_BUFFERS_SGIS 100000
#define GLX_SAMPLES_SGIS 100001 #define GLX_SAMPLES_SGIS 100001
#endif #endif
#ifndef GLX_EXT_visual_info #ifndef GLX_EXT_visual_info
#define GLX_X_VISUAL_TYPE_EXT 0x22 #define GLX_X_VISUAL_TYPE_EXT 0x22
#define GLX_TRANSPARENT_TYPE_EXT 0x23 #define GLX_TRANSPARENT_TYPE_EXT 0x23
#define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24 #define GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
#define GLX_TRANSPARENT_RED_VALUE_EXT 0x25 #define GLX_TRANSPARENT_RED_VALUE_EXT 0x25
#define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26 #define GLX_TRANSPARENT_GREEN_VALUE_EXT 0x26
#define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27 #define GLX_TRANSPARENT_BLUE_VALUE_EXT 0x27
#define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28 #define GLX_TRANSPARENT_ALPHA_VALUE_EXT 0x28
#define GLX_NONE_EXT 0x8000 #define GLX_NONE_EXT 0x8000
#define GLX_TRUE_COLOR_EXT 0x8002 #define GLX_TRUE_COLOR_EXT 0x8002
#define GLX_DIRECT_COLOR_EXT 0x8003 #define GLX_DIRECT_COLOR_EXT 0x8003
#define GLX_PSEUDO_COLOR_EXT 0x8004 #define GLX_PSEUDO_COLOR_EXT 0x8004
#define GLX_STATIC_COLOR_EXT 0x8005 #define GLX_STATIC_COLOR_EXT 0x8005
#define GLX_GRAY_SCALE_EXT 0x8006 #define GLX_GRAY_SCALE_EXT 0x8006
#define GLX_STATIC_GRAY_EXT 0x8007 #define GLX_STATIC_GRAY_EXT 0x8007
#define GLX_TRANSPARENT_RGB_EXT 0x8008 #define GLX_TRANSPARENT_RGB_EXT 0x8008
#define GLX_TRANSPARENT_INDEX_EXT 0x8009 #define GLX_TRANSPARENT_INDEX_EXT 0x8009
#endif #endif
#ifndef GLX_SGI_swap_control #ifndef GLX_SGI_swap_control
#endif #endif
#ifndef GLX_SGI_video_sync #ifndef GLX_SGI_video_sync
#endif #endif
#ifndef GLX_SGI_make_current_read #ifndef GLX_SGI_make_current_read
#endif #endif
#ifndef GLX_SGIX_video_source #ifndef GLX_SGIX_video_source
#endif #endif
#ifndef GLX_EXT_visual_rating #ifndef GLX_EXT_visual_rating
#define GLX_VISUAL_CAVEAT_EXT 0x20 #define GLX_VISUAL_CAVEAT_EXT 0x20
#define GLX_SLOW_VISUAL_EXT 0x8001 #define GLX_SLOW_VISUAL_EXT 0x8001
#define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D #define GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
/* reuse GLX_NONE_EXT */ /* reuse GLX_NONE_EXT */
#endif #endif
#ifndef GLX_EXT_import_context #ifndef GLX_EXT_import_context
#define GLX_SHARE_CONTEXT_EXT 0x800A #define GLX_SHARE_CONTEXT_EXT 0x800A
#define GLX_VISUAL_ID_EXT 0x800B #define GLX_VISUAL_ID_EXT 0x800B
#define GLX_SCREEN_EXT 0x800C #define GLX_SCREEN_EXT 0x800C
#endif #endif
#ifndef GLX_SGIX_fbconfig #ifndef GLX_SGIX_fbconfig
#define GLX_WINDOW_BIT_SGIX 0x00000001 #define GLX_WINDOW_BIT_SGIX 0x00000001
#define GLX_PIXMAP_BIT_SGIX 0x00000002 #define GLX_PIXMAP_BIT_SGIX 0x00000002
#define GLX_RGBA_BIT_SGIX 0x00000001 #define GLX_RGBA_BIT_SGIX 0x00000001
#define GLX_COLOR_INDEX_BIT_SGIX 0x00000002 #define GLX_COLOR_INDEX_BIT_SGIX 0x00000002
#define GLX_DRAWABLE_TYPE_SGIX 0x8010 #define GLX_DRAWABLE_TYPE_SGIX 0x8010
#define GLX_RENDER_TYPE_SGIX 0x8011 #define GLX_RENDER_TYPE_SGIX 0x8011
#define GLX_X_RENDERABLE_SGIX 0x8012 #define GLX_X_RENDERABLE_SGIX 0x8012
#define GLX_FBCONFIG_ID_SGIX 0x8013 #define GLX_FBCONFIG_ID_SGIX 0x8013
#define GLX_RGBA_TYPE_SGIX 0x8014 #define GLX_RGBA_TYPE_SGIX 0x8014
#define GLX_COLOR_INDEX_TYPE_SGIX 0x8015 #define GLX_COLOR_INDEX_TYPE_SGIX 0x8015
/* reuse GLX_SCREEN_EXT */ /* reuse GLX_SCREEN_EXT */
#endif #endif
#ifndef GLX_SGIX_pbuffer #ifndef GLX_SGIX_pbuffer
#define GLX_PBUFFER_BIT_SGIX 0x00000004 #define GLX_PBUFFER_BIT_SGIX 0x00000004
#define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000 #define GLX_BUFFER_CLOBBER_MASK_SGIX 0x08000000
#define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001 #define GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
#define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002 #define GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
#define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004 #define GLX_BACK_LEFT_BUFFER_BIT_SGIX 0x00000004
#define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008 #define GLX_BACK_RIGHT_BUFFER_BIT_SGIX 0x00000008
#define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010 #define GLX_AUX_BUFFERS_BIT_SGIX 0x00000010
#define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020 #define GLX_DEPTH_BUFFER_BIT_SGIX 0x00000020
#define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040 #define GLX_STENCIL_BUFFER_BIT_SGIX 0x00000040
#define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080 #define GLX_ACCUM_BUFFER_BIT_SGIX 0x00000080
#define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100 #define GLX_SAMPLE_BUFFERS_BIT_SGIX 0x00000100
#define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016 #define GLX_MAX_PBUFFER_WIDTH_SGIX 0x8016
#define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017 #define GLX_MAX_PBUFFER_HEIGHT_SGIX 0x8017
#define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018 #define GLX_MAX_PBUFFER_PIXELS_SGIX 0x8018
#define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019 #define GLX_OPTIMAL_PBUFFER_WIDTH_SGIX 0x8019
#define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A #define GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX 0x801A
#define GLX_PRESERVED_CONTENTS_SGIX 0x801B #define GLX_PRESERVED_CONTENTS_SGIX 0x801B
#define GLX_LARGEST_PBUFFER_SGIX 0x801C #define GLX_LARGEST_PBUFFER_SGIX 0x801C
#define GLX_WIDTH_SGIX 0x801D #define GLX_WIDTH_SGIX 0x801D
#define GLX_HEIGHT_SGIX 0x801E #define GLX_HEIGHT_SGIX 0x801E
#define GLX_EVENT_MASK_SGIX 0x801F #define GLX_EVENT_MASK_SGIX 0x801F
#define GLX_DAMAGED_SGIX 0x8020 #define GLX_DAMAGED_SGIX 0x8020
#define GLX_SAVED_SGIX 0x8021 #define GLX_SAVED_SGIX 0x8021
#define GLX_WINDOW_SGIX 0x8022 #define GLX_WINDOW_SGIX 0x8022
#define GLX_PBUFFER_SGIX 0x8023 #define GLX_PBUFFER_SGIX 0x8023
#endif #endif
#ifndef GLX_SGI_cushion #ifndef GLX_SGI_cushion
#endif #endif
#ifndef GLX_SGIX_video_resize #ifndef GLX_SGIX_video_resize
#define GLX_SYNC_FRAME_SGIX 0x00000000 #define GLX_SYNC_FRAME_SGIX 0x00000000
#define GLX_SYNC_SWAP_SGIX 0x00000001 #define GLX_SYNC_SWAP_SGIX 0x00000001
#endif #endif
#ifndef GLX_SGIX_dmbuffer #ifndef GLX_SGIX_dmbuffer
#define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024 #define GLX_DIGITAL_MEDIA_PBUFFER_SGIX 0x8024
#endif #endif
#ifndef GLX_SGIX_swap_group #ifndef GLX_SGIX_swap_group
#endif #endif
#ifndef GLX_SGIX_swap_barrier #ifndef GLX_SGIX_swap_barrier
#endif #endif
#ifndef GLX_SGIS_blended_overlay #ifndef GLX_SGIS_blended_overlay
#define GLX_BLENDED_RGBA_SGIS 0x8025 #define GLX_BLENDED_RGBA_SGIS 0x8025
#endif #endif
#ifndef GLX_SGIS_shared_multisample #ifndef GLX_SGIS_shared_multisample
#define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026 #define GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS 0x8026
#define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027 #define GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS 0x8027
#endif #endif
#ifndef GLX_SUN_get_transparent_index #ifndef GLX_SUN_get_transparent_index
#endif #endif
#ifndef GLX_3DFX_multisample #ifndef GLX_3DFX_multisample
#define GLX_SAMPLE_BUFFERS_3DFX 0x8050 #define GLX_SAMPLE_BUFFERS_3DFX 0x8050
#define GLX_SAMPLES_3DFX 0x8051 #define GLX_SAMPLES_3DFX 0x8051
#endif #endif
#ifndef GLX_MESA_copy_sub_buffer #ifndef GLX_MESA_copy_sub_buffer
#endif #endif
#ifndef GLX_MESA_pixmap_colormap #ifndef GLX_MESA_pixmap_colormap
#endif #endif
#ifndef GLX_MESA_release_buffers #ifndef GLX_MESA_release_buffers
#endif #endif
#ifndef GLX_MESA_set_3dfx_mode #ifndef GLX_MESA_set_3dfx_mode
#define GLX_3DFX_WINDOW_MODE_MESA 0x1 #define GLX_3DFX_WINDOW_MODE_MESA 0x1
#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2 #define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
#endif #endif
#ifndef GLX_SGIX_visual_select_group #ifndef GLX_SGIX_visual_select_group
#define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028 #define GLX_VISUAL_SELECT_GROUP_SGIX 0x8028
#endif #endif
#ifndef GLX_OML_swap_method #ifndef GLX_OML_swap_method
#define GLX_SWAP_METHOD_OML 0x8060 #define GLX_SWAP_METHOD_OML 0x8060
#define GLX_SWAP_EXCHANGE_OML 0x8061 #define GLX_SWAP_EXCHANGE_OML 0x8061
#define GLX_SWAP_COPY_OML 0x8062 #define GLX_SWAP_COPY_OML 0x8062
#define GLX_SWAP_UNDEFINED_OML 0x8063 #define GLX_SWAP_UNDEFINED_OML 0x8063
#endif #endif
#ifndef GLX_OML_sync_control #ifndef GLX_OML_sync_control
#endif #endif
#ifndef GLX_NV_float_buffer #ifndef GLX_NV_float_buffer
#define GLX_FLOAT_COMPONENTS_NV 0x20B0 #define GLX_FLOAT_COMPONENTS_NV 0x20B0
#endif #endif
#ifndef GLX_SGIX_hyperpipe #ifndef GLX_SGIX_hyperpipe
#define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80 #define GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX 80
#define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91 #define GLX_BAD_HYPERPIPE_CONFIG_SGIX 91
#define GLX_BAD_HYPERPIPE_SGIX 92 #define GLX_BAD_HYPERPIPE_SGIX 92
#define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001 #define GLX_HYPERPIPE_DISPLAY_PIPE_SGIX 0x00000001
#define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002 #define GLX_HYPERPIPE_RENDER_PIPE_SGIX 0x00000002
#define GLX_PIPE_RECT_SGIX 0x00000001 #define GLX_PIPE_RECT_SGIX 0x00000001
#define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002 #define GLX_PIPE_RECT_LIMITS_SGIX 0x00000002
#define GLX_HYPERPIPE_STEREO_SGIX 0x00000003 #define GLX_HYPERPIPE_STEREO_SGIX 0x00000003
#define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004 #define GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX 0x00000004
#define GLX_HYPERPIPE_ID_SGIX 0x8030 #define GLX_HYPERPIPE_ID_SGIX 0x8030
#endif #endif
#ifndef GLX_MESA_agp_offset #ifndef GLX_MESA_agp_offset
#endif #endif
#ifndef GLX_EXT_fbconfig_packed_float #ifndef GLX_EXT_fbconfig_packed_float
#define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1 #define GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
#define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008 #define GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008
#endif #endif
#ifndef GLX_EXT_framebuffer_sRGB #ifndef GLX_EXT_framebuffer_sRGB
#define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 #define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2
#endif #endif
#ifndef GLX_EXT_texture_from_pixmap #ifndef GLX_EXT_texture_from_pixmap
#define GLX_TEXTURE_1D_BIT_EXT 0x00000001 #define GLX_TEXTURE_1D_BIT_EXT 0x00000001
#define GLX_TEXTURE_2D_BIT_EXT 0x00000002 #define GLX_TEXTURE_2D_BIT_EXT 0x00000002
#define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004 #define GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
#define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0 #define GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
#define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1 #define GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
#define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2 #define GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
#define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3 #define GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
#define GLX_Y_INVERTED_EXT 0x20D4 #define GLX_Y_INVERTED_EXT 0x20D4
#define GLX_TEXTURE_FORMAT_EXT 0x20D5 #define GLX_TEXTURE_FORMAT_EXT 0x20D5
#define GLX_TEXTURE_TARGET_EXT 0x20D6 #define GLX_TEXTURE_TARGET_EXT 0x20D6
#define GLX_MIPMAP_TEXTURE_EXT 0x20D7 #define GLX_MIPMAP_TEXTURE_EXT 0x20D7
#define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8 #define GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
#define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9 #define GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
#define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA #define GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
#define GLX_TEXTURE_1D_EXT 0x20DB #define GLX_TEXTURE_1D_EXT 0x20DB
#define GLX_TEXTURE_2D_EXT 0x20DC #define GLX_TEXTURE_2D_EXT 0x20DC
#define GLX_TEXTURE_RECTANGLE_EXT 0x20DD #define GLX_TEXTURE_RECTANGLE_EXT 0x20DD
#define GLX_FRONT_LEFT_EXT 0x20DE #define GLX_FRONT_LEFT_EXT 0x20DE
#define GLX_FRONT_RIGHT_EXT 0x20DF #define GLX_FRONT_RIGHT_EXT 0x20DF
#define GLX_BACK_LEFT_EXT 0x20E0 #define GLX_BACK_LEFT_EXT 0x20E0
#define GLX_BACK_RIGHT_EXT 0x20E1 #define GLX_BACK_RIGHT_EXT 0x20E1
#define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT #define GLX_FRONT_EXT GLX_FRONT_LEFT_EXT
#define GLX_BACK_EXT GLX_BACK_LEFT_EXT #define GLX_BACK_EXT GLX_BACK_LEFT_EXT
#define GLX_AUX0_EXT 0x20E2 #define GLX_AUX0_EXT 0x20E2
#define GLX_AUX1_EXT 0x20E3 #define GLX_AUX1_EXT 0x20E3
#define GLX_AUX2_EXT 0x20E4 #define GLX_AUX2_EXT 0x20E4
#define GLX_AUX3_EXT 0x20E5 #define GLX_AUX3_EXT 0x20E5
#define GLX_AUX4_EXT 0x20E6 #define GLX_AUX4_EXT 0x20E6
#define GLX_AUX5_EXT 0x20E7 #define GLX_AUX5_EXT 0x20E7
#define GLX_AUX6_EXT 0x20E8 #define GLX_AUX6_EXT 0x20E8
#define GLX_AUX7_EXT 0x20E9 #define GLX_AUX7_EXT 0x20E9
#define GLX_AUX8_EXT 0x20EA #define GLX_AUX8_EXT 0x20EA
#define GLX_AUX9_EXT 0x20EB #define GLX_AUX9_EXT 0x20EB
#endif #endif
#ifndef GLX_NV_present_video
/*************************************************************/ #define GLX_GLX_NUM_VIDEO_SLOTS_NV 0x20F0
#endif
#ifndef GLX_ARB_get_proc_address
typedef void (*__GLXextFuncPtr)(void); #ifndef GLX_NV_video_out
#endif #define GLX_GLX_VIDEO_OUT_COLOR_NV 0x20C3
#define GLX_GLX_VIDEO_OUT_ALPHA_NV 0x20C4
#ifndef GLX_SGIX_video_source #define GLX_GLX_VIDEO_OUT_DEPTH_NV 0x20C5
typedef XID GLXVideoSourceSGIX; #define GLX_GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV 0x20C6
#endif #define GLX_GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV 0x20C7
#define GLX_GLX_VIDEO_OUT_FRAME_NV 0x20C8
#ifndef GLX_SGIX_fbconfig #define GLX_GLX_VIDEO_OUT_FIELD_1_NV 0x20C9
typedef XID GLXFBConfigIDSGIX; #define GLX_GLX_VIDEO_OUT_FIELD_2_NV 0x20CA
typedef struct __GLXFBConfigRec *GLXFBConfigSGIX; #define GLX_GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV 0x20CB
#endif #define GLX_GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV 0x20CC
#endif
#ifndef GLX_SGIX_pbuffer
typedef XID GLXPbufferSGIX; #ifndef GLX_NV_swap_group
typedef struct { #endif
int type;
unsigned long serial; /* # of last request processed by server */
Bool send_event; /* true if this came for SendEvent request */ /*************************************************************/
Display *display; /* display the event was read from */
GLXDrawable drawable; /* i.d. of Drawable */ #ifndef GLX_ARB_get_proc_address
int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */ typedef void (*__GLXextFuncPtr)(void);
int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */ #endif
unsigned int mask; /* mask indicating which buffers are affected*/
int x, y; #ifndef GLX_SGIX_video_source
int width, height; typedef XID GLXVideoSourceSGIX;
int count; /* if nonzero, at least this many more */ #endif
} GLXBufferClobberEventSGIX;
#endif #ifndef GLX_SGIX_fbconfig
typedef XID GLXFBConfigIDSGIX;
#ifndef GLEXT_64_TYPES_DEFINED typedef struct __GLXFBConfigRec *GLXFBConfigSGIX;
/* This code block is duplicated in glxext.h, so must be protected */ #endif
#define GLEXT_64_TYPES_DEFINED
/* Define int32_t, int64_t, and uint64_t types for UST/MSC */ #ifndef GLX_SGIX_pbuffer
/* (as used in the GLX_OML_sync_control extension). */ typedef XID GLXPbufferSGIX;
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L typedef struct {
#include <inttypes.h> int type;
#elif defined(__sun__) || defined(__digital__) unsigned long serial; /* # of last request processed by server */
#include <inttypes.h> Bool send_event; /* true if this came for SendEvent request */
#if defined(__STDC__) Display *display; /* display the event was read from */
#if defined(__arch64__) GLXDrawable drawable; /* i.d. of Drawable */
typedef long int int64_t; int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */
typedef unsigned long int uint64_t; int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */
#else unsigned int mask; /* mask indicating which buffers are affected*/
typedef long long int int64_t; int x, y;
typedef unsigned long long int uint64_t; int width, height;
#endif /* __arch64__ */ int count; /* if nonzero, at least this many more */
#endif /* __STDC__ */ } GLXBufferClobberEventSGIX;
#elif defined( __VMS ) #endif
#include <inttypes.h>
#elif defined(__SCO__) || defined(__USLC__) #ifndef GLEXT_64_TYPES_DEFINED
#include <stdint.h> /* This code block is duplicated in glext.h, so must be protected */
#elif defined(__UNIXOS2__) || defined(__SOL64__) #define GLEXT_64_TYPES_DEFINED
typedef long int int32_t; /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
typedef long long int int64_t; /* (as used in the GLX_OML_sync_control extension). */
typedef unsigned long long int uint64_t; #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
#elif defined(_WIN32) && defined(__GNUC__) #include <inttypes.h>
#include <stdint.h> #elif defined(__sun__) || defined(__digital__)
#elif defined(_WIN32) #include <inttypes.h>
typedef __int32 int32_t; #if defined(__STDC__)
typedef __int64 int64_t; #if defined(__arch64__) || defined(_LP64)
typedef unsigned __int64 uint64_t; typedef long int int64_t;
#else typedef unsigned long int uint64_t;
#include <inttypes.h> /* Fallback option */ #else
#endif typedef long long int int64_t;
#endif typedef unsigned long long int uint64_t;
#endif /* __arch64__ */
#ifndef GLX_VERSION_1_3 #endif /* __STDC__ */
#define GLX_VERSION_1_3 1 #elif defined( __VMS ) || defined(__sgi)
#ifdef GLX_GLXEXT_PROTOTYPES #include <inttypes.h>
extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *); #elif defined(__SCO__) || defined(__USLC__)
extern GLXFBConfig * glXChooseFBConfig (Display *, int, const int *, int *); #include <stdint.h>
extern int glXGetFBConfigAttrib (Display *, GLXFBConfig, int, int *); #elif defined(__UNIXOS2__) || defined(__SOL64__)
extern XVisualInfo * glXGetVisualFromFBConfig (Display *, GLXFBConfig); typedef long int int32_t;
extern GLXWindow glXCreateWindow (Display *, GLXFBConfig, Window, const int *); typedef long long int int64_t;
extern void glXDestroyWindow (Display *, GLXWindow); typedef unsigned long long int uint64_t;
extern GLXPixmap glXCreatePixmap (Display *, GLXFBConfig, Pixmap, const int *); #elif defined(_WIN32) && defined(__GNUC__)
extern void glXDestroyPixmap (Display *, GLXPixmap); #include <stdint.h>
extern GLXPbuffer glXCreatePbuffer (Display *, GLXFBConfig, const int *); #elif defined(_WIN32)
extern void glXDestroyPbuffer (Display *, GLXPbuffer); typedef __int32 int32_t;
extern void glXQueryDrawable (Display *, GLXDrawable, int, unsigned int *); typedef __int64 int64_t;
extern GLXContext glXCreateNewContext (Display *, GLXFBConfig, int, GLXContext, Bool); typedef unsigned __int64 uint64_t;
extern Bool glXMakeContextCurrent (Display *, GLXDrawable, GLXDrawable, GLXContext); #else
extern GLXDrawable glXGetCurrentReadDrawable (void); #include <inttypes.h> /* Fallback option */
extern Display * glXGetCurrentDisplay (void); #endif
extern int glXQueryContext (Display *, GLXContext, int, int *); #endif
extern void glXSelectEvent (Display *, GLXDrawable, unsigned long);
extern void glXGetSelectedEvent (Display *, GLXDrawable, unsigned long *); #ifndef GLX_VERSION_1_3
#endif /* GLX_GLXEXT_PROTOTYPES */ #define GLX_VERSION_1_3 1
typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements); #ifdef GLX_GLXEXT_PROTOTYPES
typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements); extern GLXFBConfig * glXGetFBConfigs (Display *, int, int *);
typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value); extern GLXFBConfig * glXChooseFBConfig (Display *, int, const int *, int *);
typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config); extern int glXGetFBConfigAttrib (Display *, GLXFBConfig, int, int *);
typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list); extern XVisualInfo * glXGetVisualFromFBConfig (Display *, GLXFBConfig);
typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win); extern GLXWindow glXCreateWindow (Display *, GLXFBConfig, Window, const int *);
typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list); extern void glXDestroyWindow (Display *, GLXWindow);
typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap); extern GLXPixmap glXCreatePixmap (Display *, GLXFBConfig, Pixmap, const int *);
typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list); extern void glXDestroyPixmap (Display *, GLXPixmap);
typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf); extern GLXPbuffer glXCreatePbuffer (Display *, GLXFBConfig, const int *);
typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value); extern void glXDestroyPbuffer (Display *, GLXPbuffer);
typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct); extern void glXQueryDrawable (Display *, GLXDrawable, int, unsigned int *);
typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); extern GLXContext glXCreateNewContext (Display *, GLXFBConfig, int, GLXContext, Bool);
typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void); extern Bool glXMakeContextCurrent (Display *, GLXDrawable, GLXDrawable, GLXContext);
typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void); extern GLXDrawable glXGetCurrentReadDrawable (void);
typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value); extern Display * glXGetCurrentDisplay (void);
typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask); extern int glXQueryContext (Display *, GLXContext, int, int *);
typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask); extern void glXSelectEvent (Display *, GLXDrawable, unsigned long);
#endif extern void glXGetSelectedEvent (Display *, GLXDrawable, unsigned long *);
#endif /* GLX_GLXEXT_PROTOTYPES */
#ifndef GLX_VERSION_1_4 typedef GLXFBConfig * ( * PFNGLXGETFBCONFIGSPROC) (Display *dpy, int screen, int *nelements);
#define GLX_VERSION_1_4 1 typedef GLXFBConfig * ( * PFNGLXCHOOSEFBCONFIGPROC) (Display *dpy, int screen, const int *attrib_list, int *nelements);
#ifdef GLX_GLXEXT_PROTOTYPES typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *value);
extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *); typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGPROC) (Display *dpy, GLXFBConfig config);
#endif /* GLX_GLXEXT_PROTOTYPES */ typedef GLXWindow ( * PFNGLXCREATEWINDOWPROC) (Display *dpy, GLXFBConfig config, Window win, const int *attrib_list);
typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName); typedef void ( * PFNGLXDESTROYWINDOWPROC) (Display *dpy, GLXWindow win);
#endif typedef GLXPixmap ( * PFNGLXCREATEPIXMAPPROC) (Display *dpy, GLXFBConfig config, Pixmap pixmap, const int *attrib_list);
typedef void ( * PFNGLXDESTROYPIXMAPPROC) (Display *dpy, GLXPixmap pixmap);
#ifndef GLX_ARB_get_proc_address typedef GLXPbuffer ( * PFNGLXCREATEPBUFFERPROC) (Display *dpy, GLXFBConfig config, const int *attrib_list);
#define GLX_ARB_get_proc_address 1 typedef void ( * PFNGLXDESTROYPBUFFERPROC) (Display *dpy, GLXPbuffer pbuf);
#ifdef GLX_GLXEXT_PROTOTYPES typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *); typedef GLXContext ( * PFNGLXCREATENEWCONTEXTPROC) (Display *dpy, GLXFBConfig config, int render_type, GLXContext share_list, Bool direct);
#endif /* GLX_GLXEXT_PROTOTYPES */ typedef Bool ( * PFNGLXMAKECONTEXTCURRENTPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName); typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLEPROC) (void);
#endif typedef Display * ( * PFNGLXGETCURRENTDISPLAYPROC) (void);
typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
#ifndef GLX_ARB_multisample typedef void ( * PFNGLXSELECTEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long event_mask);
#define GLX_ARB_multisample 1 typedef void ( * PFNGLXGETSELECTEDEVENTPROC) (Display *dpy, GLXDrawable draw, unsigned long *event_mask);
#endif #endif
#ifndef GLX_ARB_fbconfig_float #ifndef GLX_VERSION_1_4
#define GLX_ARB_fbconfig_float 1 #define GLX_VERSION_1_4 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern __GLXextFuncPtr glXGetProcAddress (const GLubyte *);
#ifndef GLX_SGIS_multisample #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_SGIS_multisample 1 typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSPROC) (const GLubyte *procName);
#endif #endif
#ifndef GLX_EXT_visual_info #ifndef GLX_ARB_get_proc_address
#define GLX_EXT_visual_info 1 #define GLX_ARB_get_proc_address 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *);
#ifndef GLX_SGI_swap_control #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_SGI_swap_control 1 typedef __GLXextFuncPtr ( * PFNGLXGETPROCADDRESSARBPROC) (const GLubyte *procName);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern int glXSwapIntervalSGI (int);
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifndef GLX_ARB_multisample
typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval); #define GLX_ARB_multisample 1
#endif #endif
#ifndef GLX_SGI_video_sync #ifndef GLX_ARB_fbconfig_float
#define GLX_SGI_video_sync 1 #define GLX_ARB_fbconfig_float 1
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern int glXGetVideoSyncSGI (unsigned int *);
extern int glXWaitVideoSyncSGI (int, int, unsigned int *); #ifndef GLX_SGIS_multisample
#endif /* GLX_GLXEXT_PROTOTYPES */ #define GLX_SGIS_multisample 1
typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count); #endif
typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
#endif #ifndef GLX_EXT_visual_info
#define GLX_EXT_visual_info 1
#ifndef GLX_SGI_make_current_read #endif
#define GLX_SGI_make_current_read 1
#ifdef GLX_GLXEXT_PROTOTYPES #ifndef GLX_SGI_swap_control
extern Bool glXMakeCurrentReadSGI (Display *, GLXDrawable, GLXDrawable, GLXContext); #define GLX_SGI_swap_control 1
extern GLXDrawable glXGetCurrentReadDrawableSGI (void); #ifdef GLX_GLXEXT_PROTOTYPES
#endif /* GLX_GLXEXT_PROTOTYPES */ extern int glXSwapIntervalSGI (int);
typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx); #endif /* GLX_GLXEXT_PROTOTYPES */
typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void); typedef int ( * PFNGLXSWAPINTERVALSGIPROC) (int interval);
#endif #endif
#ifndef GLX_SGIX_video_source #ifndef GLX_SGI_video_sync
#define GLX_SGIX_video_source 1 #define GLX_SGI_video_sync 1
#ifdef _VL_H #ifdef GLX_GLXEXT_PROTOTYPES
#ifdef GLX_GLXEXT_PROTOTYPES extern int glXGetVideoSyncSGI (unsigned int *);
extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *, int, VLServer, VLPath, int, VLNode); extern int glXWaitVideoSyncSGI (int, int, unsigned int *);
extern void glXDestroyGLXVideoSourceSGIX (Display *, GLXVideoSourceSGIX); #endif /* GLX_GLXEXT_PROTOTYPES */
#endif /* GLX_GLXEXT_PROTOTYPES */ typedef int ( * PFNGLXGETVIDEOSYNCSGIPROC) (unsigned int *count);
typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode); typedef int ( * PFNGLXWAITVIDEOSYNCSGIPROC) (int divisor, int remainder, unsigned int *count);
typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource); #endif
#endif /* _VL_H */
#endif #ifndef GLX_SGI_make_current_read
#define GLX_SGI_make_current_read 1
#ifndef GLX_EXT_visual_rating #ifdef GLX_GLXEXT_PROTOTYPES
#define GLX_EXT_visual_rating 1 extern Bool glXMakeCurrentReadSGI (Display *, GLXDrawable, GLXDrawable, GLXContext);
#endif extern GLXDrawable glXGetCurrentReadDrawableSGI (void);
#endif /* GLX_GLXEXT_PROTOTYPES */
#ifndef GLX_EXT_import_context typedef Bool ( * PFNGLXMAKECURRENTREADSGIPROC) (Display *dpy, GLXDrawable draw, GLXDrawable read, GLXContext ctx);
#define GLX_EXT_import_context 1 typedef GLXDrawable ( * PFNGLXGETCURRENTREADDRAWABLESGIPROC) (void);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern Display * glXGetCurrentDisplayEXT (void);
extern int glXQueryContextInfoEXT (Display *, GLXContext, int, int *); #ifndef GLX_SGIX_video_source
extern GLXContextID glXGetContextIDEXT (const GLXContext); #define GLX_SGIX_video_source 1
extern GLXContext glXImportContextEXT (Display *, GLXContextID); #ifdef _VL_H
extern void glXFreeContextEXT (Display *, GLXContext); #ifdef GLX_GLXEXT_PROTOTYPES
#endif /* GLX_GLXEXT_PROTOTYPES */ extern GLXVideoSourceSGIX glXCreateGLXVideoSourceSGIX (Display *, int, VLServer, VLPath, int, VLNode);
typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void); extern void glXDestroyGLXVideoSourceSGIX (Display *, GLXVideoSourceSGIX);
typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value); #endif /* GLX_GLXEXT_PROTOTYPES */
typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context); typedef GLXVideoSourceSGIX ( * PFNGLXCREATEGLXVIDEOSOURCESGIXPROC) (Display *display, int screen, VLServer server, VLPath path, int nodeClass, VLNode drainNode);
typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID); typedef void ( * PFNGLXDESTROYGLXVIDEOSOURCESGIXPROC) (Display *dpy, GLXVideoSourceSGIX glxvideosource);
typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context); #endif /* _VL_H */
#endif #endif
#ifndef GLX_SGIX_fbconfig #ifndef GLX_EXT_visual_rating
#define GLX_SGIX_fbconfig 1 #define GLX_EXT_visual_rating 1
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern int glXGetFBConfigAttribSGIX (Display *, GLXFBConfigSGIX, int, int *);
extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *, int, int *, int *); #ifndef GLX_EXT_import_context
extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *, GLXFBConfigSGIX, Pixmap); #define GLX_EXT_import_context 1
extern GLXContext glXCreateContextWithConfigSGIX (Display *, GLXFBConfigSGIX, int, GLXContext, Bool); #ifdef GLX_GLXEXT_PROTOTYPES
extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *, GLXFBConfigSGIX); extern Display * glXGetCurrentDisplayEXT (void);
extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *, XVisualInfo *); extern int glXQueryContextInfoEXT (Display *, GLXContext, int, int *);
#endif /* GLX_GLXEXT_PROTOTYPES */ extern GLXContextID glXGetContextIDEXT (const GLXContext);
typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value); extern GLXContext glXImportContextEXT (Display *, GLXContextID);
typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements); extern void glXFreeContextEXT (Display *, GLXContext);
typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap); #endif /* GLX_GLXEXT_PROTOTYPES */
typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct); typedef Display * ( * PFNGLXGETCURRENTDISPLAYEXTPROC) (void);
typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config); typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, int *value);
typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis); typedef GLXContextID ( * PFNGLXGETCONTEXTIDEXTPROC) (const GLXContext context);
#endif typedef GLXContext ( * PFNGLXIMPORTCONTEXTEXTPROC) (Display *dpy, GLXContextID contextID);
typedef void ( * PFNGLXFREECONTEXTEXTPROC) (Display *dpy, GLXContext context);
#ifndef GLX_SGIX_pbuffer #endif
#define GLX_SGIX_pbuffer 1
#ifdef GLX_GLXEXT_PROTOTYPES #ifndef GLX_SGIX_fbconfig
extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *); #define GLX_SGIX_fbconfig 1
extern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX); #ifdef GLX_GLXEXT_PROTOTYPES
extern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *); extern int glXGetFBConfigAttribSGIX (Display *, GLXFBConfigSGIX, int, int *);
extern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long); extern GLXFBConfigSGIX * glXChooseFBConfigSGIX (Display *, int, int *, int *);
extern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *); extern GLXPixmap glXCreateGLXPixmapWithConfigSGIX (Display *, GLXFBConfigSGIX, Pixmap);
#endif /* GLX_GLXEXT_PROTOTYPES */ extern GLXContext glXCreateContextWithConfigSGIX (Display *, GLXFBConfigSGIX, int, GLXContext, Bool);
typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list); extern XVisualInfo * glXGetVisualFromFBConfigSGIX (Display *, GLXFBConfigSGIX);
typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf); extern GLXFBConfigSGIX glXGetFBConfigFromVisualSGIX (Display *, XVisualInfo *);
typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value); #endif /* GLX_GLXEXT_PROTOTYPES */
typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask); typedef int ( * PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask); typedef GLXFBConfigSGIX * ( * PFNGLXCHOOSEFBCONFIGSGIXPROC) (Display *dpy, int screen, int *attrib_list, int *nelements);
#endif typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, Pixmap pixmap);
typedef GLXContext ( * PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int render_type, GLXContext share_list, Bool direct);
#ifndef GLX_SGI_cushion typedef XVisualInfo * ( * PFNGLXGETVISUALFROMFBCONFIGSGIXPROC) (Display *dpy, GLXFBConfigSGIX config);
#define GLX_SGI_cushion 1 typedef GLXFBConfigSGIX ( * PFNGLXGETFBCONFIGFROMVISUALSGIXPROC) (Display *dpy, XVisualInfo *vis);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern void glXCushionSGI (Display *, Window, float);
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifndef GLX_SGIX_pbuffer
typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion); #define GLX_SGIX_pbuffer 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern GLXPbufferSGIX glXCreateGLXPbufferSGIX (Display *, GLXFBConfigSGIX, unsigned int, unsigned int, int *);
#ifndef GLX_SGIX_video_resize extern void glXDestroyGLXPbufferSGIX (Display *, GLXPbufferSGIX);
#define GLX_SGIX_video_resize 1 extern int glXQueryGLXPbufferSGIX (Display *, GLXPbufferSGIX, int, unsigned int *);
#ifdef GLX_GLXEXT_PROTOTYPES extern void glXSelectEventSGIX (Display *, GLXDrawable, unsigned long);
extern int glXBindChannelToWindowSGIX (Display *, int, int, Window); extern void glXGetSelectedEventSGIX (Display *, GLXDrawable, unsigned long *);
extern int glXChannelRectSGIX (Display *, int, int, int, int, int, int); #endif /* GLX_GLXEXT_PROTOTYPES */
extern int glXQueryChannelRectSGIX (Display *, int, int, int *, int *, int *, int *); typedef GLXPbufferSGIX ( * PFNGLXCREATEGLXPBUFFERSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, unsigned int width, unsigned int height, int *attrib_list);
extern int glXQueryChannelDeltasSGIX (Display *, int, int, int *, int *, int *, int *); typedef void ( * PFNGLXDESTROYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf);
extern int glXChannelRectSyncSGIX (Display *, int, int, GLenum); typedef int ( * PFNGLXQUERYGLXPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuf, int attribute, unsigned int *value);
#endif /* GLX_GLXEXT_PROTOTYPES */ typedef void ( * PFNGLXSELECTEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long mask);
typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window); typedef void ( * PFNGLXGETSELECTEDEVENTSGIXPROC) (Display *dpy, GLXDrawable drawable, unsigned long *mask);
typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h); #endif
typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h); #ifndef GLX_SGI_cushion
typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype); #define GLX_SGI_cushion 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern void glXCushionSGI (Display *, Window, float);
#ifndef GLX_SGIX_dmbuffer #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_SGIX_dmbuffer 1 typedef void ( * PFNGLXCUSHIONSGIPROC) (Display *dpy, Window window, float cushion);
#ifdef _DM_BUFFER_H_ #endif
#ifdef GLX_GLXEXT_PROTOTYPES
extern Bool glXAssociateDMPbufferSGIX (Display *, GLXPbufferSGIX, DMparams *, DMbuffer); #ifndef GLX_SGIX_video_resize
#endif /* GLX_GLXEXT_PROTOTYPES */ #define GLX_SGIX_video_resize 1
typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer); #ifdef GLX_GLXEXT_PROTOTYPES
#endif /* _DM_BUFFER_H_ */ extern int glXBindChannelToWindowSGIX (Display *, int, int, Window);
#endif extern int glXChannelRectSGIX (Display *, int, int, int, int, int, int);
extern int glXQueryChannelRectSGIX (Display *, int, int, int *, int *, int *, int *);
#ifndef GLX_SGIX_swap_group extern int glXQueryChannelDeltasSGIX (Display *, int, int, int *, int *, int *, int *);
#define GLX_SGIX_swap_group 1 extern int glXChannelRectSyncSGIX (Display *, int, int, GLenum);
#ifdef GLX_GLXEXT_PROTOTYPES #endif /* GLX_GLXEXT_PROTOTYPES */
extern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable); typedef int ( * PFNGLXBINDCHANNELTOWINDOWSGIXPROC) (Display *display, int screen, int channel, Window window);
#endif /* GLX_GLXEXT_PROTOTYPES */ typedef int ( * PFNGLXCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int x, int y, int w, int h);
typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member); typedef int ( * PFNGLXQUERYCHANNELRECTSGIXPROC) (Display *display, int screen, int channel, int *dx, int *dy, int *dw, int *dh);
#endif typedef int ( * PFNGLXQUERYCHANNELDELTASSGIXPROC) (Display *display, int screen, int channel, int *x, int *y, int *w, int *h);
typedef int ( * PFNGLXCHANNELRECTSYNCSGIXPROC) (Display *display, int screen, int channel, GLenum synctype);
#ifndef GLX_SGIX_swap_barrier #endif
#define GLX_SGIX_swap_barrier 1
#ifdef GLX_GLXEXT_PROTOTYPES #ifndef GLX_SGIX_dmbuffer
extern void glXBindSwapBarrierSGIX (Display *, GLXDrawable, int); #define GLX_SGIX_dmbuffer 1
extern Bool glXQueryMaxSwapBarriersSGIX (Display *, int, int *); #ifdef _DM_BUFFER_H_
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifdef GLX_GLXEXT_PROTOTYPES
typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier); extern Bool glXAssociateDMPbufferSGIX (Display *, GLXPbufferSGIX, DMparams *, DMbuffer);
typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max); #endif /* GLX_GLXEXT_PROTOTYPES */
#endif typedef Bool ( * PFNGLXASSOCIATEDMPBUFFERSGIXPROC) (Display *dpy, GLXPbufferSGIX pbuffer, DMparams *params, DMbuffer dmbuffer);
#endif /* _DM_BUFFER_H_ */
#ifndef GLX_SUN_get_transparent_index #endif
#define GLX_SUN_get_transparent_index 1
#ifdef GLX_GLXEXT_PROTOTYPES #ifndef GLX_SGIX_swap_group
extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *); #define GLX_SGIX_swap_group 1
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifdef GLX_GLXEXT_PROTOTYPES
typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex); extern void glXJoinSwapGroupSGIX (Display *, GLXDrawable, GLXDrawable);
#endif #endif /* GLX_GLXEXT_PROTOTYPES */
typedef void ( * PFNGLXJOINSWAPGROUPSGIXPROC) (Display *dpy, GLXDrawable drawable, GLXDrawable member);
#ifndef GLX_MESA_copy_sub_buffer #endif
#define GLX_MESA_copy_sub_buffer 1
#ifdef GLX_GLXEXT_PROTOTYPES #ifndef GLX_SGIX_swap_barrier
extern void glXCopySubBufferMESA (Display *, GLXDrawable, int, int, int, int); #define GLX_SGIX_swap_barrier 1
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifdef GLX_GLXEXT_PROTOTYPES
typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height); extern void glXBindSwapBarrierSGIX (Display *, GLXDrawable, int);
#endif extern Bool glXQueryMaxSwapBarriersSGIX (Display *, int, int *);
#endif /* GLX_GLXEXT_PROTOTYPES */
#ifndef GLX_MESA_pixmap_colormap typedef void ( * PFNGLXBINDSWAPBARRIERSGIXPROC) (Display *dpy, GLXDrawable drawable, int barrier);
#define GLX_MESA_pixmap_colormap 1 typedef Bool ( * PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC) (Display *dpy, int screen, int *max);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern GLXPixmap glXCreateGLXPixmapMESA (Display *, XVisualInfo *, Pixmap, Colormap);
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifndef GLX_SUN_get_transparent_index
typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap); #define GLX_SUN_get_transparent_index 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern Status glXGetTransparentIndexSUN (Display *, Window, Window, long *);
#ifndef GLX_MESA_release_buffers #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_MESA_release_buffers 1 typedef Status ( * PFNGLXGETTRANSPARENTINDEXSUNPROC) (Display *dpy, Window overlay, Window underlay, long *pTransparentIndex);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern Bool glXReleaseBuffersMESA (Display *, GLXDrawable);
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifndef GLX_MESA_copy_sub_buffer
typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable); #define GLX_MESA_copy_sub_buffer 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern void glXCopySubBufferMESA (Display *, GLXDrawable, int, int, int, int);
#ifndef GLX_MESA_set_3dfx_mode #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_MESA_set_3dfx_mode 1 typedef void ( * PFNGLXCOPYSUBBUFFERMESAPROC) (Display *dpy, GLXDrawable drawable, int x, int y, int width, int height);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern Bool glXSet3DfxModeMESA (int);
#endif /* GLX_GLXEXT_PROTOTYPES */ #ifndef GLX_MESA_pixmap_colormap
typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode); #define GLX_MESA_pixmap_colormap 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern GLXPixmap glXCreateGLXPixmapMESA (Display *, XVisualInfo *, Pixmap, Colormap);
#ifndef GLX_SGIX_visual_select_group #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_SGIX_visual_select_group 1 typedef GLXPixmap ( * PFNGLXCREATEGLXPIXMAPMESAPROC) (Display *dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap);
#endif #endif
#ifndef GLX_OML_swap_method #ifndef GLX_MESA_release_buffers
#define GLX_OML_swap_method 1 #define GLX_MESA_release_buffers 1
#endif #ifdef GLX_GLXEXT_PROTOTYPES
extern Bool glXReleaseBuffersMESA (Display *, GLXDrawable);
#ifndef GLX_OML_sync_control #endif /* GLX_GLXEXT_PROTOTYPES */
#define GLX_OML_sync_control 1 typedef Bool ( * PFNGLXRELEASEBUFFERSMESAPROC) (Display *dpy, GLXDrawable drawable);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern Bool glXGetSyncValuesOML (Display *, GLXDrawable, int64_t *, int64_t *, int64_t *);
extern Bool glXGetMscRateOML (Display *, GLXDrawable, int32_t *, int32_t *); #ifndef GLX_MESA_set_3dfx_mode
extern int64_t glXSwapBuffersMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t); #define GLX_MESA_set_3dfx_mode 1
extern Bool glXWaitForMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t, int64_t *, int64_t *, int64_t *); #ifdef GLX_GLXEXT_PROTOTYPES
extern Bool glXWaitForSbcOML (Display *, GLXDrawable, int64_t, int64_t *, int64_t *, int64_t *); extern Bool glXSet3DfxModeMESA (int);
#endif /* GLX_GLXEXT_PROTOTYPES */ #endif /* GLX_GLXEXT_PROTOTYPES */
typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc); typedef Bool ( * PFNGLXSET3DFXMODEMESAPROC) (int mode);
typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator); #endif
typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc); #ifndef GLX_SGIX_visual_select_group
typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc); #define GLX_SGIX_visual_select_group 1
#endif #endif
#ifndef GLX_NV_float_buffer #ifndef GLX_OML_swap_method
#define GLX_NV_float_buffer 1 #define GLX_OML_swap_method 1
#endif #endif
#ifndef GLX_SGIX_hyperpipe #ifndef GLX_OML_sync_control
#define GLX_SGIX_hyperpipe 1 #define GLX_OML_sync_control 1
#ifdef GLX_GLXEXT_PROTOTYPES
typedef struct { extern Bool glXGetSyncValuesOML (Display *, GLXDrawable, int64_t *, int64_t *, int64_t *);
char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; extern Bool glXGetMscRateOML (Display *, GLXDrawable, int32_t *, int32_t *);
int networkId; extern int64_t glXSwapBuffersMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t);
} GLXHyperpipeNetworkSGIX; extern Bool glXWaitForMscOML (Display *, GLXDrawable, int64_t, int64_t, int64_t, int64_t *, int64_t *, int64_t *);
extern Bool glXWaitForSbcOML (Display *, GLXDrawable, int64_t, int64_t *, int64_t *, int64_t *);
typedef struct { #endif /* GLX_GLXEXT_PROTOTYPES */
char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; typedef Bool ( * PFNGLXGETSYNCVALUESOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t *ust, int64_t *msc, int64_t *sbc);
int channel; typedef Bool ( * PFNGLXGETMSCRATEOMLPROC) (Display *dpy, GLXDrawable drawable, int32_t *numerator, int32_t *denominator);
unsigned int typedef int64_t ( * PFNGLXSWAPBUFFERSMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder);
participationType; typedef Bool ( * PFNGLXWAITFORMSCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder, int64_t *ust, int64_t *msc, int64_t *sbc);
int timeSlice; typedef Bool ( * PFNGLXWAITFORSBCOMLPROC) (Display *dpy, GLXDrawable drawable, int64_t target_sbc, int64_t *ust, int64_t *msc, int64_t *sbc);
} GLXHyperpipeConfigSGIX; #endif
typedef struct { #ifndef GLX_NV_float_buffer
char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; #define GLX_NV_float_buffer 1
int srcXOrigin, srcYOrigin, srcWidth, srcHeight; #endif
int destXOrigin, destYOrigin, destWidth, destHeight;
} GLXPipeRect; #ifndef GLX_SGIX_hyperpipe
#define GLX_SGIX_hyperpipe 1
typedef struct {
char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX]; typedef struct {
int XOrigin, YOrigin, maxHeight, maxWidth; char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
} GLXPipeRectLimits; int networkId;
} GLXHyperpipeNetworkSGIX;
#ifdef GLX_GLXEXT_PROTOTYPES
extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *, int *); typedef struct {
extern int glXHyperpipeConfigSGIX (Display *, int, int, GLXHyperpipeConfigSGIX *, int *); char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *, int, int *); int channel;
extern int glXDestroyHyperpipeConfigSGIX (Display *, int); unsigned int
extern int glXBindHyperpipeSGIX (Display *, int); participationType;
extern int glXQueryHyperpipeBestAttribSGIX (Display *, int, int, int, void *, void *); int timeSlice;
extern int glXHyperpipeAttribSGIX (Display *, int, int, int, void *); } GLXHyperpipeConfigSGIX;
extern int glXQueryHyperpipeAttribSGIX (Display *, int, int, int, void *);
#endif /* GLX_GLXEXT_PROTOTYPES */ typedef struct {
typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes); char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId); int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes); int destXOrigin, destYOrigin, destWidth, destHeight;
typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId); } GLXPipeRect;
typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList); typedef struct {
typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList); char pipeName[GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX];
typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList); int XOrigin, YOrigin, maxHeight, maxWidth;
#endif } GLXPipeRectLimits;
#ifndef GLX_MESA_agp_offset #ifdef GLX_GLXEXT_PROTOTYPES
#define GLX_MESA_agp_offset 1 extern GLXHyperpipeNetworkSGIX * glXQueryHyperpipeNetworkSGIX (Display *, int *);
#ifdef GLX_GLXEXT_PROTOTYPES extern int glXHyperpipeConfigSGIX (Display *, int, int, GLXHyperpipeConfigSGIX *, int *);
extern unsigned int glXGetAGPOffsetMESA (const void *); extern GLXHyperpipeConfigSGIX * glXQueryHyperpipeConfigSGIX (Display *, int, int *);
#endif /* GLX_GLXEXT_PROTOTYPES */ extern int glXDestroyHyperpipeConfigSGIX (Display *, int);
typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer); extern int glXBindHyperpipeSGIX (Display *, int);
#endif extern int glXQueryHyperpipeBestAttribSGIX (Display *, int, int, int, void *, void *);
extern int glXHyperpipeAttribSGIX (Display *, int, int, int, void *);
#ifndef GLX_EXT_fbconfig_packed_float extern int glXQueryHyperpipeAttribSGIX (Display *, int, int, int, void *);
#define GLX_EXT_fbconfig_packed_float 1 #endif /* GLX_GLXEXT_PROTOTYPES */
#endif typedef GLXHyperpipeNetworkSGIX * ( * PFNGLXQUERYHYPERPIPENETWORKSGIXPROC) (Display *dpy, int *npipes);
typedef int ( * PFNGLXHYPERPIPECONFIGSGIXPROC) (Display *dpy, int networkId, int npipes, GLXHyperpipeConfigSGIX *cfg, int *hpId);
#ifndef GLX_EXT_framebuffer_sRGB typedef GLXHyperpipeConfigSGIX * ( * PFNGLXQUERYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId, int *npipes);
#define GLX_EXT_framebuffer_sRGB 1 typedef int ( * PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC) (Display *dpy, int hpId);
#endif typedef int ( * PFNGLXBINDHYPERPIPESGIXPROC) (Display *dpy, int hpId);
typedef int ( * PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList, void *returnAttribList);
#ifndef GLX_EXT_texture_from_pixmap typedef int ( * PFNGLXHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *attribList);
#define GLX_EXT_texture_from_pixmap 1 typedef int ( * PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC) (Display *dpy, int timeSlice, int attrib, int size, void *returnAttribList);
#ifdef GLX_GLXEXT_PROTOTYPES #endif
extern void glXBindTexImageEXT (Display *, GLXDrawable, int, const int *);
extern void glXReleaseTexImageEXT (Display *, GLXDrawable, int); #ifndef GLX_MESA_agp_offset
#endif /* GLX_GLXEXT_PROTOTYPES */ #define GLX_MESA_agp_offset 1
typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list); #ifdef GLX_GLXEXT_PROTOTYPES
typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer); extern unsigned int glXGetAGPOffsetMESA (const void *);
#endif #endif /* GLX_GLXEXT_PROTOTYPES */
typedef unsigned int ( * PFNGLXGETAGPOFFSETMESAPROC) (const void *pointer);
#endif
#ifdef __cplusplus
} #ifndef GLX_EXT_fbconfig_packed_float
#endif #define GLX_EXT_fbconfig_packed_float 1
#endif
#endif
#ifndef GLX_EXT_framebuffer_sRGB
#define GLX_EXT_framebuffer_sRGB 1
#endif
#ifndef GLX_EXT_texture_from_pixmap
#define GLX_EXT_texture_from_pixmap 1
#ifdef GLX_GLXEXT_PROTOTYPES
extern void glXBindTexImageEXT (Display *, GLXDrawable, int, const int *);
extern void glXReleaseTexImageEXT (Display *, GLXDrawable, int);
#endif /* GLX_GLXEXT_PROTOTYPES */
typedef void ( * PFNGLXBINDTEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer, const int *attrib_list);
typedef void ( * PFNGLXRELEASETEXIMAGEEXTPROC) (Display *dpy, GLXDrawable drawable, int buffer);
#endif
#ifndef GLX_NV_present_video
#define GLX_NV_present_video 1
#endif
#ifndef GLX_NV_video_out
#define GLX_NV_video_out 1
#endif
#ifndef GLX_NV_swap_group
#define GLX_NV_swap_group 1
#endif
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment