From 9b5567b4ebb48e43075434ef92536e43b6e8f984 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Tue, 12 Aug 2014 00:06:56 +1000 Subject: [PATCH] Add initial OpenGL 4.5 support and relevant extensions, version bump to 1.11.0 --- auto/bin/filter_gl_ext.sh | 12 + auto/core/gl/GL_VERSION_3_0 | 2 +- auto/core/gl/GL_VERSION_3_1 | 2 +- auto/core/gl/GL_VERSION_3_2 | 2 +- auto/core/gl/GL_VERSION_3_3 | 2 +- auto/core/gl/GL_VERSION_4_0 | 2 +- auto/core/gl/GL_VERSION_4_1 | 3 +- auto/core/gl/GL_VERSION_4_2 | 2 +- auto/core/gl/GL_VERSION_4_3 | 2 +- auto/core/gl/GL_VERSION_4_4 | 2 +- auto/core/gl/GL_VERSION_4_5 | 2 + auto/doc/index.html | 9 +- auto/doc/log.html | 70 ++- auto/src/glew_init_gl.c | 3 +- auto/src/header.html | 11 +- config/version | 2 +- doc/advanced.html | 11 +- doc/basic.html | 11 +- doc/build.html | 11 +- doc/credits.html | 11 +- doc/glew.html | 936 ++++++++++++++++++------------------ doc/glxew.html | 136 +++--- doc/index.html | 20 +- doc/install.html | 11 +- doc/log.html | 81 +++- doc/wglew.html | 110 +++-- 26 files changed, 790 insertions(+), 676 deletions(-) create mode 100644 auto/core/gl/GL_VERSION_4_5 diff --git a/auto/bin/filter_gl_ext.sh b/auto/bin/filter_gl_ext.sh index 97030fb..4d2c2ed 100755 --- a/auto/bin/filter_gl_ext.sh +++ b/auto/bin/filter_gl_ext.sh @@ -478,5 +478,17 @@ EOT head -n3 $1/GL_AMD_gpu_shader_int64 > tmp mv tmp $1/GL_AMD_gpu_shader_int64 +# Filter out GL_NO_ERROR enum from GL_KHR_robustness + grep -v 'GL_NO_ERROR' $1/GL_KHR_robustness > tmp + mv tmp $1/GL_KHR_robustness + +# Filter out all enums from GL_KHR_blend_equation_advanced_coherent + grep -v '0x' $1/GL_KHR_blend_equation_advanced_coherent > tmp + mv tmp $1/GL_KHR_blend_equation_advanced_coherent + +# Filter out glBlendBarrierKHR enum from GL_KHR_blend_equation_advanced_coherent + grep -v 'glBlendBarrierKHR' $1/GL_KHR_blend_equation_advanced_coherent > tmp + mv tmp $1/GL_KHR_blend_equation_advanced_coherent + # clean up rm -f $1/*.bak diff --git a/auto/core/gl/GL_VERSION_3_0 b/auto/core/gl/GL_VERSION_3_0 index 41f0c85..c87cdab 100644 --- a/auto/core/gl/GL_VERSION_3_0 +++ b/auto/core/gl/GL_VERSION_3_0 @@ -1,5 +1,5 @@ GL_VERSION_3_0 -http://www.opengl.org/registry/doc/glspec30.20080811.pdf +https://www.opengl.org/registry/doc/glspec30.20080923.pdf GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB GL_CLIP_DISTANCE0 GL_CLIP_PLANE0 diff --git a/auto/core/gl/GL_VERSION_3_1 b/auto/core/gl/GL_VERSION_3_1 index 51f452e..a829a77 100644 --- a/auto/core/gl/GL_VERSION_3_1 +++ b/auto/core/gl/GL_VERSION_3_1 @@ -1,5 +1,5 @@ GL_VERSION_3_1 -http://www.opengl.org/registry/doc/glspec30.20080811.pdf +https://www.opengl.org/registry/doc/glspec31.20090528.pdf GL_SAMPLER_2D_RECT 0x8B63 GL_SAMPLER_2D_RECT_SHADOW 0x8B64 diff --git a/auto/core/gl/GL_VERSION_3_2 b/auto/core/gl/GL_VERSION_3_2 index a3f0b43..85cea08 100644 --- a/auto/core/gl/GL_VERSION_3_2 +++ b/auto/core/gl/GL_VERSION_3_2 @@ -1,5 +1,5 @@ GL_VERSION_3_2 -http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf +https://www.opengl.org/registry/doc/glspec32.compatibility.20091207.pdf GL_CONTEXT_CORE_PROFILE_BIT 0x00000001 GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002 diff --git a/auto/core/gl/GL_VERSION_3_3 b/auto/core/gl/GL_VERSION_3_3 index 1fbe90b..bbd6914 100644 --- a/auto/core/gl/GL_VERSION_3_3 +++ b/auto/core/gl/GL_VERSION_3_3 @@ -1,5 +1,5 @@ GL_VERSION_3_3 -http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf +https://www.opengl.org/registry/doc/glspec33.compatibility.20100311.pdf GL_RGB10_A2UI 0x906F GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE diff --git a/auto/core/gl/GL_VERSION_4_0 b/auto/core/gl/GL_VERSION_4_0 index dc33f91..a3a0dc2 100644 --- a/auto/core/gl/GL_VERSION_4_0 +++ b/auto/core/gl/GL_VERSION_4_0 @@ -1,5 +1,5 @@ GL_VERSION_4_0 -http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf +https://www.opengl.org/registry/doc/glspec40.compatibility.20100311.pdf GL_SAMPLE_SHADING 0x8C36 GL_MIN_SAMPLE_SHADING_VALUE 0x8C37 diff --git a/auto/core/gl/GL_VERSION_4_1 b/auto/core/gl/GL_VERSION_4_1 index 4c51e00..91da382 100644 --- a/auto/core/gl/GL_VERSION_4_1 +++ b/auto/core/gl/GL_VERSION_4_1 @@ -1,3 +1,2 @@ GL_VERSION_4_1 -http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf - +https://www.opengl.org/registry/doc/glspec41.compatibility.20100725.pdf diff --git a/auto/core/gl/GL_VERSION_4_2 b/auto/core/gl/GL_VERSION_4_2 index 401fb63..fa75117 100644 --- a/auto/core/gl/GL_VERSION_4_2 +++ b/auto/core/gl/GL_VERSION_4_2 @@ -1,5 +1,5 @@ GL_VERSION_4_2 -http://www.opengl.org/registry/doc/glspec42.core.20110822.pdf +https://www.opengl.org/registry/doc/glspec42.compatibility.20120427.pdf GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D diff --git a/auto/core/gl/GL_VERSION_4_3 b/auto/core/gl/GL_VERSION_4_3 index 333109f..dc2b408 100644 --- a/auto/core/gl/GL_VERSION_4_3 +++ b/auto/core/gl/GL_VERSION_4_3 @@ -1,5 +1,5 @@ GL_VERSION_4_3 -http://www.opengl.org/registry/ +https://www.opengl.org/registry/doc/glspec43.compatibility.20130214.pdf GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9 diff --git a/auto/core/gl/GL_VERSION_4_4 b/auto/core/gl/GL_VERSION_4_4 index 8cb83ca..959c146 100644 --- a/auto/core/gl/GL_VERSION_4_4 +++ b/auto/core/gl/GL_VERSION_4_4 @@ -1,5 +1,5 @@ GL_VERSION_4_4 -http://www.opengl.org/registry/ +https://www.opengl.org/registry/doc/glspec44.compatibility.pdf GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5 GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221 diff --git a/auto/core/gl/GL_VERSION_4_5 b/auto/core/gl/GL_VERSION_4_5 new file mode 100644 index 0000000..c51e936 --- /dev/null +++ b/auto/core/gl/GL_VERSION_4_5 @@ -0,0 +1,2 @@ +GL_VERSION_4_5 +https://www.opengl.org/registry/doc/glspec45.compatibility.pdf diff --git a/auto/doc/index.html b/auto/doc/index.html index 8d8b1c7..7181882 100644 --- a/auto/doc/index.html +++ b/auto/doc/index.html @@ -13,7 +13,7 @@ Mac OS X, FreeBSD, Irix, and Solaris. GLEW is distributed as source and precompiled binaries.
The latest release is -1.10.0[07-22-13]: +1.11.0[08-11-14]:

@@ -27,8 +27,8 @@ The latest release is Source -ZIP |  -TGZ +ZIP |  +TGZ @@ -36,7 +36,7 @@ The latest release is Binaries -Windows 32-bit and 64-bit |  +Windows 32-bit and 64-bit @@ -77,6 +77,7 @@ The latest release contains support for OpenGL 4.4 and the following extensions:

News

@@ -492,13 +548,13 @@
  • Bug fixes: + @@ -526,7 +582,7 @@
  • Missing tokens in GL_VERSION_2_1
  • Missing functions in GL_VERSION_1_4
  • Incorrect parameter type for glXCopyContext - +
    @@ -548,7 +604,7 @@ corruption of their values
  • Incorrect function names in GL_EXT_gpu_program_parameters
  • Missing tokens in GL_EXT_framebuffer_multisample
  • GLEW_MX initialization problem for WGL_{ARB,EXT}_extensions_string - +
    @@ -796,7 +852,7 @@ corruption of their values @@ -625,7 +678,7 @@ width="88" height="32" border="0" alt="Support This Project"> -->
  • Missing tokens in GL_VERSION_2_1
  • Missing functions in GL_VERSION_1_4
  • Incorrect parameter type for glXCopyContext - +
    @@ -647,7 +700,7 @@ corruption of their values
  • Incorrect function names in GL_EXT_gpu_program_parameters
  • Missing tokens in GL_EXT_framebuffer_multisample
  • GLEW_MX initialization problem for WGL_{ARB,EXT}_extensions_string - +
    @@ -895,7 +948,7 @@ corruption of their values