mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 10:44:47 +00:00
opengl32: Store GL extensions in a private XML file instead of Perl arrays.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fd7fbc922a
commit
e8767bed3c
5 changed files with 480 additions and 219 deletions
|
@ -443,147 +443,8 @@ if ($version eq "1.0") {
|
|||
# [ "GLfloat", "ymove" ],
|
||||
# [ "GLubyte *", "bitmap"] ] ];
|
||||
#
|
||||
my %norm_functions = ( "glDebugEntry" => [ "GLint", [[ "GLint", "unknown1" ],
|
||||
[ "GLint", "unknown2" ]] ] );
|
||||
|
||||
#
|
||||
# This stores various extensions NOT part of the GL extension registry but still
|
||||
# implemented by most OpenGL libraries out there...
|
||||
#
|
||||
|
||||
my %ext_functions =
|
||||
(
|
||||
"glDeleteBufferRegion" => [ "void", [ [ "GLenum", "region" ] ], [ "GL_KTX_buffer_region" ] ],
|
||||
"glReadBufferRegion" => [ "void", [ [ "GLenum", "region" ],
|
||||
[ "GLint", "x" ],
|
||||
[ "GLint", "y" ],
|
||||
[ "GLsizei", "width" ],
|
||||
[ "GLsizei", "height" ] ], [ "GL_KTX_buffer_region" ] ],
|
||||
"glDrawBufferRegion" => [ "void", [ [ "GLenum", "region" ],
|
||||
[ "GLint", "x" ],
|
||||
[ "GLint", "y" ],
|
||||
[ "GLsizei", "width" ],
|
||||
[ "GLsizei", "height" ],
|
||||
[ "GLint", "xDest" ],
|
||||
[ "GLint", "yDest" ] ], [ "GL_KTX_buffer_region" ] ],
|
||||
"glBufferRegionEnabled" => [ "GLuint", [ ], [ "GL_KTX_buffer_region" ] ],
|
||||
"glNewBufferRegion" => [ "GLuint", [ [ "GLenum", "type" ] ], [ "GL_KTX_buffer_region" ] ],
|
||||
"glMTexCoord2fSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat", "s" ],
|
||||
[ "GLfloat", "t" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMTexCoord2fvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1dSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble", "s" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1dvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1fSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat", "s" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1fvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "const GLfloat *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1iSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint", "s" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1ivSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1sSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort", "s" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord1svSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2dSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble", "s"],
|
||||
[ "GLdouble", "t" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2dvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2fSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat", "s" ],
|
||||
[ "GLfloat", "t" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2fvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2iSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint", "s" ],
|
||||
[ "GLint", "t" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2ivSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2sSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort", "s" ],
|
||||
[ "GLshort", "t" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord2svSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3dSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble", "s" ],
|
||||
[ "GLdouble", "t" ],
|
||||
[ "GLdouble", "r" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3dvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3fSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat", "s" ],
|
||||
[ "GLfloat", "t" ],
|
||||
[ "GLfloat", "r" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3fvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3iSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint", "s" ],
|
||||
[ "GLint", "t" ],
|
||||
[ "GLint", "r" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3ivSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3sSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort", "s" ],
|
||||
[ "GLshort", "t" ],
|
||||
[ "GLshort", "r" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord3svSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4dSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble", "s" ],
|
||||
[ "GLdouble", "t" ],
|
||||
[ "GLdouble", "r" ],
|
||||
[ "GLdouble", "q" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4dvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLdouble *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4fSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat", "s" ],
|
||||
[ "GLfloat", "t" ],
|
||||
[ "GLfloat", "r" ],
|
||||
[ "GLfloat", "q" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4fvSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLfloat *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4iSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint", "s" ],
|
||||
[ "GLint", "t" ],
|
||||
[ "GLint", "r" ],
|
||||
[ "GLint", "q" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4ivSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4sSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort", "s" ],
|
||||
[ "GLshort", "t" ],
|
||||
[ "GLshort", "r" ],
|
||||
[ "GLshort", "q" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoord4svSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLshort *", "v" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glMultiTexCoordPointerSGIS" => [ "void", [ [ "GLenum", "target" ],
|
||||
[ "GLint", "size" ],
|
||||
[ "GLenum", "type" ],
|
||||
[ "GLsizei", "stride" ],
|
||||
[ "GLvoid *", "pointer" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glSelectTextureSGIS" => [ "void", [ [ "GLenum", "target" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glSelectTextureCoordSetSGIS" => [ "void", [ [ "GLenum", "target" ] ], [ "GL_SGIS_multitexture" ] ],
|
||||
"glDeleteObjectBufferATI" => [ "void", [ [ "GLuint", "buffer" ] ], [ "GL_ATI_vertex_array_object" ] ],
|
||||
"wglSetPixelFormatWINE" => [ "BOOL", [ [ "HDC", "hdc" ],
|
||||
[ "int", "format" ] ], [ "WGL_WINE_pixel_format_passthrough" ] ],
|
||||
"wglQueryCurrentRendererIntegerWINE" => [ "BOOL", [ [ "GLenum", "attribute" ],
|
||||
[ "GLuint *", "value" ] ], [ "WGL_WINE_query_renderer" ] ],
|
||||
"wglQueryCurrentRendererStringWINE" => [ "const GLchar *", [ [ "GLenum", "attribute" ] ],
|
||||
[ "WGL_WINE_query_renderer" ] ],
|
||||
"wglQueryRendererIntegerWINE" => [ "BOOL", [ [ "HDC", "dc" ],
|
||||
[ "GLint", "renderer" ],
|
||||
[ "GLenum", "attribute" ],
|
||||
[ "GLuint *", "value" ] ], [ "WGL_WINE_query_renderer" ] ],
|
||||
"wglQueryRendererStringWINE" => [ "const GLchar *", [ [ "HDC", "dc" ],
|
||||
[ "GLint", "renderer" ],
|
||||
[ "GLenum", "attribute" ] ], [ "WGL_WINE_query_renderer" ] ],
|
||||
);
|
||||
|
||||
my %norm_functions;
|
||||
my %ext_functions;
|
||||
|
||||
my %wgl_functions =
|
||||
(
|
||||
|
@ -620,23 +481,10 @@ my %supported_wgl_extensions =
|
|||
"WGL_EXT_swap_control" => 1,
|
||||
"WGL_NV_vertex_array_range" => 1,
|
||||
"WGL_WINE_pixel_format_passthrough" => 1,
|
||||
"WGL_WINE_query_renderer" => 1,
|
||||
);
|
||||
|
||||
my %enums =
|
||||
(
|
||||
"WGL_RENDERER_VENDOR_ID_WINE" => "0x8183",
|
||||
"WGL_RENDERER_DEVICE_ID_WINE" => "0x8184",
|
||||
"WGL_RENDERER_VERSION_WINE" => "0x8185",
|
||||
"WGL_RENDERER_ACCELERATED_WINE" => "0x8186",
|
||||
"WGL_RENDERER_VIDEO_MEMORY_WINE" => "0x8187",
|
||||
"WGL_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_WINE" => "0x8188",
|
||||
"WGL_RENDERER_PREFERRED_PROFILE_WINE" => "0x8189",
|
||||
"WGL_RENDERER_OPENGL_CORE_PROFILE_VERSION_WINE" => "0x818A",
|
||||
"WGL_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_WINE" => "0x818B",
|
||||
"WGL_RENDERER_OPENGL_ES_PROFILE_VERSION_WINE" => "0x818C",
|
||||
"WGL_RENDERER_OPENGL_ES2_PROFILE_VERSION_WINE" => "0x818D",
|
||||
"WGL_RENDERER_ID_WINE" => "0x818E",
|
||||
);
|
||||
my %enums;
|
||||
|
||||
sub parse_variable($)
|
||||
{
|
||||
|
@ -677,7 +525,8 @@ sub parse_file($$)
|
|||
my %functions;
|
||||
|
||||
# save all functions
|
||||
for my $command ( @{${$data->{commands}}[0]->{'command'}} ) {
|
||||
for my $cmds (@{$data->{commands}}) {
|
||||
for my $command ( @{$cmds->{'command'}} ) {
|
||||
my $name = '';
|
||||
my $ret = '';
|
||||
my $params = [];
|
||||
|
@ -691,6 +540,7 @@ sub parse_file($$)
|
|||
}
|
||||
$functions{$name} = [ $ret, $params ];
|
||||
}
|
||||
}
|
||||
|
||||
# save all enums (only GL)
|
||||
if ($generate_enums) {
|
||||
|
@ -758,6 +608,7 @@ sub parse_file($$)
|
|||
|
||||
parse_file( "gl.xml", 1 );
|
||||
parse_file( "wgl.xml", 0 );
|
||||
parse_file( "winegl.xml", 1 );
|
||||
|
||||
#
|
||||
# Get the current wgl_driver.h version
|
||||
|
|
410
dlls/opengl32/winegl.xml
Normal file
410
dlls/opengl32/winegl.xml
Normal file
|
@ -0,0 +1,410 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<registry>
|
||||
<comment>
|
||||
This stores various extensions NOT part of the GL extension registry but still
|
||||
implemented by most OpenGL libraries out there.
|
||||
|
||||
Copyright 2000 Lionel Ulmer
|
||||
Copyright 2017 Alexandre Julliard
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
</comment>
|
||||
|
||||
<commands namespace="GL">
|
||||
<command>
|
||||
<proto>GLint <name>glDebugEntry</name></proto>
|
||||
<param><ptype>GLint</ptype> <name>unknown1</name></param>
|
||||
<param><ptype>GLint</ptype> <name>unknown2</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>GLuint <name>glBufferRegionEnabled</name></proto>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glDeleteBufferRegion</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>region</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glDrawBufferRegion</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>region</name></param>
|
||||
<param><ptype>GLint</ptype> <name>x</name></param>
|
||||
<param><ptype>GLint</ptype> <name>y</name></param>
|
||||
<param><ptype>GLsizei</ptype> <name>width</name></param>
|
||||
<param><ptype>GLsizei</ptype> <name>height</name></param>
|
||||
<param><ptype>GLint</ptype> <name>xDest</name></param>
|
||||
<param><ptype>GLint</ptype> <name>yDest</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>GLuint <name>glNewBufferRegion</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>type</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glReadBufferRegion</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>region</name></param>
|
||||
<param><ptype>GLint</ptype> <name>x</name></param>
|
||||
<param><ptype>GLint</ptype> <name>y</name></param>
|
||||
<param><ptype>GLsizei</ptype> <name>width</name></param>
|
||||
<param><ptype>GLsizei</ptype> <name>height</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMTexCoord2fSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>s</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>t</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMTexCoord2fvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1dSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>s</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1dvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1fSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>s</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1fvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>const GLfloat *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1iSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint</ptype> <name>s</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1ivSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1sSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>s</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord1svSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2dSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>s</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>t</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2dvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2fSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>s</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>t</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2fvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2iSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint</ptype> <name>s</name></param>
|
||||
<param><ptype>GLint</ptype> <name>t</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2ivSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2sSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>s</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>t</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord2svSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3dSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>s</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>t</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>r</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3dvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3fSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>s</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>t</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>r</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3fvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3iSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint</ptype> <name>s</name></param>
|
||||
<param><ptype>GLint</ptype> <name>t</name></param>
|
||||
<param><ptype>GLint</ptype> <name>r</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3ivSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3sSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>s</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>t</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>r</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord3svSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4dSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>s</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>t</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>r</name></param>
|
||||
<param><ptype>GLdouble</ptype> <name>q</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4dvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLdouble *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4fSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>s</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>t</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>r</name></param>
|
||||
<param><ptype>GLfloat</ptype> <name>q</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4fvSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLfloat *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4iSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint</ptype> <name>s</name></param>
|
||||
<param><ptype>GLint</ptype> <name>t</name></param>
|
||||
<param><ptype>GLint</ptype> <name>r</name></param>
|
||||
<param><ptype>GLint</ptype> <name>q</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4ivSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4sSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>s</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>t</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>r</name></param>
|
||||
<param><ptype>GLshort</ptype> <name>q</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoord4svSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLshort *</ptype> <name>v</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glMultiTexCoordPointerSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
<param><ptype>GLint</ptype> <name>size</name></param>
|
||||
<param><ptype>GLenum</ptype> <name>type</name></param>
|
||||
<param><ptype>GLsizei</ptype> <name>stride</name></param>
|
||||
<param><ptype>GLvoid *</ptype> <name>pointer</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glSelectTextureSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glSelectTextureCoordSetSGIS</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>target</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>void <name>glDeleteObjectBufferATI</name></proto>
|
||||
<param><ptype>GLuint</ptype> <name>buffer</name></param>
|
||||
</command>
|
||||
</commands>
|
||||
|
||||
<commands namespace="WGL">
|
||||
<command>
|
||||
<proto>BOOL <name>wglSetPixelFormatWINE</name></proto>
|
||||
<param><ptype>HDC</ptype> <name>hdc</name></param>
|
||||
<param>int <name>format</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>BOOL <name>wglQueryCurrentRendererIntegerWINE</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>attribute</name></param>
|
||||
<param><ptype>GLuint</ptype> *<name>value</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>const GLchar *<name>wglQueryCurrentRendererStringWINE</name></proto>
|
||||
<param><ptype>GLenum</ptype> <name>attribute</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>BOOL <name>wglQueryRendererIntegerWINE</name></proto>
|
||||
<param><ptype>HDC</ptype> <name>dc</name></param>
|
||||
<param><ptype>GLint</ptype> <name>renderer</name></param>
|
||||
<param><ptype>GLenum</ptype> <name>attribute</name></param>
|
||||
<param><ptype>GLuint</ptype> *<name>value</name></param>
|
||||
</command>
|
||||
<command>
|
||||
<proto>const GLchar *<name>wglQueryRendererStringWINE</name></proto>
|
||||
<param><ptype>HDC</ptype> <name>dc</name></param>
|
||||
<param><ptype>GLint</ptype> <name>renderer</name></param>
|
||||
<param><ptype>GLenum</ptype> <name>attribute</name></param>
|
||||
</command>
|
||||
</commands>
|
||||
|
||||
<feature api="gl" name="GL_VERSION_1_0" number="1.0">
|
||||
<require>
|
||||
<command name="glDebugEntry"/>
|
||||
</require>
|
||||
</feature>
|
||||
|
||||
<enums namespace="WGL" group="RendererWINE">
|
||||
<enum value="0x8183" name="WGL_RENDERER_VENDOR_ID_WINE"/>
|
||||
<enum value="0x8184" name="WGL_RENDERER_DEVICE_ID_WINE"/>
|
||||
<enum value="0x8185" name="WGL_RENDERER_VERSION_WINE"/>
|
||||
<enum value="0x8186" name="WGL_RENDERER_ACCELERATED_WINE"/>
|
||||
<enum value="0x8187" name="WGL_RENDERER_VIDEO_MEMORY_WINE"/>
|
||||
<enum value="0x8188" name="WGL_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_WINE"/>
|
||||
<enum value="0x8189" name="WGL_RENDERER_PREFERRED_PROFILE_WINE"/>
|
||||
<enum value="0x818A" name="WGL_RENDERER_OPENGL_CORE_PROFILE_VERSION_WINE"/>
|
||||
<enum value="0x818B" name="WGL_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_WINE"/>
|
||||
<enum value="0x818C" name="WGL_RENDERER_OPENGL_ES_PROFILE_VERSION_WINE"/>
|
||||
<enum value="0x818D" name="WGL_RENDERER_OPENGL_ES2_PROFILE_VERSION_WINE"/>
|
||||
<enum value="0x818E" name="WGL_RENDERER_ID_WINE"/>
|
||||
</enums>
|
||||
|
||||
<extensions>
|
||||
<extension name="GL_KTX_buffer_region" supported="gl">
|
||||
<require>
|
||||
<command name="glBufferRegionEnabled"/>
|
||||
<command name="glDeleteBufferRegion"/>
|
||||
<command name="glDrawBufferRegion"/>
|
||||
<command name="glNewBufferRegion"/>
|
||||
<command name="glReadBufferRegion"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="GL_SGIS_multitexture" supported="gl">
|
||||
<require>
|
||||
<command name="glMTexCoord2fSGIS"/>
|
||||
<command name="glMTexCoord2fvSGIS"/>
|
||||
<command name="glMultiTexCoord1dSGIS"/>
|
||||
<command name="glMultiTexCoord1dvSGIS"/>
|
||||
<command name="glMultiTexCoord1fSGIS"/>
|
||||
<command name="glMultiTexCoord1fvSGIS"/>
|
||||
<command name="glMultiTexCoord1iSGIS"/>
|
||||
<command name="glMultiTexCoord1ivSGIS"/>
|
||||
<command name="glMultiTexCoord1sSGIS"/>
|
||||
<command name="glMultiTexCoord1svSGIS"/>
|
||||
<command name="glMultiTexCoord2dSGIS"/>
|
||||
<command name="glMultiTexCoord2dvSGIS"/>
|
||||
<command name="glMultiTexCoord2fSGIS"/>
|
||||
<command name="glMultiTexCoord2fvSGIS"/>
|
||||
<command name="glMultiTexCoord2iSGIS"/>
|
||||
<command name="glMultiTexCoord2ivSGIS"/>
|
||||
<command name="glMultiTexCoord2sSGIS"/>
|
||||
<command name="glMultiTexCoord2svSGIS"/>
|
||||
<command name="glMultiTexCoord3dSGIS"/>
|
||||
<command name="glMultiTexCoord3dvSGIS"/>
|
||||
<command name="glMultiTexCoord3fSGIS"/>
|
||||
<command name="glMultiTexCoord3fvSGIS"/>
|
||||
<command name="glMultiTexCoord3iSGIS"/>
|
||||
<command name="glMultiTexCoord3ivSGIS"/>
|
||||
<command name="glMultiTexCoord3sSGIS"/>
|
||||
<command name="glMultiTexCoord3svSGIS"/>
|
||||
<command name="glMultiTexCoord4dSGIS"/>
|
||||
<command name="glMultiTexCoord4dvSGIS"/>
|
||||
<command name="glMultiTexCoord4fSGIS"/>
|
||||
<command name="glMultiTexCoord4fvSGIS"/>
|
||||
<command name="glMultiTexCoord4iSGIS"/>
|
||||
<command name="glMultiTexCoord4ivSGIS"/>
|
||||
<command name="glMultiTexCoord4sSGIS"/>
|
||||
<command name="glMultiTexCoord4svSGIS"/>
|
||||
<command name="glMultiTexCoordPointerSGIS"/>
|
||||
<command name="glSelectTextureCoordSetSGIS"/>
|
||||
<command name="glSelectTextureSGIS"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="GL_ATI_vertex_array_object" supported="gl">
|
||||
<require>
|
||||
<command name="glDeleteObjectBufferATI"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="WGL_WINE_pixel_format_passthrough" supported="wgl">
|
||||
<require>
|
||||
<command name="wglSetPixelFormatWINE"/>
|
||||
</require>
|
||||
</extension>
|
||||
<extension name="WGL_WINE_query_renderer" supported="wgl">
|
||||
<require>
|
||||
<enum name="WGL_RENDERER_ACCELERATED_WINE"/>
|
||||
<enum name="WGL_RENDERER_DEVICE_ID_WINE"/>
|
||||
<enum name="WGL_RENDERER_ID_WINE"/>
|
||||
<enum name="WGL_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_WINE"/>
|
||||
<enum name="WGL_RENDERER_OPENGL_CORE_PROFILE_VERSION_WINE"/>
|
||||
<enum name="WGL_RENDERER_OPENGL_ES2_PROFILE_VERSION_WINE"/>
|
||||
<enum name="WGL_RENDERER_OPENGL_ES_PROFILE_VERSION_WINE"/>
|
||||
<enum name="WGL_RENDERER_PREFERRED_PROFILE_WINE"/>
|
||||
<enum name="WGL_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_WINE"/>
|
||||
<enum name="WGL_RENDERER_VENDOR_ID_WINE"/>
|
||||
<enum name="WGL_RENDERER_VERSION_WINE"/>
|
||||
<enum name="WGL_RENDERER_VIDEO_MEMORY_WINE"/>
|
||||
<command name="wglQueryCurrentRendererIntegerWINE"/>
|
||||
<command name="wglQueryCurrentRendererStringWINE"/>
|
||||
<command name="wglQueryRendererIntegerWINE"/>
|
||||
<command name="wglQueryRendererStringWINE"/>
|
||||
</require>
|
||||
</extension>
|
||||
</extensions>
|
||||
</registry>
|
Loading…
Reference in a new issue