diff options
-rw-r--r-- | gl/glext.h | 18 | ||||
-rw-r--r-- | mesalib/include/GL/glext.h | 18 | ||||
-rw-r--r-- | xorg-server/hw/xwin/glx/gl.xml | 106 | ||||
-rw-r--r-- | xorg-server/hw/xwin/glx/wgl.xml | 10 | ||||
-rw-r--r-- | xorg-server/hw/xwin/glx/wglext.h | 10 |
5 files changed, 103 insertions, 59 deletions
diff --git a/gl/glext.h b/gl/glext.h index 8ac56e92a..e1e6f036b 100644 --- a/gl/glext.h +++ b/gl/glext.h @@ -53,7 +53,7 @@ extern "C" { #define GLAPI extern #endif -#define GL_GLEXT_VERSION 20130816 +#define GL_GLEXT_VERSION 20130828 /* Generated C header for: * API: gl @@ -2469,7 +2469,7 @@ typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLu typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); @@ -2513,7 +2513,7 @@ GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor) GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); GLAPI void APIENTRY glPopDebugGroup (void); GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); @@ -2728,12 +2728,12 @@ typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLe typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); #endif #endif /* GL_ARB_debug_output */ @@ -6126,6 +6126,7 @@ typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLu typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLvoid **param); typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data); typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); @@ -6160,7 +6161,8 @@ typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaob typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); @@ -6380,6 +6382,7 @@ GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, G GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLvoid **param); GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); +GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data); GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); @@ -6414,7 +6417,8 @@ GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint at GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); #endif #endif /* GL_EXT_direct_state_access */ diff --git a/mesalib/include/GL/glext.h b/mesalib/include/GL/glext.h index 8ac56e92a..e1e6f036b 100644 --- a/mesalib/include/GL/glext.h +++ b/mesalib/include/GL/glext.h @@ -53,7 +53,7 @@ extern "C" { #define GLAPI extern #endif -#define GL_GLEXT_VERSION 20130816 +#define GL_GLEXT_VERSION 20130828 /* Generated C header for: * API: gl @@ -2469,7 +2469,7 @@ typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLu typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message); typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void); typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); @@ -2513,7 +2513,7 @@ GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor) GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message); GLAPI void APIENTRY glPopDebugGroup (void); GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label); @@ -2728,12 +2728,12 @@ typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLe typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam); -typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled); GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf); GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam); -GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); +GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog); #endif #endif /* GL_ARB_debug_output */ @@ -6126,6 +6126,7 @@ typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLu typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLvoid **param); typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length); +typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data); typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param); @@ -6160,7 +6161,8 @@ typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaob typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex); typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor); typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor); #ifdef GL_GLEXT_PROTOTYPES GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m); GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m); @@ -6380,6 +6382,7 @@ GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, G GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLvoid **param); GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access); GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length); +GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags); GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data); GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data); GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param); @@ -6414,7 +6417,8 @@ GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint at GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex); GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor); GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset); -GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean resident); +GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor); #endif #endif /* GL_EXT_direct_state_access */ diff --git a/xorg-server/hw/xwin/glx/gl.xml b/xorg-server/hw/xwin/glx/gl.xml index c33041fe3..8844e8a6a 100644 --- a/xorg-server/hw/xwin/glx/gl.xml +++ b/xorg-server/hw/xwin/glx/gl.xml @@ -12701,7 +12701,7 @@ typedef unsigned int GLhandleARB; <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLint</ptype> *<name>size</name></param> <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> - <param><ptype>GLchar</ptype> *<name>name</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> </command> <command> <proto>void <name>glGetActiveAttribARB</name></proto> @@ -12711,7 +12711,7 @@ typedef unsigned int GLhandleARB; <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLint</ptype> *<name>size</name></param> <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> - <param><ptype>GLcharARB</ptype> *<name>name</name></param> + <param len="maxLength"><ptype>GLcharARB</ptype> *<name>name</name></param> <alias name="glGetActiveAttrib"/> </command> <command> @@ -12748,7 +12748,7 @@ typedef unsigned int GLhandleARB; <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLint</ptype> *<name>size</name></param> <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> - <param><ptype>GLchar</ptype> *<name>name</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> </command> <command> <proto>void <name>glGetActiveUniformARB</name></proto> @@ -12758,7 +12758,7 @@ typedef unsigned int GLhandleARB; <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLint</ptype> *<name>size</name></param> <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> - <param><ptype>GLcharARB</ptype> *<name>name</name></param> + <param len="maxLength"><ptype>GLcharARB</ptype> *<name>name</name></param> <alias name="glGetActiveUniform"/> </command> <command> @@ -13136,13 +13136,13 @@ typedef unsigned int GLhandleARB; <command> <proto><ptype>GLuint</ptype> <name>glGetDebugMessageLog</name></proto> <param><ptype>GLuint</ptype> <name>count</name></param> - <param><ptype>GLsizei</ptype> <name>bufsize</name></param> - <param len="COMPSIZE(count)"><ptype>GLenum</ptype> *<name>sources</name></param> - <param len="COMPSIZE(count)"><ptype>GLenum</ptype> *<name>types</name></param> - <param len="COMPSIZE(count)"><ptype>GLuint</ptype> *<name>ids</name></param> - <param len="COMPSIZE(count)"><ptype>GLenum</ptype> *<name>severities</name></param> - <param len="COMPSIZE(count)"><ptype>GLsizei</ptype> *<name>lengths</name></param> - <param len="COMPSIZE(bufsize)"><ptype>GLchar</ptype> *<name>messageLog</name></param> + <param><ptype>GLsizei</ptype> <name>bufSize</name></param> + <param len="count"><ptype>GLenum</ptype> *<name>sources</name></param> + <param len="count"><ptype>GLenum</ptype> *<name>types</name></param> + <param len="count"><ptype>GLuint</ptype> *<name>ids</name></param> + <param len="count"><ptype>GLenum</ptype> *<name>severities</name></param> + <param len="count"><ptype>GLsizei</ptype> *<name>lengths</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>messageLog</name></param> </command> <command> <proto><ptype>GLuint</ptype> <name>glGetDebugMessageLogAMD</name></proto> @@ -13157,25 +13157,25 @@ typedef unsigned int GLhandleARB; <command> <proto><ptype>GLuint</ptype> <name>glGetDebugMessageLogARB</name></proto> <param><ptype>GLuint</ptype> <name>count</name></param> - <param><ptype>GLsizei</ptype> <name>bufsize</name></param> + <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="count"><ptype>GLenum</ptype> *<name>sources</name></param> <param len="count"><ptype>GLenum</ptype> *<name>types</name></param> <param len="count"><ptype>GLuint</ptype> *<name>ids</name></param> <param len="count"><ptype>GLenum</ptype> *<name>severities</name></param> <param len="count"><ptype>GLsizei</ptype> *<name>lengths</name></param> - <param len="COMPSIZE(lengths)"><ptype>GLchar</ptype> *<name>messageLog</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>messageLog</name></param> <alias name="glGetDebugMessageLog"/> </command> <command> <proto><ptype>GLuint</ptype> <name>glGetDebugMessageLogKHR</name></proto> <param><ptype>GLuint</ptype> <name>count</name></param> - <param><ptype>GLsizei</ptype> <name>bufsize</name></param> - <param><ptype>GLenum</ptype> *<name>sources</name></param> - <param><ptype>GLenum</ptype> *<name>types</name></param> - <param><ptype>GLuint</ptype> *<name>ids</name></param> - <param><ptype>GLenum</ptype> *<name>severities</name></param> - <param><ptype>GLsizei</ptype> *<name>lengths</name></param> - <param><ptype>GLchar</ptype> *<name>messageLog</name></param> + <param><ptype>GLsizei</ptype> <name>bufSize</name></param> + <param len="count"><ptype>GLenum</ptype> *<name>sources</name></param> + <param len="count"><ptype>GLenum</ptype> *<name>types</name></param> + <param len="count"><ptype>GLuint</ptype> *<name>ids</name></param> + <param len="count"><ptype>GLenum</ptype> *<name>severities</name></param> + <param len="count"><ptype>GLsizei</ptype> *<name>lengths</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>messageLog</name></param> <alias name="glGetDebugMessageLog"/> </command> <command> @@ -13215,13 +13215,13 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>driverControl</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param><ptype>GLchar</ptype> *<name>driverControlString</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>driverControlString</name></param> </command> <command> <proto>void <name>glGetDriverControlsQCOM</name></proto> <param><ptype>GLint</ptype> *<name>num</name></param> <param><ptype>GLsizei</ptype> <name>size</name></param> - <param><ptype>GLuint</ptype> *<name>driverControls</name></param> + <param len="size"><ptype>GLuint</ptype> *<name>driverControls</name></param> </command> <command> <proto group="ErrorCode"><ptype>GLenum</ptype> <name>glGetError</name></proto> @@ -13460,7 +13460,7 @@ typedef unsigned int GLhandleARB; <param group="handleARB"><ptype>GLhandleARB</ptype> <name>obj</name></param> <param><ptype>GLsizei</ptype> <name>maxLength</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLcharARB</ptype> *<name>infoLog</name></param> + <param len="maxLength"><ptype>GLcharARB</ptype> *<name>infoLog</name></param> </command> <command> <proto><ptype>GLint</ptype> <name>glGetInstrumentsSGIX</name></proto> @@ -13996,7 +13996,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>object</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param><ptype>GLchar</ptype> *<name>label</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>label</name></param> </command> <command> <proto>void <name>glGetObjectLabelKHR</name></proto> @@ -14004,7 +14004,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>name</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param><ptype>GLchar</ptype> *<name>label</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>label</name></param> <alias name="glGetObjectLabel"/> </command> <command> @@ -14038,7 +14038,7 @@ typedef unsigned int GLhandleARB; <param>const void *<name>ptr</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param><ptype>GLchar</ptype> *<name>label</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>label</name></param> <alias name="glGetObjectPtrLabel"/> </command> <command> @@ -14277,7 +14277,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLenum</ptype> *<name>binaryFormat</name></param> - <param len="COMPSIZE(length)"><ptype>GLvoid</ptype> *<name>binary</name></param> + <param len="bufSize"><ptype>GLvoid</ptype> *<name>binary</name></param> </command> <command> <proto>void <name>glGetProgramBinaryOES</name></proto> @@ -14285,7 +14285,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> <param><ptype>GLenum</ptype> *<name>binaryFormat</name></param> - <param><ptype>GLvoid</ptype> *<name>binary</name></param> + <param len="bufSize"><ptype>GLvoid</ptype> *<name>binary</name></param> </command> <command> <proto>void <name>glGetProgramEnvParameterIivNV</name></proto> @@ -14316,7 +14316,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLchar</ptype> *<name>infoLog</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>infoLog</name></param> <glx type="single" opcode="201"/> </command> <command> @@ -14387,14 +14387,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>pipeline</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="COMPSIZE(length)"><ptype>GLchar</ptype> *<name>infoLog</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>infoLog</name></param> </command> <command> <proto>void <name>glGetProgramPipelineInfoLogEXT</name></proto> <param><ptype>GLuint</ptype> <name>pipeline</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param><ptype>GLchar</ptype> *<name>infoLog</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>infoLog</name></param> </command> <command> <proto>void <name>glGetProgramPipelineiv</name></proto> @@ -14659,7 +14659,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>shader</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLchar</ptype> *<name>infoLog</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>infoLog</name></param> <glx type="single" opcode="200"/> </command> <command> @@ -14674,14 +14674,14 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>shader</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLchar</ptype> *<name>source</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>source</name></param> </command> <command> <proto>void <name>glGetShaderSourceARB</name></proto> <param group="handleARB"><ptype>GLhandleARB</ptype> <name>obj</name></param> <param><ptype>GLsizei</ptype> <name>maxLength</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLcharARB</ptype> *<name>source</name></param> + <param len="maxLength"><ptype>GLcharARB</ptype> *<name>source</name></param> <alias name="glGetShaderSource"/> </command> <command> @@ -14725,7 +14725,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLint</ptype> *<name>values</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>values</name></param> </command> <command> <proto>void <name>glGetSyncivAPPLE</name></proto> @@ -14733,7 +14733,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param><ptype>GLint</ptype> *<name>values</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>values</name></param> </command> <command> <proto>void <name>glGetTexBumpParameterfvATI</name></proto> @@ -14997,7 +14997,7 @@ typedef unsigned int GLhandleARB; <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>size</name></param> <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> - <param len="COMPSIZE(length)"><ptype>GLchar</ptype> *<name>name</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> </command> <command> <proto>void <name>glGetTransformFeedbackVaryingEXT</name></proto> @@ -15007,7 +15007,7 @@ typedef unsigned int GLhandleARB; <param len="1"><ptype>GLsizei</ptype> *<name>length</name></param> <param len="1"><ptype>GLsizei</ptype> *<name>size</name></param> <param len="1"><ptype>GLenum</ptype> *<name>type</name></param> - <param len="COMPSIZE(length)"><ptype>GLchar</ptype> *<name>name</name></param> + <param len="bufSize"><ptype>GLchar</ptype> *<name>name</name></param> <alias name="glGetTransformFeedbackVarying"/> </command> <command> @@ -15520,7 +15520,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLfloat</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLfloat</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformivARB</name></proto> @@ -15534,7 +15534,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>program</name></param> <param><ptype>GLint</ptype> <name>location</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLint</ptype> *<name>params</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>params</name></param> </command> <command> <proto>void <name>glGetnUniformuivARB</name></proto> @@ -20541,7 +20541,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>format</name></param> <param><ptype>GLenum</ptype> <name>type</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> - <param><ptype>GLvoid</ptype> *<name>data</name></param> + <param len="bufSize"><ptype>GLvoid</ptype> *<name>data</name></param> </command> <command> <proto>void <name>glRectd</name></proto> @@ -22970,7 +22970,6 @@ typedef unsigned int GLhandleARB; <command> <proto>void <name>glTexturePageCommitmentEXT</name></proto> <param><ptype>GLuint</ptype> <name>texture</name></param> - <param><ptype>GLenum</ptype> <name>target</name></param> <param><ptype>GLint</ptype> <name>level</name></param> <param><ptype>GLint</ptype> <name>xoffset</name></param> <param><ptype>GLint</ptype> <name>yoffset</name></param> @@ -23975,7 +23974,7 @@ typedef unsigned int GLhandleARB; <param><ptype>GLenum</ptype> <name>pname</name></param> <param><ptype>GLsizei</ptype> <name>bufSize</name></param> <param><ptype>GLsizei</ptype> *<name>length</name></param> - <param len="length"><ptype>GLint</ptype> *<name>values</name></param> + <param len="bufSize"><ptype>GLint</ptype> *<name>values</name></param> </command> <command> <proto>void <name>glVDPAUInitNV</name></proto> @@ -24423,6 +24422,12 @@ typedef unsigned int GLhandleARB; <param><ptype>GLuint</ptype> <name>bindingindex</name></param> </command> <command> + <proto>void <name>glVertexArrayVertexAttribDivisorEXT</name></proto> + <param><ptype>GLuint</ptype> <name>vaobj</name></param> + <param><ptype>GLuint</ptype> <name>index</name></param> + <param><ptype>GLuint</ptype> <name>divisor</name></param> + </command> + <command> <proto>void <name>glVertexArrayVertexAttribFormatEXT</name></proto> <param><ptype>GLuint</ptype> <name>vaobj</name></param> <param><ptype>GLuint</ptype> <name>attribindex</name></param> @@ -35963,6 +35968,9 @@ typedef unsigned int GLhandleARB; <command name="glMapNamedBufferRangeEXT"/> <command name="glFlushMappedNamedBufferRangeEXT"/> </require> + <require comment="Extended by GL_ARB_buffer_storage"> + <command name="glNamedBufferStorageEXT"/> + </require> <require comment="Extended by GL_ARB_clear_buffer_object"> <command name="glClearNamedBufferDataEXT"/> <command name="glClearNamedBufferSubDataEXT"/> @@ -36016,6 +36024,9 @@ typedef unsigned int GLhandleARB; <require comment="Extended by GL_ARB_sparse_texture"> <command name="glTexturePageCommitmentEXT"/> </require> + <require comment="Extended by GL_ARB_instanced_arrays"> + <command name="glVertexArrayVertexAttribDivisorEXT"/> + </require> </extension> <extension name="GL_EXT_discard_framebuffer" supported="gles1|gles2"> <require> @@ -36594,6 +36605,11 @@ typedef unsigned int GLhandleARB; <enum name="GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT"/> </require> </extension> + <extension name="GL_EXT_sRGB_write_control" supported="gles2"> + <require> + <enum name="GL_FRAMEBUFFER_SRGB_EXT"/> + </require> + </extension> <extension name="GL_EXT_secondary_color" supported="gl"> <require> <enum name="GL_COLOR_SUM_EXT"/> @@ -37086,7 +37102,7 @@ typedef unsigned int GLhandleARB; <enum name="GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT"/> </require> </extension> - <extension name="GL_EXT_texture_sRGB_decode" supported="gl"> + <extension name="GL_EXT_texture_sRGB_decode" supported="gl|gles2"> <require> <enum name="GL_TEXTURE_SRGB_DECODE_EXT"/> <enum name="GL_DECODE_EXT"/> @@ -37157,6 +37173,8 @@ typedef unsigned int GLhandleARB; <command name="glTexStorage1DEXT"/> <command name="glTexStorage2DEXT"/> <command name="glTexStorage3DEXT"/> + </require> + <require comment="Supported only if GL_EXT_direct_state_access is supported"> <command name="glTextureStorage1DEXT"/> <command name="glTextureStorage2DEXT"/> <command name="glTextureStorage3DEXT"/> diff --git a/xorg-server/hw/xwin/glx/wgl.xml b/xorg-server/hw/xwin/glx/wgl.xml index 1758dcb71..8e0315308 100644 --- a/xorg-server/hw/xwin/glx/wgl.xml +++ b/xorg-server/hw/xwin/glx/wgl.xml @@ -661,6 +661,11 @@ <param>const int *<name>piAttribList</name></param> </command> <command> + <proto><ptype>BOOL</ptype> <name>wglDelayBeforeSwapNV</name></proto> + <param><ptype>HDC</ptype> <name>hDC</name></param> + <param><ptype>GLfloat</ptype> <name>seconds</name></param> + </command> + <command> <proto><ptype>BOOL</ptype> <name>wglDeleteAssociatedContextAMD</name></proto> <param><ptype>HGLRC</ptype> <name>hglrc</name></param> </command> @@ -1943,5 +1948,10 @@ <require> </require> </extension> + <extension name="WGL_NV_delay_before_swap" supported="wgl"> + <require> + <command name="wglDelayBeforeSwapNV"/> + </require> + </extension> </extensions> </registry> diff --git a/xorg-server/hw/xwin/glx/wglext.h b/xorg-server/hw/xwin/glx/wglext.h index c23568570..0bb4b0819 100644 --- a/xorg-server/hw/xwin/glx/wglext.h +++ b/xorg-server/hw/xwin/glx/wglext.h @@ -41,7 +41,7 @@ extern "C" { #include <windows.h> #endif -#define WGL_WGLEXT_VERSION 20130710 +#define WGL_WGLEXT_VERSION 20130819 /* Generated C header for: * API: wgl @@ -645,6 +645,14 @@ BOOL WINAPI wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarge #endif #endif /* WGL_NV_copy_image */ +#ifndef WGL_NV_delay_before_swap +#define WGL_NV_delay_before_swap 1 +typedef BOOL (WINAPI * PFNWGLDELAYBEFORESWAPNVPROC) (HDC hDC, GLfloat seconds); +#ifdef WGL_WGLEXT_PROTOTYPES +BOOL WINAPI wglDelayBeforeSwapNV (HDC hDC, GLfloat seconds); +#endif +#endif /* WGL_NV_delay_before_swap */ + #ifndef WGL_NV_float_buffer #define WGL_NV_float_buffer 1 #define WGL_FLOAT_COMPONENTS_NV 0x20B0 |