From d80fd5514fe532f8550f14c2fa117a0cab5ece62 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Thu, 6 Aug 2015 10:33:23 +1000 Subject: [PATCH 1/4] Specification filtering refinement - no overview or issues sections --- auto/bin/filter_spec.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/auto/bin/filter_spec.py b/auto/bin/filter_spec.py index 7fc334b..fc30219 100755 --- a/auto/bin/filter_spec.py +++ b/auto/bin/filter_spec.py @@ -2,7 +2,7 @@ import re -section = re.compile('^(Name|Name Strings?|Number|Dependencies|New Procedures and Functions|New Tokens|Additions to .*|Changes to .*|Modifications to .*|Add new Section .*)\s*$') +section = re.compile('^(Name|Name Strings?|Number|Dependencies|Overview|Issues|New Procedures and Functions|New Tokens|Additions to .*|Changes to .*|Modifications to .*|Add new Section .*)\s*$') token = re.compile('^\s+(([A-Z0-9][A-Z0-9_x]*):?\s+((?:0x)?[0-9A-F]+)([^\?]*))?\s*$') if __name__ == '__main__': @@ -16,14 +16,19 @@ if __name__ == '__main__': for i in args: lines = open(i).readlines() f = open(i,'w') + + # Keep track of the current section as we iterate over the input current = '' for j in lines: + + # Detect the start of a new section m = section.match(j) if m: current = m.group(1).strip() if current in [ 'Name', 'Name String', 'Name Strings', 'Number', 'Dependencies', 'New Procedures and Functions', 'New Tokens']: print >>f, j, continue + if current=='New Tokens': if token.match(j): print >>f, j, From 754e051049291a7be7200190140975ef65837e96 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Thu, 6 Aug 2015 10:43:12 +1000 Subject: [PATCH 2/4] Specification filtering refinement - omit contacts, include contacts and notice --- auto/bin/filter_spec.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/auto/bin/filter_spec.py b/auto/bin/filter_spec.py index fc30219..16c2fa9 100755 --- a/auto/bin/filter_spec.py +++ b/auto/bin/filter_spec.py @@ -2,8 +2,9 @@ import re -section = re.compile('^(Name|Name Strings?|Number|Dependencies|Overview|Issues|New Procedures and Functions|New Tokens|Additions to .*|Changes to .*|Modifications to .*|Add new Section .*)\s*$') +section = re.compile('^(Name|Name Strings?|Contact|Notice|Number|Dependencies|Overview|Issues|IP Status|Status|Version|New Procedures and Functions|New Tokens|Additions to .*|Changes to .*|Modifications to .*|Add new Section .*)\s*$') token = re.compile('^\s+(([A-Z0-9][A-Z0-9_x]*):?\s+((?:0x)?[0-9A-F]+)([^\?]*))?\s*$') +match = [ 'Name', 'Name String', 'Contact', 'Notice', 'Name Strings', 'Version', 'Number', 'Dependencies', 'New Procedures and Functions', 'New Tokens'] if __name__ == '__main__': @@ -25,13 +26,13 @@ if __name__ == '__main__': m = section.match(j) if m: current = m.group(1).strip() - if current in [ 'Name', 'Name String', 'Name Strings', 'Number', 'Dependencies', 'New Procedures and Functions', 'New Tokens']: + if current in match: print >>f, j, continue if current=='New Tokens': if token.match(j): print >>f, j, - elif current in [ 'Name', 'Name String', 'Name Strings', 'Number', 'Dependencies', 'New Procedures and Functions']: + elif current in match: print >>f, j, From 0cc7dd8cc597d41730dc07e22ca48668ff289a33 Mon Sep 17 00:00:00 2001 From: yy-yyaa Date: Mon, 22 Jun 2015 21:16:10 +0800 Subject: [PATCH 3/4] OpenGL 4.2 adds TRANSFORM_FEEDBACK_ACTIVE, TRANSFORM_FEEDBACK_PAUSED --- auto/core/gl/GL_VERSION_4_2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/auto/core/gl/GL_VERSION_4_2 b/auto/core/gl/GL_VERSION_4_2 index c94737a..d5c1708 100644 --- a/auto/core/gl/GL_VERSION_4_2 +++ b/auto/core/gl/GL_VERSION_4_2 @@ -3,6 +3,8 @@ https://www.opengl.org/registry/doc/glspec42.compatibility.20120427.pdf GL_COPY_READ_BUFFER_BINDING 0x8F36 GL_COPY_WRITE_BUFFER_BINDING 0x8F37 + GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24 + GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23 GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E From e1815b27297c755b76101c38390f932ed301c3fd Mon Sep 17 00:00:00 2001 From: yy-yyaa Date: Mon, 22 Jun 2015 21:16:10 +0800 Subject: [PATCH 4/4] OpenGL 4.5 omissions - GetnUniformdv, GetnCompressedTexImage, CONTEXT_FLAG_ROBUST_ACCESS_BIT --- auto/core/gl/GL_VERSION_4_5 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/auto/core/gl/GL_VERSION_4_5 b/auto/core/gl/GL_VERSION_4_5 index d4c3a85..3c06e85 100644 --- a/auto/core/gl/GL_VERSION_4_5 +++ b/auto/core/gl/GL_VERSION_4_5 @@ -1,5 +1,8 @@ GL_VERSION_4_5 https://www.opengl.org/registry/doc/glspec45.compatibility.pdf + GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004 GLenum glGetGraphicsResetStatus (void) void glGetnTexImage (GLenum tex, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels) + void glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, GLvoid *pixels) + void glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params)