From d7108c9cade037678db0682967dcac3f9a73483f Mon Sep 17 00:00:00 2001 From: marha Date: Wed, 18 Sep 2013 08:22:43 +0200 Subject: Updated opengl spec files --- xorg-server/hw/xwin/glx/genheaders.py | 32 +++--- xorg-server/hw/xwin/glx/gl.xml | 200 ++++++++++++++++++++++------------ xorg-server/hw/xwin/glx/wglext.h | 2 +- 3 files changed, 145 insertions(+), 89 deletions(-) (limited to 'xorg-server/hw/xwin') diff --git a/xorg-server/hw/xwin/glx/genheaders.py b/xorg-server/hw/xwin/glx/genheaders.py index 3fa16ea36..f9913285d 100644 --- a/xorg-server/hw/xwin/glx/genheaders.py +++ b/xorg-server/hw/xwin/glx/genheaders.py @@ -259,7 +259,7 @@ protectFeature = protect protectProto = protect buildList = [ - # GL API 1.2+ + extensions - glext.h + # GL API 1.2+ + extensions - GL/glext.h CGeneratorOptions( filename = 'GL/glext.h', apiname = 'gl', @@ -278,7 +278,7 @@ buildList = [ apicall = 'GLAPI ', apientry = 'APIENTRY ', apientryp = 'APIENTRYP '), - # GL core profile + extensions - glcorearb.h + # GL core profile + extensions - GL/glcorearb.h CGeneratorOptions( filename = 'GL/glcorearb.h', apiname = 'gl', @@ -297,7 +297,7 @@ buildList = [ apicall = 'GLAPI ', apientry = 'APIENTRY ', apientryp = 'APIENTRYP '), - # GLES 1.x API + mandatory extensions - es1.h (no function pointers) + # GLES 1.x API + mandatory extensions - GLES/gl.h (no function pointers) CGeneratorOptions( filename = 'GLES/gl.h', apiname = 'gles1', @@ -311,12 +311,12 @@ buildList = [ genFuncPointers = False, protectFile = protectFile, protectFeature = protectFeature, - protectProto = protectProto, + protectProto = False, # Core ES API functions are in the static link libraries protectProtoStr = 'GL_GLEXT_PROTOTYPES', apicall = 'GL_API ', apientry = 'GL_APIENTRY ', apientryp = 'GL_APIENTRYP '), - # GLES 1.x extensions - es1ext.h + # GLES 1.x extensions - GLES/glext.h CGeneratorOptions( filename = 'GLES/glext.h', apiname = 'gles1', @@ -335,7 +335,7 @@ buildList = [ apicall = 'GL_API ', apientry = 'GL_APIENTRY ', apientryp = 'GL_APIENTRYP '), - # GLES 2.0 API - es2.h (no function pointers) + # GLES 2.0 API - GLES2/gl2.h (no function pointers) CGeneratorOptions( filename = 'GLES2/gl2.h', apiname = 'gles2', @@ -349,12 +349,12 @@ buildList = [ genFuncPointers = False, protectFile = protectFile, protectFeature = protectFeature, - protectProto = protectProto, + protectProto = False, # Core ES API functions are in the static link libraries protectProtoStr = 'GL_GLEXT_PROTOTYPES', apicall = 'GL_APICALL ', apientry = 'GL_APIENTRY ', apientryp = 'GL_APIENTRYP '), - # GLES 2.0 extensions - es2ext.h + # GLES 2.0 extensions - GLES2/gl2ext.h CGeneratorOptions( filename = 'GLES2/gl2ext.h', apiname = 'gles2', @@ -373,7 +373,7 @@ buildList = [ apicall = 'GL_APICALL ', apientry = 'GL_APIENTRY ', apientryp = 'GL_APIENTRYP '), - # GLES 3.0 API - es3.h (no function pointers) + # GLES 3.0 API - GLES3/gl3.h (no function pointers) CGeneratorOptions( filename = 'GLES3/gl3.h', apiname = 'gles2', @@ -387,12 +387,12 @@ buildList = [ genFuncPointers = False, protectFile = protectFile, protectFeature = protectFeature, - protectProto = protectProto, + protectProto = False, # Core ES API functions are in the static link libraries protectProtoStr = 'GL_GLEXT_PROTOTYPES', apicall = 'GL_APICALL ', apientry = 'GL_APIENTRY ', apientryp = 'GL_APIENTRYP '), - # EGL API - egl.h (no function pointers, yet @@@) + # EGL API - EGL/egl.h (no function pointers, yet @@@) CGeneratorOptions( filename = 'EGL/egl.h', apiname = 'egl', @@ -411,7 +411,7 @@ buildList = [ apicall = 'EGLAPI ', apientry = 'EGLAPIENTRY ', apientryp = 'EGLAPIENTRYP '), - # EGL extensions - eglext.h (no function pointers, yet @@@) + # EGL extensions - EGL/eglext.h (no function pointers, yet @@@) CGeneratorOptions( filename = 'EGL/eglext.h', apiname = 'egl', @@ -430,7 +430,7 @@ buildList = [ apicall = 'EGLAPI ', apientry = 'EGLAPIENTRY ', apientryp = 'EGLAPIENTRYP '), - # GLX 1.* API - glx.h + # GLX 1.* API - GL/glx.h CGeneratorOptions( filename = 'GL/glx.h', apiname = 'glx', @@ -450,7 +450,7 @@ buildList = [ apicall = '', apientry = '', apientryp = ' *'), - # GLX 1.3+ API + extensions - glxext.h (no function pointers, yet @@@) + # GLX 1.3+ API + extensions - GL/glxext.h (no function pointers, yet @@@) CGeneratorOptions( filename = 'GL/glxext.h', apiname = 'glx', @@ -470,7 +470,7 @@ buildList = [ apicall = '', apientry = '', apientryp = ' *'), - # WGL API + extensions - wgl.h (no function pointers, yet @@@) + # WGL API + extensions - GL/wgl.h (no function pointers, yet @@@) CGeneratorOptions( filename = 'GL/wgl.h', apiname = 'wgl', @@ -489,7 +489,7 @@ buildList = [ apicall = '', apientry = 'WINAPI ', apientryp = 'WINAPI * '), - # WGL extensions - wglext.h (no function pointers, yet @@@) + # WGL extensions - GL/wglext.h (no function pointers, yet @@@) CGeneratorOptions( filename = 'GL/wglext.h', apiname = 'wgl', diff --git a/xorg-server/hw/xwin/glx/gl.xml b/xorg-server/hw/xwin/glx/gl.xml index 8844e8a6a..bf6bfc583 100644 --- a/xorg-server/hw/xwin/glx/gl.xml +++ b/xorg-server/hw/xwin/glx/gl.xml @@ -2623,6 +2623,7 @@ typedef unsigned int GLhandleARB; + @@ -2823,6 +2824,7 @@ typedef unsigned int GLhandleARB; + @@ -2864,16 +2866,22 @@ typedef unsigned int GLhandleARB; + + + + + + @@ -3018,6 +3026,7 @@ typedef unsigned int GLhandleARB; + @@ -3026,16 +3035,19 @@ typedef unsigned int GLhandleARB; + + + @@ -3059,6 +3071,7 @@ typedef unsigned int GLhandleARB; + @@ -3111,6 +3124,7 @@ typedef unsigned int GLhandleARB; + @@ -3341,6 +3355,7 @@ typedef unsigned int GLhandleARB; + @@ -3427,6 +3442,7 @@ typedef unsigned int GLhandleARB; + @@ -3659,6 +3675,7 @@ typedef unsigned int GLhandleARB; + @@ -3677,7 +3694,7 @@ typedef unsigned int GLhandleARB; - + @@ -3695,9 +3712,11 @@ typedef unsigned int GLhandleARB; + + @@ -3765,10 +3784,15 @@ typedef unsigned int GLhandleARB; + + + + + @@ -3783,6 +3807,7 @@ typedef unsigned int GLhandleARB; + @@ -4037,6 +4062,7 @@ typedef unsigned int GLhandleARB; + @@ -4668,6 +4694,7 @@ typedef unsigned int GLhandleARB; + @@ -5287,22 +5314,27 @@ typedef unsigned int GLhandleARB; + + + + + @@ -5316,15 +5348,18 @@ typedef unsigned int GLhandleARB; + + + @@ -5715,6 +5750,7 @@ typedef unsigned int GLhandleARB; + @@ -5940,10 +5976,15 @@ typedef unsigned int GLhandleARB; - + + - + + + + + @@ -6099,9 +6140,8 @@ typedef unsigned int GLhandleARB; - - - + + @@ -6184,6 +6224,7 @@ typedef unsigned int GLhandleARB; + @@ -6332,6 +6373,8 @@ typedef unsigned int GLhandleARB; + + @@ -6344,18 +6387,23 @@ typedef unsigned int GLhandleARB; + + + + + @@ -6518,10 +6566,12 @@ typedef unsigned int GLhandleARB; + + @@ -7322,7 +7372,8 @@ typedef unsigned int GLhandleARB; - + + @@ -7389,6 +7440,7 @@ typedef unsigned int GLhandleARB; + @@ -7694,7 +7746,7 @@ typedef unsigned int GLhandleARB; - + @@ -7814,57 +7866,6 @@ typedef unsigned int GLhandleARB; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -11187,7 +11188,6 @@ typedef unsigned int GLhandleARB; GLint first GLsizei count GLsizei instancecount - void glDrawArraysInstancedANGLE @@ -11203,7 +11203,6 @@ typedef unsigned int GLhandleARB; GLsizei count GLsizei primcount - void glDrawArraysInstancedBaseInstance @@ -11213,14 +11212,13 @@ typedef unsigned int GLhandleARB; GLsizei instancecount GLuint baseinstance - + void glDrawArraysInstancedEXT GLenum mode GLint start GLsizei count GLsizei primcount - void glDrawArraysInstancedNV @@ -11309,7 +11307,6 @@ typedef unsigned int GLhandleARB; GLenum type const GLvoid *indices GLsizei instancecount - void glDrawElementsInstancedANGLE @@ -11327,7 +11324,6 @@ typedef unsigned int GLhandleARB; const GLvoid *indices GLsizei primcount - void glDrawElementsInstancedBaseInstance @@ -11357,7 +11353,7 @@ typedef unsigned int GLhandleARB; GLint basevertex GLuint baseinstance - + void glDrawElementsInstancedEXT GLenum mode GLsizei count @@ -11365,7 +11361,6 @@ typedef unsigned int GLhandleARB; const GLvoid *indices GLsizei primcount - void glDrawElementsInstancedNV @@ -25274,6 +25269,12 @@ typedef unsigned int GLhandleARB; GLuint divisor + + void glVertexAttribDivisorEXT + GLuint index + GLuint divisor + + void glVertexAttribDivisorNV GLuint index @@ -29072,6 +29073,7 @@ typedef unsigned int GLhandleARB; + @@ -29790,6 +29792,7 @@ typedef unsigned int GLhandleARB; + @@ -30576,6 +30579,8 @@ typedef unsigned int GLhandleARB; + + @@ -31114,6 +31119,13 @@ typedef unsigned int GLhandleARB; + + + + + + + @@ -31561,6 +31573,9 @@ typedef unsigned int GLhandleARB; + + + @@ -32369,6 +32384,9 @@ typedef unsigned int GLhandleARB; + + + @@ -32416,6 +32434,9 @@ typedef unsigned int GLhandleARB; + + + @@ -34176,6 +34197,7 @@ typedef unsigned int GLhandleARB; + @@ -34204,9 +34226,6 @@ typedef unsigned int GLhandleARB; - - - @@ -35659,6 +35678,10 @@ typedef unsigned int GLhandleARB; + + + + @@ -36107,7 +36130,7 @@ typedef unsigned int GLhandleARB; - + @@ -36372,6 +36395,14 @@ typedef unsigned int GLhandleARB; + + + + + + + + @@ -36569,6 +36600,14 @@ typedef unsigned int GLhandleARB; + + + + + + + + @@ -36683,6 +36722,23 @@ typedef unsigned int GLhandleARB; + + + + + + + + + + + + + + + + + @@ -36911,7 +36967,7 @@ typedef unsigned int GLhandleARB; - + diff --git a/xorg-server/hw/xwin/glx/wglext.h b/xorg-server/hw/xwin/glx/wglext.h index 0bb4b0819..775cb4710 100644 --- a/xorg-server/hw/xwin/glx/wglext.h +++ b/xorg-server/hw/xwin/glx/wglext.h @@ -41,7 +41,7 @@ extern "C" { #include #endif -#define WGL_WGLEXT_VERSION 20130819 +#define WGL_WGLEXT_VERSION 20130916 /* Generated C header for: * API: wgl -- cgit v1.2.3