From 781dd6b6cd83b2d736565010974da702b7196fa1 Mon Sep 17 00:00:00 2001 From: Rytis-Stan Date: Sat, 28 Oct 2023 21:20:44 +0300 Subject: [PATCH 1/3] Renamed "cap" parameter of "glEnable", "glDisable", "glIsEnabled" commands to "target" The renaming was done to be consistent with "glEnablei", "glDisablei" and "glIsEnabledi" commands (both in this XML and in the specification PDFs). Note that the parameter of "glIsEnabled" command should technically be called "value" (according to the specification PDFs), but it was renamed to "target" for sake of consistency among all the related commands. Alternatively, it can be renamed to "value" again to completely match the specifications --- xml/gl.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xml/gl.xml b/xml/gl.xml index bb772cd4..f61b7079 100644 --- a/xml/gl.xml +++ b/xml/gl.xml @@ -10941,7 +10941,7 @@ typedef unsigned int GLhandleARB; void glDisable - GLenum cap + GLenum target @@ -11628,7 +11628,7 @@ typedef unsigned int GLhandleARB; void glEnable - GLenum cap + GLenum target @@ -16742,7 +16742,7 @@ typedef unsigned int GLhandleARB; GLboolean glIsEnabled - GLenum cap + GLenum target From 9accd00ce7f175bdd40726ce9ad817e72b90708d Mon Sep 17 00:00:00 2001 From: Rytis-Stan Date: Sat, 28 Oct 2023 21:20:44 +0300 Subject: [PATCH 2/3] Renamed "cap" parameter of "glEnable", "glDisable", "glIsEnabled" commands to "target" The renaming was done to be consistent with "glEnablei", "glDisablei" and "glIsEnabledi" commands (both in this XML and in the specification PDFs). Note that the parameter of "glIsEnabled" command should technically be called "value" (according to the specification PDFs), but it was renamed to "target" for sake of consistency among all the related commands. Alternatively, it can be renamed to "value" again to completely match the specifications --- xml/gl.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xml/gl.xml b/xml/gl.xml index bb772cd4..f61b7079 100644 --- a/xml/gl.xml +++ b/xml/gl.xml @@ -10941,7 +10941,7 @@ typedef unsigned int GLhandleARB; void glDisable - GLenum cap + GLenum target @@ -11628,7 +11628,7 @@ typedef unsigned int GLhandleARB; void glEnable - GLenum cap + GLenum target @@ -16742,7 +16742,7 @@ typedef unsigned int GLhandleARB; GLboolean glIsEnabled - GLenum cap + GLenum target From 0524129da42307a1634ab723fb0c8a32e5e5ef85 Mon Sep 17 00:00:00 2001 From: Rytis-Stan Date: Thu, 2 Nov 2023 22:03:16 +0200 Subject: [PATCH 3/3] Renamed "EnableCap" group to "EnableTarget" --- xml/gl.xml | 346 ++++++++++++++++++++++++++--------------------------- 1 file changed, 173 insertions(+), 173 deletions(-) diff --git a/xml/gl.xml b/xml/gl.xml index f61b7079..46b48e32 100644 --- a/xml/gl.xml +++ b/xml/gl.xml @@ -665,20 +665,20 @@ typedef unsigned int GLhandleARB; - + - + - + @@ -689,23 +689,23 @@ typedef unsigned int GLhandleARB; - - + + - + - + - + - + @@ -714,14 +714,14 @@ typedef unsigned int GLhandleARB; - + - + @@ -732,7 +732,7 @@ typedef unsigned int GLhandleARB; - + @@ -750,23 +750,23 @@ typedef unsigned int GLhandleARB; - + - + - + - + - + @@ -776,7 +776,7 @@ typedef unsigned int GLhandleARB; - + @@ -796,10 +796,10 @@ typedef unsigned int GLhandleARB; - - - - + + + + @@ -894,35 +894,35 @@ typedef unsigned int GLhandleARB; - + - - - - - - - - - + + + + + + + + + - - - - - - - - - + + + + + + + + + - - + + @@ -1108,9 +1108,9 @@ typedef unsigned int GLhandleARB; - + - + @@ -1130,51 +1130,51 @@ typedef unsigned int GLhandleARB; - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - - - - - - - + + + + + + + + @@ -1217,11 +1217,11 @@ typedef unsigned int GLhandleARB; - + - + - + @@ -1257,7 +1257,7 @@ typedef unsigned int GLhandleARB; - + @@ -1277,7 +1277,7 @@ typedef unsigned int GLhandleARB; - + @@ -1295,12 +1295,12 @@ typedef unsigned int GLhandleARB; - + - + @@ -1413,7 +1413,7 @@ typedef unsigned int GLhandleARB; - + @@ -1425,18 +1425,18 @@ typedef unsigned int GLhandleARB; - + - + - + - + - + - + @@ -1484,7 +1484,7 @@ typedef unsigned int GLhandleARB; - + @@ -1493,22 +1493,22 @@ typedef unsigned int GLhandleARB; - + - - + + - - + + - - + + - + @@ -1567,7 +1567,7 @@ typedef unsigned int GLhandleARB; - + @@ -1595,12 +1595,12 @@ typedef unsigned int GLhandleARB; - - - - - - + + + + + + @@ -1712,12 +1712,12 @@ typedef unsigned int GLhandleARB; - + - + @@ -1737,7 +1737,7 @@ typedef unsigned int GLhandleARB; - + @@ -1794,20 +1794,20 @@ typedef unsigned int GLhandleARB; - + - + - + - + @@ -1823,7 +1823,7 @@ typedef unsigned int GLhandleARB; - + @@ -1941,7 +1941,7 @@ typedef unsigned int GLhandleARB; - + @@ -2022,7 +2022,7 @@ typedef unsigned int GLhandleARB; - + @@ -2356,7 +2356,7 @@ typedef unsigned int GLhandleARB; - + @@ -2399,7 +2399,7 @@ typedef unsigned int GLhandleARB; - + @@ -2410,9 +2410,9 @@ typedef unsigned int GLhandleARB; - - - + + + @@ -2524,8 +2524,8 @@ typedef unsigned int GLhandleARB; - - + + @@ -2536,14 +2536,14 @@ typedef unsigned int GLhandleARB; - - - - - - - - + + + + + + + + @@ -2777,9 +2777,9 @@ typedef unsigned int GLhandleARB; - - - + + + @@ -2838,10 +2838,10 @@ typedef unsigned int GLhandleARB; - - - - + + + + @@ -3209,7 +3209,7 @@ typedef unsigned int GLhandleARB; - + @@ -3229,7 +3229,7 @@ typedef unsigned int GLhandleARB; - + @@ -3880,7 +3880,7 @@ typedef unsigned int GLhandleARB; - + @@ -4685,7 +4685,7 @@ typedef unsigned int GLhandleARB; - + @@ -4786,7 +4786,7 @@ typedef unsigned int GLhandleARB; - + @@ -5050,7 +5050,7 @@ typedef unsigned int GLhandleARB; - + @@ -5060,7 +5060,7 @@ typedef unsigned int GLhandleARB; - + @@ -5163,7 +5163,7 @@ typedef unsigned int GLhandleARB; - + @@ -5367,7 +5367,7 @@ typedef unsigned int GLhandleARB; - + @@ -5625,7 +5625,7 @@ typedef unsigned int GLhandleARB; - + @@ -5662,7 +5662,7 @@ typedef unsigned int GLhandleARB; - + @@ -6445,7 +6445,7 @@ typedef unsigned int GLhandleARB; - + @@ -6894,7 +6894,7 @@ typedef unsigned int GLhandleARB; - + @@ -6931,10 +6931,10 @@ typedef unsigned int GLhandleARB; - + - + @@ -7234,7 +7234,7 @@ typedef unsigned int GLhandleARB; void glArrayObjectATI - GLenum array + GLenum array GLint size GLenum type GLsizei stride @@ -10941,21 +10941,21 @@ typedef unsigned int GLhandleARB; void glDisable - GLenum target + GLenum target void glDisableClientState - GLenum array + GLenum array void glDisableClientStateIndexedEXT - GLenum array + GLenum array GLuint index void glDisableClientStateiEXT - GLenum array + GLenum array GLuint index @@ -10964,7 +10964,7 @@ typedef unsigned int GLhandleARB; void glDisableIndexedEXT - GLenum target + GLenum target GLuint index @@ -10986,7 +10986,7 @@ typedef unsigned int GLhandleARB; void glDisableVertexArrayEXT GLuint vaobj - GLenum array + GLenum array void glDisableVertexAttribAPPLE @@ -11004,24 +11004,24 @@ typedef unsigned int GLhandleARB; void glDisablei - GLenum target + GLenum target GLuint index void glDisableiEXT - GLenum target + GLenum target GLuint index void glDisableiNV - GLenum target + GLenum target GLuint index void glDisableiOES - GLenum target + GLenum target GLuint index @@ -11628,21 +11628,21 @@ typedef unsigned int GLhandleARB; void glEnable - GLenum target + GLenum target void glEnableClientState - GLenum array + GLenum array void glEnableClientStateIndexedEXT - GLenum array + GLenum array GLuint index void glEnableClientStateiEXT - GLenum array + GLenum array GLuint index @@ -11651,7 +11651,7 @@ typedef unsigned int GLhandleARB; void glEnableIndexedEXT - GLenum target + GLenum target GLuint index @@ -11673,7 +11673,7 @@ typedef unsigned int GLhandleARB; void glEnableVertexArrayEXT GLuint vaobj - GLenum array + GLenum array void glEnableVertexAttribAPPLE @@ -11691,24 +11691,24 @@ typedef unsigned int GLhandleARB; void glEnablei - GLenum target + GLenum target GLuint index void glEnableiEXT - GLenum target + GLenum target GLuint index void glEnableiNV - GLenum target + GLenum target GLuint index void glEnableiOES - GLenum target + GLenum target GLuint index @@ -13022,13 +13022,13 @@ typedef unsigned int GLhandleARB; void glGetArrayObjectfvATI - GLenum array + GLenum array GLenum pname GLfloat *params void glGetArrayObjectivATI - GLenum array + GLenum array GLenum pname GLint *params @@ -16742,36 +16742,36 @@ typedef unsigned int GLhandleARB; GLboolean glIsEnabled - GLenum target + GLenum target GLboolean glIsEnabledIndexedEXT - GLenum target + GLenum target GLuint index GLboolean glIsEnabledi - GLenum target + GLenum target GLuint index GLboolean glIsEnablediEXT - GLenum target + GLenum target GLuint index GLboolean glIsEnablediNV - GLenum target + GLenum target GLuint index GLboolean glIsEnablediOES - GLenum target + GLenum target GLuint index