Commit 4ed280fc authored by Lionel Ulmer's avatar Lionel Ulmer Committed by Alexandre Julliard

- update to latest GL spec files

- added KTX Buffer Region extension
parent 4c6e36fa
...@@ -280,8 +280,28 @@ $pseudo_to_opengl{"IglooParameterSGIX"} = "GLint"; ...@@ -280,8 +280,28 @@ $pseudo_to_opengl{"IglooParameterSGIX"} = "GLint";
# [ "GLubyte *", "bitmap"] ] ]; # [ "GLubyte *", "bitmap"] ] ];
# #
%norm_functions = (); %norm_functions = ();
#
# This stores various extensions NOT part of the GL extension registry but still
# implemented by most OpenGL libraries out there...
#
%ext_functions = %ext_functions =
( "glMTexCoord2fSGIS" => [ "glMTexCoord2fSGIS", "void", [ [ "GLenum", "target" ], ( "glDeleteBufferRegion" => [ "glDeleteBufferRegion", "void", [ [ "GLenum", "region" ] ], "glDeleteBufferRegion" ],
"glReadBufferRegion" => [ "glReadBufferRegion", "void", [ [ "GLenum", "region" ],
[ "GLint", "x" ],
[ "GLint", "y" ],
[ "GLsizei", "width" ],
[ "GLsizei", "height" ] ], "glReadBufferRegion" ],
"glDrawBufferRegion" => [ "glDrawBufferRegion", "void", [ [ "GLenum", "region" ],
[ "GLint", "x" ],
[ "GLint", "y" ],
[ "GLsizei", "width" ],
[ "GLsizei", "height" ],
[ "GLint", "xDest" ],
[ "GLint", "yDest" ] ], "glDrawBufferRegion" ],
"glBufferRegionEnabled" => [ "glBufferRegionEnabled", "GLuint", [ ], "glBufferRegionEnabled" ],
"glNewBufferRegion" => [ "glNewBufferRegion", "GLuint", [ [ "GLenum", "type" ] ], "glNewBufferRegion" ],
"glMTexCoord2fSGIS" => [ "glMTexCoord2fSGIS", "void", [ [ "GLenum", "target" ],
[ "GLfloat", "s" ], [ "GLfloat", "s" ],
[ "GLfloat", "t" ] ], "glMTexCoord2fSGIS" ], [ "GLfloat", "t" ] ], "glMTexCoord2fSGIS" ],
"glMTexCoord2fvSGIS" => [ "glMTexCoord2fvSGIS", "void", [ [ "GLenum", "target" ], "glMTexCoord2fvSGIS" => [ "glMTexCoord2fvSGIS", "void", [ [ "GLenum", "target" ],
...@@ -490,9 +510,7 @@ close(REGISTRY); ...@@ -490,9 +510,7 @@ close(REGISTRY);
# #
open(SPEC, ">" . $spec_file); open(SPEC, ">" . $spec_file);
print SPEC "init OpenGL32_Init print SPEC "@ stdcall wglCreateContext(long) wglCreateContext
@ stdcall wglCreateContext(long) wglCreateContext
@ stdcall wglCreateLayerContext(long long) wglCreateLayerContext @ stdcall wglCreateLayerContext(long long) wglCreateLayerContext
@ stdcall wglCopyContext(long long long) wglCopyContext @ stdcall wglCopyContext(long long long) wglCopyContext
@ stdcall wglDeleteContext(long) wglDeleteContext @ stdcall wglDeleteContext(long) wglDeleteContext
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment