summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Leech <oddhack@sonic.net>2017-07-26 22:59:04 -0700
committerJon Leech <oddhack@sonic.net>2017-07-26 22:59:04 -0700
commit07b8390f16e485e36b6d3e9686c869c04f6054c9 (patch)
treea7285b6c16479e6269d18e98a9ba637cec345796
parentfb6a87e625427950ae0a6006af0adb55d88c95d0 (diff)
downloadopengl-registry-07b8390f16e485e36b6d3e9686c869c04f6054c9.zip
opengl-registry-07b8390f16e485e36b6d3e9686c869c04f6054c9.tar.xz
Add GL_NV_blend_minmax_factor.txt per
https://github.com/KhronosGroup/OpenGL-API/issues/8 . Also add missing extension infrastructure for GL_NV_texture_rectangle_compressed, which was merged in #7 but didn't include changes to gl.xml and registry.py.
-rwxr-xr-xapi/GL/glcorearb.h4
-rw-r--r--api/GL/glext.h4
-rw-r--r--extensions/NV/NV_blend_minmax_factor.txt2
-rw-r--r--extensions/esext.php2
-rw-r--r--extensions/glext.php2
-rw-r--r--extensions/registry.py8
-rw-r--r--xml/gl.xml1
7 files changed, 21 insertions, 2 deletions
diff --git a/api/GL/glcorearb.h b/api/GL/glcorearb.h
index 810fbeb..5312fb3 100755
--- a/api/GL/glcorearb.h
+++ b/api/GL/glcorearb.h
@@ -5448,6 +5448,10 @@ GLAPI void APIENTRY glTextureBarrierNV (void);
#endif
#endif /* GL_NV_texture_barrier */
+#ifndef GL_NV_texture_rectangle_compressed
+#define GL_NV_texture_rectangle_compressed 1
+#endif /* GL_NV_texture_rectangle_compressed */
+
#ifndef GL_NV_uniform_buffer_unified_memory
#define GL_NV_uniform_buffer_unified_memory 1
#define GL_UNIFORM_BUFFER_UNIFIED_NV 0x936E
diff --git a/api/GL/glext.h b/api/GL/glext.h
index 4f18e70..c817cf7 100644
--- a/api/GL/glext.h
+++ b/api/GL/glext.h
@@ -10743,6 +10743,10 @@ GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenu
#define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
#endif /* GL_NV_texture_rectangle */
+#ifndef GL_NV_texture_rectangle_compressed
+#define GL_NV_texture_rectangle_compressed 1
+#endif /* GL_NV_texture_rectangle_compressed */
+
#ifndef GL_NV_texture_shader
#define GL_NV_texture_shader 1
#define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
diff --git a/extensions/NV/NV_blend_minmax_factor.txt b/extensions/NV/NV_blend_minmax_factor.txt
index f892b90..0c617ad 100644
--- a/extensions/NV/NV_blend_minmax_factor.txt
+++ b/extensions/NV/NV_blend_minmax_factor.txt
@@ -29,7 +29,7 @@ Version
Number
- OpenGL Extension #509
+ OpenGL Extension #510
OpenGL ES Extension #285
Dependencies
diff --git a/extensions/esext.php b/extensions/esext.php
index 340e21d..27d5bb3 100644
--- a/extensions/esext.php
+++ b/extensions/esext.php
@@ -591,4 +591,6 @@
</li>
<li value=284><a href="extensions/EXT/EXT_external_buffer.txt">GL_EXT_external_buffer</a>
</li>
+<li value=285><a href="extensions/NV/NV_blend_minmax_factor.txt">GL_NV_blend_minmax_factor</a>
+</li>
</ol>
diff --git a/extensions/glext.php b/extensions/glext.php
index 337764f..7aa2dc8 100644
--- a/extensions/glext.php
+++ b/extensions/glext.php
@@ -955,4 +955,6 @@
</li>
<li value=509><a href="extensions/NV/NV_texture_rectangle_compressed.txt">GL_NV_texture_rectangle_compressed</a>
</li>
+<li value=510><a href="extensions/NV/NV_blend_minmax_factor.txt">GL_NV_blend_minmax_factor</a>
+</li>
</ol>
diff --git a/extensions/registry.py b/extensions/registry.py
index 5845cde..ce30013 100644
--- a/extensions/registry.py
+++ b/extensions/registry.py
@@ -2967,7 +2967,7 @@ registry = {
'alias' : { 'GL_NV_blend_equation_advanced_coherent' },
},
'GL_NV_blend_minmax_factor' : {
- 'number' : 509,
+ 'number' : 510,
'esnumber' : 285,
'flags' : { 'public' },
'supporters' : { 'NVIDIA' },
@@ -3603,6 +3603,12 @@ registry = {
'supporters' : { 'NVIDIA' },
'url' : 'extensions/NV/NV_texture_rectangle.txt',
},
+ 'GL_NV_texture_rectangle_compressed' : {
+ 'number' : 509,
+ 'flags' : { 'public' },
+ 'supporters' : { 'NVIDIA' },
+ 'url' : 'extensions/NV/NV_texture_rectangle_compressed.txt',
+ },
'GL_NV_texture_shader' : {
'number' : 230,
'flags' : { 'public' },
diff --git a/xml/gl.xml b/xml/gl.xml
index 487a1dc..108278b 100644
--- a/xml/gl.xml
+++ b/xml/gl.xml
@@ -45652,6 +45652,7 @@ typedef unsigned int GLhandleARB;
<enum name="GL_MAX_RECTANGLE_TEXTURE_SIZE_NV"/>
</require>
</extension>
+ <extension name="GL_NV_texture_rectangle_compressed" supported="gl|glcore"/>
<extension name="GL_NV_texture_shader" supported="gl">
<require>
<enum name="GL_OFFSET_TEXTURE_RECTANGLE_NV"/>