diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-02 15:02:49 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2015-02-02 15:02:49 +0100 |
commit | b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73 (patch) | |
tree | 4361edef0d42d5bf5ac984ef72b4fac35426eae7 /nx-X11/extras/Mesa/src/mesa/glapi | |
parent | 0d5a83e986f39982c0924652a3662e60b1f23162 (diff) | |
download | nx-libs-b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73.tar.gz nx-libs-b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73.tar.bz2 nx-libs-b16b9e4656e7199c2aec74a4c8ebc7a875d3ba73.zip |
massive reduction of unneeded files
Diffstat (limited to 'nx-X11/extras/Mesa/src/mesa/glapi')
25 files changed, 0 insertions, 17884 deletions
diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/.cvsignore b/nx-X11/extras/Mesa/src/mesa/glapi/.cvsignore deleted file mode 100644 index e706bc23c..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/.cvsignore +++ /dev/null @@ -1,11 +0,0 @@ -.cvsignore -glX_proto_common.pyo -glX_proto_common.pyc -typeexpr.pyo -typeexpr.pyc -license.pyo -license.pyc -gl_XML.pyo -gl_XML.pyc -glX_XML.pyo -glX_XML.pyc diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/EXT_framebuffer_object.xml b/nx-X11/extras/Mesa/src/mesa/glapi/EXT_framebuffer_object.xml deleted file mode 100644 index 5057bdc8b..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/EXT_framebuffer_object.xml +++ /dev/null @@ -1,188 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd"> - -<OpenGLAPI> -<category name="GL_EXT_framebuffer_object" number="310"> - <enum name="FRAMEBUFFER_EXT" value="0x8D40"/> - <enum name="RENDERBUFFER_EXT" value="0x8D41"/> - <enum name="RENDERBUFFER_WIDTH_EXT" value="0x8D42"/> - <enum name="RENDERBUFFER_HEIGHT_EXT" value="0x8D43"/> - <enum name="RENDERBUFFER_INTERNAL_FORMAT_EXT" value="0x8D44"/> - <enum name="STENCIL_INDEX_EXT" value="0x8D45"/> - <enum name="STENCIL_INDEX1_EXT" value="0x8D46"/> - <enum name="STENCIL_INDEX4_EXT" value="0x8D47"/> - <enum name="STENCIL_INDEX8_EXT" value="0x8D48"/> - <enum name="STENCIL_INDEX16_EXT" value="0x8D49"/> - - <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT" count="1" value="0x8CD0"> - <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/> - </enum> - <enum name="FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT" count="1" value="0x8CD1"> - <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/> - </enum> - <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT" count="1" value="0x8CD2"> - <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/> - </enum> - <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT" count="1" value="0x8CD3"> - <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/> - </enum> - <enum name="FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT" count="1" value="0x8CD4"> - <size name="GetFramebufferAttachmentParameterivEXT" mode="get"/> - </enum> - - <enum name="COLOR_ATTACHMENT0_EXT" value="0x8CE0"/> - <enum name="COLOR_ATTACHMENT1_EXT" value="0x8CE1"/> - <enum name="COLOR_ATTACHMENT2_EXT" value="0x8CE2"/> - <enum name="COLOR_ATTACHMENT3_EXT" value="0x8CE3"/> - <enum name="COLOR_ATTACHMENT4_EXT" value="0x8CE4"/> - <enum name="COLOR_ATTACHMENT5_EXT" value="0x8CE5"/> - <enum name="COLOR_ATTACHMENT6_EXT" value="0x8CE6"/> - <enum name="COLOR_ATTACHMENT7_EXT" value="0x8CE7"/> - <enum name="COLOR_ATTACHMENT8_EXT" value="0x8CE8"/> - <enum name="COLOR_ATTACHMENT9_EXT" value="0x8CE9"/> - <enum name="COLOR_ATTACHMENT10_EXT" value="0x8CEA"/> - <enum name="COLOR_ATTACHMENT11_EXT" value="0x8CEB"/> - <enum name="COLOR_ATTACHMENT12_EXT" value="0x8CEC"/> - <enum name="COLOR_ATTACHMENT13_EXT" value="0x8CED"/> - <enum name="COLOR_ATTACHMENT14_EXT" value="0x8CEE"/> - <enum name="COLOR_ATTACHMENT15_EXT" value="0x8CEF"/> - <enum name="DEPTH_ATTACHMENT_EXT" value="0x8D00"/> - <enum name="STENCIL_ATTACHMENT_EXT" value="0x8D20"/> - - <enum name="FRAMEBUFFER_COMPLETE_EXT" value="0x8CD5"/> - <enum name="FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT" value="0x8CD6"/> - <enum name="FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT" value="0x8CD7"/> - <enum name="FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT" value="0x8CD8"/> - <enum name="FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT" value="0x8CD9"/> - <enum name="FRAMEBUFFER_INCOMPLETE_FORMATS_EXT" value="0x8CDA"/> - <enum name="FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT" value="0x8CDB"/> - <enum name="FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT" value="0x8CDC"/> - <enum name="FRAMEBUFFER_UNSUPPORTED_EXT" value="0x8CDD"/> - <enum name="FRAMEBUFFER_STATUS_ERROR_EXT" value="0x8CDE"/> - - <enum name="FRAMEBUFFER_BINDING_EXT" value="0x8CA6"/> - <enum name="RENDERBUFFER_BINDING_EXT" value="0x8CA7"/> - <enum name="MAX_COLOR_ATTACHMENTS_EXT" value="0x8CDF"/> - <enum name="MAX_RENDERBUFFER_SIZE_EXT" value="0x84E8"/> - - <enum name="INVALID_FRAMEBUFFER_OPERATION_EXT" value="0x0506"/> - - <function name="IsRenderbufferEXT" offset="796"> - <param name="renderbuffer" type="GLuint"/> - <return type="GLboolean"/> - <glx vendorpriv="1422"/> - </function> - - <function name="BindRenderbufferEXT" offset="797"> - <param name="target" type="GLenum"/> - <param name="renderbuffer" type="GLuint"/> - <glx rop="4316"/> - </function> - - <function name="DeleteRenderbuffersEXT" offset="798"> - <param name="n" type="GLsizei" counter="true"/> - <param name="renderbuffers" type="const GLuint *" count="n"/> - <glx rop="4317"/> - </function> - - <function name="GenRenderbuffersEXT" offset="799"> - <param name="n" type="GLsizei" counter="true"/> - <param name="renderbuffers" type="GLuint *" count="n" output="true"/> - <glx vendorpriv="1423" always_array="true"/> - </function> - - <function name="RenderbufferStorageEXT" offset="800"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <glx rop="4318"/> - </function> - - <function name="GetRenderbufferParameterivEXT" offset="801"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx vendorpriv="1424"/> - </function> - - <function name="IsFramebufferEXT" offset="802"> - <param name="framebuffer" type="GLuint"/> - <return type="GLboolean"/> - <glx vendorpriv="1425"/> - </function> - - <function name="BindFramebufferEXT" offset="803"> - <param name="target" type="GLenum"/> - <param name="framebuffer" type="GLuint"/> - <glx rop="4319"/> - </function> - - <function name="DeleteFramebuffersEXT" offset="804"> - <param name="n" type="GLsizei" counter="true"/> - <param name="framebuffers" type="const GLuint *" count="n"/> - <glx rop="4320"/> - </function> - - <function name="GenFramebuffersEXT" offset="805"> - <param name="n" type="GLsizei" counter="true"/> - <param name="framebuffers" type="GLuint *" count="n" output="true"/> - <glx vendorpriv="1426" always_array="true"/> - </function> - - <function name="CheckFramebufferStatusEXT" offset="806"> - <param name="target" type="GLenum"/> - <return type="GLenum"/> - <glx vendorpriv="1427"/> - </function> - - <function name="FramebufferTexture1DEXT" offset="807"> - <param name="target" type="GLenum"/> - <param name="attachment" type="GLenum"/> - <param name="textarget" type="GLenum"/> - <param name="texture" type="GLuint"/> - <param name="level" type="GLint"/> - <glx rop="4321"/> - </function> - - <function name="FramebufferTexture2DEXT" offset="808"> - <param name="target" type="GLenum"/> - <param name="attachment" type="GLenum"/> - <param name="textarget" type="GLenum"/> - <param name="texture" type="GLuint"/> - <param name="level" type="GLint"/> - <glx rop="4322"/> - </function> - - <function name="FramebufferTexture3DEXT" offset="809"> - <param name="target" type="GLenum"/> - <param name="attachment" type="GLenum"/> - <param name="textarget" type="GLenum"/> - <param name="texture" type="GLuint"/> - <param name="level" type="GLint"/> - <param name="zoffset" type="GLint"/> - <glx rop="4323"/> - </function> - - <function name="FramebufferRenderbufferEXT" offset="810"> - <param name="target" type="GLenum"/> - <param name="attachment" type="GLenum"/> - <param name="renderbuffertarget" type="GLenum"/> - <param name="renderbuffer" type="GLuint"/> - <glx rop="4324"/> - </function> - - <function name="GetFramebufferAttachmentParameterivEXT" offset="811"> - <param name="target" type="GLenum"/> - <param name="attachment" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx vendorpriv="1428"/> - </function> - - <function name="GenerateMipmapEXT" offset="812"> - <param name="target" type="GLenum"/> - <glx rop="4325"/> - </function> -</category> -</OpenGLAPI> diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/Makefile b/nx-X11/extras/Mesa/src/mesa/glapi/Makefile deleted file mode 100644 index fb5a22885..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/Makefile +++ /dev/null @@ -1,70 +0,0 @@ -# This file isn't used during a normal compilation since we don't want to -# require Python in order to compile Mesa. -# Instead, when the Mesa developers update/change the API interface it's -# up to him/her to re-run this makefile and check in the newly generated files. - - -TOP = ../../.. -include $(TOP)/configs/current - -OUTPUTS = glprocs.h glapitemp.h glapioffsets.h glapitable.h dispatch.h \ - ../main/enums.c \ - ../x86/glapi_x86.S \ - ../x86-64/glapi_x86-64.S \ - ../drivers/dri/common/extension_helper.h \ - ../../glx/x11/indirect.c \ - ../../glx/x11/indirect.h \ - ../../glx/x11/indirect_init.c \ - ../../glx/x11/indirect_size.h \ - ../../glx/x11/indirect_size.c - -COMMON = gl_XML.py license.py gl_API.xml typeexpr.py -COMMON_GLX = $(COMMON) glX_XML.py glX_proto_common.py - -all: $(OUTPUTS) - -glprocs.h: $(COMMON) gl_procs.py - $(PYTHON2) $(PYTHON_FLAGS) gl_procs.py > glprocs.h - -glapitemp.h: $(COMMON) gl_apitemp.py - $(PYTHON2) $(PYTHON_FLAGS) gl_apitemp.py > glapitemp.h - -glapioffsets.h: $(COMMON) gl_offsets.py - $(PYTHON2) $(PYTHON_FLAGS) gl_offsets.py > glapioffsets.h - -glapitable.h: $(COMMON) gl_table.py - $(PYTHON2) $(PYTHON_FLAGS) gl_table.py > glapitable.h - -dispatch.h: $(COMMON) gl_table.py - $(PYTHON2) $(PYTHON_FLAGS) gl_table.py -m remap_table > dispatch.h - -../main/enums.c: $(COMMON) gl_enums.py - $(PYTHON2) $(PYTHON_FLAGS) gl_enums.py > ../main/enums.c - -../x86/glapi_x86.S: $(COMMON) gl_x86_asm.py - $(PYTHON2) $(PYTHON_FLAGS) gl_x86_asm.py > ../x86/glapi_x86.S - -../x86-64/glapi_x86-64.S: $(COMMON) gl_x86-64_asm.py - $(PYTHON2) $(PYTHON_FLAGS) gl_x86-64_asm.py > ../x86-64/glapi_x86-64.S - -../drivers/dri/common/extension_helper.h: $(COMMON) extension_helper.py - $(PYTHON2) $(PYTHON_FLAGS) extension_helper.py > ../drivers/dri/common/extension_helper.h - -../../glx/x11/indirect.c: $(COMMON_GLX) glX_proto_send.py - $(PYTHON2) $(PYTHON_FLAGS) glX_proto_send.py -m proto > ../../glx/x11/indirect.c - -../../glx/x11/indirect.h: $(COMMON_GLX) glX_proto_send.py - $(PYTHON2) $(PYTHON_FLAGS) glX_proto_send.py -m init_h > ../../glx/x11/indirect.h - -../../glx/x11/indirect_init.c: $(COMMON_GLX) glX_proto_send.py - $(PYTHON2) $(PYTHON_FLAGS) glX_proto_send.py -m init_c > ../../glx/x11/indirect_init.c - -../../glx/x11/indirect_size.h: $(COMMON_GLX) glX_proto_size.py - $(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_h --only-set -h _INDIRECT_SIZE_H_ > ../../glx/x11/indirect_size.h - -../../glx/x11/indirect_size.c: $(COMMON_GLX) glX_proto_size.py - $(PYTHON2) $(PYTHON_FLAGS) glX_proto_size.py -m size_c --only-set > ../../glx/x11/indirect_size.c - -clean: - rm -f *~ *.pyo - rm -f $(OUTPUTS) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/descrip.mms b/nx-X11/extras/Mesa/src/mesa/glapi/descrip.mms deleted file mode 100644 index 20573b9ac..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/descrip.mms +++ /dev/null @@ -1,37 +0,0 @@ -# Makefile for core library for VMS -# contributed by Jouk Jansen joukj@hrem.stm.tudelft.nl -# Last revision : 16 June 2003 - -.first - define gl [---.include.gl] - -.include [---]mms-config. - -##### MACROS ##### - -VPATH = RCS - -INCDIR = [---.include],[-.main] -LIBDIR = [---.lib] -CFLAGS = /include=($(INCDIR),[])/define=(PTHREADS=1)/name=(as_is,short) - -SOURCES = glapi.c glthread.c - -OBJECTS = glapi.obj,glthread.obj - -##### RULES ##### - -VERSION=Mesa V3.4 - -##### TARGETS ##### -# Make the library -$(LIBDIR)$(GL_LIB) : $(OBJECTS) - @ library $(LIBDIR)$(GL_LIB) $(OBJECTS) - -clean : - purge - delete *.obj;* - -glapi.obj : glapi.c - -glthread.obj : glthread.c diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/extension_helper.py b/nx-X11/extras/Mesa/src/mesa/glapi/extension_helper.py deleted file mode 100644 index a2a16a8b3..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/extension_helper.py +++ /dev/null @@ -1,316 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML -import license -import sys, getopt, string - -vtxfmt = [ - "ArrayElement", \ - "Color3f", \ - "Color3fv", \ - "Color4f", \ - "Color4fv", \ - "EdgeFlag", \ - "EdgeFlagv", \ - "EvalCoord1f", \ - "EvalCoord1fv", \ - "EvalCoord2f", \ - "EvalCoord2fv", \ - "EvalPoint1", \ - "EvalPoint2", \ - "FogCoordfEXT", \ - "FogCoordfvEXT", \ - "Indexf", \ - "Indexfv", \ - "Materialfv", \ - "MultiTexCoord1fARB", \ - "MultiTexCoord1fvARB", \ - "MultiTexCoord2fARB", \ - "MultiTexCoord2fvARB", \ - "MultiTexCoord3fARB", \ - "MultiTexCoord3fvARB", \ - "MultiTexCoord4fARB", \ - "MultiTexCoord4fvARB", \ - "Normal3f", \ - "Normal3fv", \ - "SecondaryColor3fEXT", \ - "SecondaryColor3fvEXT", \ - "TexCoord1f", \ - "TexCoord1fv", \ - "TexCoord2f", \ - "TexCoord2fv", \ - "TexCoord3f", \ - "TexCoord3fv", \ - "TexCoord4f", \ - "TexCoord4fv", \ - "Vertex2f", \ - "Vertex2fv", \ - "Vertex3f", \ - "Vertex3fv", \ - "Vertex4f", \ - "Vertex4fv", \ - "CallList", \ - "CallLists", \ - "Begin", \ - "End", \ - "VertexAttrib1fNV", \ - "VertexAttrib1fvNV", \ - "VertexAttrib2fNV", \ - "VertexAttrib2fvNV", \ - "VertexAttrib3fNV", \ - "VertexAttrib3fvNV", \ - "VertexAttrib4fNV", \ - "VertexAttrib4fvNV", \ - "VertexAttrib1fARB", \ - "VertexAttrib1fvARB", \ - "VertexAttrib2fARB", \ - "VertexAttrib2fvARB", \ - "VertexAttrib3fARB", \ - "VertexAttrib3fvARB", \ - "VertexAttrib4fARB", \ - "VertexAttrib4fvARB", \ - "Rectf", \ - "DrawArrays", \ - "DrawElements", \ - "DrawRangeElements", \ - "EvalMesh1", \ - "EvalMesh2", \ -] - -def all_entrypoints_in_abi(f, abi, api): - for n in f.entry_points: - [category, num] = api.get_category_for_name( n ) - if category not in abi: - return 0 - - return 1 - - -def any_entrypoints_in_abi(f, abi, api): - for n in f.entry_points: - [category, num] = api.get_category_for_name( n ) - if category in abi: - return 1 - - return 0 - - -def condition_for_function(f, abi, all_not_in_ABI): - """Create a C-preprocessor condition for the function. - - There are two modes of operation. If all_not_in_ABI is set, a - condition is only created is all of the entry-point names for f are - not in the selected ABI. If all_not_in_ABI is not set, a condition - is created if any entryp-point name is not in the selected ABI. - """ - - condition = [] - for n in f.entry_points: - [category, num] = api.get_category_for_name( n ) - if category not in abi: - condition.append( 'defined(need_%s)' % (gl_XML.real_category_name( category )) ) - elif all_not_in_ABI: - return [] - - return condition - - -class PrintGlExtensionGlue(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "extension_helper.py (from Mesa)" - self.license = license.bsd_license_template % ("(C) Copyright IBM Corporation 2005", "IBM") - return - - - def printRealHeader(self): - print '#include "utils.h"' - print '#include "dispatch.h"' - print '' - return - - - def printBody(self, api): - abi = [ "1.0", "1.1", "1.2", "GL_ARB_multitexture" ] - - category_list = {} - - print '#ifndef NULL' - print '# define NULL 0' - print '#endif' - print '' - - for f in api.functionIterateAll(): - condition = condition_for_function(f, abi, 0) - if len(condition): - print '#if %s' % (string.join(condition, " || ")) - print 'static const char %s_names[] = ' % (f.name) - - parameter_signature = '' - for p in f.parameterIterator(): - # FIXME: This is a *really* ugly hack. :( - - tn = p.type_expr.get_base_type_node() - if p.is_pointer(): - parameter_signature += 'p' - elif tn.integer: - parameter_signature += 'i' - elif tn.size == 4: - parameter_signature += 'f' - else: - parameter_signature += 'd' - - print ' "%s\\0" /* Parameter signature */' % (parameter_signature) - - for n in f.entry_points: - print ' "gl%s\\0"' % (n) - - [category, num] = api.get_category_for_name( n ) - if category not in abi: - c = gl_XML.real_category_name(category) - if not category_list.has_key(c): - category_list[ c ] = [] - - category_list[ c ].append( f ) - - print ' "";' - print '#endif' - print '' - - keys = category_list.keys() - keys.sort() - - for category in keys: - print '#if defined(need_%s)' % (category) - print 'static const struct dri_extension_function %s_functions[] = {' % (category) - - for f in category_list[ category ]: - if any_entrypoints_in_abi(f, abi, api): - index_name = "-1" - else: - index_name = "%s_remap_index" % (f.name) - - print ' { %s_names, %s, %d },' % (f.name, index_name, f.offset) - - - print ' { NULL, 0, 0 }' - print '};' - print '#endif' - print '' - - return - - -class PrintInitDispatch(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "extension_helper.py (from Mesa)" - self.license = license.bsd_license_template % ("(C) Copyright IBM Corporation 2005", "IBM") - return - - - def do_function_body(self, api, abi, vtxfmt_only): - last_condition_string = None - for f in api.functionIterateByOffset(): - if (f.name in vtxfmt) and not vtxfmt_only: - continue - - if (f.name not in vtxfmt) and vtxfmt_only: - continue - - condition = condition_for_function(f, abi, 1) - condition_string = string.join(condition, " || ") - - if condition_string != last_condition_string: - if last_condition_string: - print '#endif /* %s */' % (last_condition_string) - - if condition_string: - print '#if %s' % (condition_string) - - if vtxfmt_only: - print ' disp->%s = vfmt->%s;' % (f.name, f.name) - else: - print ' disp->%s = _mesa_%s;' % (f.name, f.name) - - last_condition_string = condition_string - - if last_condition_string: - print '#endif /* %s */' % (last_condition_string) - - - - def printBody(self, api): - abi = [ "1.0", "1.1", "1.2", "GL_ARB_multitexture" ] - - print 'void driver_init_exec_table(struct _glapi_table *disp)' - print '{' - self.do_function_body(api, abi, 0) - print '}' - print '' - print 'void driver_install_vtxfmt(struct _glapi_table *disp, const GLvertexformat *vfmt)' - print '{' - self.do_function_body(api, abi, 1) - print '}' - - return - - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m output_mode]" % sys.argv[0] - print " -m output_mode Output mode can be one of 'extensions' or 'exec_init'." - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:m:") - except Exception,e: - show_usage() - - mode = "extensions" - for (arg,val) in args: - if arg == "-f": - file_name = val - if arg == '-m': - mode = val - - - api = gl_XML.parse_GL_API( file_name ) - - if mode == "extensions": - printer = PrintGlExtensionGlue() - elif mode == "exec_init": - printer = PrintInitDispatch() - else: - show_usage() - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/glX_XML.py b/nx-X11/extras/Mesa/src/mesa/glapi/glX_XML.py deleted file mode 100644 index 7cc9d8d66..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/glX_XML.py +++ /dev/null @@ -1,531 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML -import license -import sys, getopt, string - - -class glx_item_factory(gl_XML.gl_item_factory): - """Factory to create GLX protocol oriented objects derived from gl_item.""" - - def create_item(self, name, element, context): - if name == "function": - return glx_function(element, context) - elif name == "enum": - return glx_enum(element, context) - elif name == "api": - return glx_api(self) - else: - return gl_XML.gl_item_factory.create_item(self, name, element, context) - - -class glx_enum(gl_XML.gl_enum): - def __init__(self, element, context): - gl_XML.gl_enum.__init__(self, element, context) - - self.functions = {} - - child = element.children - while child: - if child.type == "element" and child.name == "size": - n = child.nsProp( "name", None ) - c = child.nsProp( "count", None ) - m = child.nsProp( "mode", None ) - - if not c: - c = self.default_count - else: - c = int(c) - - if m == "get": - mode = 0 - else: - mode = 1 - - if not self.functions.has_key(n): - self.functions[ n ] = [c, mode] - - child = child.next - - return - - -class glx_function(gl_XML.gl_function): - def __init__(self, element, context): - self.glx_rop = 0 - self.glx_sop = 0 - self.glx_vendorpriv = 0 - - # If this is set to true, it means that GLdouble parameters should be - # written to the GLX protocol packet in the order they appear in the - # prototype. This is different from the "classic" ordering. In the - # classic ordering GLdoubles are written to the protocol packet first, - # followed by non-doubles. NV_vertex_program was the first extension - # to break with this tradition. - - self.glx_doubles_in_order = 0 - - self.vectorequiv = None - self.output = None - self.can_be_large = 0 - self.reply_always_array = 0 - self.dimensions_in_reply = 0 - self.img_reset = None - - self.server_handcode = 0 - self.client_handcode = 0 - self.ignore = 0 - - self.count_parameter_list = [] - self.counter_list = [] - self.parameters_by_name = {} - self.offsets_calculated = 0 - - gl_XML.gl_function.__init__(self, element, context) - return - - - def process_element(self, element): - gl_XML.gl_function.process_element(self, element) - - self.vectorequiv = element.nsProp( "vectorequiv", None ) - - - if element.nsProp( "name", None ) == self.name: - for param in self.parameters: - self.parameters_by_name[ param.name ] = param - - if len(param.count_parameter_list): - self.count_parameter_list.extend( param.count_parameter_list ) - - if param.counter and param.counter not in self.counter_list: - self.counter_list.append(param.counter) - - - child = element.children - while child: - if child.type == "element": - if child.name == "glx": - rop = child.nsProp( 'rop', None ) - sop = child.nsProp( 'sop', None ) - vop = child.nsProp( 'vendorpriv', None ) - - if rop: - self.glx_rop = int(rop) - else: - self.glx_rop = 0 - - if sop: - self.glx_sop = int(sop) - else: - self.glx_sop = 0 - - if vop: - self.glx_vendorpriv = int(vop) - else: - self.glx_vendorpriv = 0 - - self.img_reset = child.nsProp( 'img_reset', None ) - - # The 'handcode' attribute can be one of 'true', - # 'false', 'client', or 'server'. - - handcode = child.nsProp( 'handcode', None ) - if handcode == "false": - self.server_handcode = 0 - self.client_handcode = 0 - elif handcode == "true": - self.server_handcode = 1 - self.client_handcode = 1 - elif handcode == "client": - self.server_handcode = 0 - self.client_handcode = 1 - elif handcode == "server": - self.server_handcode = 1 - self.client_handcode = 0 - else: - raise RuntimeError('Invalid handcode mode "%s" in function "%s".' % (handcode, self.name)) - - self.ignore = gl_XML.is_attr_true( child, 'ignore' ) - self.can_be_large = gl_XML.is_attr_true( child, 'large' ) - self.glx_doubles_in_order = gl_XML.is_attr_true( child, 'doubles_in_order' ) - self.reply_always_array = gl_XML.is_attr_true( child, 'always_array' ) - self.dimensions_in_reply = gl_XML.is_attr_true( child, 'dimensions_in_reply' ) - - child = child.next - - - # Do some validation of the GLX protocol information. As - # new tests are discovered, they should be added here. - - for param in self.parameters: - if param.is_output and self.glx_rop != 0: - raise RuntimeError("Render / RenderLarge commands cannot have outputs (%s)." % (self.name)) - - return - - - def has_variable_size_request(self): - """Determine if the GLX request packet is variable sized. - - The GLX request packet is variable sized in several common - situations. - - 1. The function has a non-output parameter that is counted - by another parameter (e.g., the 'textures' parameter of - glDeleteTextures). - - 2. The function has a non-output parameter whose count is - determined by another parameter that is an enum (e.g., the - 'params' parameter of glLightfv). - - 3. The function has a non-output parameter that is an - image. - - 4. The function must be hand-coded on the server. - """ - - if self.glx_rop == 0: - return 0 - - if self.server_handcode or self.images: - return 1 - - for param in self.parameters: - if not param.is_output: - if param.counter or len(param.count_parameter_list): - return 1 - - return 0 - - - def variable_length_parameter(self): - for param in self.parameters: - if not param.is_output: - if param.counter or len(param.count_parameter_list): - return param - - return None - - - def calculate_offsets(self): - if not self.offsets_calculated: - # Calculate the offset of the first function parameter - # in the GLX command packet. This byte offset is - # measured from the end of the Render / RenderLarge - # header. The offset for all non-pixel commends is - # zero. The offset for pixel commands depends on the - # number of dimensions of the pixel data. - - if len(self.images) and not self.images[0].is_output: - [dim, junk, junk, junk, junk] = self.images[0].get_dimensions() - - # The base size is the size of the pixel pack info - # header used by images with the specified number - # of dimensions. - - if dim <= 2: - offset = 20 - elif dim <= 4: - offset = 36 - else: - raise RuntimeError('Invalid number of dimensions %u for parameter "%s" in function "%s".' % (dim, self.image.name, self.name)) - else: - offset = 0 - - for param in self.parameterIterateGlxSend(): - if param.img_null_flag: - offset += 4 - - if param.name != self.img_reset: - param.offset = offset - if not param.is_variable_length(): - offset += param.size() - - if self.pad_after( param ): - offset += 4 - - - self.offsets_calculated = 1 - return - - - def offset_of(self, param_name): - self.calculate_offsets() - return self.parameters_by_name[ param_name ].offset - - - def parameterIterateGlxSend(self, include_variable_parameters = 1): - """Create an iterator for parameters in GLX request order.""" - - # The parameter lists are usually quite short, so it's easier - # (i.e., less code) to just generate a new list with the - # required elements than it is to create a new iterator class. - - temp = [ [], [], [] ] - for param in self.parameters: - if param.is_output: continue - - if param.is_variable_length(): - temp[2].append( param ) - elif not self.glx_doubles_in_order and param.is_64_bit(): - temp[0].append( param ) - else: - temp[1].append( param ) - - parameters = temp[0] - parameters.extend( temp[1] ) - if include_variable_parameters: - parameters.extend( temp[2] ) - return parameters.__iter__() - - - def parameterIterateCounters(self): - temp = [] - for name in self.counter_list: - temp.append( self.parameters_by_name[ name ] ) - - return temp.__iter__() - - - def parameterIterateOutputs(self): - temp = [] - for p in self.parameters: - if p.is_output: - temp.append( p ) - - return temp - - - def command_fixed_length(self): - """Return the length, in bytes as an integer, of the - fixed-size portion of the command.""" - - if len(self.parameters) == 0: - return 0 - - self.calculate_offsets() - - size = 0 - for param in self.parameterIterateGlxSend(0): - if param.name != self.img_reset: - if size == 0: - size = param.offset + param.size() - else: - size += param.size() - - if self.pad_after( param ): - size += 4 - - for param in self.images: - if param.img_null_flag or param.is_output: - size += 4 - - return size - - - def command_variable_length(self): - """Return the length, as a string, of the variable-sized - portion of the command.""" - - size_string = "" - for p in self.parameterIterateGlxSend(): - if (not p.is_output) and (p.is_variable_length() or p.is_image()): - # FIXME Replace the 1 in the size_string call - # FIXME w/0 to eliminate some un-needed parnes - # FIXME This would already be done, but it - # FIXME adds some extra diffs to the generated - # FIXME code. - - size_string = size_string + " + __GLX_PAD(%s)" % (p.size_string(1)) - - return size_string - - - def command_length(self): - size = self.command_fixed_length() - - if self.glx_rop != 0: - size += 4 - - size = ((size + 3) & ~3) - return "%u%s" % (size, self.command_variable_length()) - - - def opcode_real_value(self): - """Get the true numeric value of the GLX opcode - - Behaves similarly to opcode_value, except for - X_GLXVendorPrivate and X_GLXVendorPrivateWithReply commands. - In these cases the value for the GLX opcode field (i.e., - 16 for X_GLXVendorPrivate or 17 for - X_GLXVendorPrivateWithReply) is returned. For other 'single' - commands, the opcode for the command (e.g., 101 for - X_GLsop_NewList) is returned.""" - - if self.glx_vendorpriv != 0: - if self.needs_reply(): - return 17 - else: - return 16 - else: - return self.opcode_value() - - - def opcode_value(self): - """Get the unique protocol opcode for the glXFunction""" - - if (self.glx_rop == 0) and self.vectorequiv: - equiv = self.context.functions_by_name[ self.vectorequiv ] - self.glx_rop = equiv.glx_rop - - - if self.glx_rop != 0: - return self.glx_rop - elif self.glx_sop != 0: - return self.glx_sop - elif self.glx_vendorpriv != 0: - return self.glx_vendorpriv - else: - return -1 - - - def opcode_rop_basename(self): - """Return either the name to be used for GLX protocol enum. - - Returns either the name of the function or the name of the - name of the equivalent vector (e.g., glVertex3fv for - glVertex3f) function.""" - - if self.vectorequiv == None: - return self.name - else: - return self.vectorequiv - - - def opcode_name(self): - """Get the unique protocol enum name for the glXFunction""" - - if (self.glx_rop == 0) and self.vectorequiv: - equiv = self.context.functions_by_name[ self.vectorequiv ] - self.glx_rop = equiv.glx_rop - self.glx_doubles_in_order = equiv.glx_doubles_in_order - - - if self.glx_rop != 0: - return "X_GLrop_%s" % (self.opcode_rop_basename()) - elif self.glx_sop != 0: - return "X_GLsop_%s" % (self.name) - elif self.glx_vendorpriv != 0: - return "X_GLvop_%s" % (self.name) - else: - raise RuntimeError('Function "%s" has no opcode.' % (self.name)) - - - def opcode_real_name(self): - """Get the true protocol enum name for the GLX opcode - - Behaves similarly to opcode_name, except for - X_GLXVendorPrivate and X_GLXVendorPrivateWithReply commands. - In these cases the string 'X_GLXVendorPrivate' or - 'X_GLXVendorPrivateWithReply' is returned. For other - single or render commands 'X_GLsop' or 'X_GLrop' plus the - name of the function returned.""" - - if self.glx_vendorpriv != 0: - if self.needs_reply(): - return "X_GLXVendorPrivateWithReply" - else: - return "X_GLXVendorPrivate" - else: - return self.opcode_name() - - - def needs_reply(self): - try: - x = self._needs_reply - except Exception, e: - x = 0 - if self.return_type != 'void': - x = 1 - - for param in self.parameters: - if param.is_output: - x = 1 - break - - self._needs_reply = x - - return x - - - def pad_after(self, p): - """Returns the name of the field inserted after the - specified field to pad out the command header.""" - - for image in self.images: - if image.img_pad_dimensions: - if not image.height: - if p.name == image.width: - return "height" - elif p.name == image.img_xoff: - return "yoffset" - elif not image.extent: - if p.name == image.depth: - # Should this be "size4d"? - return "extent" - elif p.name == image.img_zoff: - return "woffset" - - return None - - -class glx_function_iterator: - """Class to iterate over a list of glXFunctions""" - - def __init__(self, context): - self.iterator = context.functionIterateByOffset() - return - - - def __iter__(self): - return self - - - def next(self): - f = self.iterator.next() - if f.ignore or not (f.glx_rop or f.glx_sop or f.glx_vendorpriv or f.vectorequiv or f.client_handcode): - return self.next() - else: - return f - - -class glx_api(gl_XML.gl_api): - def functionIterateGlx(self): - return glx_function_iterator(self) - diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/glX_doc.py b/nx-X11/extras/Mesa/src/mesa/glapi/glX_doc.py deleted file mode 100644 index e9fbbe6f1..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/glX_doc.py +++ /dev/null @@ -1,280 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, glX_XML, glX_proto_common, license -import sys, getopt - - -class glx_doc_item_factory(glX_proto_common.glx_proto_item_factory): - """Factory to create GLX protocol documentation oriented objects derived from glItem.""" - - def create_item(self, name, element, context): - if name == "parameter": - return glx_doc_parameter(element, context) - else: - return glX_proto_common.glx_proto_item_factory.create_item(self, name, element, context) - - -class glx_doc_parameter(gl_XML.gl_parameter): - def packet_type(self, type_dict): - """Get the type string for the packet header - - GLX protocol documentation uses type names like CARD32, - FLOAT64, LISTofCARD8, and ENUM. This function converts the - type of the parameter to one of these names.""" - - list_of = "" - if self.is_array(): - list_of = "LISTof" - - t_name = self.get_base_type_string() - if not type_dict.has_key( t_name ): - type_name = "CARD8" - else: - type_name = type_dict[ t_name ] - - return "%s%s" % (list_of, type_name) - - - def packet_size(self): - p = None - s = self.size() - if s == 0: - a_prod = "n" - b_prod = self.p_type.size - - if not self.count_parameter_list and self.counter: - a_prod = self.counter - elif self.count_parameter_list and not self.counter or self.is_output: - pass - elif self.count_parameter_list and self.counter: - b_prod = self.counter - else: - raise RuntimeError("Parameter '%s' to function '%s' has size 0." % (self.name, self.context.name)) - - ss = "%s*%s" % (a_prod, b_prod) - - return [ss, p] - else: - if s % 4 != 0: - p = "p" - - return [str(s), p] - -class PrintGlxProtoText(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - self.license = "" - - - def printHeader(self): - return - - - def body_size(self, f): - # At some point, refactor this function and - # glXFunction::command_payload_length. - - size = 0; - size_str = "" - pad_str = "" - plus = "" - for p in f.parameterIterateGlxSend(): - [s, pad] = p.packet_size() - try: - size += int(s) - except Exception,e: - size_str += "%s%s" % (plus, s) - plus = "+" - - if pad != None: - pad_str = pad - - return [size, size_str, pad_str] - - - def print_render_header(self, f): - [size, size_str, pad_str] = self.body_size(f) - size += 4; - - if size_str == "": - s = "%u" % ((size + 3) & ~3) - elif pad_str != "": - s = "%u+%s+%s" % (size, size_str, pad_str) - else: - s = "%u+%s" % (size, size_str) - - print ' 2 %-15s rendering command length' % (s) - print ' 2 %-4u rendering command opcode' % (f.glx_rop) - return - - - def print_single_header(self, f): - [size, size_str, pad_str] = self.body_size(f) - size = ((size + 3) / 4) + 2; - - if f.glx_vendorpriv != 0: - size += 1 - - print ' 1 CARD8 opcode (X assigned)' - print ' 1 %-4u GLX opcode (%s)' % (f.opcode_real_value(), f.opcode_real_name()) - - if size_str == "": - s = "%u" % (size) - elif pad_str != "": - s = "%u+((%s+%s)/4)" % (size, size_str, pad_str) - else: - s = "%u+((%s)/4)" % (size, size_str) - - print ' 2 %-15s request length' % (s) - - if f.glx_vendorpriv != 0: - print ' 4 %-4u vendor specific opcode' % (f.opcode_value()) - - print ' 4 GLX_CONTEXT_TAG context tag' - - return - - - def print_reply(self, f): - print ' =>' - print ' 1 1 reply' - print ' 1 unused' - print ' 2 CARD16 sequence number' - - if f.output == None: - print ' 4 0 reply length' - elif f.reply_always_array: - print ' 4 m reply length' - else: - print ' 4 m reply length, m = (n == 1 ? 0 : n)' - - - output = None - for x in f.parameterIterateOutputs(): - output = x - break - - - unused = 24 - if f.return_type != 'void': - print ' 4 %-15s return value' % (f.return_type) - unused -= 4 - elif output != None: - print ' 4 unused' - unused -= 4 - - if output != None: - print ' 4 CARD32 n' - unused -= 4 - - if output != None: - if not f.reply_always_array: - print '' - print ' if (n = 1) this follows:' - print '' - print ' 4 CARD32 %s' % (output.name) - print ' %-2u unused' % (unused - 4) - print '' - print ' otherwise this follows:' - print '' - - print ' %-2u unused' % (unused) - - [s, pad] = output.packet_size() - print ' %-8s %-15s %s' % (s, output.packet_type( self.type_map ), output.name) - if pad != None: - try: - bytes = int(s) - bytes = 4 - (bytes & 3) - print ' %-8u %-15s unused' % (bytes, "") - except Exception,e: - print ' %-8s %-15s unused, %s=pad(%s)' % (pad, "", pad, s) - else: - print ' %-2u unused' % (unused) - - - def print_body(self, f): - for p in f.parameterIterateGlxSend(): - [s, pad] = p.packet_size() - print ' %-8s %-15s %s' % (s, p.packet_type( self.type_map ), p.name) - if pad != None: - try: - bytes = int(s) - bytes = 4 - (bytes & 3) - print ' %-8u %-15s unused' % (bytes, "") - except Exception,e: - print ' %-8s %-15s unused, %s=pad(%s)' % (pad, "", pad, s) - - def printBody(self, api): - self.type_map = {} - for t in api.typeIterate(): - self.type_map[ "GL" + t.name ] = t.glx_name - - - # At some point this should be expanded to support pixel - # functions, but I'm not going to lose any sleep over it now. - - for f in api.functionIterateByOffset(): - if f.client_handcode or f.server_handcode or f.vectorequiv or len(f.get_images()): - continue - - - if f.glx_rop: - print ' %s' % (f.name) - self.print_render_header(f) - elif f.glx_sop or f.glx_vendorpriv: - print ' %s' % (f.name) - self.print_single_header(f) - else: - continue - - self.print_body(f) - - if f.needs_reply(): - self.print_reply(f) - - print '' - return - - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == "-f": - file_name = val - - api = gl_XML.parse_GL_API( file_name, glx_doc_item_factory() ) - - printer = PrintGlxProtoText() - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_common.py b/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_common.py deleted file mode 100644 index 744896357..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_common.py +++ /dev/null @@ -1,95 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, glX_XML -import string - - -class glx_proto_item_factory(glX_XML.glx_item_factory): - """Factory to create GLX protocol oriented objects derived from gl_item.""" - - def create_item(self, name, element, context): - if name == "type": - return glx_proto_type(element, context) - else: - return glX_XML.glx_item_factory.create_item(self, name, element, context) - - -class glx_proto_type(gl_XML.gl_type): - def __init__(self, element, context): - gl_XML.gl_type.__init__(self, element, context) - - self.glx_name = element.nsProp( "glx_name", None ) - return - - -class glx_print_proto(gl_XML.gl_print_base): - def size_call(self, func): - """Create C code to calculate 'compsize'. - - Creates code to calculate 'compsize'. If the function does - not need 'compsize' to be calculated, None will be - returned.""" - - compsize = None - - for param in func.parameterIterator(): - if not param.is_output: - if param.is_image(): - [dim, w, h, d, junk] = param.get_dimensions() - - compsize = '__glImageSize(%s, %s, %s, %s, %s, %s)' % (w, h, d, param.img_format, param.img_type, param.img_target) - if not param.img_send_null: - compsize = '(%s != NULL) ? %s : 0' % (param.name, compsize) - - return compsize - - elif len(param.count_parameter_list): - parameters = string.join( param.count_parameter_list, "," ) - compsize = "__gl%s_size(%s)" % (func.name, parameters) - - return compsize - - return None - - - def emit_packet_size_calculation(self, f, bias): - # compsize is only used in the command size calculation if - # the function has a non-output parameter that has a non-empty - # counter_parameter_list. - - compsize = self.size_call(f) - if compsize: - print ' const GLuint compsize = %s;' % (compsize) - - if bias: - print ' const GLuint cmdlen = %s - %u;' % (f.command_length(), bias) - else: - print ' const GLuint cmdlen = %s;' % (f.command_length()) - - #print '' - return compsize diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_send.py b/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_send.py deleted file mode 100644 index 53a979591..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_send.py +++ /dev/null @@ -1,1044 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, glX_XML, glX_proto_common, license -import sys, getopt, copy, string - -def hash_pixel_function(func): - """Generate a 'unique' key for a pixel function. The key is based on - the parameters written in the command packet. This includes any - padding that might be added for the original function and the 'NULL - image' flag.""" - - - h = "" - hash_pre = "" - hash_suf = "" - for param in func.parameterIterateGlxSend(): - if param.is_image(): - [dim, junk, junk, junk, junk] = param.get_dimensions() - - d = (dim + 1) & ~1 - hash_pre = "%uD%uD_" % (d - 1, d) - - if param.img_null_flag: - hash_suf = "_NF" - - h += "%u" % (param.size()) - - if func.pad_after(param): - h += "4" - - - n = func.name.replace("%uD" % (dim), "") - n = "__glx_%s_%uD%uD" % (n, d - 1, d) - - h = hash_pre + h + hash_suf - return [h, n] - - -class glx_pixel_function_stub(glX_XML.glx_function): - """Dummy class used to generate pixel "utility" functions that are - shared by multiple dimension image functions. For example, these - objects are used to generate shared functions used to send GLX - protocol for TexImage1D and TexImage2D, TexSubImage1D and - TexSubImage2D, etc.""" - - def __init__(self, func, name): - # The parameters to the utility function are the same as the - # parameters to the real function except for the added "pad" - # parameters. - - self.name = name - self.images = [] - self.parameters = [] - self.parameters_by_name = {} - for _p in func.parameterIterator(): - p = copy.copy(_p) - self.parameters.append(p) - self.parameters_by_name[ p.name ] = p - - - if p.is_image(): - self.images.append(p) - p.height = "height" - - if p.img_yoff == None: - p.img_yoff = "yoffset" - - if p.depth: - if p.extent == None: - p.extent = "extent" - - if p.img_woff == None: - p.img_woff = "woffset" - - - pad_name = func.pad_after(p) - if pad_name: - pad = copy.copy(p) - pad.name = pad_name - self.parameters.append(pad) - self.parameters_by_name[ pad.name ] = pad - - - self.return_type = func.return_type - - self.glx_rop = ~0 - self.glx_sop = 0 - self.glx_vendorpriv = 0 - - self.glx_doubles_in_order = func.glx_doubles_in_order - - self.vectorequiv = None - self.output = None - self.can_be_large = func.can_be_large - self.reply_always_array = func.reply_always_array - self.dimensions_in_reply = func.dimensions_in_reply - self.img_reset = None - - self.server_handcode = 0 - self.client_handcode = 0 - self.ignore = 0 - - self.count_parameter_list = func.count_parameter_list - self.counter_list = func.counter_list - self.offsets_calculated = 0 - return - - -class PrintGlxProtoStubs(glX_proto_common.glx_print_proto): - def __init__(self): - glX_proto_common.glx_print_proto.__init__(self) - self.name = "glX_proto_send.py (from Mesa)" - self.license = license.bsd_license_template % ( "(C) Copyright IBM Corporation 2004, 2005", "IBM") - - - self.last_category = "" - self.generic_sizes = [3, 4, 6, 8, 12, 16, 24, 32] - self.pixel_stubs = {} - self.debug = 0 - return - - def printRealHeader(self): - print '' - print '#include <GL/gl.h>' - print '#include "indirect.h"' - print '#include "glxclient.h"' - print '#include "indirect_size.h"' - print '#include <GL/glxproto.h>' - print '#ifdef USE_XCB' - print '#include <X11/xcl.h>' - print '#include <X11/XCB/xcb.h>' - print '#include <X11/XCB/glx.h>' - print '#endif /* USE_XCB */' - - print '' - print '#define __GLX_PAD(n) (((n) + 3) & ~3)' - print '' - self.printFastcall() - self.printNoinline() - print '' - print '#if !defined __GNUC__ || __GNUC__ < 3' - print '# define __builtin_expect(x, y) x' - print '#endif' - print '' - print '/* If the size and opcode values are known at compile-time, this will, on' - print ' * x86 at least, emit them with a single instruction.' - print ' */' - print '#define emit_header(dest, op, size) \\' - print ' do { union { short s[2]; int i; } temp; \\' - print ' temp.s[0] = (size); temp.s[1] = (op); \\' - print ' *((int *)(dest)) = temp.i; } while(0)' - print '' - print """NOINLINE CARD32 -__glXReadReply( Display *dpy, size_t size, void * dest, GLboolean reply_is_always_array ) -{ - xGLXSingleReply reply; - - (void) _XReply(dpy, (xReply *) & reply, 0, False); - if (size != 0) { - if ((reply.length > 0) || reply_is_always_array) { - const GLint bytes = (reply_is_always_array) - ? (4 * reply.length) : (reply.size * size); - const GLint extra = 4 - (bytes & 3); - - _XRead(dpy, dest, bytes); - if ( extra < 4 ) { - _XEatData(dpy, extra); - } - } - else { - (void) memcpy( dest, &(reply.pad3), size); - } - } - - return reply.retval; -} - -NOINLINE void -__glXReadPixelReply( Display *dpy, __GLXcontext * gc, unsigned max_dim, - GLint width, GLint height, GLint depth, GLenum format, GLenum type, - void * dest, GLboolean dimensions_in_reply ) -{ - xGLXSingleReply reply; - GLint size; - - (void) _XReply(dpy, (xReply *) & reply, 0, False); - - if ( dimensions_in_reply ) { - width = reply.pad3; - height = reply.pad4; - depth = reply.pad5; - - if ((height == 0) || (max_dim < 2)) { height = 1; } - if ((depth == 0) || (max_dim < 3)) { depth = 1; } - } - - size = reply.length * 4; - if (size != 0) { - void * buf = Xmalloc( size ); - - if ( buf == NULL ) { - _XEatData(dpy, size); - __glXSetError(gc, GL_OUT_OF_MEMORY); - } - else { - const GLint extra = 4 - (size & 3); - - _XRead(dpy, buf, size); - if ( extra < 4 ) { - _XEatData(dpy, extra); - } - - __glEmptyImage(gc, 3, width, height, depth, format, type, - buf, dest); - Xfree(buf); - } - } -} - -#define X_GLXSingle 0 - -NOINLINE FASTCALL GLubyte * -__glXSetupSingleRequest( __GLXcontext * gc, GLint sop, GLint cmdlen ) -{ - xGLXSingleReq * req; - Display * const dpy = gc->currentDpy; - - (void) __glXFlushRenderBuffer(gc, gc->pc); - LockDisplay(dpy); - GetReqExtra(GLXSingle, cmdlen, req); - req->reqType = gc->majorOpcode; - req->contextTag = gc->currentContextTag; - req->glxCode = sop; - return (GLubyte *)(req) + sz_xGLXSingleReq; -} - -NOINLINE FASTCALL GLubyte * -__glXSetupVendorRequest( __GLXcontext * gc, GLint code, GLint vop, GLint cmdlen ) -{ - xGLXVendorPrivateReq * req; - Display * const dpy = gc->currentDpy; - - (void) __glXFlushRenderBuffer(gc, gc->pc); - LockDisplay(dpy); - GetReqExtra(GLXVendorPrivate, cmdlen, req); - req->reqType = gc->majorOpcode; - req->glxCode = code; - req->vendorCode = vop; - req->contextTag = gc->currentContextTag; - return (GLubyte *)(req) + sz_xGLXVendorPrivateReq; -} - -const GLuint __glXDefaultPixelStore[9] = { 0, 0, 0, 0, 0, 0, 0, 0, 1 }; - -#define zero (__glXDefaultPixelStore+0) -#define one (__glXDefaultPixelStore+8) -#define default_pixel_store_1D (__glXDefaultPixelStore+4) -#define default_pixel_store_1D_size 20 -#define default_pixel_store_2D (__glXDefaultPixelStore+4) -#define default_pixel_store_2D_size 20 -#define default_pixel_store_3D (__glXDefaultPixelStore+0) -#define default_pixel_store_3D_size 36 -#define default_pixel_store_4D (__glXDefaultPixelStore+0) -#define default_pixel_store_4D_size 36 -""" - - for size in self.generic_sizes: - self.print_generic_function(size) - return - - - def printBody(self, api): - - self.pixel_stubs = {} - generated_stubs = [] - - for func in api.functionIterateGlx(): - if func.client_handcode: continue - - # If the function is a pixel function with a certain - # GLX protocol signature, create a fake stub function - # for it. For example, create a single stub function - # that is used to implement both glTexImage1D and - # glTexImage2D. - - if func.glx_rop != 0: - do_it = 0 - for image in func.get_images(): - if image.img_pad_dimensions: - do_it = 1 - break - - - if do_it: - [h, n] = hash_pixel_function(func) - - - self.pixel_stubs[ func.name ] = n - if h not in generated_stubs: - generated_stubs.append(h) - - fake_func = glx_pixel_function_stub( func, n ) - self.printFunction( fake_func ) - - - self.printFunction( func ) - - return - - - def printFunction(self, func): - if func.glx_rop == ~0: - print 'static %s' % (func.return_type) - print '%s( unsigned opcode, unsigned dim, %s )' % (func.name, func.get_parameter_string()) - else: - print '#define %s %d' % (func.opcode_name(), func.opcode_value()) - - print '%s' % (func.return_type) - print '__indirect_gl%s(%s)' % (func.name, func.get_parameter_string()) - - - print '{' - - - if func.glx_rop != 0 or func.vectorequiv != None: - if len(func.images): - self.printPixelFunction(func) - else: - self.printRenderFunction(func) - elif func.glx_sop != 0 or func.glx_vendorpriv != 0: - self.printSingleFunction(func) - pass - else: - print "/* Missing GLX protocol for %s. */" % (func.name) - - print '}' - print '' - - return - - - def print_generic_function(self, n): - size = (n + 3) & ~3 - print """static FASTCALL NOINLINE void -generic_%u_byte( GLint rop, const void * ptr ) -{ - __GLXcontext * const gc = __glXGetCurrentContext(); - const GLuint cmdlen = %u; - - emit_header(gc->pc, rop, cmdlen); - (void) memcpy((void *)(gc->pc + 4), ptr, %u); - gc->pc += cmdlen; - if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); } -} -""" % (n, size + 4, size) - return - - - def common_emit_one_arg(self, p, pc, indent, adjust, extra_offset): - if p.is_array(): - src_ptr = p.name - else: - src_ptr = "&" + p.name - - if not extra_offset: - print '%s (void) memcpy((void *)(%s + %u), (void *)(%s), %s);' \ - % (indent, pc, p.offset + adjust, src_ptr, p.size_string() ) - else: - print '%s (void) memcpy((void *)(%s + %u + %s), (void *)(%s), %s);' \ - % (indent, pc, p.offset + adjust, extra_offset, src_ptr, p.size_string() ) - - def common_emit_args(self, f, pc, indent, adjust, skip_vla): - extra_offset = None - - for p in f.parameterIterateGlxSend( not skip_vla ): - if p.name != f.img_reset: - self.common_emit_one_arg(p, pc, indent, adjust, extra_offset) - - if p.is_variable_length(): - temp = p.size_string() - if extra_offset: - extra_offset += " + %s" % (temp) - else: - extra_offset = temp - - return - - - def pixel_emit_args(self, f, pc, indent, large): - """Emit the arguments for a pixel function. This differs from - common_emit_args in that pixel functions may require padding - be inserted (i.e., for the missing width field for - TexImage1D), and they may also require a 'NULL image' flag - be inserted before the image data.""" - - if large: - adjust = 8 - else: - adjust = 4 - - for param in f.parameterIterateGlxSend(): - if not param.is_image(): - self.common_emit_one_arg(param, pc, indent, adjust, None) - - if f.pad_after(param): - print '%s (void) memcpy((void *)(%s + %u), zero, 4);' % (indent, pc, (param.offset + param.size()) + adjust) - - else: - [dim, width, height, depth, extent] = param.get_dimensions() - if f.glx_rop == ~0: - dim_str = "dim" - else: - dim_str = str(dim) - - if param.img_null_flag: - if large: - print '%s (void) memcpy((void *)(%s + %u), zero, 4);' % (indent, pc, (param.offset - 4) + adjust) - else: - print '%s (void) memcpy((void *)(%s + %u), (void *)((%s == NULL) ? one : zero), 4);' % (indent, pc, (param.offset - 4) + adjust, param.name) - - - pixHeaderPtr = "%s + %u" % (pc, adjust) - pcPtr = "%s + %u" % (pc, param.offset + adjust) - - if not large: - if param.img_send_null: - condition = '(compsize > 0) && (%s != NULL)' % (param.name) - else: - condition = 'compsize > 0' - - print '%s if (%s) {' % (indent, condition) - print '%s (*gc->fillImage)(gc, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (indent, dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr) - print '%s }' % (indent) - print '%s else {' % (indent) - print '%s (void) memcpy( %s, default_pixel_store_%uD, default_pixel_store_%uD_size );' % (indent, pixHeaderPtr, dim, dim) - print '%s }' % (indent) - else: - print '%s __glXSendLargeImage(gc, compsize, %s, %s, %s, %s, %s, %s, %s, %s, %s);' % (indent, dim_str, width, height, depth, param.img_format, param.img_type, param.name, pcPtr, pixHeaderPtr) - - return - - - def large_emit_begin(self, indent, f, op_name = None): - if not op_name: - op_name = f.opcode_real_name() - - print '%s const GLint op = %s;' % (indent, op_name) - print '%s const GLuint cmdlenLarge = cmdlen + 4;' % (indent) - print '%s GLubyte * const pc = __glXFlushRenderBuffer(gc, gc->pc);' % (indent) - print '%s (void) memcpy((void *)(pc + 0), (void *)(&cmdlenLarge), 4);' % (indent) - print '%s (void) memcpy((void *)(pc + 4), (void *)(&op), 4);' % (indent) - return - - - def common_func_print_just_start(self, f): - print ' __GLXcontext * const gc = __glXGetCurrentContext();' - - # The only reason that single and vendor private commands need - # a variable called 'dpy' is becuase they use the SyncHandle - # macro. For whatever brain-dead reason, that macro is hard- - # coded to use a variable called 'dpy' instead of taking a - # parameter. - - # FIXME Simplify the logic related to skip_condition and - # FIXME condition_list in this function. Basically, remove - # FIXME skip_condition, and just append the "dpy != NULL" type - # FIXME condition to condition_list from the start. The only - # FIXME reason it's done in this confusing way now is to - # FIXME minimize the diffs in the generated code. - - if not f.glx_rop: - for p in f.parameterIterateOutputs(): - if p.is_image(): - print ' const __GLXattribute * const state = gc->client_state_private;' - break - - print ' Display * const dpy = gc->currentDpy;' - skip_condition = "dpy != NULL" - elif f.can_be_large: - skip_condition = "gc->currentDpy != NULL" - else: - skip_condition = None - - - if f.return_type != 'void': - print ' %s retval = (%s) 0;' % (f.return_type, f.return_type) - - - self.emit_packet_size_calculation(f, 0) - - condition_list = [] - for p in f.parameterIterateCounters(): - condition_list.append( "%s >= 0" % (p.name) ) - - if skip_condition: - condition_list.append( skip_condition ) - - if len( condition_list ) > 0: - if len( condition_list ) > 1: - skip_condition = "(%s)" % (string.join( condition_list, ") && (" )) - else: - skip_condition = "%s" % (condition_list.pop(0)) - - print ' if (__builtin_expect(%s, 1)) {' % (skip_condition) - return 1 - else: - return 0 - - - def printSingleFunction(self, f): - self.common_func_print_just_start(f) - - if self.debug: - print ' printf( "Enter %%s...\\n", "gl%s" );' % (f.name) - - if f.glx_vendorpriv == 0: - - # XCB specific: - print '#ifdef USE_XCB' - if self.debug: - print ' printf("\\tUsing XCB.\\n");' - print ' XCBConnection *c = XCBConnectionOfDisplay(dpy);' - print ' (void) __glXFlushRenderBuffer(gc, gc->pc);' - xcb_name = 'XCBGlx%s' % f.name - - iparams=[] - extra_iparams = [] - output = None - for p in f.parameterIterator(): - if p.is_output: - output = p - - if p.is_image(): - if p.img_format != "GL_COLOR_INDEX" or p.img_type != "GL_BITMAP": - extra_iparams.append("state->storePack.swapEndian") - else: - extra_iparams.append("0") - - # Hardcode this in. lsb_first param (apparently always GL_FALSE) - # also present in GetPolygonStipple, but taken care of above. - if xcb_name == "XCBGlxReadPixels": - extra_iparams.append("0") - else: - iparams.append(p.name) - - - xcb_request = '%s(%s)' % (xcb_name, ", ".join(["c", "gc->currentContextTag"] + iparams + extra_iparams)) - - if f.needs_reply(): - print ' %sRep *reply = %sReply(c, %s, NULL);' % (xcb_name, xcb_name, xcb_request) - if output and f.reply_always_array: - print ' (void)memcpy(%s, %sData(reply), %sDataLength(reply) * sizeof(%s));' % (output.name, xcb_name, xcb_name, output.get_base_type_string()) - - elif output and not f.reply_always_array: - if not output.is_image(): - print ' if (%sDataLength(reply) == 0)' % (xcb_name) - print ' (void)memcpy(%s, &reply->datum, sizeof(reply->datum));' % (output.name) - print ' else' - print ' (void)memcpy(%s, %sData(reply), %sDataLength(reply) * sizeof(%s));' % (output.name, xcb_name, xcb_name, output.get_base_type_string()) - - - if f.return_type != 'void': - print ' retval = reply->ret_val;' - print ' free(reply);' - else: - print ' ' + xcb_request + ';' - print '#else' - # End of XCB specific. - - - if f.parameters != []: - pc_decl = "GLubyte const * pc =" - else: - pc_decl = "(void)" - - if f.glx_vendorpriv != 0: - print ' %s __glXSetupVendorRequest(gc, %s, %s, cmdlen);' % (pc_decl, f.opcode_real_name(), f.opcode_name()) - else: - print ' %s __glXSetupSingleRequest(gc, %s, cmdlen);' % (pc_decl, f.opcode_name()) - - self.common_emit_args(f, "pc", " ", 0, 0) - - images = f.get_images() - - for img in images: - if img.is_output: - o = f.command_fixed_length() - 4 - print ' *(int32_t *)(pc + %u) = 0;' % (o) - if img.img_format != "GL_COLOR_INDEX" or img.img_type != "GL_BITMAP": - print ' * (int8_t *)(pc + %u) = state->storePack.swapEndian;' % (o) - - if f.img_reset: - print ' * (int8_t *)(pc + %u) = %s;' % (o + 1, f.img_reset) - - - return_name = '' - if f.needs_reply(): - if f.return_type != 'void': - return_name = " retval" - return_str = " retval = (%s)" % (f.return_type) - else: - return_str = " (void)" - - got_reply = 0 - - for p in f.parameterIterateOutputs(): - if p.is_image(): - [dim, w, h, d, junk] = p.get_dimensions() - if f.dimensions_in_reply: - print " __glXReadPixelReply(dpy, gc, %u, 0, 0, 0, %s, %s, %s, GL_TRUE);" % (dim, p.img_format, p.img_type, p.name) - else: - print " __glXReadPixelReply(dpy, gc, %u, %s, %s, %s, %s, %s, %s, GL_FALSE);" % (dim, w, h, d, p.img_format, p.img_type, p.name) - - got_reply = 1 - else: - if f.reply_always_array: - aa = "GL_TRUE" - else: - aa = "GL_FALSE" - - # gl_parameter.size() returns the size - # of the entire data item. If the - # item is a fixed-size array, this is - # the size of the whole array. This - # is not what __glXReadReply wants. It - # wants the size of a single data - # element in the reply packet. - # Dividing by the array size (1 for - # non-arrays) gives us this. - - s = p.size() / p.get_element_count() - print " %s __glXReadReply(dpy, %s, %s, %s);" % (return_str, s, p.name, aa) - got_reply = 1 - - - # If a reply wasn't read to fill an output parameter, - # read a NULL reply to get the return value. - - if not got_reply: - print " %s __glXReadReply(dpy, 0, NULL, GL_FALSE);" % (return_str) - - - elif self.debug: - # Only emit the extra glFinish call for functions - # that don't already require a reply from the server. - print ' __indirect_glFinish();' - - if self.debug: - print ' printf( "Exit %%s.\\n", "gl%s" );' % (f.name) - - - print ' UnlockDisplay(dpy); SyncHandle();' - - if f.glx_vendorpriv == 0: - print '#endif /* USE_XCB */' - - print ' }' - print ' return%s;' % (return_name) - return - - - def printPixelFunction(self, f): - if self.pixel_stubs.has_key( f.name ): - # Normally gl_function::get_parameter_string could be - # used. However, this call needs to have the missing - # dimensions (e.g., a fake height value for - # glTexImage1D) added in. - - p_string = "" - for param in f.parameterIterateGlxSend(): - p_string += ", " + param.name - - if param.is_image(): - [dim, junk, junk, junk, junk] = param.get_dimensions() - - if f.pad_after(param): - p_string += ", 1" - - print ' %s(%s, %u%s );' % (self.pixel_stubs[f.name] , f.opcode_name(), dim, p_string) - return - - - if self.common_func_print_just_start(f): - indent = " " - trailer = " }" - else: - indent = "" - trailer = None - - - if f.can_be_large: - print '%s if (cmdlen <= gc->maxSmallRenderCommandSize) {' % (indent) - print '%s if ( (gc->pc + cmdlen) > gc->bufEnd ) {' % (indent) - print '%s (void) __glXFlushRenderBuffer(gc, gc->pc);' % (indent) - print '%s }' % (indent) - indent += " " - - if f.glx_rop == ~0: - opcode = "opcode" - else: - opcode = f.opcode_real_name() - - print '%s emit_header(gc->pc, %s, cmdlen);' % (indent, opcode) - - self.pixel_emit_args( f, "gc->pc", indent, 0 ) - print '%s gc->pc += cmdlen;' % (indent) - print '%s if (gc->pc > gc->limit) { (void) __glXFlushRenderBuffer(gc, gc->pc); }' % (indent) - - if f.can_be_large: - print '%s}' % (indent) - print '%selse {' % (indent) - - self.large_emit_begin(indent, f, opcode) - self.pixel_emit_args( f, "pc", indent, 1 ) - - print '%s}' % (indent) - - if trailer: print trailer - return - - - def printRenderFunction(self, f): - # There is a class of GL functions that take a single pointer - # as a parameter. This pointer points to a fixed-size chunk - # of data, and the protocol for this functions is very - # regular. Since they are so regular and there are so many - # of them, special case them with generic functions. On - # x86, this saves about 26KB in the libGL.so binary. - - if f.variable_length_parameter() == None and len(f.parameters) == 1: - p = f.parameters[0] - if p.is_pointer(): - cmdlen = f.command_fixed_length() - if cmdlen in self.generic_sizes: - print ' generic_%u_byte( %s, %s );' % (cmdlen, f.opcode_real_name(), p.name) - return - - if self.common_func_print_just_start(f): - indent = " " - trailer = " }" - else: - indent = "" - trailer = None - - if self.debug: - print '%s printf( "Enter %%s...\\n", "gl%s" );' % (indent, f.name) - - if f.can_be_large: - print '%s if (cmdlen <= gc->maxSmallRenderCommandSize) {' % (indent) - print '%s if ( (gc->pc + cmdlen) > gc->bufEnd ) {' % (indent) - print '%s (void) __glXFlushRenderBuffer(gc, gc->pc);' % (indent) - print '%s }' % (indent) - indent += " " - - print '%s emit_header(gc->pc, %s, cmdlen);' % (indent, f.opcode_real_name()) - - self.common_emit_args(f, "gc->pc", indent, 4, 0) - print '%s gc->pc += cmdlen;' % (indent) - print '%s if (__builtin_expect(gc->pc > gc->limit, 0)) { (void) __glXFlushRenderBuffer(gc, gc->pc); }' % (indent) - - if f.can_be_large: - print '%s}' % (indent) - print '%selse {' % (indent) - - self.large_emit_begin(indent, f) - self.common_emit_args(f, "pc", indent, 8, 1) - - p = f.variable_length_parameter() - print '%s __glXSendLargeCommand(gc, pc, %u, %s, %s);' % (indent, p.offset + 8, p.name, p.size_string()) - print '%s}' % (indent) - - if self.debug: - print '%s __indirect_glFinish();' % (indent) - print '%s printf( "Exit %%s.\\n", "gl%s" );' % (indent, f.name) - - if trailer: print trailer - return - - -class PrintGlxProtoInit_c(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "glX_proto_send.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. -(C) Copyright IBM Corporation 2004""", "PRECISION INSIGHT, IBM") - return - - - def printRealHeader(self): - print """/** - * \\file indirect_init.c - * Initialize indirect rendering dispatch table. - * - * \\author Kevin E. Martin <kevin@precisioninsight.com> - * \\author Brian Paul <brian@precisioninsight.com> - * \\author Ian Romanick <idr@us.ibm.com> - */ - -#include "indirect_init.h" -#include "indirect.h" -#include "glapi.h" - - -/** - * No-op function used to initialize functions that have no GLX protocol - * support. - */ -static int NoOp(void) -{ - return 0; -} - -/** - * Create and initialize a new GL dispatch table. The table is initialized - * with GLX indirect rendering protocol functions. - */ -__GLapi * __glXNewIndirectAPI( void ) -{ - __GLapi *glAPI; - GLuint entries; - - entries = _glapi_get_dispatch_table_size(); - glAPI = (__GLapi *) Xmalloc(entries * sizeof(void *)); - - /* first, set all entries to point to no-op functions */ - { - int i; - void **dispatch = (void **) glAPI; - for (i = 0; i < entries; i++) { - dispatch[i] = (void *) NoOp; - } - } - - /* now, initialize the entries we understand */""" - - def printRealFooter(self): - print """ - return glAPI; -} -""" - return - - - def printCategory(self, category_group, show_num): - cat_keys = category_group.keys() - cat_keys.sort() - for cat_num in cat_keys: - first = 1 - for offset in category_group[ cat_num ]: - [cat_name, func_name] = category_group[ cat_num ][ offset ] - - if first: - print '' - if show_num: - print ' /* % 3u. %s */' % (cat_num, cat_name) - else: - print ' /* %s */' % (cat_name) - print '' - first = 0 - - print ' glAPI->%s = __indirect_gl%s;' % (func_name, func_name) - - - def printBody(self, api): - core_categories = {} - arb_categories = {} - other_categories = {} - next_unnum = 1000 - - for func in api.functionIterateGlx(): - [cat, num] = api.get_category_for_name( func.name ) - - # There are three groups of "categories" that we - # care about here. We want to separate the core GL - # version categories from extensions. We also want to - # separate the ARB extensions from the non-ARB - # extensions. - # - # This is done by first trying to convert the category - # name to a floating point number. All core GL - # versions are of the form "N.M" where both N and M - # are integers. If the cast to float fails, an - # exception will be thrown. Once down that path, - # we can look at the start of the extension string. - # If it begins with "GL_ARB_", it's an ARB extension. - # - # Once the categories are separated, the are ordered - # by number. The un-numbered non-ARB extensions - # (e.g., GL_INGR_blend_func_separate) are assigned - # arbitrary numbers starting at 1000. - # - # FIXME In order to maintain repeatability, the - # FIXME unnumbered extensions should be put in their - # FIXME own dictionary and ordered by name (since they - # FIXME have no number). - - try: - num = float(cat) - if not core_categories.has_key( num ): - core_categories[ num ] = {} - - core_categories[ num ][ func.offset ] = [cat, func.name] - - except Exception, e: - if not num: - num = next_unnum - next_unnum += 1 - else: - num = int(num) - - if cat.startswith( "GL_ARB_" ): - if not arb_categories.has_key( num ): - arb_categories[ num ] = {} - - arb_categories[ num ][ func.offset ] = [cat, func.name] - else: - if not other_categories.has_key( num ): - other_categories[ num ] = {} - - other_categories[ num ][ func.offset ] = [cat, func.name] - - self.printCategory( core_categories, 0 ) - self.printCategory( arb_categories, 1 ) - self.printCategory( other_categories, 1 ) - return - - -class PrintGlxProtoInit_h(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "glX_proto_send.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright 1998-1999 Precision Insight, Inc., Cedar Park, Texas. -(C) Copyright IBM Corporation 2004""", "PRECISION INSIGHT, IBM") - self.header_tag = "_INDIRECT_H_" - - self.last_category = "" - return - - - def printRealHeader(self): - print """/** - * \\file - * Prototypes for indirect rendering functions. - * - * \\author Kevin E. Martin <kevin@precisioninsight.com> - * \\author Ian Romanick <idr@us.ibm.com> - */ -""" - self.printVisibility( "HIDDEN", "hidden" ) - self.printFastcall() - self.printNoinline() - - print """ -#include "glxclient.h" - -extern HIDDEN NOINLINE CARD32 __glXReadReply( Display *dpy, size_t size, - void * dest, GLboolean reply_is_always_array ); - -extern HIDDEN NOINLINE void __glXReadPixelReply( Display *dpy, - __GLXcontext * gc, unsigned max_dim, GLint width, GLint height, - GLint depth, GLenum format, GLenum type, void * dest, - GLboolean dimensions_in_reply ); - -extern HIDDEN NOINLINE FASTCALL GLubyte * __glXSetupSingleRequest( - __GLXcontext * gc, GLint sop, GLint cmdlen ); - -extern HIDDEN NOINLINE FASTCALL GLubyte * __glXSetupVendorRequest( - __GLXcontext * gc, GLint code, GLint vop, GLint cmdlen ); -""" - - - def printBody(self, api): - for func in api.functionIterateGlx(): - print 'extern HIDDEN %s __indirect_gl%s(%s);' % (func.return_type, func.name, func.get_parameter_string()) - - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m output_mode] [-d]" % sys.argv[0] - print " -m output_mode Output mode can be one of 'proto', 'init_c' or 'init_h'." - print " -d Enable extra debug information in the generated code." - sys.exit(1) - - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:m:d") - except Exception,e: - show_usage() - - debug = 0 - mode = "proto" - for (arg,val) in args: - if arg == "-f": - file_name = val - elif arg == "-m": - mode = val - elif arg == "-d": - debug = 1 - - if mode == "proto": - printer = PrintGlxProtoStubs() - elif mode == "init_c": - printer = PrintGlxProtoInit_c() - elif mode == "init_h": - printer = PrintGlxProtoInit_h() - else: - show_usage() - - - printer.debug = debug - api = gl_XML.parse_GL_API( file_name, glX_XML.glx_item_factory() ) - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_size.py b/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_size.py deleted file mode 100644 index 81a98423a..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/glX_proto_size.py +++ /dev/null @@ -1,705 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, glX_XML -import license -import sys, getopt, copy, string - - -class glx_enum_function: - def __init__(self, func_name, enum_dict): - self.name = func_name - self.mode = 1 - self.sig = None - - # "enums" is a set of lists. The element in the set is the - # value of the enum. The list is the list of names for that - # value. For example, [0x8126] = {"POINT_SIZE_MIN", - # "POINT_SIZE_MIN_ARB", "POINT_SIZE_MIN_EXT", - # "POINT_SIZE_MIN_SGIS"}. - - self.enums = {} - - # "count" is indexed by count values. Each element of count - # is a list of index to "enums" that have that number of - # associated data elements. For example, [4] = - # {GL_AMBIENT, GL_DIFFUSE, GL_SPECULAR, GL_EMISSION, - # GL_AMBIENT_AND_DIFFUSE} (the enum names are used here, - # but the actual hexadecimal values would be in the array). - - self.count = {} - - - # Fill self.count and self.enums using the dictionary of enums - # that was passed in. The generic Get functions (e.g., - # GetBooleanv and friends) are handled specially here. In - # the data the generic Get functions are refered to as "Get". - - if func_name in ["GetIntegerv", "GetBooleanv", "GetFloatv", "GetDoublev"]: - match_name = "Get" - else: - match_name = func_name - - mode_set = 0 - for enum_name in enum_dict: - e = enum_dict[ enum_name ] - - if e.functions.has_key( match_name ): - [count, mode] = e.functions[ match_name ] - - if mode_set and mode != self.mode: - raise RuntimeError("Not all enums for %s have the same mode." % (func_name)) - - self.mode = mode - - if self.enums.has_key( e.value ): - if e.name not in self.enums[ e.value ]: - self.enums[ e.value ].append( e ) - else: - if not self.count.has_key( count ): - self.count[ count ] = [] - - self.enums[ e.value ] = [ e ] - self.count[ count ].append( e.value ) - - - return - - - def signature( self ): - if self.sig == None: - self.sig = "" - for i in self.count: - if i == None: - raise RuntimeError("i is None. WTF?") - - self.count[i].sort() - for e in self.count[i]: - self.sig += "%04x,%d," % (e, i) - - return self.sig - - - def is_set( self ): - return self.mode - - - def PrintUsingTable(self): - """Emit the body of the __gl*_size function using a pair - of look-up tables and a mask. The mask is calculated such - that (e & mask) is unique for all the valid values of e for - this function. The result of (e & mask) is used as an index - into the first look-up table. If it matches e, then the - same entry of the second table is returned. Otherwise zero - is returned. - - It seems like this should cause better code to be generated. - However, on x86 at least, the resulting .o file is about 20% - larger then the switch-statment version. I am leaving this - code in because the results may be different on other - platforms (e.g., PowerPC or x86-64).""" - - return 0 - count = 0 - for a in self.enums: - count += 1 - - if self.count.has_key(-1): - return 0 - - # Determine if there is some mask M, such that M = (2^N) - 1, - # that will generate unique values for all of the enums. - - mask = 0 - for i in [1, 2, 3, 4, 5, 6, 7, 8]: - mask = (1 << i) - 1 - - fail = 0; - for a in self.enums: - for b in self.enums: - if a != b: - if (a & mask) == (b & mask): - fail = 1; - - if not fail: - break; - else: - mask = 0 - - if (mask != 0) and (mask < (2 * count)): - masked_enums = {} - masked_count = {} - - for i in range(0, mask + 1): - masked_enums[i] = "0"; - masked_count[i] = 0; - - for c in self.count: - for e in self.count[c]: - i = e & mask - enum_obj = self.enums[e][0] - masked_enums[i] = '0x%04x /* %s */' % (e, enum_obj.name ) - masked_count[i] = c - - - print ' static const GLushort a[%u] = {' % (mask + 1) - for e in masked_enums: - print ' %s, ' % (masked_enums[e]) - print ' };' - - print ' static const GLubyte b[%u] = {' % (mask + 1) - for c in masked_count: - print ' %u, ' % (masked_count[c]) - print ' };' - - print ' const unsigned idx = (e & 0x%02xU);' % (mask) - print '' - print ' return (e == a[idx]) ? (GLint) b[idx] : 0;' - return 1; - else: - return 0; - - - def PrintUsingSwitch(self, name): - """Emit the body of the __gl*_size function using a - switch-statement.""" - - print ' switch( e ) {' - - for c in self.count: - for e in self.count[c]: - first = 1 - - # There may be multiple enums with the same - # value. This happens has extensions are - # promoted from vendor-specific or EXT to - # ARB and to the core. Emit the first one as - # a case label, and emit the others as - # commented-out case labels. - - list = {} - for enum_obj in self.enums[e]: - list[ enum_obj.priority() ] = enum_obj.name - - keys = list.keys() - keys.sort() - for k in keys: - j = list[k] - if first: - print ' case GL_%s:' % (j) - first = 0 - else: - print '/* case GL_%s:*/' % (j) - - if c == -1: - print ' return __gl%s_variable_size( e );' % (name) - else: - print ' return %u;' % (c) - - print ' default: return 0;' - print ' }' - - - def Print(self, name): - print 'INTERNAL PURE FASTCALL GLint' - print '__gl%s_size( GLenum e )' % (name) - print '{' - - if not self.PrintUsingTable(): - self.PrintUsingSwitch(name) - - print '}' - print '' - - -class glx_server_enum_function(glx_enum_function): - def __init__(self, func, enum_dict): - glx_enum_function.__init__(self, func.name, enum_dict) - - self.function = func - return - - - def signature( self ): - if self.sig == None: - sig = glx_enum_function.signature(self) - - p = self.function.variable_length_parameter() - if p: - sig += "%u" % (p.size()) - - self.sig = sig - - return self.sig; - - - def Print(self, name, printer): - f = self.function - printer.common_func_print_just_header( f ) - - fixup = [] - - foo = {} - for param_name in f.count_parameter_list: - o = f.offset_of( param_name ) - foo[o] = param_name - - for param_name in f.counter_list: - o = f.offset_of( param_name ) - foo[o] = param_name - - keys = foo.keys() - keys.sort() - for o in keys: - p = f.parameters_by_name[ foo[o] ] - - printer.common_emit_one_arg(p, "pc", " ", 0) - fixup.append( p.name ) - - - print ' GLsizei compsize;' - print '' - - printer.common_emit_fixups(fixup) - - print '' - print ' compsize = __gl%s_size(%s);' % (f.name, string.join(f.count_parameter_list, ",")) - p = f.variable_length_parameter() - print ' return __GLX_PAD(%s);' % (p.size_string()) - - print '}' - print '' - - -class PrintGlxSizeStubs_common(gl_XML.gl_print_base): - do_get = (1 << 0) - do_set = (1 << 1) - - def __init__(self, which_functions): - gl_XML.gl_print_base.__init__(self) - - self.name = "glX_proto_size.py (from Mesa)" - self.license = license.bsd_license_template % ( "(C) Copyright IBM Corporation 2004", "IBM") - - self.emit_set = ((which_functions & PrintGlxSizeStubs_common.do_set) != 0) - self.emit_get = ((which_functions & PrintGlxSizeStubs_common.do_get) != 0) - return - - -class PrintGlxSizeStubs_c(PrintGlxSizeStubs_common): - def printRealHeader(self): - print '' - print '#include <GL/gl.h>' - if self.emit_get: - print '#include "indirect_size_get.h"' - - print '#include "indirect_size.h"' - - print '' - self.printPure() - print '' - self.printFastcall() - print '' - self.printVisibility( "INTERNAL", "internal" ) - print '' - print '' - print '#if defined(__CYGWIN__) || defined(__MINGW32__) || defined(__APPLE__)' - print '# undef HAVE_ALIAS' - print '#endif' - print '#ifdef HAVE_ALIAS' - print '# define ALIAS2(from,to) \\' - print ' INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \\' - print ' __attribute__ ((alias( # to )));' - print '# define ALIAS(from,to) ALIAS2( from, __gl ## to ## _size )' - print '#else' - print '# define ALIAS(from,to) \\' - print ' INTERNAL PURE FASTCALL GLint __gl ## from ## _size( GLenum e ) \\' - print ' { return __gl ## to ## _size( e ); }' - print '#endif' - print '' - print '' - - - def printBody(self, api): - enum_sigs = {} - aliases = [] - - for func in api.functionIterateGlx(): - ef = glx_enum_function( func.name, api.enums_by_name ) - if len(ef.enums) == 0: - continue - - if (ef.is_set() and self.emit_set) or (not ef.is_set() and self.emit_get): - sig = ef.signature() - if enum_sigs.has_key( sig ): - aliases.append( [func.name, enum_sigs[ sig ]] ) - else: - enum_sigs[ sig ] = func.name - ef.Print( func.name ) - - - for [alias_name, real_name] in aliases: - print 'ALIAS( %s, %s )' % (alias_name, real_name) - - - -class PrintGlxSizeStubs_h(PrintGlxSizeStubs_common): - def printRealHeader(self): - print """/** - * \\file - * Prototypes for functions used to determine the number of data elements in - * various GLX protocol messages. - * - * \\author Ian Romanick <idr@us.ibm.com> - */ -""" - self.printPure(); - print '' - self.printFastcall(); - print '' - self.printVisibility( "INTERNAL", "internal" ); - print '' - - - def printBody(self, api): - for func in api.functionIterateGlx(): - ef = glx_enum_function( func.name, api.enums_by_name ) - if len(ef.enums) == 0: - continue - - if (ef.is_set() and self.emit_set) or (not ef.is_set() and self.emit_get): - print 'extern INTERNAL PURE FASTCALL GLint __gl%s_size(GLenum);' % (func.name) - - -class PrintGlxReqSize_common(gl_XML.gl_print_base): - """Common base class for PrintGlxSizeReq_h and PrintGlxSizeReq_h. - - The main purpose of this common base class is to provide the infrastructure - for the derrived classes to iterate over the same set of functions. - """ - - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "glX_proto_size.py (from Mesa)" - self.license = license.bsd_license_template % ( "(C) Copyright IBM Corporation 2005", "IBM") - - -class PrintGlxReqSize_h(PrintGlxReqSize_common): - def __init__(self): - PrintGlxReqSize_common.__init__(self) - self.header_tag = "_INDIRECT_REQSIZE_H_" - - - def printRealHeader(self): - self.printVisibility("HIDDEN", "hidden") - print '' - self.printPure() - print '' - - - def printBody(self, api): - for func in api.functionIterateGlx(): - if not func.ignore and func.has_variable_size_request(): - print 'extern PURE HIDDEN int __glX%sReqSize(const GLbyte *pc, Bool swap);' % (func.name) - - -class PrintGlxReqSize_c(PrintGlxReqSize_common): - """Create the server-side 'request size' functions. - - Create the server-side functions that are used to determine what the - size of a varible length command should be. The server then uses - this value to determine if the incoming command packed it malformed. - """ - - def __init__(self): - PrintGlxReqSize_common.__init__(self) - self.counter_sigs = {} - - - def printRealHeader(self): - print '' - print '#include <GL/gl.h>' - print '#include "glxserver.h"' - print '#include "indirect_size.h"' - print '#include "indirect_reqsize.h"' - print '' - print '#if defined(linux)' - print '# include <byteswap.h>' - print '# define SWAP_32(v) do { (v) = bswap_32(v); } while(0)' - print '#else' - print '# include <X11/misc.h>' - print '# define SWAP_32(v) do { char tmp; swapl(&v, tmp); } while(0)' - print '#endif' - - print '' - print '#define __GLX_PAD(x) (((x) + 3) & ~3)' - print '' - print '#if defined(__CYGWIN__) || defined(__MINGW32__)' - print '# undef HAVE_ALIAS' - print '#endif' - print '#ifdef HAVE_ALIAS' - print '# define ALIAS2(from,to) \\' - print ' GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \\' - print ' __attribute__ ((alias( # to )));' - print '# define ALIAS(from,to) ALIAS2( from, __glX ## to ## ReqSize )' - print '#else' - print '# define ALIAS(from,to) \\' - print ' GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap ) \\' - print ' { return __glX ## to ## ReqSize( pc, swap ); }' - print '#endif' - print '' - print '' - - - def printBody(self, api): - aliases = [] - enum_functions = {} - enum_sigs = {} - - for func in api.functionIterateGlx(): - if not func.has_variable_size_request(): continue - - ef = glx_server_enum_function( func, api.enums_by_name ) - if len(ef.enums) == 0: continue - - sig = ef.signature() - - if not enum_functions.has_key(func.name): - enum_functions[ func.name ] = sig - - if not enum_sigs.has_key( sig ): - enum_sigs[ sig ] = ef - - - - for func in api.functionIterateGlx(): - # Even though server-handcode fuctions are on "the - # list", and prototypes are generated for them, there - # isn't enough information to generate a size - # function. If there was enough information, they - # probably wouldn't need to be handcoded in the first - # place! - - if func.server_handcode: continue - if not func.has_variable_size_request(): continue - - if enum_functions.has_key(func.name): - sig = enum_functions[func.name] - ef = enum_sigs[ sig ] - - if ef.name != func.name: - aliases.append( [func.name, ef.name] ) - else: - ef.Print( func.name, self ) - - elif func.images: - self.printPixelFunction(func) - elif func.has_variable_size_request(): - a = self.printCountedFunction(func) - if a: aliases.append(a) - - - for [alias_name, real_name] in aliases: - print 'ALIAS( %s, %s )' % (alias_name, real_name) - - return - - - def common_emit_fixups(self, fixup): - """Utility function to emit conditional byte-swaps.""" - - if fixup: - print ' if (swap) {' - for name in fixup: - print ' SWAP_32( %s );' % (name) - print ' }' - - return - - - def common_emit_one_arg(self, p, pc, indent, adjust): - offset = p.offset - dst = p.string() - src = '(%s *)' % (p.type_string()) - print '%s%-18s = *%11s(%s + %u);' % (indent, dst, src, pc, offset + adjust); - return - - - def common_func_print_just_header(self, f): - print 'int' - print '__glX%sReqSize( const GLbyte * pc, Bool swap )' % (f.name) - print '{' - - - def printPixelFunction(self, f): - self.common_func_print_just_header(f) - - f.offset_of( f.parameters[0].name ) - [dim, w, h, d, junk] = f.get_images()[0].get_dimensions() - - print ' GLint row_length = * (GLint *)(pc + 4);' - - if dim < 3: - fixup = ['row_length', 'skip_rows', 'alignment'] - print ' GLint image_height = 0;' - print ' GLint skip_images = 0;' - print ' GLint skip_rows = * (GLint *)(pc + 8);' - print ' GLint alignment = * (GLint *)(pc + 16);' - else: - fixup = ['row_length', 'image_height', 'skip_rows', 'skip_images', 'alignment'] - print ' GLint image_height = * (GLint *)(pc + 8);' - print ' GLint skip_rows = * (GLint *)(pc + 16);' - print ' GLint skip_images = * (GLint *)(pc + 20);' - print ' GLint alignment = * (GLint *)(pc + 32);' - - img = f.images[0] - for p in f.parameterIterateGlxSend(): - if p.name in [w, h, d, img.img_format, img.img_type, img.img_target]: - self.common_emit_one_arg( p, "pc", " ", 0 ) - fixup.append( p.name ) - - print '' - - self.common_emit_fixups(fixup) - - print '' - print ' return __glXImageSize(%s, %s, %s, %s, %s, %s,' % (img.img_format, img.img_type, img.img_target, w, h, d ) - print ' image_height, row_length, skip_images,' - print ' skip_rows, alignment);' - print '}' - print '' - return - - - def printCountedFunction(self, f): - - sig = "" - offset = 0 - fixup = [] - params = [] - plus = '' - size = '' - param_offsets = {} - - # Calculate the offset of each counter parameter and the - # size string for the variable length parameter(s). While - # that is being done, calculate a unique signature for this - # function. - - for p in f.parameterIterateGlxSend(): - if p.is_counter: - fixup.append( p.name ) - params.append( p ) - elif p.counter: - s = p.size() - if s == 0: s = 1 - - sig += "(%u,%u)" % (f.offset_of(p.counter), s) - size += '%s%s' % (plus, p.size_string()) - plus = ' + ' - - - # If the calculated signature matches a function that has - # already be emitted, don't emit this function. Instead, add - # it to the list of function aliases. - - if self.counter_sigs.has_key(sig): - n = self.counter_sigs[sig]; - alias = [f.name, n] - else: - alias = None - self.counter_sigs[sig] = f.name - - self.common_func_print_just_header(f) - - for p in params: - self.common_emit_one_arg(p, "pc", " ", 0 ) - - - print '' - self.common_emit_fixups(fixup) - print '' - - print ' return __GLX_PAD(%s);' % (size) - print '}' - print '' - - return alias - - -def show_usage(): - print "Usage: %s [-f input_file_name] -m output_mode [--only-get | --only-set] [--get-alias-set]" % sys.argv[0] - print " -m output_mode Output mode can be one of 'size_c' or 'size_h'." - print " --only-get Only emit 'get'-type functions." - print " --only-set Only emit 'set'-type functions." - print "" - print "By default, both 'get' and 'set'-type functions are emitted." - sys.exit(1) - - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:m:h:", ["only-get", "only-set", "header-tag"]) - except Exception,e: - show_usage() - - mode = None - header_tag = None - which_functions = PrintGlxSizeStubs_common.do_get | PrintGlxSizeStubs_common.do_set - - for (arg,val) in args: - if arg == "-f": - file_name = val - elif arg == "-m": - mode = val - elif arg == "--only-get": - which_functions = PrintGlxSizeStubs_common.do_get - elif arg == "--only-set": - which_functions = PrintGlxSizeStubs_common.do_set - elif (arg == '-h') or (arg == "--header-tag"): - header_tag = val - - if mode == "size_c": - printer = PrintGlxSizeStubs_c( which_functions ) - elif mode == "size_h": - printer = PrintGlxSizeStubs_h( which_functions ) - if header_tag: - printer.header_tag = header_tag - elif mode == "reqsize_c": - printer = PrintGlxReqSize_c() - elif mode == "reqsize_h": - printer = PrintGlxReqSize_h() - else: - show_usage() - - api = gl_XML.parse_GL_API( file_name, glX_XML.glx_item_factory() ) - - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_API.dtd b/nx-X11/extras/Mesa/src/mesa/glapi/gl_API.dtd deleted file mode 100644 index ded487bc9..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_API.dtd +++ /dev/null @@ -1,134 +0,0 @@ -<!ELEMENT OpenGLAPI (category?, xi:include?, OpenGLAPI?)+> -<!ELEMENT category (type*, enum*, function*)*> -<!ELEMENT type EMPTY> -<!ELEMENT enum (size*)> -<!ELEMENT size EMPTY> -<!ELEMENT function (param*, return?, glx?)*> -<!ELEMENT param EMPTY> -<!ELEMENT return EMPTY> -<!ELEMENT glx EMPTY> - -<!ELEMENT xi:include (xi:fallback)?> -<!ATTLIST xi:include - xmlns:xi CDATA #FIXED "http://www.w3.org/2001/XInclude" - href CDATA #REQUIRED - parse (xml|text) "xml" - encoding CDATA #IMPLIED> -<!ELEMENT xi:fallback ANY> -<!ATTLIST xi:fallback - xmlns:xi CDATA #FIXED "http://www.w3.org/2001/XInclude"> - - -<!ATTLIST category name NMTOKEN #REQUIRED - number NMTOKEN #IMPLIED - window_system NMTOKEN #IMPLIED> -<!ATTLIST type name NMTOKEN #REQUIRED - size NMTOKEN #REQUIRED - float (true | false) "false" - unsigned (true | false) "false" - glx_name NMTOKEN #IMPLIED> -<!ATTLIST enum name NMTOKEN #REQUIRED - count CDATA #IMPLIED - value NMTOKEN #REQUIRED> -<!ATTLIST function name NMTOKEN #REQUIRED - alias NMTOKEN #IMPLIED - offset CDATA #IMPLIED - vectorequiv NMTOKEN #IMPLIED> -<!ATTLIST size name NMTOKEN #REQUIRED - count NMTOKEN #IMPLIED - mode (get | set) "set"> -<!ATTLIST param name NMTOKEN #REQUIRED - type CDATA #REQUIRED - count NMTOKEN #IMPLIED - counter (true | false) "false" - count_scale NMTOKEN "1" - output (true | false) "false" - img_width NMTOKEN #IMPLIED - img_height NMTOKEN #IMPLIED - img_depth NMTOKEN #IMPLIED - img_extent NMTOKEN #IMPLIED - img_xoff NMTOKEN #IMPLIED - img_yoff NMTOKEN #IMPLIED - img_zoff NMTOKEN #IMPLIED - img_woff NMTOKEN #IMPLIED - img_format NMTOKEN #IMPLIED - img_type NMTOKEN #IMPLIED - img_target NMTOKEN #IMPLIED - img_send_null (true | false) "false" - img_null_flag (true | false) "false" - img_pad_dimensions (true | false) "false" - variable_param NMTOKENS #IMPLIED> -<!ATTLIST return type CDATA "void"> -<!ATTLIST glx rop NMTOKEN #IMPLIED - sop NMTOKEN #IMPLIED - vendorpriv NMTOKEN #IMPLIED - large (true | false) "false" - doubles_in_order (true | false) "false" - always_array (true | false) "false" - handcode (true | false | client | server) "false" - img_reset NMTOKEN #IMPLIED - dimensions_in_reply (true | false) "false" - ignore (true | false) "false"> - -<!-- -The various attributes for param and glx have the meanings listed below. -When adding new functions, please annote them correctly. In most cases this -will just mean adding a '<glx ignore="true"/>' tag. - -param: - name - name of the parameter - type - fully qualified type (e.g., with "const", etc.) - count - for counted arrays (e.g., the 'lists' parameter to glCallLists), - the parameter or literal that represents the count. For functions - like glVertex3fv it will be a litteral, for others it will be one of - the parameters. - counter - this parameter is a counter that will be referenced by the - 'count' attribute in another parameter. - count_scale - literal value scale factor for the 'count' attribute. - See ProgramParameters4dvNV for an example. - output - this parameter is used to store the output of the function. - variable_param - name of parameter used to determine the number of - elements referenced by this parameter. This should be the name of a - single enum parameter. Most of the gl*Parameter[if]v functions use - this. Additionally, the enums that can be passed should be properly - annotated. - img_width / img_height / img_depth / img_extent - name of parameters - (or hardcoded integer) used for the dimensions of pixel data. - img_xoff / img_yoff / img_zoff / img_woff - name of parameters used - for x, y, z, and w offsets of pixel data. - img_format - name of parameter used as the pixel data format. - img_type - name of parameter used as the pixel data type. - img_target - name of parameter used as a texture target. Non-texture - pixel data should hardcode 0. - img_send_null - boolean flag to determine if blank pixel data should - be sent when a NULL pointer is passed. This is only used by - TexImage1D and TexImage2D. - img_null_flag - boolean flag to determine if an extra flag is used to - determine if a NULL pixel pointer was passed. This is used by - TexSubImage1D, TexSubImage2D, TexImage3D and others. - img_pad_dimensions - boolean flag to determine if dimension data and - offset data should be padded to the next even number of dimensions. - For example, this will insert an empty "height" field after the - "width" field in the protocol for TexImage1D. - -glx: - rop - Opcode value for "render" commands - sop - Opcode value for "single" commands - vendorpriv - Opcode value for vendor private (or vendor private with - reply) commands - large - set to "true" of the render command can use RenderLarge protocol. - doubles_in_order - older commands always put GLdouble data at the - start of the render packet. Newer commands (e.g., - ProgramEnvParameter4dvARB) put the in the order that they appear - in the parameter list. - always_array - some single commands take reply data as an array or as - return value data (e.g., glGetLightfv). Other single commands take - reply data only as an array (e.g., glGetClipPlane). - handcode - some functions are just too complicated to generate - (e.g., glSeperableFilter2D) or operate only on client-side data - (e.g., glVertexPointer) and must be handcoded. - ignore - some functions have an entry in the dispatch table, but aren't - suitable for protocol implementation (e.g., glLockArraysEXT). This - also applies to functions that don't have any GLX protocol specified - (e.g., glGetFogFuncSGIS). ---> diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_API.xml b/nx-X11/extras/Mesa/src/mesa/glapi/gl_API.xml deleted file mode 100644 index 4f9d8c474..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_API.xml +++ /dev/null @@ -1,11485 +0,0 @@ -<?xml version="1.0"?> -<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd"> - -<OpenGLAPI> - -<!-- Core versions sorted by version number. --> - -<category name="1.0"> - <enum name="FALSE" value="0x0"/> - <enum name="TRUE" value="0x1"/> - <enum name="ZERO" value="0x0"/> - <enum name="ONE" value="0x1"/> - <enum name="NONE" value="0x0"/> - <enum name="NO_ERROR" value="0x0"/> - <enum name="POINTS" value="0x0000"/> - <enum name="LINES" value="0x0001"/> - <enum name="LINE_LOOP" value="0x0002"/> - <enum name="LINE_STRIP" value="0x0003"/> - <enum name="TRIANGLES" value="0x0004"/> - <enum name="TRIANGLE_STRIP" value="0x0005"/> - <enum name="TRIANGLE_FAN" value="0x0006"/> - <enum name="QUADS" value="0x0007"/> - <enum name="QUAD_STRIP" value="0x0008"/> - <enum name="POLYGON" value="0x0009"/> - <enum name="ACCUM" value="0x0100"/> - <enum name="LOAD" value="0x0101"/> - <enum name="RETURN" value="0x0102"/> - <enum name="MULT" value="0x0103"/> - <enum name="ADD" value="0x0104"/> - <enum name="NEVER" value="0x0200"/> - <enum name="LESS" value="0x0201"/> - <enum name="EQUAL" value="0x0202"/> - <enum name="LEQUAL" value="0x0203"/> - <enum name="GREATER" value="0x0204"/> - <enum name="NOTEQUAL" value="0x0205"/> - <enum name="GEQUAL" value="0x0206"/> - <enum name="ALWAYS" value="0x0207"/> - <enum name="SRC_COLOR" value="0x0300"/> - <enum name="ONE_MINUS_SRC_COLOR" value="0x0301"/> - <enum name="SRC_ALPHA" value="0x0302"/> - <enum name="ONE_MINUS_SRC_ALPHA" value="0x0303"/> - <enum name="DST_ALPHA" value="0x0304"/> - <enum name="ONE_MINUS_DST_ALPHA" value="0x0305"/> - <enum name="DST_COLOR" value="0x0306"/> - <enum name="ONE_MINUS_DST_COLOR" value="0x0307"/> - <enum name="SRC_ALPHA_SATURATE" value="0x0308"/> - <enum name="FRONT_LEFT" value="0x0400"/> - <enum name="FRONT_RIGHT" value="0x0401"/> - <enum name="BACK_LEFT" value="0x0402"/> - <enum name="BACK_RIGHT" value="0x0403"/> - <enum name="FRONT" value="0x0404"/> - <enum name="BACK" value="0x0405"/> - <enum name="LEFT" value="0x0406"/> - <enum name="RIGHT" value="0x0407"/> - <enum name="FRONT_AND_BACK" value="0x0408"/> - <enum name="AUX0" value="0x0409"/> - <enum name="AUX1" value="0x040A"/> - <enum name="AUX2" value="0x040B"/> - <enum name="AUX3" value="0x040C"/> - <enum name="INVALID_VALUE" value="0x0501"/> - <enum name="INVALID_ENUM" value="0x0500"/> - <enum name="INVALID_OPERATION" value="0x0502"/> - <enum name="STACK_OVERFLOW" value="0x0503"/> - <enum name="STACK_UNDERFLOW" value="0x0504"/> - <enum name="OUT_OF_MEMORY" value="0x0505"/> - <enum name="2D" value="0x0600"/> - <enum name="3D" value="0x0601"/> - <enum name="3D_COLOR" value="0x0602"/> - <enum name="3D_COLOR_TEXTURE" value="0x0603"/> - <enum name="4D_COLOR_TEXTURE" value="0x0604"/> - <enum name="PASS_THROUGH_TOKEN" value="0x0700"/> - <enum name="POINT_TOKEN" value="0x0701"/> - <enum name="LINE_TOKEN" value="0x0702"/> - <enum name="POLYGON_TOKEN" value="0x0703"/> - <enum name="BITMAP_TOKEN" value="0x0704"/> - <enum name="DRAW_PIXEL_TOKEN" value="0x0705"/> - <enum name="COPY_PIXEL_TOKEN" value="0x0706"/> - <enum name="LINE_RESET_TOKEN" value="0x0707"/> - <enum name="EXP" value="0x0800"/> - <enum name="EXP2" value="0x0801"/> - <enum name="CW" value="0x0900"/> - <enum name="CCW" value="0x0901"/> - <enum name="COEFF" value="0x0A00"/> - <enum name="ORDER" value="0x0A01"/> - <enum name="DOMAIN" value="0x0A02"/> - <enum name="CURRENT_COLOR" count="4" value="0x0B00"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_INDEX" count="1" value="0x0B01"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_NORMAL" count="3" value="0x0B02"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_TEXTURE_COORDS" count="4" value="0x0B03"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_RASTER_COLOR" count="4" value="0x0B04"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_RASTER_INDEX" count="1" value="0x0B05"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_RASTER_TEXTURE_COORDS" count="4" value="0x0B06"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_RASTER_POSITION" count="4" value="0x0B07"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_RASTER_POSITION_VALID" count="1" value="0x0B08"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_RASTER_DISTANCE" count="1" value="0x0B09"> - <size name="Get" mode="get"/> - </enum> - <enum name="POINT_SMOOTH" count="1" value="0x0B10"> - <size name="Get" mode="get"/> - </enum> - <enum name="POINT_SIZE" count="1" value="0x0B11"> - <size name="Get" mode="get"/> - </enum> - <enum name="POINT_SIZE_RANGE" count="2" value="0x0B12"> - <size name="Get" mode="get"/> - </enum> - <enum name="POINT_SIZE_GRANULARITY" count="1" value="0x0B13"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_SMOOTH" count="1" value="0x0B20"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_WIDTH" count="1" value="0x0B21"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_WIDTH_RANGE" count="2" value="0x0B22"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_WIDTH_GRANULARITY" count="1" value="0x0B23"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_STIPPLE" count="1" value="0x0B24"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_STIPPLE_PATTERN" count="1" value="0x0B25"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_STIPPLE_REPEAT" count="1" value="0x0B26"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIST_MODE" count="1" value="0x0B30"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_LIST_NESTING" count="1" value="0x0B31"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIST_BASE" count="1" value="0x0B32"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIST_INDEX" count="1" value="0x0B33"> - <size name="Get" mode="get"/> - </enum> - <enum name="POLYGON_MODE" count="2" value="0x0B40"> - <size name="Get" mode="get"/> - </enum> - <enum name="POLYGON_SMOOTH" count="1" value="0x0B41"> - <size name="Get" mode="get"/> - </enum> - <enum name="POLYGON_STIPPLE" count="1" value="0x0B42"> - <size name="Get" mode="get"/> - </enum> - <enum name="EDGE_FLAG" count="1" value="0x0B43"> - <size name="Get" mode="get"/> - </enum> - <enum name="CULL_FACE" count="1" value="0x0B44"> - <size name="Get" mode="get"/> - </enum> - <enum name="CULL_FACE_MODE" count="1" value="0x0B45"> - <size name="Get" mode="get"/> - </enum> - <enum name="FRONT_FACE" count="1" value="0x0B46"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHTING" count="1" value="0x0B50"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT_MODEL_LOCAL_VIEWER" count="1" value="0x0B51"> - <size name="LightModelfv"/> - <size name="LightModeliv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT_MODEL_TWO_SIDE" count="1" value="0x0B52"> - <size name="LightModelfv"/> - <size name="LightModeliv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT_MODEL_AMBIENT" count="4" value="0x0B53"> - <size name="LightModelfv"/> - <size name="LightModeliv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="SHADE_MODEL" count="1" value="0x0B54"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_MATERIAL_FACE" count="1" value="0x0B55"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_MATERIAL_PARAMETER" count="1" value="0x0B56"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_MATERIAL" count="1" value="0x0B57"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG" count="1" value="0x0B60"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_INDEX" count="1" value="0x0B61"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_DENSITY" count="1" value="0x0B62"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_START" count="1" value="0x0B63"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_END" count="1" value="0x0B64"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_MODE" count="1" value="0x0B65"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COLOR" count="4" value="0x0B66"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_RANGE" count="2" value="0x0B70"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_TEST" count="1" value="0x0B71"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_WRITEMASK" count="1" value="0x0B72"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_CLEAR_VALUE" count="1" value="0x0B73"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_FUNC" count="1" value="0x0B74"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACCUM_CLEAR_VALUE" count="4" value="0x0B80"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_TEST" count="1" value="0x0B90"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_CLEAR_VALUE" count="1" value="0x0B91"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_FUNC" count="1" value="0x0B92"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_VALUE_MASK" count="1" value="0x0B93"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_FAIL" count="1" value="0x0B94"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_PASS_DEPTH_FAIL" count="1" value="0x0B95"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_PASS_DEPTH_PASS" count="1" value="0x0B96"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_REF" count="1" value="0x0B97"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_WRITEMASK" count="1" value="0x0B98"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX_MODE" count="1" value="0x0BA0"> - <size name="Get" mode="get"/> - </enum> - <enum name="NORMALIZE" count="1" value="0x0BA1"> - <size name="Get" mode="get"/> - </enum> - <enum name="VIEWPORT" count="4" value="0x0BA2"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW_STACK_DEPTH" count="1" value="0x0BA3"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROJECTION_STACK_DEPTH" count="1" value="0x0BA4"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_STACK_DEPTH" count="1" value="0x0BA5"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW_MATRIX" count="16" value="0x0BA6"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROJECTION_MATRIX" count="16" value="0x0BA7"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_MATRIX" count="16" value="0x0BA8"> - <size name="Get" mode="get"/> - </enum> - <enum name="ATTRIB_STACK_DEPTH" count="1" value="0x0BB0"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIENT_ATTRIB_STACK_DEPTH" value="0x0BB1"/> - <enum name="ALPHA_TEST" count="1" value="0x0BC0"> - <size name="Get" mode="get"/> - </enum> - <enum name="ALPHA_TEST_FUNC" count="1" value="0x0BC1"> - <size name="Get" mode="get"/> - </enum> - <enum name="ALPHA_TEST_REF" count="1" value="0x0BC2"> - <size name="Get" mode="get"/> - </enum> - <enum name="DITHER" count="1" value="0x0BD0"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND_DST" count="1" value="0x0BE0"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND_SRC" count="1" value="0x0BE1"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND" count="1" value="0x0BE2"> - <size name="Get" mode="get"/> - </enum> - <enum name="LOGIC_OP_MODE" count="1" value="0x0BF0"> - <size name="Get" mode="get"/> - </enum> - <enum name="LOGIC_OP" count="1" value="0x0BF1"> - <size name="Get" mode="get"/> - </enum> - <enum name="AUX_BUFFERS" count="1" value="0x0C00"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER" count="1" value="0x0C01"> - <size name="Get" mode="get"/> - </enum> - <enum name="READ_BUFFER" count="1" value="0x0C02"> - <size name="Get" mode="get"/> - </enum> - <enum name="SCISSOR_BOX" count="4" value="0x0C10"> - <size name="Get" mode="get"/> - </enum> - <enum name="SCISSOR_TEST" count="1" value="0x0C11"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_CLEAR_VALUE" count="1" value="0x0C20"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_WRITEMASK" count="1" value="0x0C21"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_CLEAR_VALUE" count="4" value="0x0C22"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_WRITEMASK" count="4" value="0x0C23"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_MODE" count="1" value="0x0C30"> - <size name="Get" mode="get"/> - </enum> - <enum name="RGBA_MODE" count="1" value="0x0C31"> - <size name="Get" mode="get"/> - </enum> - <enum name="DOUBLEBUFFER" count="1" value="0x0C32"> - <size name="Get" mode="get"/> - </enum> - <enum name="STEREO" count="1" value="0x0C33"> - <size name="Get" mode="get"/> - </enum> - <enum name="RENDER_MODE" count="1" value="0x0C40"> - <size name="Get" mode="get"/> - </enum> - <enum name="PERSPECTIVE_CORRECTION_HINT" count="1" value="0x0C50"> - <size name="Get" mode="get"/> - </enum> - <enum name="POINT_SMOOTH_HINT" count="1" value="0x0C51"> - <size name="Get" mode="get"/> - </enum> - <enum name="LINE_SMOOTH_HINT" count="1" value="0x0C52"> - <size name="Get" mode="get"/> - </enum> - <enum name="POLYGON_SMOOTH_HINT" count="1" value="0x0C53"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_HINT" count="1" value="0x0C54"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_GEN_S" count="1" value="0x0C60"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_GEN_T" count="1" value="0x0C61"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_GEN_R" count="1" value="0x0C62"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_GEN_Q" count="1" value="0x0C63"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_I_TO_I" count="1" value="0x0C70"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_S_TO_S" value="0x0C71"/> - <enum name="PIXEL_MAP_I_TO_R" value="0x0C72"/> - <enum name="PIXEL_MAP_I_TO_G" value="0x0C73"/> - <enum name="PIXEL_MAP_I_TO_B" value="0x0C74"/> - <enum name="PIXEL_MAP_I_TO_A" value="0x0C75"/> - <enum name="PIXEL_MAP_R_TO_R" value="0x0C76"/> - <enum name="PIXEL_MAP_G_TO_G" value="0x0C77"/> - <enum name="PIXEL_MAP_B_TO_B" value="0x0C78"/> - <enum name="PIXEL_MAP_A_TO_A" value="0x0C79"/> - <enum name="PIXEL_MAP_I_TO_I_SIZE" count="1" value="0x0CB0"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_S_TO_S_SIZE" count="1" value="0x0CB1"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_I_TO_R_SIZE" count="1" value="0x0CB2"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_I_TO_G_SIZE" count="1" value="0x0CB3"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_I_TO_B_SIZE" count="1" value="0x0CB4"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_I_TO_A_SIZE" count="1" value="0x0CB5"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_R_TO_R_SIZE" count="1" value="0x0CB6"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_G_TO_G_SIZE" count="1" value="0x0CB7"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_B_TO_B_SIZE" count="1" value="0x0CB8"> - <size name="Get" mode="get"/> - </enum> - <enum name="PIXEL_MAP_A_TO_A_SIZE" count="1" value="0x0CB9"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_SWAP_BYTES" count="1" value="0x0CF0"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_LSB_FIRST" count="1" value="0x0CF1"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_ROW_LENGTH" count="1" value="0x0CF2"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_SKIP_PIXELS" count="1" value="0x0CF4"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_SKIP_ROWS" count="1" value="0x0CF3"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_ALIGNMENT" count="1" value="0x0CF5"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_SWAP_BYTES" count="1" value="0x0D00"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_LSB_FIRST" count="1" value="0x0D01"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_ROW_LENGTH" count="1" value="0x0D02"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_SKIP_ROWS" count="1" value="0x0D03"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_SKIP_PIXELS" count="1" value="0x0D04"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_ALIGNMENT" count="1" value="0x0D05"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAP_COLOR" count="1" value="0x0D10"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAP_STENCIL" count="1" value="0x0D11"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_SHIFT" count="1" value="0x0D12"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_OFFSET" count="1" value="0x0D13"> - <size name="Get" mode="get"/> - </enum> - <enum name="RED_SCALE" count="1" value="0x0D14"> - <size name="Get" mode="get"/> - </enum> - <enum name="RED_BIAS" count="1" value="0x0D15"> - <size name="Get" mode="get"/> - </enum> - <enum name="ZOOM_X" count="1" value="0x0D16"> - <size name="Get" mode="get"/> - </enum> - <enum name="ZOOM_Y" count="1" value="0x0D17"> - <size name="Get" mode="get"/> - </enum> - <enum name="GREEN_SCALE" count="1" value="0x0D18"> - <size name="Get" mode="get"/> - </enum> - <enum name="GREEN_BIAS" count="1" value="0x0D19"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLUE_SCALE" count="1" value="0x0D1A"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLUE_BIAS" count="1" value="0x0D1B"> - <size name="Get" mode="get"/> - </enum> - <enum name="ALPHA_SCALE" count="1" value="0x0D1C"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - <size name="Get" mode="get"/> - </enum> - <enum name="ALPHA_BIAS" count="1" value="0x0D1D"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_SCALE" count="1" value="0x0D1E"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_BIAS" count="1" value="0x0D1F"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_EVAL_ORDER" count="1" value="0x0D30"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_LIGHTS" count="1" value="0x0D31"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_CLIP_PLANES" count="1" value="0x0D32"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_SIZE" count="1" value="0x0D33"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_PIXEL_MAP_TABLE" count="1" value="0x0D34"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_ATTRIB_STACK_DEPTH" count="1" value="0x0D35"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_MODELVIEW_STACK_DEPTH" count="1" value="0x0D36"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_NAME_STACK_DEPTH" count="1" value="0x0D37"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_PROJECTION_STACK_DEPTH" count="1" value="0x0D38"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_STACK_DEPTH" count="1" value="0x0D39"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_VIEWPORT_DIMS" count="2" value="0x0D3A"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_CLIENT_ATTRIB_STACK_DEPTH" value="0x0D3B"/> - <enum name="SUBPIXEL_BITS" count="1" value="0x0D50"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_BITS" count="1" value="0x0D51"> - <size name="Get" mode="get"/> - </enum> - <enum name="RED_BITS" count="1" value="0x0D52"> - <size name="Get" mode="get"/> - </enum> - <enum name="GREEN_BITS" count="1" value="0x0D53"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLUE_BITS" count="1" value="0x0D54"> - <size name="Get" mode="get"/> - </enum> - <enum name="ALPHA_BITS" count="1" value="0x0D55"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_BITS" count="1" value="0x0D56"> - <size name="Get" mode="get"/> - </enum> - <enum name="STENCIL_BITS" count="1" value="0x0D57"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACCUM_RED_BITS" count="1" value="0x0D58"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACCUM_GREEN_BITS" count="1" value="0x0D59"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACCUM_BLUE_BITS" count="1" value="0x0D5A"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACCUM_ALPHA_BITS" count="1" value="0x0D5B"> - <size name="Get" mode="get"/> - </enum> - <enum name="NAME_STACK_DEPTH" count="1" value="0x0D70"> - <size name="Get" mode="get"/> - </enum> - <enum name="AUTO_NORMAL" count="1" value="0x0D80"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAP1_COLOR_4" count="4" value="0x0D90"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_INDEX" count="1" value="0x0D91"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_NORMAL" count="3" value="0x0D92"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_TEXTURE_COORD_1" count="1" value="0x0D93"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_TEXTURE_COORD_2" count="2" value="0x0D94"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_TEXTURE_COORD_3" count="3" value="0x0D95"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_TEXTURE_COORD_4" count="4" value="0x0D96"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_VERTEX_3" count="3" value="0x0D97"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_VERTEX_4" count="4" value="0x0D98"> - <size name="Map1d"/> - <size name="Map1f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_COLOR_4" count="4" value="0x0DB0"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_INDEX" count="1" value="0x0DB1"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_NORMAL" count="3" value="0x0DB2"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_TEXTURE_COORD_1" count="1" value="0x0DB3"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_TEXTURE_COORD_2" count="2" value="0x0DB4"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_TEXTURE_COORD_3" count="3" value="0x0DB5"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_TEXTURE_COORD_4" count="4" value="0x0DB6"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_VERTEX_3" count="3" value="0x0DB7"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP2_VERTEX_4" count="4" value="0x0DB8"> - <size name="Map2d"/> - <size name="Map2f"/> - <size name="Get" count="1" mode="get"/> - </enum> - <enum name="MAP1_GRID_DOMAIN" count="2" value="0x0DD0"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAP1_GRID_SEGMENTS" count="1" value="0x0DD1"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAP2_GRID_DOMAIN" count="4" value="0x0DD2"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAP2_GRID_SEGMENTS" count="2" value="0x0DD3"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_1D" count="1" value="0x0DE0"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_2D" count="1" value="0x0DE1"> - <size name="Get" mode="get"/> - </enum> - <enum name="FEEDBACK_BUFFER_POINTER" value="0x0DF0"/> - <enum name="FEEDBACK_BUFFER_SIZE" value="0x0DF1"/> - <enum name="FEEDBACK_BUFFER_TYPE" value="0x0DF2"/> - <enum name="SELECTION_BUFFER_POINTER" value="0x0DF3"/> - <enum name="SELECTION_BUFFER_SIZE" value="0x0DF4"/> - <enum name="TEXTURE_WIDTH" count="1" value="0x1000"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_HEIGHT" count="1" value="0x1001"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_BORDER" count="1" value="0x1005"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPONENTS" count="1" value="0x1003"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_BORDER_COLOR" count="4" value="0x1004"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="DONT_CARE" value="0x1100"/> - <enum name="FASTEST" value="0x1101"/> - <enum name="NICEST" value="0x1102"/> - <enum name="AMBIENT" count="4" value="0x1200"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="DIFFUSE" count="4" value="0x1201"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="SPECULAR" count="4" value="0x1202"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="POSITION" count="4" value="0x1203"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="SPOT_DIRECTION" count="3" value="0x1204"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="SPOT_EXPONENT" count="1" value="0x1205"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="SPOT_CUTOFF" count="1" value="0x1206"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="CONSTANT_ATTENUATION" count="1" value="0x1207"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="LINEAR_ATTENUATION" count="1" value="0x1208"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="QUADRATIC_ATTENUATION" count="1" value="0x1209"> - <size name="Lightfv"/> - <size name="Lightiv"/> - <size name="GetLightfv" mode="get"/> - <size name="GetLightiv" mode="get"/> - </enum> - <enum name="COMPILE" value="0x1300"/> - <enum name="COMPILE_AND_EXECUTE" value="0x1301"/> - <enum name="BYTE" count="1" value="0x1400"> - <size name="CallLists"/> - </enum> - <enum name="UNSIGNED_BYTE" count="1" value="0x1401"> - <size name="CallLists"/> - </enum> - <enum name="SHORT" count="2" value="0x1402"> - <size name="CallLists"/> - </enum> - <enum name="UNSIGNED_SHORT" count="2" value="0x1403"> - <size name="CallLists"/> - </enum> - <enum name="INT" count="4" value="0x1404"> - <size name="CallLists"/> - </enum> - <enum name="UNSIGNED_INT" count="4" value="0x1405"> - <size name="CallLists"/> - </enum> - <enum name="FLOAT" count="4" value="0x1406"> - <size name="CallLists"/> - </enum> - <enum name="2_BYTES" count="2" value="0x1407"> - <size name="CallLists"/> - </enum> - <enum name="3_BYTES" count="3" value="0x1408"> - <size name="CallLists"/> - </enum> - <enum name="4_BYTES" count="4" value="0x1409"> - <size name="CallLists"/> - </enum> - <enum name="CLEAR" value="0x1500"/> - <enum name="AND" value="0x1501"/> - <enum name="AND_REVERSE" value="0x1502"/> - <enum name="COPY" value="0x1503"/> - <enum name="AND_INVERTED" value="0x1504"/> - <enum name="NOOP" value="0x1505"/> - <enum name="XOR" value="0x1506"/> - <enum name="OR" value="0x1507"/> - <enum name="NOR" value="0x1508"/> - <enum name="EQUIV" value="0x1509"/> - <enum name="INVERT" value="0x150A"/> - <enum name="OR_REVERSE" value="0x150B"/> - <enum name="COPY_INVERTED" value="0x150C"/> - <enum name="OR_INVERTED" value="0x150D"/> - <enum name="NAND" value="0x150E"/> - <enum name="SET" value="0x150F"/> - <enum name="EMISSION" count="4" value="0x1600"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - </enum> - <enum name="SHININESS" count="1" value="0x1601"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - </enum> - <enum name="AMBIENT_AND_DIFFUSE" count="4" value="0x1602"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - </enum> - <enum name="COLOR_INDEXES" count="3" value="0x1603"> - <size name="Materialfv"/> - <size name="Materialiv"/> - <size name="GetMaterialfv" mode="get"/> - <size name="GetMaterialiv" mode="get"/> - </enum> - <enum name="MODELVIEW" value="0x1700"/> - <enum name="PROJECTION" value="0x1701"/> - <enum name="TEXTURE" value="0x1702"/> - <enum name="COLOR" value="0x1800"/> - <enum name="DEPTH" value="0x1801"/> - <enum name="STENCIL" value="0x1802"/> - <enum name="COLOR_INDEX" value="0x1900"/> - <enum name="STENCIL_INDEX" value="0x1901"/> - <enum name="DEPTH_COMPONENT" value="0x1902"/> - <enum name="RED" value="0x1903"/> - <enum name="GREEN" value="0x1904"/> - <enum name="BLUE" value="0x1905"/> - <enum name="ALPHA" value="0x1906"/> - <enum name="RGBA" value="0x1908"/> - <enum name="RGB" value="0x1907"/> - <enum name="LUMINANCE" value="0x1909"/> - <enum name="LUMINANCE_ALPHA" value="0x190A"/> - <enum name="BITMAP" value="0x1A00"/> - <enum name="POINT" value="0x1B00"/> - <enum name="LINE" value="0x1B01"/> - <enum name="FILL" value="0x1B02"/> - <enum name="FEEDBACK" value="0x1C01"/> - <enum name="RENDER" value="0x1C00"/> - <enum name="SELECT" value="0x1C02"/> - <enum name="FLAT" value="0x1D00"/> - <enum name="SMOOTH" value="0x1D01"/> - <enum name="KEEP" value="0x1E00"/> - <enum name="REPLACE" value="0x1E01"/> - <enum name="INCR" value="0x1E02"/> - <enum name="DECR" value="0x1E03"/> - <enum name="VENDOR" value="0x1F00"/> - <enum name="RENDERER" value="0x1F01"/> - <enum name="VERSION" value="0x1F02"/> - <enum name="EXTENSIONS" value="0x1F03"/> - <enum name="S" value="0x2000"/> - <enum name="T" value="0x2001"/> - <enum name="R" value="0x2002"/> - <enum name="Q" value="0x2003"/> - <enum name="MODULATE" value="0x2100"/> - <enum name="DECAL" value="0x2101"/> - <enum name="TEXTURE_ENV_MODE" count="1" value="0x2200"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="TEXTURE_ENV_COLOR" count="4" value="0x2201"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="TEXTURE_ENV" value="0x2300"/> - <enum name="EYE_LINEAR" value="0x2400"/> - <enum name="OBJECT_LINEAR" value="0x2401"/> - <enum name="SPHERE_MAP" value="0x2402"/> - <enum name="TEXTURE_GEN_MODE" count="1" value="0x2500"> - <size name="TexGendv"/> - <size name="TexGenfv"/> - <size name="TexGeniv"/> - <size name="GetTexGendv" mode="get"/> - <size name="GetTexGenfv" mode="get"/> - <size name="GetTexGeniv" mode="get"/> - </enum> - <enum name="OBJECT_PLANE" count="4" value="0x2501"> - <size name="TexGendv"/> - <size name="TexGenfv"/> - <size name="TexGeniv"/> - <size name="GetTexGendv" mode="get"/> - <size name="GetTexGenfv" mode="get"/> - <size name="GetTexGeniv" mode="get"/> - </enum> - <enum name="EYE_PLANE" count="4" value="0x2502"> - <size name="TexGendv"/> - <size name="TexGenfv"/> - <size name="TexGeniv"/> - <size name="GetTexGendv" mode="get"/> - <size name="GetTexGenfv" mode="get"/> - <size name="GetTexGeniv" mode="get"/> - </enum> - <enum name="NEAREST" value="0x2600"/> - <enum name="LINEAR" value="0x2601"/> - <enum name="NEAREST_MIPMAP_NEAREST" value="0x2700"/> - <enum name="LINEAR_MIPMAP_NEAREST" value="0x2701"/> - <enum name="NEAREST_MIPMAP_LINEAR" value="0x2702"/> - <enum name="LINEAR_MIPMAP_LINEAR" value="0x2703"/> - <enum name="TEXTURE_MAG_FILTER" count="1" value="0x2800"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_MIN_FILTER" count="1" value="0x2801"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_WRAP_S" count="1" value="0x2802"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_WRAP_T" count="1" value="0x2803"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="CLAMP" value="0x2900"/> - <enum name="REPEAT" value="0x2901"/> - <enum name="CLIP_PLANE0" count="1" value="0x3000"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIP_PLANE1" count="1" value="0x3001"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIP_PLANE2" count="1" value="0x3002"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIP_PLANE3" count="1" value="0x3003"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIP_PLANE4" count="1" value="0x3004"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIP_PLANE5" count="1" value="0x3005"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT0" count="1" value="0x4000"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT1" count="1" value="0x4001"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT2" count="1" value="0x4002"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT3" count="1" value="0x4003"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT4" count="1" value="0x4004"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT5" count="1" value="0x4005"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT6" count="1" value="0x4006"> - <size name="Get" mode="get"/> - </enum> - <enum name="LIGHT7" count="1" value="0x4007"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_BIT" value="0x00000001"/> - <enum name="POINT_BIT" value="0x00000002"/> - <enum name="LINE_BIT" value="0x00000004"/> - <enum name="POLYGON_BIT" value="0x00000008"/> - <enum name="POLYGON_STIPPLE_BIT" value="0x00000010"/> - <enum name="PIXEL_MODE_BIT" value="0x00000020"/> - <enum name="LIGHTING_BIT" value="0x00000040"/> - <enum name="FOG_BIT" value="0x00000080"/> - <enum name="DEPTH_BUFFER_BIT" value="0x00000100"/> - <enum name="ACCUM_BUFFER_BIT" value="0x00000200"/> - <enum name="STENCIL_BUFFER_BIT" value="0x00000400"/> - <enum name="VIEWPORT_BIT" value="0x00000800"/> - <enum name="TRANSFORM_BIT" value="0x00001000"/> - <enum name="ENABLE_BIT" value="0x00002000"/> - <enum name="COLOR_BUFFER_BIT" value="0x00004000"/> - <enum name="HINT_BIT" value="0x00008000"/> - <enum name="EVAL_BIT" value="0x00010000"/> - <enum name="LIST_BIT" value="0x00020000"/> - <enum name="TEXTURE_BIT" value="0x00040000"/> - <enum name="SCISSOR_BIT" value="0x00080000"/> - <enum name="ALL_ATTRIB_BITS" value="0x000FFFFF"/> - - <type name="double" size="8" float="true" glx_name="FLOAT64"/> - <type name="clampd" size="8" float="true" glx_name="FLOAT64"/> - - <type name="float" size="4" float="true" glx_name="FLOAT32"/> - <type name="clampf" size="4" float="true" glx_name="FLOAT32"/> - - <type name="int" size="4" glx_name="CARD32"/> - <type name="uint" size="4" unsigned="true" glx_name="CARD32"/> - <type name="sizei" size="4" unsigned="true" glx_name="CARD32"/> - <type name="enum" size="4" unsigned="true" glx_name="ENUM"/> - <type name="bitfield" size="4" unsigned="true" glx_name="CARD32"/> - - <type name="short" size="2" glx_name="CARD16"/> - <type name="ushort" size="2" unsigned="true" glx_name="CARD16"/> - - <type name="byte" size="1" glx_name="CARD8"/> - <type name="ubyte" size="1" unsigned="true" glx_name="CARD8"/> - <type name="boolean" size="1" unsigned="true" glx_name="CARD8"/> - - <type name="void" size="1"/> - - <function name="NewList" offset="0"> - <param name="list" type="GLuint"/> - <param name="mode" type="GLenum"/> - <glx sop="101"/> - </function> - - <function name="EndList" offset="1"> - <glx sop="102"/> - </function> - - <function name="CallList" offset="2"> - <param name="list" type="GLuint"/> - <glx rop="1"/> - </function> - - <function name="CallLists" offset="3"> - <param name="n" type="GLsizei" counter="true"/> - <param name="type" type="GLenum"/> - <param name="lists" type="const GLvoid *" variable_param="type" count="n"/> - <glx rop="2" large="true"/> - </function> - - <function name="DeleteLists" offset="4"> - <param name="list" type="GLuint"/> - <param name="range" type="GLsizei"/> - <glx sop="103"/> - </function> - - <function name="GenLists" offset="5"> - <param name="range" type="GLsizei"/> - <return type="GLuint"/> - <glx sop="104"/> - </function> - - <function name="ListBase" offset="6"> - <param name="base" type="GLuint"/> - <glx rop="3"/> - </function> - - <function name="Begin" offset="7"> - <param name="mode" type="GLenum"/> - <glx rop="4"/> - </function> - - <function name="Bitmap" offset="8"> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="xorig" type="GLfloat"/> - <param name="yorig" type="GLfloat"/> - <param name="xmove" type="GLfloat"/> - <param name="ymove" type="GLfloat"/> - <param name="bitmap" type="const GLubyte *" img_width="width" img_height="height" img_format="GL_COLOR_INDEX" img_type="GL_BITMAP" img_target="0" img_pad_dimensions="false"/> - <glx rop="5" large="true"/> - </function> - - <function name="Color3b" offset="9" vectorequiv="Color3bv"> - <param name="red" type="GLbyte"/> - <param name="green" type="GLbyte"/> - <param name="blue" type="GLbyte"/> - </function> - - <function name="Color3bv" offset="10"> - <param name="v" type="const GLbyte *" count="3"/> - <glx rop="6"/> - </function> - - <function name="Color3d" offset="11" vectorequiv="Color3dv"> - <param name="red" type="GLdouble"/> - <param name="green" type="GLdouble"/> - <param name="blue" type="GLdouble"/> - </function> - - <function name="Color3dv" offset="12"> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="7"/> - </function> - - <function name="Color3f" offset="13" vectorequiv="Color3fv"> - <param name="red" type="GLfloat"/> - <param name="green" type="GLfloat"/> - <param name="blue" type="GLfloat"/> - </function> - - <function name="Color3fv" offset="14"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="8"/> - </function> - - <function name="Color3i" offset="15" vectorequiv="Color3iv"> - <param name="red" type="GLint"/> - <param name="green" type="GLint"/> - <param name="blue" type="GLint"/> - </function> - - <function name="Color3iv" offset="16"> - <param name="v" type="const GLint *" count="3"/> - <glx rop="9"/> - </function> - - <function name="Color3s" offset="17" vectorequiv="Color3sv"> - <param name="red" type="GLshort"/> - <param name="green" type="GLshort"/> - <param name="blue" type="GLshort"/> - </function> - - <function name="Color3sv" offset="18"> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="10"/> - </function> - - <function name="Color3ub" offset="19" vectorequiv="Color3ubv"> - <param name="red" type="GLubyte"/> - <param name="green" type="GLubyte"/> - <param name="blue" type="GLubyte"/> - </function> - - <function name="Color3ubv" offset="20"> - <param name="v" type="const GLubyte *" count="3"/> - <glx rop="11"/> - </function> - - <function name="Color3ui" offset="21" vectorequiv="Color3uiv"> - <param name="red" type="GLuint"/> - <param name="green" type="GLuint"/> - <param name="blue" type="GLuint"/> - </function> - - <function name="Color3uiv" offset="22"> - <param name="v" type="const GLuint *" count="3"/> - <glx rop="12"/> - </function> - - <function name="Color3us" offset="23" vectorequiv="Color3usv"> - <param name="red" type="GLushort"/> - <param name="green" type="GLushort"/> - <param name="blue" type="GLushort"/> - </function> - - <function name="Color3usv" offset="24"> - <param name="v" type="const GLushort *" count="3"/> - <glx rop="13"/> - </function> - - <function name="Color4b" offset="25" vectorequiv="Color4bv"> - <param name="red" type="GLbyte"/> - <param name="green" type="GLbyte"/> - <param name="blue" type="GLbyte"/> - <param name="alpha" type="GLbyte"/> - </function> - - <function name="Color4bv" offset="26"> - <param name="v" type="const GLbyte *" count="4"/> - <glx rop="14"/> - </function> - - <function name="Color4d" offset="27" vectorequiv="Color4dv"> - <param name="red" type="GLdouble"/> - <param name="green" type="GLdouble"/> - <param name="blue" type="GLdouble"/> - <param name="alpha" type="GLdouble"/> - </function> - - <function name="Color4dv" offset="28"> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="15"/> - </function> - - <function name="Color4f" offset="29" vectorequiv="Color4fv"> - <param name="red" type="GLfloat"/> - <param name="green" type="GLfloat"/> - <param name="blue" type="GLfloat"/> - <param name="alpha" type="GLfloat"/> - </function> - - <function name="Color4fv" offset="30"> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="16"/> - </function> - - <function name="Color4i" offset="31" vectorequiv="Color4iv"> - <param name="red" type="GLint"/> - <param name="green" type="GLint"/> - <param name="blue" type="GLint"/> - <param name="alpha" type="GLint"/> - </function> - - <function name="Color4iv" offset="32"> - <param name="v" type="const GLint *" count="4"/> - <glx rop="17"/> - </function> - - <function name="Color4s" offset="33" vectorequiv="Color4sv"> - <param name="red" type="GLshort"/> - <param name="green" type="GLshort"/> - <param name="blue" type="GLshort"/> - <param name="alpha" type="GLshort"/> - </function> - - <function name="Color4sv" offset="34"> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="18"/> - </function> - - <function name="Color4ub" offset="35" vectorequiv="Color4ubv"> - <param name="red" type="GLubyte"/> - <param name="green" type="GLubyte"/> - <param name="blue" type="GLubyte"/> - <param name="alpha" type="GLubyte"/> - </function> - - <function name="Color4ubv" offset="36"> - <param name="v" type="const GLubyte *" count="4"/> - <glx rop="19"/> - </function> - - <function name="Color4ui" offset="37" vectorequiv="Color4uiv"> - <param name="red" type="GLuint"/> - <param name="green" type="GLuint"/> - <param name="blue" type="GLuint"/> - <param name="alpha" type="GLuint"/> - </function> - - <function name="Color4uiv" offset="38"> - <param name="v" type="const GLuint *" count="4"/> - <glx rop="20"/> - </function> - - <function name="Color4us" offset="39" vectorequiv="Color4usv"> - <param name="red" type="GLushort"/> - <param name="green" type="GLushort"/> - <param name="blue" type="GLushort"/> - <param name="alpha" type="GLushort"/> - </function> - - <function name="Color4usv" offset="40"> - <param name="v" type="const GLushort *" count="4"/> - <glx rop="21"/> - </function> - - <function name="EdgeFlag" offset="41" vectorequiv="EdgeFlagv"> - <param name="flag" type="GLboolean"/> - </function> - - <function name="EdgeFlagv" offset="42"> - <param name="flag" type="const GLboolean *" count="1"/> - <glx rop="22"/> - </function> - - <function name="End" offset="43"> - <glx rop="23"/> - </function> - - <function name="Indexd" offset="44" vectorequiv="Indexdv"> - <param name="c" type="GLdouble"/> - </function> - - <function name="Indexdv" offset="45"> - <param name="c" type="const GLdouble *" count="1"/> - <glx rop="24"/> - </function> - - <function name="Indexf" offset="46" vectorequiv="Indexfv"> - <param name="c" type="GLfloat"/> - </function> - - <function name="Indexfv" offset="47"> - <param name="c" type="const GLfloat *" count="1"/> - <glx rop="25"/> - </function> - - <function name="Indexi" offset="48" vectorequiv="Indexiv"> - <param name="c" type="GLint"/> - </function> - - <function name="Indexiv" offset="49"> - <param name="c" type="const GLint *" count="1"/> - <glx rop="26"/> - </function> - - <function name="Indexs" offset="50" vectorequiv="Indexsv"> - <param name="c" type="GLshort"/> - </function> - - <function name="Indexsv" offset="51"> - <param name="c" type="const GLshort *" count="1"/> - <glx rop="27"/> - </function> - - <function name="Normal3b" offset="52" vectorequiv="Normal3bv"> - <param name="nx" type="GLbyte"/> - <param name="ny" type="GLbyte"/> - <param name="nz" type="GLbyte"/> - </function> - - <function name="Normal3bv" offset="53"> - <param name="v" type="const GLbyte *" count="3"/> - <glx rop="28"/> - </function> - - <function name="Normal3d" offset="54" vectorequiv="Normal3dv"> - <param name="nx" type="GLdouble"/> - <param name="ny" type="GLdouble"/> - <param name="nz" type="GLdouble"/> - </function> - - <function name="Normal3dv" offset="55"> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="29"/> - </function> - - <function name="Normal3f" offset="56" vectorequiv="Normal3fv"> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - </function> - - <function name="Normal3fv" offset="57"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="30"/> - </function> - - <function name="Normal3i" offset="58" vectorequiv="Normal3iv"> - <param name="nx" type="GLint"/> - <param name="ny" type="GLint"/> - <param name="nz" type="GLint"/> - </function> - - <function name="Normal3iv" offset="59"> - <param name="v" type="const GLint *" count="3"/> - <glx rop="31"/> - </function> - - <function name="Normal3s" offset="60" vectorequiv="Normal3sv"> - <param name="nx" type="GLshort"/> - <param name="ny" type="GLshort"/> - <param name="nz" type="GLshort"/> - </function> - - <function name="Normal3sv" offset="61"> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="32"/> - </function> - - <function name="RasterPos2d" offset="62" vectorequiv="RasterPos2dv"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - </function> - - <function name="RasterPos2dv" offset="63"> - <param name="v" type="const GLdouble *" count="2"/> - <glx rop="33"/> - </function> - - <function name="RasterPos2f" offset="64" vectorequiv="RasterPos2fv"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="RasterPos2fv" offset="65"> - <param name="v" type="const GLfloat *" count="2"/> - <glx rop="34"/> - </function> - - <function name="RasterPos2i" offset="66" vectorequiv="RasterPos2iv"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - </function> - - <function name="RasterPos2iv" offset="67"> - <param name="v" type="const GLint *" count="2"/> - <glx rop="35"/> - </function> - - <function name="RasterPos2s" offset="68" vectorequiv="RasterPos2sv"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - </function> - - <function name="RasterPos2sv" offset="69"> - <param name="v" type="const GLshort *" count="2"/> - <glx rop="36"/> - </function> - - <function name="RasterPos3d" offset="70" vectorequiv="RasterPos3dv"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - </function> - - <function name="RasterPos3dv" offset="71"> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="37"/> - </function> - - <function name="RasterPos3f" offset="72" vectorequiv="RasterPos3fv"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="RasterPos3fv" offset="73"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="38"/> - </function> - - <function name="RasterPos3i" offset="74" vectorequiv="RasterPos3iv"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - </function> - - <function name="RasterPos3iv" offset="75"> - <param name="v" type="const GLint *" count="3"/> - <glx rop="39"/> - </function> - - <function name="RasterPos3s" offset="76" vectorequiv="RasterPos3sv"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - </function> - - <function name="RasterPos3sv" offset="77"> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="40"/> - </function> - - <function name="RasterPos4d" offset="78" vectorequiv="RasterPos4dv"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="RasterPos4dv" offset="79"> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="41"/> - </function> - - <function name="RasterPos4f" offset="80" vectorequiv="RasterPos4fv"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="RasterPos4fv" offset="81"> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="42"/> - </function> - - <function name="RasterPos4i" offset="82" vectorequiv="RasterPos4iv"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - <param name="w" type="GLint"/> - </function> - - <function name="RasterPos4iv" offset="83"> - <param name="v" type="const GLint *" count="4"/> - <glx rop="43"/> - </function> - - <function name="RasterPos4s" offset="84" vectorequiv="RasterPos4sv"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - <param name="w" type="GLshort"/> - </function> - - <function name="RasterPos4sv" offset="85"> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="44"/> - </function> - - <function name="Rectd" offset="86" vectorequiv="Rectdv"> - <param name="x1" type="GLdouble"/> - <param name="y1" type="GLdouble"/> - <param name="x2" type="GLdouble"/> - <param name="y2" type="GLdouble"/> - </function> - - <function name="Rectdv" offset="87"> - <param name="v1" type="const GLdouble *" count="2"/> - <param name="v2" type="const GLdouble *" count="2"/> - <glx rop="45"/> - </function> - - <function name="Rectf" offset="88" vectorequiv="Rectfv"> - <param name="x1" type="GLfloat"/> - <param name="y1" type="GLfloat"/> - <param name="x2" type="GLfloat"/> - <param name="y2" type="GLfloat"/> - </function> - - <function name="Rectfv" offset="89"> - <param name="v1" type="const GLfloat *" count="2"/> - <param name="v2" type="const GLfloat *" count="2"/> - <glx rop="46"/> - </function> - - <function name="Recti" offset="90" vectorequiv="Rectiv"> - <param name="x1" type="GLint"/> - <param name="y1" type="GLint"/> - <param name="x2" type="GLint"/> - <param name="y2" type="GLint"/> - </function> - - <function name="Rectiv" offset="91"> - <param name="v1" type="const GLint *" count="2"/> - <param name="v2" type="const GLint *" count="2"/> - <glx rop="47"/> - </function> - - <function name="Rects" offset="92" vectorequiv="Rectsv"> - <param name="x1" type="GLshort"/> - <param name="y1" type="GLshort"/> - <param name="x2" type="GLshort"/> - <param name="y2" type="GLshort"/> - </function> - - <function name="Rectsv" offset="93"> - <param name="v1" type="const GLshort *" count="2"/> - <param name="v2" type="const GLshort *" count="2"/> - <glx rop="48"/> - </function> - - <function name="TexCoord1d" offset="94" vectorequiv="TexCoord1dv"> - <param name="s" type="GLdouble"/> - </function> - - <function name="TexCoord1dv" offset="95"> - <param name="v" type="const GLdouble *" count="1"/> - <glx rop="49"/> - </function> - - <function name="TexCoord1f" offset="96" vectorequiv="TexCoord1fv"> - <param name="s" type="GLfloat"/> - </function> - - <function name="TexCoord1fv" offset="97"> - <param name="v" type="const GLfloat *" count="1"/> - <glx rop="50"/> - </function> - - <function name="TexCoord1i" offset="98" vectorequiv="TexCoord1iv"> - <param name="s" type="GLint"/> - </function> - - <function name="TexCoord1iv" offset="99"> - <param name="v" type="const GLint *" count="1"/> - <glx rop="51"/> - </function> - - <function name="TexCoord1s" offset="100" vectorequiv="TexCoord1sv"> - <param name="s" type="GLshort"/> - </function> - - <function name="TexCoord1sv" offset="101"> - <param name="v" type="const GLshort *" count="1"/> - <glx rop="52"/> - </function> - - <function name="TexCoord2d" offset="102" vectorequiv="TexCoord2dv"> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - </function> - - <function name="TexCoord2dv" offset="103"> - <param name="v" type="const GLdouble *" count="2"/> - <glx rop="53"/> - </function> - - <function name="TexCoord2f" offset="104" vectorequiv="TexCoord2fv"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - </function> - - <function name="TexCoord2fv" offset="105"> - <param name="v" type="const GLfloat *" count="2"/> - <glx rop="54"/> - </function> - - <function name="TexCoord2i" offset="106" vectorequiv="TexCoord2iv"> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - </function> - - <function name="TexCoord2iv" offset="107"> - <param name="v" type="const GLint *" count="2"/> - <glx rop="55"/> - </function> - - <function name="TexCoord2s" offset="108" vectorequiv="TexCoord2sv"> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - </function> - - <function name="TexCoord2sv" offset="109"> - <param name="v" type="const GLshort *" count="2"/> - <glx rop="56"/> - </function> - - <function name="TexCoord3d" offset="110" vectorequiv="TexCoord3dv"> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - <param name="r" type="GLdouble"/> - </function> - - <function name="TexCoord3dv" offset="111"> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="57"/> - </function> - - <function name="TexCoord3f" offset="112" vectorequiv="TexCoord3fv"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - </function> - - <function name="TexCoord3fv" offset="113"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="58"/> - </function> - - <function name="TexCoord3i" offset="114" vectorequiv="TexCoord3iv"> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - <param name="r" type="GLint"/> - </function> - - <function name="TexCoord3iv" offset="115"> - <param name="v" type="const GLint *" count="3"/> - <glx rop="59"/> - </function> - - <function name="TexCoord3s" offset="116" vectorequiv="TexCoord3sv"> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - <param name="r" type="GLshort"/> - </function> - - <function name="TexCoord3sv" offset="117"> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="60"/> - </function> - - <function name="TexCoord4d" offset="118" vectorequiv="TexCoord4dv"> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - <param name="r" type="GLdouble"/> - <param name="q" type="GLdouble"/> - </function> - - <function name="TexCoord4dv" offset="119"> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="61"/> - </function> - - <function name="TexCoord4f" offset="120" vectorequiv="TexCoord4fv"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="q" type="GLfloat"/> - </function> - - <function name="TexCoord4fv" offset="121"> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="62"/> - </function> - - <function name="TexCoord4i" offset="122" vectorequiv="TexCoord4iv"> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - <param name="r" type="GLint"/> - <param name="q" type="GLint"/> - </function> - - <function name="TexCoord4iv" offset="123"> - <param name="v" type="const GLint *" count="4"/> - <glx rop="63"/> - </function> - - <function name="TexCoord4s" offset="124" vectorequiv="TexCoord4sv"> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - <param name="r" type="GLshort"/> - <param name="q" type="GLshort"/> - </function> - - <function name="TexCoord4sv" offset="125"> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="64"/> - </function> - - <function name="Vertex2d" offset="126" vectorequiv="Vertex2dv"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - </function> - - <function name="Vertex2dv" offset="127"> - <param name="v" type="const GLdouble *" count="2"/> - <glx rop="65"/> - </function> - - <function name="Vertex2f" offset="128" vectorequiv="Vertex2fv"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="Vertex2fv" offset="129"> - <param name="v" type="const GLfloat *" count="2"/> - <glx rop="66"/> - </function> - - <function name="Vertex2i" offset="130" vectorequiv="Vertex2iv"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - </function> - - <function name="Vertex2iv" offset="131"> - <param name="v" type="const GLint *" count="2"/> - <glx rop="67"/> - </function> - - <function name="Vertex2s" offset="132" vectorequiv="Vertex2sv"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - </function> - - <function name="Vertex2sv" offset="133"> - <param name="v" type="const GLshort *" count="2"/> - <glx rop="68"/> - </function> - - <function name="Vertex3d" offset="134" vectorequiv="Vertex3dv"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - </function> - - <function name="Vertex3dv" offset="135"> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="69"/> - </function> - - <function name="Vertex3f" offset="136" vectorequiv="Vertex3fv"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="Vertex3fv" offset="137"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="70"/> - </function> - - <function name="Vertex3i" offset="138" vectorequiv="Vertex3iv"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - </function> - - <function name="Vertex3iv" offset="139"> - <param name="v" type="const GLint *" count="3"/> - <glx rop="71"/> - </function> - - <function name="Vertex3s" offset="140" vectorequiv="Vertex3sv"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - </function> - - <function name="Vertex3sv" offset="141"> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="72"/> - </function> - - <function name="Vertex4d" offset="142" vectorequiv="Vertex4dv"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="Vertex4dv" offset="143"> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="73"/> - </function> - - <function name="Vertex4f" offset="144" vectorequiv="Vertex4fv"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="Vertex4fv" offset="145"> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="74"/> - </function> - - <function name="Vertex4i" offset="146" vectorequiv="Vertex4iv"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - <param name="w" type="GLint"/> - </function> - - <function name="Vertex4iv" offset="147"> - <param name="v" type="const GLint *" count="4"/> - <glx rop="75"/> - </function> - - <function name="Vertex4s" offset="148" vectorequiv="Vertex4sv"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - <param name="w" type="GLshort"/> - </function> - - <function name="Vertex4sv" offset="149"> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="76"/> - </function> - - <function name="ClipPlane" offset="150"> - <param name="plane" type="GLenum"/> - <param name="equation" type="const GLdouble *" count="4"/> - <glx rop="77"/> - </function> - - <function name="ColorMaterial" offset="151"> - <param name="face" type="GLenum"/> - <param name="mode" type="GLenum"/> - <glx rop="78"/> - </function> - - <function name="CullFace" offset="152"> - <param name="mode" type="GLenum"/> - <glx rop="79"/> - </function> - - <function name="Fogf" offset="153"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="80"/> - </function> - - <function name="Fogfv" offset="154"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="81"/> - </function> - - <function name="Fogi" offset="155"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="82"/> - </function> - - <function name="Fogiv" offset="156"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="83"/> - </function> - - <function name="FrontFace" offset="157"> - <param name="mode" type="GLenum"/> - <glx rop="84"/> - </function> - - <function name="Hint" offset="158"> - <param name="target" type="GLenum"/> - <param name="mode" type="GLenum"/> - <glx rop="85"/> - </function> - - <function name="Lightf" offset="159"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="86"/> - </function> - - <function name="Lightfv" offset="160"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="87"/> - </function> - - <function name="Lighti" offset="161"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="88"/> - </function> - - <function name="Lightiv" offset="162"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="89"/> - </function> - - <function name="LightModelf" offset="163"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="90"/> - </function> - - <function name="LightModelfv" offset="164"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="91"/> - </function> - - <function name="LightModeli" offset="165"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="92"/> - </function> - - <function name="LightModeliv" offset="166"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="93"/> - </function> - - <function name="LineStipple" offset="167"> - <param name="factor" type="GLint"/> - <param name="pattern" type="GLushort"/> - <glx rop="94"/> - </function> - - <function name="LineWidth" offset="168"> - <param name="width" type="GLfloat"/> - <glx rop="95"/> - </function> - - <function name="Materialf" offset="169"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="96"/> - </function> - - <function name="Materialfv" offset="170"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="97"/> - </function> - - <function name="Materiali" offset="171"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="98"/> - </function> - - <function name="Materialiv" offset="172"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="99"/> - </function> - - <function name="PointSize" offset="173"> - <param name="size" type="GLfloat"/> - <glx rop="100"/> - </function> - - <function name="PolygonMode" offset="174"> - <param name="face" type="GLenum"/> - <param name="mode" type="GLenum"/> - <glx rop="101"/> - </function> - - <function name="PolygonStipple" offset="175"> - <param name="mask" type="const GLubyte *" img_width="32" img_height="32" img_format="GL_COLOR_INDEX" img_type="GL_BITMAP" img_target="0" img_pad_dimensions="false"/> - <glx rop="102"/> - </function> - - <function name="Scissor" offset="176"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <glx rop="103"/> - </function> - - <function name="ShadeModel" offset="177"> - <param name="mode" type="GLenum"/> - <glx rop="104"/> - </function> - - <function name="TexParameterf" offset="178"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="105"/> - </function> - - <function name="TexParameterfv" offset="179"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="106"/> - </function> - - <function name="TexParameteri" offset="180"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="107"/> - </function> - - <function name="TexParameteriv" offset="181"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="108"/> - </function> - - <function name="TexImage1D" offset="182"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_format="format" img_type="type" img_target="target" img_send_null="true" img_pad_dimensions="true"/> - <glx rop="109" large="true"/> - </function> - - <function name="TexImage2D" offset="183"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_format="format" img_type="type" img_target="target" img_send_null="true" img_pad_dimensions="true"/> - <glx rop="110" large="true"/> - </function> - - <function name="TexEnvf" offset="184"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="111"/> - </function> - - <function name="TexEnvfv" offset="185"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="112"/> - </function> - - <function name="TexEnvi" offset="186"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="113"/> - </function> - - <function name="TexEnviv" offset="187"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="114"/> - </function> - - <function name="TexGend" offset="188"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLdouble"/> - <glx rop="115"/> - </function> - - <function name="TexGendv" offset="189"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLdouble *" variable_param="pname"/> - <glx rop="116"/> - </function> - - <function name="TexGenf" offset="190"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="117"/> - </function> - - <function name="TexGenfv" offset="191"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="118"/> - </function> - - <function name="TexGeni" offset="192"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="119"/> - </function> - - <function name="TexGeniv" offset="193"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="120"/> - </function> - - <function name="FeedbackBuffer" offset="194"> - <param name="size" type="GLsizei"/> - <param name="type" type="GLenum"/> - <param name="buffer" type="GLfloat *" output="true"/> - <glx sop="105" handcode="true"/> - </function> - - <function name="SelectBuffer" offset="195"> - <param name="size" type="GLsizei"/> - <param name="buffer" type="GLuint *" output="true"/> - <glx sop="106" handcode="true"/> - </function> - - <function name="RenderMode" offset="196"> - <param name="mode" type="GLenum"/> - <return type="GLint"/> - <glx sop="107" handcode="true"/> - </function> - - <function name="InitNames" offset="197"> - <glx rop="121"/> - </function> - - <function name="LoadName" offset="198"> - <param name="name" type="GLuint"/> - <glx rop="122"/> - </function> - - <function name="PassThrough" offset="199"> - <param name="token" type="GLfloat"/> - <glx rop="123"/> - </function> - - <function name="PopName" offset="200"> - <glx rop="124"/> - </function> - - <function name="PushName" offset="201"> - <param name="name" type="GLuint"/> - <glx rop="125"/> - </function> - - <function name="DrawBuffer" offset="202"> - <param name="mode" type="GLenum"/> - <glx rop="126"/> - </function> - - <function name="Clear" offset="203"> - <param name="mask" type="GLbitfield"/> - <glx rop="127"/> - </function> - - <function name="ClearAccum" offset="204"> - <param name="red" type="GLfloat"/> - <param name="green" type="GLfloat"/> - <param name="blue" type="GLfloat"/> - <param name="alpha" type="GLfloat"/> - <glx rop="128"/> - </function> - - <function name="ClearIndex" offset="205"> - <param name="c" type="GLfloat"/> - <glx rop="129"/> - </function> - - <function name="ClearColor" offset="206"> - <param name="red" type="GLclampf"/> - <param name="green" type="GLclampf"/> - <param name="blue" type="GLclampf"/> - <param name="alpha" type="GLclampf"/> - <glx rop="130"/> - </function> - - <function name="ClearStencil" offset="207"> - <param name="s" type="GLint"/> - <glx rop="131"/> - </function> - - <function name="ClearDepth" offset="208"> - <param name="depth" type="GLclampd"/> - <glx rop="132"/> - </function> - - <function name="StencilMask" offset="209"> - <param name="mask" type="GLuint"/> - <glx rop="133"/> - </function> - - <function name="ColorMask" offset="210"> - <param name="red" type="GLboolean"/> - <param name="green" type="GLboolean"/> - <param name="blue" type="GLboolean"/> - <param name="alpha" type="GLboolean"/> - <glx rop="134"/> - </function> - - <function name="DepthMask" offset="211"> - <param name="flag" type="GLboolean"/> - <glx rop="135"/> - </function> - - <function name="IndexMask" offset="212"> - <param name="mask" type="GLuint"/> - <glx rop="136"/> - </function> - - <function name="Accum" offset="213"> - <param name="op" type="GLenum"/> - <param name="value" type="GLfloat"/> - <glx rop="137"/> - </function> - - <function name="Disable" offset="214"> - <param name="cap" type="GLenum"/> - <glx rop="138" handcode="client"/> - </function> - - <function name="Enable" offset="215"> - <param name="cap" type="GLenum"/> - <glx rop="139" handcode="client"/> - </function> - - <function name="Finish" offset="216"> - <glx sop="108" handcode="true"/> - </function> - - <function name="Flush" offset="217"> - <glx sop="142" handcode="true"/> - </function> - - <function name="PopAttrib" offset="218"> - <glx rop="141"/> - </function> - - <function name="PushAttrib" offset="219"> - <param name="mask" type="GLbitfield"/> - <glx rop="142"/> - </function> - - <function name="Map1d" offset="220"> - <param name="target" type="GLenum"/> - <param name="u1" type="GLdouble"/> - <param name="u2" type="GLdouble"/> - <param name="stride" type="GLint"/> - <param name="order" type="GLint"/> - <param name="points" type="const GLdouble *"/> - <glx rop="143" handcode="true"/> - </function> - - <function name="Map1f" offset="221"> - <param name="target" type="GLenum"/> - <param name="u1" type="GLfloat"/> - <param name="u2" type="GLfloat"/> - <param name="stride" type="GLint"/> - <param name="order" type="GLint"/> - <param name="points" type="const GLfloat *"/> - <glx rop="144" handcode="true"/> - </function> - - <function name="Map2d" offset="222"> - <param name="target" type="GLenum"/> - <param name="u1" type="GLdouble"/> - <param name="u2" type="GLdouble"/> - <param name="ustride" type="GLint"/> - <param name="uorder" type="GLint"/> - <param name="v1" type="GLdouble"/> - <param name="v2" type="GLdouble"/> - <param name="vstride" type="GLint"/> - <param name="vorder" type="GLint"/> - <param name="points" type="const GLdouble *"/> - <glx rop="145" handcode="true"/> - </function> - - <function name="Map2f" offset="223"> - <param name="target" type="GLenum"/> - <param name="u1" type="GLfloat"/> - <param name="u2" type="GLfloat"/> - <param name="ustride" type="GLint"/> - <param name="uorder" type="GLint"/> - <param name="v1" type="GLfloat"/> - <param name="v2" type="GLfloat"/> - <param name="vstride" type="GLint"/> - <param name="vorder" type="GLint"/> - <param name="points" type="const GLfloat *"/> - <glx rop="146" handcode="true"/> - </function> - - <function name="MapGrid1d" offset="224"> - <param name="un" type="GLint"/> - <param name="u1" type="GLdouble"/> - <param name="u2" type="GLdouble"/> - <glx rop="147"/> - </function> - - <function name="MapGrid1f" offset="225"> - <param name="un" type="GLint"/> - <param name="u1" type="GLfloat"/> - <param name="u2" type="GLfloat"/> - <glx rop="148"/> - </function> - - <function name="MapGrid2d" offset="226"> - <param name="un" type="GLint"/> - <param name="u1" type="GLdouble"/> - <param name="u2" type="GLdouble"/> - <param name="vn" type="GLint"/> - <param name="v1" type="GLdouble"/> - <param name="v2" type="GLdouble"/> - <glx rop="149"/> - </function> - - <function name="MapGrid2f" offset="227"> - <param name="un" type="GLint"/> - <param name="u1" type="GLfloat"/> - <param name="u2" type="GLfloat"/> - <param name="vn" type="GLint"/> - <param name="v1" type="GLfloat"/> - <param name="v2" type="GLfloat"/> - <glx rop="150"/> - </function> - - <function name="EvalCoord1d" offset="228" vectorequiv="EvalCoord1dv"> - <param name="u" type="GLdouble"/> - </function> - - <function name="EvalCoord1dv" offset="229"> - <param name="u" type="const GLdouble *" count="1"/> - <glx rop="151"/> - </function> - - <function name="EvalCoord1f" offset="230" vectorequiv="EvalCoord1fv"> - <param name="u" type="GLfloat"/> - </function> - - <function name="EvalCoord1fv" offset="231"> - <param name="u" type="const GLfloat *" count="1"/> - <glx rop="152"/> - </function> - - <function name="EvalCoord2d" offset="232" vectorequiv="EvalCoord2dv"> - <param name="u" type="GLdouble"/> - <param name="v" type="GLdouble"/> - </function> - - <function name="EvalCoord2dv" offset="233"> - <param name="u" type="const GLdouble *" count="2"/> - <glx rop="153"/> - </function> - - <function name="EvalCoord2f" offset="234" vectorequiv="EvalCoord2fv"> - <param name="u" type="GLfloat"/> - <param name="v" type="GLfloat"/> - </function> - - <function name="EvalCoord2fv" offset="235"> - <param name="u" type="const GLfloat *" count="2"/> - <glx rop="154"/> - </function> - - <function name="EvalMesh1" offset="236"> - <param name="mode" type="GLenum"/> - <param name="i1" type="GLint"/> - <param name="i2" type="GLint"/> - <glx rop="155"/> - </function> - - <function name="EvalPoint1" offset="237"> - <param name="i" type="GLint"/> - <glx rop="156"/> - </function> - - <function name="EvalMesh2" offset="238"> - <param name="mode" type="GLenum"/> - <param name="i1" type="GLint"/> - <param name="i2" type="GLint"/> - <param name="j1" type="GLint"/> - <param name="j2" type="GLint"/> - <glx rop="157"/> - </function> - - <function name="EvalPoint2" offset="239"> - <param name="i" type="GLint"/> - <param name="j" type="GLint"/> - <glx rop="158"/> - </function> - - <function name="AlphaFunc" offset="240"> - <param name="func" type="GLenum"/> - <param name="ref" type="GLclampf"/> - <glx rop="159"/> - </function> - - <function name="BlendFunc" offset="241"> - <param name="sfactor" type="GLenum"/> - <param name="dfactor" type="GLenum"/> - <glx rop="160"/> - </function> - - <function name="LogicOp" offset="242"> - <param name="opcode" type="GLenum"/> - <glx rop="161"/> - </function> - - <function name="StencilFunc" offset="243"> - <param name="func" type="GLenum"/> - <param name="ref" type="GLint"/> - <param name="mask" type="GLuint"/> - <glx rop="162"/> - </function> - - <function name="StencilOp" offset="244"> - <param name="fail" type="GLenum"/> - <param name="zfail" type="GLenum"/> - <param name="zpass" type="GLenum"/> - <glx rop="163"/> - </function> - - <function name="DepthFunc" offset="245"> - <param name="func" type="GLenum"/> - <glx rop="164"/> - </function> - - <function name="PixelZoom" offset="246"> - <param name="xfactor" type="GLfloat"/> - <param name="yfactor" type="GLfloat"/> - <glx rop="165"/> - </function> - - <function name="PixelTransferf" offset="247"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="166"/> - </function> - - <function name="PixelTransferi" offset="248"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="167"/> - </function> - - <function name="PixelStoref" offset="249"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx sop="109" handcode="client"/> - </function> - - <function name="PixelStorei" offset="250"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx sop="110" handcode="client"/> - </function> - - <function name="PixelMapfv" offset="251"> - <param name="map" type="GLenum"/> - <param name="mapsize" type="GLsizei" counter="true"/> - <param name="values" type="const GLfloat *" count="mapsize"/> - <glx rop="168" large="true"/> - </function> - - <function name="PixelMapuiv" offset="252"> - <param name="map" type="GLenum"/> - <param name="mapsize" type="GLsizei" counter="true"/> - <param name="values" type="const GLuint *" count="mapsize"/> - <glx rop="169" large="true"/> - </function> - - <function name="PixelMapusv" offset="253"> - <param name="map" type="GLenum"/> - <param name="mapsize" type="GLsizei" counter="true"/> - <param name="values" type="const GLushort *" count="mapsize"/> - <glx rop="170" large="true"/> - </function> - - <function name="ReadBuffer" offset="254"> - <param name="mode" type="GLenum"/> - <glx rop="171"/> - </function> - - <function name="CopyPixels" offset="255"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="type" type="GLenum"/> - <glx rop="172"/> - </function> - - <function name="ReadPixels" offset="256"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="GLvoid *" output="true" img_width="width" img_height="height" img_format="format" img_type="type" img_target="0"/> - <glx sop="111"/> - </function> - - <function name="DrawPixels" offset="257"> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_format="format" img_type="type" img_target="0" img_pad_dimensions="false"/> - <glx rop="173" large="true"/> - </function> - - <function name="GetBooleanv" offset="258"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLboolean *" output="true" variable_param="pname"/> - <glx sop="112" handcode="client"/> - </function> - - <function name="GetClipPlane" offset="259"> - <param name="plane" type="GLenum"/> - <param name="equation" type="GLdouble *" output="true" count="4"/> - <glx sop="113" always_array="true"/> - </function> - - <function name="GetDoublev" offset="260"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLdouble *" output="true" variable_param="pname"/> - <glx sop="114" handcode="client"/> - </function> - - <function name="GetError" offset="261"> - <return type="GLenum"/> - <glx sop="115" handcode="client"/> - </function> - - <function name="GetFloatv" offset="262"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="116" handcode="client"/> - </function> - - <function name="GetIntegerv" offset="263"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="117" handcode="client"/> - </function> - - <function name="GetLightfv" offset="264"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="118"/> - </function> - - <function name="GetLightiv" offset="265"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="119"/> - </function> - - <function name="GetMapdv" offset="266"> - <param name="target" type="GLenum"/> - <param name="query" type="GLenum"/> - <param name="v" type="GLdouble *" output="true" variable_param="target query"/> - <glx sop="120"/> - </function> - - <function name="GetMapfv" offset="267"> - <param name="target" type="GLenum"/> - <param name="query" type="GLenum"/> - <param name="v" type="GLfloat *" output="true" variable_param="target query"/> - <glx sop="121"/> - </function> - - <function name="GetMapiv" offset="268"> - <param name="target" type="GLenum"/> - <param name="query" type="GLenum"/> - <param name="v" type="GLint *" output="true" variable_param="target query"/> - <glx sop="122"/> - </function> - - <function name="GetMaterialfv" offset="269"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="123"/> - </function> - - <function name="GetMaterialiv" offset="270"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="124"/> - </function> - - <function name="GetPixelMapfv" offset="271"> - <param name="map" type="GLenum"/> - <param name="values" type="GLfloat *" output="true" variable_param="map"/> - <glx sop="125"/> - </function> - - <function name="GetPixelMapuiv" offset="272"> - <param name="map" type="GLenum"/> - <param name="values" type="GLuint *" output="true" variable_param="map"/> - <glx sop="126"/> - </function> - - <function name="GetPixelMapusv" offset="273"> - <param name="map" type="GLenum"/> - <param name="values" type="GLushort *" output="true" variable_param="map"/> - <glx sop="127"/> - </function> - - <function name="GetPolygonStipple" offset="274"> - <param name="mask" type="GLubyte *" output="true" img_width="32" img_height="32" img_format="GL_COLOR_INDEX" img_type="GL_BITMAP"/> - <glx sop="128"/> - </function> - - <function name="GetString" offset="275"> - <param name="name" type="GLenum"/> - <return type="const GLubyte *"/> - <glx sop="129" handcode="true"/> - </function> - - <function name="GetTexEnvfv" offset="276"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="130"/> - </function> - - <function name="GetTexEnviv" offset="277"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="131"/> - </function> - - <function name="GetTexGendv" offset="278"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLdouble *" output="true" variable_param="pname"/> - <glx sop="132"/> - </function> - - <function name="GetTexGenfv" offset="279"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="133"/> - </function> - - <function name="GetTexGeniv" offset="280"> - <param name="coord" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="134"/> - </function> - - <function name="GetTexImage" offset="281"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="GLvoid *" output="true" img_width="width" img_height="height" img_depth="depth" img_format="format" img_type="type"/> - <glx sop="135" dimensions_in_reply="true"/> - </function> - - <function name="GetTexParameterfv" offset="282"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="136"/> - </function> - - <function name="GetTexParameteriv" offset="283"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="137"/> - </function> - - <function name="GetTexLevelParameterfv" offset="284"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="138"/> - </function> - - <function name="GetTexLevelParameteriv" offset="285"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="139"/> - </function> - - <function name="IsEnabled" offset="286"> - <param name="cap" type="GLenum"/> - <return type="GLboolean"/> - <glx sop="140" handcode="client"/> - </function> - - <function name="IsList" offset="287"> - <param name="list" type="GLuint"/> - <return type="GLboolean"/> - <glx sop="141"/> - </function> - - <function name="DepthRange" offset="288"> - <param name="zNear" type="GLclampd"/> - <param name="zFar" type="GLclampd"/> - <glx rop="174"/> - </function> - - <function name="Frustum" offset="289"> - <param name="left" type="GLdouble"/> - <param name="right" type="GLdouble"/> - <param name="bottom" type="GLdouble"/> - <param name="top" type="GLdouble"/> - <param name="zNear" type="GLdouble"/> - <param name="zFar" type="GLdouble"/> - <glx rop="175"/> - </function> - - <function name="LoadIdentity" offset="290"> - <glx rop="176"/> - </function> - - <function name="LoadMatrixf" offset="291"> - <param name="m" type="const GLfloat *" count="16"/> - <glx rop="177"/> - </function> - - <function name="LoadMatrixd" offset="292"> - <param name="m" type="const GLdouble *" count="16"/> - <glx rop="178"/> - </function> - - <function name="MatrixMode" offset="293"> - <param name="mode" type="GLenum"/> - <glx rop="179"/> - </function> - - <function name="MultMatrixf" offset="294"> - <param name="m" type="const GLfloat *" count="16"/> - <glx rop="180"/> - </function> - - <function name="MultMatrixd" offset="295"> - <param name="m" type="const GLdouble *" count="16"/> - <glx rop="181"/> - </function> - - <function name="Ortho" offset="296"> - <param name="left" type="GLdouble"/> - <param name="right" type="GLdouble"/> - <param name="bottom" type="GLdouble"/> - <param name="top" type="GLdouble"/> - <param name="zNear" type="GLdouble"/> - <param name="zFar" type="GLdouble"/> - <glx rop="182"/> - </function> - - <function name="PopMatrix" offset="297"> - <glx rop="183"/> - </function> - - <function name="PushMatrix" offset="298"> - <glx rop="184"/> - </function> - - <function name="Rotated" offset="299"> - <param name="angle" type="GLdouble"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <glx rop="185"/> - </function> - - <function name="Rotatef" offset="300"> - <param name="angle" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <glx rop="186"/> - </function> - - <function name="Scaled" offset="301"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <glx rop="187"/> - </function> - - <function name="Scalef" offset="302"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <glx rop="188"/> - </function> - - <function name="Translated" offset="303"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <glx rop="189"/> - </function> - - <function name="Translatef" offset="304"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <glx rop="190"/> - </function> - - <function name="Viewport" offset="305"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <glx rop="191"/> - </function> -</category> - -<category name="1.1"> - <enum name="INDEX_LOGIC_OP" value="0x0BF1"/> - <enum name="COLOR_LOGIC_OP" value="0x0BF2"/> - <enum name="TEXTURE_INTERNAL_FORMAT" value="0x1003"/> - <enum name="DOUBLE" value="0x140A"/> - <enum name="POLYGON_OFFSET_UNITS" count="1" value="0x2A00"> - <size name="Get" mode="get"/> - </enum> - <enum name="POLYGON_OFFSET_POINT" value="0x2A01"/> - <enum name="POLYGON_OFFSET_LINE" value="0x2A02"/> - <enum name="R3_G3_B2" value="0x2A10"/> - <enum name="V2F" value="0x2A20"/> - <enum name="V3F" value="0x2A21"/> - <enum name="C4UB_V2F" value="0x2A22"/> - <enum name="C4UB_V3F" value="0x2A23"/> - <enum name="C3F_V3F" value="0x2A24"/> - <enum name="N3F_V3F" value="0x2A25"/> - <enum name="C4F_N3F_V3F" value="0x2A26"/> - <enum name="T2F_V3F" value="0x2A27"/> - <enum name="T4F_V4F" value="0x2A28"/> - <enum name="T2F_C4UB_V3F" value="0x2A29"/> - <enum name="T2F_C3F_V3F" value="0x2A2A"/> - <enum name="T2F_N3F_V3F" value="0x2A2B"/> - <enum name="T2F_C4F_N3F_V3F" value="0x2A2C"/> - <enum name="T4F_C4F_N3F_V4F" value="0x2A2D"/> - <enum name="POLYGON_OFFSET_FILL" value="0x8037"/> - <enum name="POLYGON_OFFSET_FACTOR" count="1" value="0x8038"> - <size name="Get" mode="get"/> - </enum> - <enum name="POLYGON_OFFSET_BIAS" value="0x8039"/> - <enum name="ALPHA4" value="0x803B"/> - <enum name="ALPHA8" value="0x803C"/> - <enum name="ALPHA12" value="0x803D"/> - <enum name="ALPHA16" value="0x803E"/> - <enum name="LUMINANCE4" value="0x803F"/> - <enum name="LUMINANCE8" value="0x8040"/> - <enum name="LUMINANCE12" value="0x8041"/> - <enum name="LUMINANCE16" value="0x8042"/> - <enum name="LUMINANCE4_ALPHA4" value="0x8043"/> - <enum name="LUMINANCE6_ALPHA2" value="0x8044"/> - <enum name="LUMINANCE8_ALPHA8" value="0x8045"/> - <enum name="LUMINANCE12_ALPHA4" value="0x8046"/> - <enum name="LUMINANCE12_ALPHA12" value="0x8047"/> - <enum name="LUMINANCE16_ALPHA16" value="0x8048"/> - <enum name="INTENSITY" value="0x8049"/> - <enum name="INTENSITY4" value="0x804A"/> - <enum name="INTENSITY8" value="0x804B"/> - <enum name="INTENSITY12" value="0x804C"/> - <enum name="INTENSITY16" value="0x804D"/> - <enum name="RGB4" value="0x804F"/> - <enum name="RGB5" value="0x8050"/> - <enum name="RGB8" value="0x8051"/> - <enum name="RGB10" value="0x8052"/> - <enum name="RGB12" value="0x8053"/> - <enum name="RGB16" value="0x8054"/> - <enum name="RGBA2" value="0x8055"/> - <enum name="RGBA4" value="0x8056"/> - <enum name="RGB5_A1" value="0x8057"/> - <enum name="RGBA8" value="0x8058"/> - <enum name="RGB10_A2" value="0x8059"/> - <enum name="RGBA12" value="0x805A"/> - <enum name="RGBA16" value="0x805B"/> - <enum name="TEXTURE_RED_SIZE" count="1" value="0x805C"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_GREEN_SIZE" count="1" value="0x805D"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_BLUE_SIZE" count="1" value="0x805E"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_ALPHA_SIZE" count="1" value="0x805F"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_LUMINANCE_SIZE" count="1" value="0x8060"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_INTENSITY_SIZE" count="1" value="0x8061"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="PROXY_TEXTURE_1D" value="0x8063"/> - <enum name="PROXY_TEXTURE_2D" value="0x8064"/> - <enum name="TEXTURE_PRIORITY" count="1" value="0x8066"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_RESIDENT" count="1" value="0x8067"> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_1D" count="1" value="0x8068"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_2D" count="1" value="0x8069"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ARRAY" count="1" value="0x8074"> - <size name="Get" mode="get"/> - </enum> - <enum name="NORMAL_ARRAY" count="1" value="0x8075"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_ARRAY" count="1" value="0x8076"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_ARRAY" count="1" value="0x8077"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COORD_ARRAY" count="1" value="0x8078"> - <size name="Get" mode="get"/> - </enum> - <enum name="EDGE_FLAG_ARRAY" count="1" value="0x8079"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ARRAY_SIZE" count="1" value="0x807A"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ARRAY_TYPE" count="1" value="0x807B"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ARRAY_STRIDE" count="1" value="0x807C"> - <size name="Get" mode="get"/> - </enum> - <enum name="NORMAL_ARRAY_TYPE" count="1" value="0x807E"> - <size name="Get" mode="get"/> - </enum> - <enum name="NORMAL_ARRAY_STRIDE" count="1" value="0x807F"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_ARRAY_SIZE" count="1" value="0x8081"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_ARRAY_TYPE" count="1" value="0x8082"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_ARRAY_STRIDE" count="1" value="0x8083"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_ARRAY_TYPE" count="1" value="0x8085"> - <size name="Get" mode="get"/> - </enum> - <enum name="INDEX_ARRAY_STRIDE" count="1" value="0x8086"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COORD_ARRAY_SIZE" count="1" value="0x8088"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COORD_ARRAY_TYPE" count="1" value="0x8089"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COORD_ARRAY_STRIDE" count="1" value="0x808A"> - <size name="Get" mode="get"/> - </enum> - <enum name="EDGE_FLAG_ARRAY_STRIDE" count="1" value="0x808C"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ARRAY_POINTER" value="0x808E"/> - <enum name="NORMAL_ARRAY_POINTER" value="0x808F"/> - <enum name="COLOR_ARRAY_POINTER" value="0x8090"/> - <enum name="INDEX_ARRAY_POINTER" value="0x8091"/> - <enum name="TEXTURE_COORD_ARRAY_POINTER" value="0x8092"/> - <enum name="EDGE_FLAG_ARRAY_POINTER" value="0x8093"/> - <enum name="CLIENT_PIXEL_STORE_BIT" value="0x00000001"/> - <enum name="CLIENT_VERTEX_ARRAY_BIT" value="0x00000002"/> - <enum name="ALL_CLIENT_ATTRIB_BITS" value="0xFFFFFFFF"/> - <enum name="CLIENT_ALL_ATTRIB_BITS" value="0xFFFFFFFF"/> - - <function name="ArrayElement" offset="306"> - <param name="i" type="GLint"/> - <glx handcode="true"/> - </function> - - <function name="ColorPointer" offset="308"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="DisableClientState" offset="309"> - <param name="array" type="GLenum"/> - <glx handcode="true"/> - </function> - - <function name="DrawArrays" offset="310"> - <param name="mode" type="GLenum"/> - <param name="first" type="GLint"/> - <param name="count" type="GLsizei"/> - <glx rop="193" handcode="true"/> - </function> - - <function name="DrawElements" offset="311"> - <param name="mode" type="GLenum"/> - <param name="count" type="GLsizei"/> - <param name="type" type="GLenum"/> - <param name="indices" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="EdgeFlagPointer" offset="312"> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="EnableClientState" offset="313"> - <param name="array" type="GLenum"/> - <glx handcode="true"/> - </function> - - <function name="GetPointerv" offset="329"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLvoid **" output="true"/> - <glx handcode="true"/> - </function> - - <function name="IndexPointer" offset="314"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="InterleavedArrays" offset="317"> - <param name="format" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="NormalPointer" offset="318"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="TexCoordPointer" offset="320"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="VertexPointer" offset="321"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="PolygonOffset" offset="319"> - <param name="factor" type="GLfloat"/> - <param name="units" type="GLfloat"/> - <glx rop="192"/> - </function> - - <function name="CopyTexImage1D" offset="323"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="border" type="GLint"/> - <glx rop="4119"/> - </function> - - <function name="CopyTexImage2D" offset="324"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="border" type="GLint"/> - <glx rop="4120"/> - </function> - - <function name="CopyTexSubImage1D" offset="325"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <glx rop="4121"/> - </function> - - <function name="CopyTexSubImage2D" offset="326"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <glx rop="4122"/> - </function> - - <function name="TexSubImage1D" offset="332"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_xoff="xoffset" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/> - <glx rop="4099" large="true"/> - </function> - - <function name="TexSubImage2D" offset="333"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_xoff="xoffset" img_yoff="yoffset" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/> - <glx rop="4100" large="true"/> - </function> - - <function name="AreTexturesResident" offset="322"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="const GLuint *" count="n"/> - <param name="residences" type="GLboolean *" output="true" count="n"/> - <return type="GLboolean"/> - <glx sop="143" always_array="true"/> - </function> - - <function name="BindTexture" offset="307"> - <param name="target" type="GLenum"/> - <param name="texture" type="GLuint"/> - <glx rop="4117"/> - </function> - - <function name="DeleteTextures" offset="327"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="const GLuint *" count="n"/> - <glx sop="144"/> - </function> - - <function name="GenTextures" offset="328"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="GLuint *" output="true" count="n"/> - <glx sop="145" always_array="true"/> - </function> - - <function name="IsTexture" offset="330"> - <param name="texture" type="GLuint"/> - <return type="GLboolean"/> - <glx sop="146"/> - </function> - - <function name="PrioritizeTextures" offset="331"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="const GLuint *" count="n"/> - <param name="priorities" type="const GLclampf *" count="n"/> - <glx rop="4118"/> - </function> - - <function name="Indexub" offset="315" vectorequiv="Indexubv"> - <param name="c" type="GLubyte"/> - </function> - - <function name="Indexubv" offset="316"> - <param name="c" type="const GLubyte *" count="1"/> - <glx rop="194"/> - </function> - - <function name="PopClientAttrib" offset="334"> - <glx handcode="true"/> - </function> - - <function name="PushClientAttrib" offset="335"> - <param name="mask" type="GLbitfield"/> - <glx handcode="true"/> - </function> -</category> - -<category name="1.2"> - <enum name="UNSIGNED_BYTE_3_3_2" value="0x8032"/> - <enum name="UNSIGNED_SHORT_4_4_4_4" value="0x8033"/> - <enum name="UNSIGNED_SHORT_5_5_5_1" value="0x8034"/> - <enum name="UNSIGNED_INT_8_8_8_8" value="0x8035"/> - <enum name="UNSIGNED_INT_10_10_10_2" value="0x8036"/> - <enum name="RESCALE_NORMAL" count="1" value="0x803A"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_3D" count="1" value="0x806A"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_SKIP_IMAGES" count="1" value="0x806B"> - <size name="Get" mode="get"/> - </enum> - <enum name="PACK_IMAGE_HEIGHT" count="1" value="0x806C"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_SKIP_IMAGES" count="1" value="0x806D"> - <size name="Get" mode="get"/> - </enum> - <enum name="UNPACK_IMAGE_HEIGHT" count="1" value="0x806E"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_3D" count="1" value="0x806F"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROXY_TEXTURE_3D" value="0x8070"/> - <enum name="TEXTURE_DEPTH" count="1" value="0x8071"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_WRAP_R" count="1" value="0x8072"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="MAX_3D_TEXTURE_SIZE" value="0x8073"/> - <enum name="UNSIGNED_BYTE_2_3_3_REV" value="0x8362"/> - <enum name="UNSIGNED_SHORT_5_6_5" value="0x8363"/> - <enum name="UNSIGNED_SHORT_5_6_5_REV" value="0x8364"/> - <enum name="UNSIGNED_SHORT_4_4_4_4_REV" value="0x8365"/> - <enum name="UNSIGNED_SHORT_1_5_5_5_REV" value="0x8366"/> - <enum name="UNSIGNED_INT_8_8_8_8_REV" value="0x8367"/> - <enum name="UNSIGNED_INT_2_10_10_10_REV" value="0x8368"/> - <enum name="BGR" value="0x80E0"/> - <enum name="BGRA" value="0x80E1"/> - <enum name="MAX_ELEMENTS_VERTICES" count="1" value="0x80E8"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_ELEMENTS_INDICES" count="1" value="0x80E9"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLAMP_TO_EDGE" value="0x812F"/> - <enum name="TEXTURE_MIN_LOD" count="1" value="0x813A"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_MAX_LOD" count="1" value="0x813B"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_BASE_LEVEL" count="1" value="0x813C"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_MAX_LEVEL" count="1" value="0x813D"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="LIGHT_MODEL_COLOR_CONTROL" count="1" value="0x81F8"> - <size name="LightModelfv"/> - <size name="LightModeliv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="SINGLE_COLOR" value="0x81F9"/> - <enum name="SEPARATE_SPECULAR_COLOR" value="0x81FA"/> - <enum name="SMOOTH_POINT_SIZE_RANGE" count="2" value="0x0B12"> - <size name="Get" mode="get"/> - </enum> - <enum name="SMOOTH_POINT_SIZE_GRANULARITY" count="1" value="0x0B13"> - <size name="Get" mode="get"/> - </enum> - <enum name="SMOOTH_LINE_WIDTH_RANGE" count="2" value="0x0B22"> - <size name="Get" mode="get"/> - </enum> - <enum name="SMOOTH_LINE_WIDTH_GRANULARITY" count="1" value="0x0B23"> - <size name="Get" mode="get"/> - </enum> - <enum name="ALIASED_POINT_SIZE_RANGE" count="2" value="0x846D"> - <size name="Get" mode="get"/> - </enum> - <enum name="ALIASED_LINE_WIDTH_RANGE" count="2" value="0x846E"> - <size name="Get" mode="get"/> - </enum> - - <!-- These enums are actually part of the ARB_imaging subset. --> - - <enum name="CONSTANT_COLOR" value="0x8001"/> - <enum name="ONE_MINUS_CONSTANT_COLOR" value="0x8002"/> - <enum name="CONSTANT_ALPHA" value="0x8003"/> - <enum name="ONE_MINUS_CONSTANT_ALPHA" value="0x8004"/> - <enum name="BLEND_COLOR" count="4" value="0x8005"> - <size name="Get" mode="get"/> - </enum> - <enum name="FUNC_ADD" value="0x8006"/> - <enum name="MIN" value="0x8007"/> - <enum name="MAX" value="0x8008"/> - <enum name="BLEND_EQUATION" count="1" value="0x8009"> - <size name="Get" mode="get"/> - </enum> - <enum name="FUNC_SUBTRACT" value="0x800A"/> - <enum name="FUNC_REVERSE_SUBTRACT" value="0x800B"/> - <enum name="CONVOLUTION_1D" count="1" value="0x8010"> - <size name="Get" mode="get"/> - </enum> - <enum name="CONVOLUTION_2D" count="1" value="0x8011"> - <size name="Get" mode="get"/> - </enum> - <enum name="SEPARABLE_2D" count="1" value="0x8012"> - <size name="Get" mode="get"/> - </enum> - - <enum name="CONVOLUTION_BORDER_MODE" count="1" value="0x8013"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_BORDER_COLOR" count="4" value="0x8154"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_FILTER_SCALE" count="4" value="0x8014"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_FILTER_BIAS" count="4" value="0x8015"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="REDUCE" value="0x8016"/> - <enum name="CONVOLUTION_FORMAT" count="1" value="0x8017"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_WIDTH" count="1" value="0x8018"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_HEIGHT" count="1" value="0x8019"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="MAX_CONVOLUTION_WIDTH" count="1" value="0x801A"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_CONVOLUTION_HEIGHT" count="1" value="0x801B"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_RED_SCALE" count="1" value="0x801C"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_GREEN_SCALE" count="1" value="0x801D"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_BLUE_SCALE" count="1" value="0x801E"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_ALPHA_SCALE" count="1" value="0x801F"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_RED_BIAS" count="1" value="0x8020"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_GREEN_BIAS" count="1" value="0x8021"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_BLUE_BIAS" count="1" value="0x8022"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_ALPHA_BIAS" count="1" value="0x8023"> - <size name="Get" mode="get"/> - </enum> - - <enum name="HISTOGRAM" count="1" value="0x8024"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROXY_HISTOGRAM" value="0x8025"/> - <enum name="HISTOGRAM_WIDTH" count="1" value="0x8026"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_FORMAT" count="1" value="0x8027"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_RED_SIZE" count="1" value="0x8028"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_GREEN_SIZE" count="1" value="0x8029"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_BLUE_SIZE" count="1" value="0x802A"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_ALPHA_SIZE" count="1" value="0x802B"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_LUMINANCE_SIZE" count="1" value="0x802C"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="HISTOGRAM_SINK" count="1" value="0x802D"> - <size name="GetHistogramParameterfv" mode="get"/> - <size name="GetHistogramParameteriv" mode="get"/> - </enum> - <enum name="MINMAX" count="1" value="0x802E"> - <size name="Get" mode="get"/> - </enum> - <enum name="MINMAX_FORMAT" count="1" value="0x802F"> - <size name="GetMinmaxParameterfv" mode="get"/> - <size name="GetMinmaxParameteriv" mode="get"/> - </enum> - <enum name="MINMAX_SINK" count="1" value="0x8030"> - <size name="GetMinmaxParameterfv" mode="get"/> - <size name="GetMinmaxParameteriv" mode="get"/> - </enum> - - <enum name="COLOR_MATRIX" count="16" value="0x80B1"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_MATRIX_STACK_DEPTH" count="1" value="0x80B2"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_COLOR_MATRIX_STACK_DEPTH" count="1" value="0x80B3"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_RED_SCALE" count="1" value="0x80B4"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_GREEN_SCALE" count="1" value="0x80B5"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_BLUE_SCALE" count="1" value="0x80B6"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_ALPHA_SCALE" count="1" value="0x80B7"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_RED_BIAS" count="1" value="0x80B8"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_GREEN_BIAS" count="1" value="0x80B9"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_BLUE_BIAS" count="1" value="0x80BA"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_ALPHA_BIAS" count="1" value="0x80BB"> - <size name="Get" mode="get"/> - </enum> - - <enum name="COLOR_TABLE" count="1" value="0x80D0"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_COLOR_TABLE" count="1" value="0x80D1"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_COLOR_MATRIX_COLOR_TABLE" count="1" value="0x80D2"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROXY_COLOR_TABLE" value="0x80D3"/> - <enum name="PROXY_POST_CONVOLUTION_COLOR_TABLE" value="0x80D4"/> - <enum name="PROXY_POST_COLOR_MATRIX_COLOR_TABLE" value="0x80D5"/> - - <enum name="COLOR_TABLE_SCALE" count="4" value="0x80D6"> - <size name="ColorTableParameterfv"/> - <size name="ColorTableParameteriv"/> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_BIAS" count="4" value="0x80D7"> - <size name="ColorTableParameterfv"/> - <size name="ColorTableParameteriv"/> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_FORMAT" count="1" value="0x80D8"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_WIDTH" count="1" value="0x80D9"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_RED_SIZE" count="1" value="0x80DA"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_GREEN_SIZE" count="1" value="0x80DB"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_BLUE_SIZE" count="1" value="0x80DC"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_ALPHA_SIZE" count="1" value="0x80DD"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_LUMINANCE_SIZE" count="1" value="0x80DE"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_INTENSITY_SIZE" count="1" value="0x80DF"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - - - <function name="BlendColor" offset="336"> - <param name="red" type="GLclampf"/> - <param name="green" type="GLclampf"/> - <param name="blue" type="GLclampf"/> - <param name="alpha" type="GLclampf"/> - <glx rop="4096"/> - </function> - - <function name="BlendEquation" offset="337"> - <param name="mode" type="GLenum"/> - <glx rop="4097"/> - </function> - - <function name="DrawRangeElements" offset="338"> - <param name="mode" type="GLenum"/> - <param name="start" type="GLuint"/> - <param name="end" type="GLuint"/> - <param name="count" type="GLsizei"/> - <param name="type" type="GLenum"/> - <param name="indices" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="ColorTable" offset="339"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="table" type="const GLvoid *" img_width="width" img_pad_dimensions="false" img_format="format" img_type="type" img_target="target"/> - <glx rop="2053" large="true"/> - </function> - - <function name="ColorTableParameterfv" offset="340"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="2054"/> - </function> - - <function name="ColorTableParameteriv" offset="341"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="2055"/> - </function> - - <function name="CopyColorTable" offset="342"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <glx rop="2056"/> - </function> - - <function name="GetColorTable" offset="343"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="table" type="GLvoid *" output="true" img_width="width" img_format="format" img_type="type"/> - <glx sop="147" dimensions_in_reply="true"/> - </function> - - <function name="GetColorTableParameterfv" offset="344"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="148"/> - </function> - - <function name="GetColorTableParameteriv" offset="345"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="149"/> - </function> - - <function name="ColorSubTable" offset="346"> - <param name="target" type="GLenum"/> - <param name="start" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="data" type="const GLvoid *" img_width="count" img_pad_dimensions="false" img_format="format" img_type="type" img_target="target"/> - <glx rop="195" large="true"/> - </function> - - <function name="CopyColorSubTable" offset="347"> - <param name="target" type="GLenum"/> - <param name="start" type="GLsizei"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <glx rop="196"/> - </function> - - <function name="ConvolutionFilter1D" offset="348"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="image" type="const GLvoid *" img_width="width" img_format="format" img_type="type" img_target="target" img_pad_dimensions="true"/> - <glx rop="4101" large="true"/> - </function> - - <function name="ConvolutionFilter2D" offset="349"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="image" type="const GLvoid *" img_width="width" img_height="height" img_format="format" img_type="type" img_target="target" img_pad_dimensions="true"/> - <glx rop="4102" large="true"/> - </function> - - <function name="ConvolutionParameterf" offset="350"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat"/> - <glx rop="4103"/> - </function> - - <function name="ConvolutionParameterfv" offset="351"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="4104"/> - </function> - - <function name="ConvolutionParameteri" offset="352"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint"/> - <glx rop="4105"/> - </function> - - <function name="ConvolutionParameteriv" offset="353"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="4106"/> - </function> - - <function name="CopyConvolutionFilter1D" offset="354"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <glx rop="4107"/> - </function> - - <function name="CopyConvolutionFilter2D" offset="355"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <glx rop="4108"/> - </function> - - <function name="GetConvolutionFilter" offset="356"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="image" type="GLvoid *" output="true" img_width="width" img_height="height" img_format="format" img_type="type"/> - <glx sop="150" dimensions_in_reply="true"/> - </function> - - <function name="GetConvolutionParameterfv" offset="357"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="151"/> - </function> - - <function name="GetConvolutionParameteriv" offset="358"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="152"/> - </function> - - <function name="GetSeparableFilter" offset="359"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="row" type="GLvoid *" output="true"/> - <param name="column" type="GLvoid *" output="true"/> - <param name="span" type="GLvoid *" output="true"/> - <glx sop="153" handcode="true"/> - </function> - - <function name="SeparableFilter2D" offset="360"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="row" type="const GLvoid *"/> - <param name="column" type="const GLvoid *"/> - <glx rop="4109" handcode="true"/> - </function> - - <function name="GetHistogram" offset="361"> - <param name="target" type="GLenum"/> - <param name="reset" type="GLboolean"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="values" type="GLvoid *" output="true" img_width="width" img_format="format" img_type="type"/> - <glx sop="154" dimensions_in_reply="true" img_reset="reset"/> - </function> - - <function name="GetHistogramParameterfv" offset="362"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="155"/> - </function> - - <function name="GetHistogramParameteriv" offset="363"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="156"/> - </function> - - <function name="GetMinmax" offset="364"> - <param name="target" type="GLenum"/> - <param name="reset" type="GLboolean"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="values" type="GLvoid *" output="true" img_width="2" img_format="format" img_type="type"/> - <glx sop="157" img_reset="reset"/> - </function> - - <function name="GetMinmaxParameterfv" offset="365"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx sop="158"/> - </function> - - <function name="GetMinmaxParameteriv" offset="366"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="159"/> - </function> - - <function name="Histogram" offset="367"> - <param name="target" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="internalformat" type="GLenum"/> - <param name="sink" type="GLboolean"/> - <glx rop="4110"/> - </function> - - <function name="Minmax" offset="368"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="sink" type="GLboolean"/> - <glx rop="4111"/> - </function> - - <function name="ResetHistogram" offset="369"> - <param name="target" type="GLenum"/> - <glx rop="4112"/> - </function> - - <function name="ResetMinmax" offset="370"> - <param name="target" type="GLenum"/> - <glx rop="4113"/> - </function> - - <function name="TexImage3D" offset="371"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/> - <glx rop="4114" large="true"/> - </function> - - <function name="TexSubImage3D" offset="372"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_xoff="xoffset" img_yoff="yoffset" img_zoff="zoffset" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/> - <glx rop="4115" large="true"/> - </function> - - <function name="CopyTexSubImage3D" offset="373"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <glx rop="4123"/> - </function> -</category> - -<category name="1.3"> - <enum name="TEXTURE0" value="0x84C0"/> - <enum name="TEXTURE1" value="0x84C1"/> - <enum name="TEXTURE2" value="0x84C2"/> - <enum name="TEXTURE3" value="0x84C3"/> - <enum name="TEXTURE4" value="0x84C4"/> - <enum name="TEXTURE5" value="0x84C5"/> - <enum name="TEXTURE6" value="0x84C6"/> - <enum name="TEXTURE7" value="0x84C7"/> - <enum name="TEXTURE8" value="0x84C8"/> - <enum name="TEXTURE9" value="0x84C9"/> - <enum name="TEXTURE10" value="0x84CA"/> - <enum name="TEXTURE11" value="0x84CB"/> - <enum name="TEXTURE12" value="0x84CC"/> - <enum name="TEXTURE13" value="0x84CD"/> - <enum name="TEXTURE14" value="0x84CE"/> - <enum name="TEXTURE15" value="0x84CF"/> - <enum name="TEXTURE16" value="0x84D0"/> - <enum name="TEXTURE17" value="0x84D1"/> - <enum name="TEXTURE18" value="0x84D2"/> - <enum name="TEXTURE19" value="0x84D3"/> - <enum name="TEXTURE20" value="0x84D4"/> - <enum name="TEXTURE21" value="0x84D5"/> - <enum name="TEXTURE22" value="0x84D6"/> - <enum name="TEXTURE23" value="0x84D7"/> - <enum name="TEXTURE24" value="0x84D8"/> - <enum name="TEXTURE25" value="0x84D9"/> - <enum name="TEXTURE26" value="0x84DA"/> - <enum name="TEXTURE27" value="0x84DB"/> - <enum name="TEXTURE28" value="0x84DC"/> - <enum name="TEXTURE29" value="0x84DD"/> - <enum name="TEXTURE30" value="0x84DE"/> - <enum name="TEXTURE31" value="0x84DF"/> - <enum name="ACTIVE_TEXTURE" count="1" value="0x84E0"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIENT_ACTIVE_TEXTURE" count="1" value="0x84E1"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_UNITS" count="1" value="0x84E2"> - <size name="Get" mode="get"/> - </enum> - <enum name="TRANSPOSE_MODELVIEW_MATRIX" value="0x84E3"/> - <enum name="TRANSPOSE_PROJECTION_MATRIX" value="0x84E4"/> - <enum name="TRANSPOSE_TEXTURE_MATRIX" value="0x84E5"/> - <enum name="TRANSPOSE_COLOR_MATRIX" value="0x84E6"/> - <enum name="MULTISAMPLE" count="1" value="0x809D"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_ALPHA_TO_COVERAGE" count="1" value="0x809E"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_ALPHA_TO_ONE" count="1" value="0x809F"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_COVERAGE" count="1" value="0x80A0"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_BUFFERS" count="1" value="0x80A8"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLES" count="1" value="0x80A9"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_COVERAGE_VALUE" count="1" value="0x80AA"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_COVERAGE_INVERT" count="1" value="0x80AB"> - <size name="Get" mode="get"/> - </enum> - <enum name="MULTISAMPLE_BIT" value="0x20000000"/> - <enum name="NORMAL_MAP" value="0x8511"/> - <enum name="REFLECTION_MAP" value="0x8512"/> - <enum name="TEXTURE_CUBE_MAP" count="1" value="0x8513"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_CUBE_MAP" count="1" value="0x8514"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_CUBE_MAP_POSITIVE_X" value="0x8515"/> - <enum name="TEXTURE_CUBE_MAP_NEGATIVE_X" value="0x8516"/> - <enum name="TEXTURE_CUBE_MAP_POSITIVE_Y" value="0x8517"/> - <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Y" value="0x8518"/> - <enum name="TEXTURE_CUBE_MAP_POSITIVE_Z" value="0x8519"/> - <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Z" value="0x851A"/> - <enum name="PROXY_TEXTURE_CUBE_MAP" value="0x851B"/> - <enum name="MAX_CUBE_MAP_TEXTURE_SIZE" count="1" value="0x851C"> - <size name="Get" mode="get"/> - </enum> - <enum name="COMPRESSED_ALPHA" value="0x84E9"/> - <enum name="COMPRESSED_LUMINANCE" value="0x84EA"/> - <enum name="COMPRESSED_LUMINANCE_ALPHA" value="0x84EB"/> - <enum name="COMPRESSED_INTENSITY" value="0x84EC"/> - <enum name="COMPRESSED_RGB" value="0x84ED"/> - <enum name="COMPRESSED_RGBA" value="0x84EE"/> - <enum name="TEXTURE_COMPRESSION_HINT" count="1" value="0x84EF"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COMPRESSED_IMAGE_SIZE" count="1" value="0x86A0"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPRESSED" count="1" value="0x86A1"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="NUM_COMPRESSED_TEXTURE_FORMATS" count="1" value="0x86A2"> - <size name="Get" mode="get"/> - </enum> - <enum name="COMPRESSED_TEXTURE_FORMATS" count="-1" value="0x86A3"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLAMP_TO_BORDER" value="0x812D"/> - <enum name="COMBINE" value="0x8570"/> - <enum name="COMBINE_RGB" count="1" value="0x8571"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="COMBINE_ALPHA" count="1" value="0x8572"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE0_RGB" count="1" value="0x8580"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE1_RGB" count="1" value="0x8581"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE2_RGB" count="1" value="0x8582"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE0_ALPHA" count="1" value="0x8588"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE1_ALPHA" count="1" value="0x8589"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE2_ALPHA" count="1" value="0x858A"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND0_RGB" count="1" value="0x8590"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND1_RGB" count="1" value="0x8591"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND2_RGB" count="1" value="0x8592"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND0_ALPHA" count="1" value="0x8598"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND1_ALPHA" count="1" value="0x8599"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND2_ALPHA" count="1" value="0x859A"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="RGB_SCALE" count="1" value="0x8573"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="ADD_SIGNED" value="0x8574"/> - <enum name="INTERPOLATE" value="0x8575"/> - <enum name="SUBTRACT" value="0x84E7"/> - <enum name="CONSTANT" value="0x8576"/> - <enum name="PRIMARY_COLOR" value="0x8577"/> - <enum name="PREVIOUS" value="0x8578"/> - <enum name="DOT3_RGB" value="0x86AE"/> - <enum name="DOT3_RGBA" value="0x86AF"/> - - <function name="ActiveTexture" alias="ActiveTextureARB"> - <param name="texture" type="GLenum"/> - </function> - - <function name="ClientActiveTexture" alias="ClientActiveTextureARB"> - <param name="texture" type="GLenum"/> - </function> - - <function name="MultiTexCoord1d" alias="MultiTexCoord1dARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - </function> - - <function name="MultiTexCoord1dv" alias="MultiTexCoord1dvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="MultiTexCoord1f" alias="MultiTexCoord1fARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - </function> - - <function name="MultiTexCoord1fv" alias="MultiTexCoord1fvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="MultiTexCoord1i" alias="MultiTexCoord1iARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - </function> - - <function name="MultiTexCoord1iv" alias="MultiTexCoord1ivARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *"/> - </function> - - <function name="MultiTexCoord1s" alias="MultiTexCoord1sARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - </function> - - <function name="MultiTexCoord1sv" alias="MultiTexCoord1svARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *"/> - </function> - - <function name="MultiTexCoord2d" alias="MultiTexCoord2dARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - </function> - - <function name="MultiTexCoord2dv" alias="MultiTexCoord2dvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="MultiTexCoord2f" alias="MultiTexCoord2fARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - </function> - - <function name="MultiTexCoord2fv" alias="MultiTexCoord2fvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="MultiTexCoord2i" alias="MultiTexCoord2iARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - </function> - - <function name="MultiTexCoord2iv" alias="MultiTexCoord2ivARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *"/> - </function> - - <function name="MultiTexCoord2s" alias="MultiTexCoord2sARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - </function> - - <function name="MultiTexCoord2sv" alias="MultiTexCoord2svARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *"/> - </function> - - <function name="MultiTexCoord3d" alias="MultiTexCoord3dARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - <param name="r" type="GLdouble"/> - </function> - - <function name="MultiTexCoord3dv" alias="MultiTexCoord3dvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="MultiTexCoord3f" alias="MultiTexCoord3fARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - </function> - - <function name="MultiTexCoord3fv" alias="MultiTexCoord3fvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="MultiTexCoord3i" alias="MultiTexCoord3iARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - <param name="r" type="GLint"/> - </function> - - <function name="MultiTexCoord3iv" alias="MultiTexCoord3ivARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *"/> - </function> - - <function name="MultiTexCoord3s" alias="MultiTexCoord3sARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - <param name="r" type="GLshort"/> - </function> - - <function name="MultiTexCoord3sv" alias="MultiTexCoord3svARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *"/> - </function> - - <function name="MultiTexCoord4d" alias="MultiTexCoord4dARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - <param name="r" type="GLdouble"/> - <param name="q" type="GLdouble"/> - </function> - - <function name="MultiTexCoord4dv" alias="MultiTexCoord4dvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="MultiTexCoord4f" alias="MultiTexCoord4fARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="q" type="GLfloat"/> - </function> - - <function name="MultiTexCoord4fv" alias="MultiTexCoord4fvARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="MultiTexCoord4i" alias="MultiTexCoord4iARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - <param name="r" type="GLint"/> - <param name="q" type="GLint"/> - </function> - - <function name="MultiTexCoord4iv" alias="MultiTexCoord4ivARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *"/> - </function> - - <function name="MultiTexCoord4s" alias="MultiTexCoord4sARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - <param name="r" type="GLshort"/> - <param name="q" type="GLshort"/> - </function> - - <function name="MultiTexCoord4sv" alias="MultiTexCoord4svARB"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *"/> - </function> - - <function name="LoadTransposeMatrixf" alias="LoadTransposeMatrixfARB"> - <param name="m" type="const GLfloat *"/> - </function> - - <function name="LoadTransposeMatrixd" alias="LoadTransposeMatrixdARB"> - <param name="m" type="const GLdouble *"/> - </function> - - <function name="MultTransposeMatrixf" alias="MultTransposeMatrixfARB"> - <param name="m" type="const GLfloat *"/> - </function> - - <function name="MultTransposeMatrixd" alias="MultTransposeMatrixdARB"> - <param name="m" type="const GLdouble *"/> - </function> - - <function name="SampleCoverage" alias="SampleCoverageARB"> - <param name="value" type="GLclampf"/> - <param name="invert" type="GLboolean"/> - </function> - - <function name="CompressedTexImage3D" alias="CompressedTexImage3DARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="imageSize" type="GLsizei"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="CompressedTexImage2D" alias="CompressedTexImage2DARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="imageSize" type="GLsizei"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="CompressedTexImage1D" alias="CompressedTexImage1DARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="imageSize" type="GLsizei"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="CompressedTexSubImage3D" alias="CompressedTexSubImage3DARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="imageSize" type="GLsizei"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="CompressedTexSubImage2D" alias="CompressedTexSubImage2DARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="imageSize" type="GLsizei"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="CompressedTexSubImage1D" alias="CompressedTexSubImage1DARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="imageSize" type="GLsizei"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="GetCompressedTexImage" alias="GetCompressedTexImageARB"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="img" type="GLvoid *" output="true"/> - </function> -</category> - -<category name="1.4"> - <enum name="BLEND_DST_RGB" count="1" value="0x80C8"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND_SRC_RGB" count="1" value="0x80C9"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND_DST_ALPHA" count="1" value="0x80CA"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND_SRC_ALPHA" count="1" value="0x80CB"> - <size name="Get" mode="get"/> - </enum> - <enum name="POINT_SIZE_MIN" count="1" value="0x8126"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_SIZE_MAX" count="1" value="0x8127"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_FADE_THRESHOLD_SIZE" count="1" value="0x8128"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_DISTANCE_ATTENUATION" count="3" value="0x8129"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="GENERATE_MIPMAP" count="1" value="0x8191"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="GENERATE_MIPMAP_HINT" value="0x8192"/> - <enum name="DEPTH_COMPONENT16" value="0x81A5"/> - <enum name="DEPTH_COMPONENT24" value="0x81A6"/> - <enum name="DEPTH_COMPONENT32" value="0x81A7"/> - <enum name="MIRRORED_REPEAT" value="0x8370"/> - <enum name="FOG_COORDINATE_SOURCE" count="1" value="0x8450"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORDINATE" value="0x8451"/> - <enum name="FRAGMENT_DEPTH" value="0x8452"/> - <enum name="CURRENT_FOG_COORDINATE" count="1" value="0x8453"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORDINATE_ARRAY_TYPE" count="1" value="0x8454"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORDINATE_ARRAY_STRIDE" count="1" value="0x8455"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORDINATE_ARRAY_POINTER" value="0x8456"/> - <enum name="FOG_COORDINATE_ARRAY" count="1" value="0x8457"> - <size name="Get" mode="get"/> - </enum> - <enum name="COLOR_SUM" value="0x8458"/> - <enum name="CURRENT_SECONDARY_COLOR" count="4" value="0x8459"> - <size name="Get" mode="get"/> - </enum> - <enum name="SECONDARY_COLOR_ARRAY_SIZE" count="1" value="0x845A"> - <size name="Get" mode="get"/> - </enum> - <enum name="SECONDARY_COLOR_ARRAY_TYPE" count="1" value="0x845B"> - <size name="Get" mode="get"/> - </enum> - <enum name="SECONDARY_COLOR_ARRAY_STRIDE" count="1" value="0x845C"> - <size name="Get" mode="get"/> - </enum> - <enum name="SECONDARY_COLOR_ARRAY_POINTER" value="0x845D"/> - <enum name="SECONDARY_COLOR_ARRAY" count="1" value="0x845E"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_LOD_BIAS" count="1" value="0x84FD"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_FILTER_CONTROL" value="0x8500"/> - <enum name="TEXTURE_LOD_BIAS" count="1" value="0x8501"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="INCR_WRAP" value="0x8507"/> - <enum name="DECR_WRAP" value="0x8508"/> - <enum name="TEXTURE_DEPTH_SIZE" count="1" value="0x884A"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="DEPTH_TEXTURE_MODE" count="1" value="0x884B"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPARE_MODE" count="1" value="0x884C"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPARE_FUNC" count="1" value="0x884D"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="COMPARE_R_TO_TEXTURE" value="0x884E"/> - - <function name="BlendFuncSeparate" alias="BlendFuncSeparateEXT"> - <param name="sfactorRGB" type="GLenum"/> - <param name="dfactorRGB" type="GLenum"/> - <param name="sfactorAlpha" type="GLenum"/> - <param name="dfactorAlpha" type="GLenum"/> - </function> - - <function name="FogCoordf" alias="FogCoordfEXT"> - <param name="coord" type="GLfloat"/> - </function> - - <function name="FogCoordfv" alias="FogCoordfvEXT"> - <param name="coord" type="const GLfloat *"/> - </function> - - <function name="FogCoordd" alias="FogCoorddEXT"> - <param name="coord" type="GLdouble"/> - </function> - - <function name="FogCoorddv" alias="FogCoorddvEXT"> - <param name="coord" type="const GLdouble *"/> - </function> - - <function name="FogCoordPointer" alias="FogCoordPointerEXT"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - </function> - - <function name="MultiDrawArrays" alias="MultiDrawArraysEXT"> - <param name="mode" type="GLenum"/> - <param name="first" type="GLint *"/> <!-- Spec bug. Should be const. --> - <param name="count" type="GLsizei *"/> <!-- Spec bug. Should be const. --> - <param name="primcount" type="GLsizei"/> - </function> - - <function name="MultiDrawElements" alias="MultiDrawElementsEXT"> - <param name="mode" type="GLenum"/> - <param name="count" type="const GLsizei *"/> - <param name="type" type="GLenum"/> - <param name="indices" type="const GLvoid **"/> - <param name="primcount" type="GLsizei"/> - </function> - - <function name="PointParameterf" alias="PointParameterfEXT"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - </function> - - <function name="PointParameterfv" alias="PointParameterfvEXT"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> - - <function name="PointParameteri" alias="PointParameteriNV"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - </function> - - <function name="PointParameteriv" alias="PointParameterivNV"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - </function> - - <function name="SecondaryColor3b" alias="SecondaryColor3bEXT"> - <param name="red" type="GLbyte"/> - <param name="green" type="GLbyte"/> - <param name="blue" type="GLbyte"/> - </function> - - <function name="SecondaryColor3bv" alias="SecondaryColor3bvEXT"> - <param name="v" type="const GLbyte *"/> - </function> - - <function name="SecondaryColor3d" alias="SecondaryColor3dEXT"> - <param name="red" type="GLdouble"/> - <param name="green" type="GLdouble"/> - <param name="blue" type="GLdouble"/> - </function> - - <function name="SecondaryColor3dv" alias="SecondaryColor3dvEXT"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="SecondaryColor3f" alias="SecondaryColor3fEXT"> - <param name="red" type="GLfloat"/> - <param name="green" type="GLfloat"/> - <param name="blue" type="GLfloat"/> - </function> - - <function name="SecondaryColor3fv" alias="SecondaryColor3fvEXT"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="SecondaryColor3i" alias="SecondaryColor3iEXT"> - <param name="red" type="GLint"/> - <param name="green" type="GLint"/> - <param name="blue" type="GLint"/> - </function> - - <function name="SecondaryColor3iv" alias="SecondaryColor3ivEXT"> - <param name="v" type="const GLint *"/> - </function> - - <function name="SecondaryColor3s" alias="SecondaryColor3sEXT"> - <param name="red" type="GLshort"/> - <param name="green" type="GLshort"/> - <param name="blue" type="GLshort"/> - </function> - - <function name="SecondaryColor3sv" alias="SecondaryColor3svEXT"> - <param name="v" type="const GLshort *"/> - </function> - - <function name="SecondaryColor3ub" alias="SecondaryColor3ubEXT"> - <param name="red" type="GLubyte"/> - <param name="green" type="GLubyte"/> - <param name="blue" type="GLubyte"/> - </function> - - <function name="SecondaryColor3ubv" alias="SecondaryColor3ubvEXT"> - <param name="v" type="const GLubyte *"/> - </function> - - <function name="SecondaryColor3ui" alias="SecondaryColor3uiEXT"> - <param name="red" type="GLuint"/> - <param name="green" type="GLuint"/> - <param name="blue" type="GLuint"/> - </function> - - <function name="SecondaryColor3uiv" alias="SecondaryColor3uivEXT"> - <param name="v" type="const GLuint *"/> - </function> - - <function name="SecondaryColor3us" alias="SecondaryColor3usEXT"> - <param name="red" type="GLushort"/> - <param name="green" type="GLushort"/> - <param name="blue" type="GLushort"/> - </function> - - <function name="SecondaryColor3usv" alias="SecondaryColor3usvEXT"> - <param name="v" type="const GLushort *"/> - </function> - - <function name="SecondaryColorPointer" alias="SecondaryColorPointerEXT"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - </function> - - <function name="WindowPos2d" alias="WindowPos2dMESA"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - </function> - - <function name="WindowPos2dv" alias="WindowPos2dvMESA"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="WindowPos2f" alias="WindowPos2fMESA"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="WindowPos2fv" alias="WindowPos2fvMESA"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="WindowPos2i" alias="WindowPos2iMESA"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - </function> - - <function name="WindowPos2iv" alias="WindowPos2ivMESA"> - <param name="v" type="const GLint *"/> - </function> - - <function name="WindowPos2s" alias="WindowPos2sMESA"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - </function> - - <function name="WindowPos2sv" alias="WindowPos2svMESA"> - <param name="v" type="const GLshort *"/> - </function> - - <function name="WindowPos3d" alias="WindowPos3dMESA"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - </function> - - <function name="WindowPos3dv" alias="WindowPos3dvMESA"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="WindowPos3f" alias="WindowPos3fMESA"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="WindowPos3fv" alias="WindowPos3fvMESA"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="WindowPos3i" alias="WindowPos3iMESA"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - </function> - - <function name="WindowPos3iv" alias="WindowPos3ivMESA"> - <param name="v" type="const GLint *"/> - </function> - - <function name="WindowPos3s" alias="WindowPos3sMESA"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - </function> - - <function name="WindowPos3sv" alias="WindowPos3svMESA"> - <param name="v" type="const GLshort *"/> - </function> -</category> - -<category name="1.5"> - <enum name="BUFFER_SIZE" value="0x8764"/> - <enum name="BUFFER_USAGE" value="0x8765"/> - <enum name="QUERY_COUNTER_BITS" value="0x8864"/> - <enum name="CURRENT_QUERY" value="0x8865"/> - <enum name="QUERY_RESULT" value="0x8866"/> - <enum name="QUERY_RESULT_AVAILABLE" value="0x8867"/> - <enum name="ARRAY_BUFFER" value="0x8892"/> - <enum name="ELEMENT_ARRAY_BUFFER" value="0x8893"/> - <enum name="ARRAY_BUFFER_BINDING" value="0x8894"/> - <enum name="ELEMENT_ARRAY_BUFFER_BINDING" value="0x8895"/> - <enum name="VERTEX_ARRAY_BUFFER_BINDING" value="0x8896"/> - <enum name="NORMAL_ARRAY_BUFFER_BINDING" value="0x8897"/> - <enum name="COLOR_ARRAY_BUFFER_BINDING" value="0x8898"/> - <enum name="INDEX_ARRAY_BUFFER_BINDING" value="0x8899"/> - <enum name="TEXTURE_COORD_ARRAY_BUFFER_BINDING" value="0x889A"/> - <enum name="EDGE_FLAG_ARRAY_BUFFER_BINDING" value="0x889B"/> - <enum name="SECONDARY_COLOR_ARRAY_BUFFER_BINDING" value="0x889C"/> - <enum name="FOG_COORDINATE_ARRAY_BUFFER_BINDING" value="0x889D"/> - <enum name="WEIGHT_ARRAY_BUFFER_BINDING" value="0x889E"/> - <enum name="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING" value="0x889F"/> - <enum name="READ_ONLY" value="0x88B8"/> - <enum name="WRITE_ONLY" value="0x88B9"/> - <enum name="READ_WRITE" value="0x88BA"/> - <enum name="BUFFER_ACCESS" value="0x88BB"/> - <enum name="BUFFER_MAPPED" value="0x88BC"/> - <enum name="BUFFER_MAP_POINTER" value="0x88BD"/> - <enum name="STREAM_DRAW" value="0x88E0"/> - <enum name="STREAM_READ" value="0x88E1"/> - <enum name="STREAM_COPY" value="0x88E2"/> - <enum name="STATIC_DRAW" value="0x88E4"/> - <enum name="STATIC_READ" value="0x88E5"/> - <enum name="STATIC_COPY" value="0x88E6"/> - <enum name="DYNAMIC_DRAW" value="0x88E8"/> - <enum name="DYNAMIC_READ" value="0x88E9"/> - <enum name="DYNAMIC_COPY" value="0x88EA"/> - <enum name="SAMPLES_PASSED" count="1" value="0x8914"/> - <enum name="FOG_COORD_SRC" value="0x8450"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORD" value="0x8451"/> - <enum name="CURRENT_FOG_COORD" count="1" value="0x8453"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORD_ARRAY_TYPE" count="1" value="0x8454"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORD_ARRAY_STRIDE" count="1" value="0x8455"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORD_ARRAY_POINTER" value="0x8456"/> - <enum name="FOG_COORD_ARRAY" count="1" value="0x8457"> - <size name="Get" mode="get"/> - </enum> - <enum name="FOG_COORD_ARRAY_BUFFER_BINDING" value="0x889D"/> - <enum name="SRC0_RGB" value="0x8580"/> - <enum name="SRC1_RGB" value="0x8581"/> - <enum name="SRC2_RGB" value="0x8582"/> - <enum name="SRC0_ALPHA" value="0x8588"/> - <enum name="SRC1_ALPHA" value="0x8589"/> - <enum name="SRC2_ALPHA" value="0x858A"/> - - <type name="intptr" size="4" glx_name="CARD32"/> - <type name="sizeiptr" size="4" unsigned="true" glx_name="CARD32"/> - - <function name="BindBuffer" alias="BindBufferARB"> - <param name="target" type="GLenum"/> - <param name="buffer" type="GLuint"/> - </function> - - <function name="BufferData" alias="BufferDataARB"> - <param name="target" type="GLenum"/> - <param name="size" type="GLsizeiptr"/> - <param name="data" type="const GLvoid *"/> - <param name="usage" type="GLenum"/> - </function> - - <function name="BufferSubData" alias="BufferSubDataARB"> - <param name="target" type="GLenum"/> - <param name="offset" type="GLintptr"/> - <param name="size" type="GLsizeiptr"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="DeleteBuffers" alias="DeleteBuffersARB"> - <param name="n" type="GLsizei"/> - <param name="buffer" type="const GLuint *"/> - </function> - - <function name="GenBuffers" alias="GenBuffersARB"> - <param name="n" type="GLsizei" counter="true"/> - <param name="buffer" type="GLuint *" output="true" count="n"/> - </function> - - <function name="GetBufferParameteriv" alias="GetBufferParameterivARB"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - </function> - - <function name="GetBufferPointerv" alias="GetBufferPointervARB"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLvoid **" output="true"/> - </function> - - <function name="GetBufferSubData" alias="GetBufferSubDataARB"> - <param name="target" type="GLenum"/> - <param name="offset" type="GLintptr"/> - <param name="size" type="GLsizeiptr"/> - <param name="data" type="GLvoid *" output="true"/> - </function> - - <function name="IsBuffer" alias="IsBufferARB"> - <param name="buffer" type="GLuint"/> - <return type="GLboolean"/> - </function> - - <function name="MapBuffer" alias="MapBufferARB"> - <param name="target" type="GLenum"/> - <param name="access" type="GLenum"/> - <return type="GLvoid *"/> - </function> - - <function name="UnmapBuffer" alias="UnmapBufferARB"> - <param name="target" type="GLenum"/> - <return type="GLboolean"/> - </function> - - <function name="GenQueries" alias="GenQueriesARB"> - <param name="n" type="GLsizei" counter="true"/> - <param name="ids" type="GLuint *" output="true" count="n"/> - </function> - - <function name="DeleteQueries" alias="DeleteQueriesARB"> - <param name="n" type="GLsizei"/> - <param name="ids" type="const GLuint *"/> - </function> - - <function name="IsQuery" alias="IsQueryARB"> - <param name="id" type="GLuint"/> - <return type="GLboolean"/> - </function> - - <function name="BeginQuery" alias="BeginQueryARB"> - <param name="target" type="GLenum"/> - <param name="id" type="GLuint"/> - </function> - - <function name="EndQuery" alias="EndQueryARB"> - <param name="target" type="GLenum"/> - </function> - - <function name="GetQueryiv" alias="GetQueryivARB"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - </function> - - <function name="GetQueryObjectiv" alias="GetQueryObjectivARB"> - <param name="id" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - </function> - - <function name="GetQueryObjectuiv" alias="GetQueryObjectuivARB"> - <param name="id" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLuint *" output="true" variable_param="pname"/> - </function> -</category> - - -<category name="2.0"> - <!-- XXX this section is very much incomplete!!! --> - <!-- These function offsets may change too!!! --> - - <enum name="POINT_SPRITE_COORD_ORIGIN" count="1" value="0x8CA0"> - <size name="PointParameterfvEXT"/> - <size name="PointParameterivNV"/> - </enum> - - <function name="StencilFuncSeparate" offset="813"> - <param name="face" type="GLenum"/> - <param name="func" type="GLenum"/> - <param name="ref" type="GLint"/> - <param name="mask" type="GLuint"/> - </function> - - <function name="StencilOpSeparate" offset="814"> - <param name="face" type="GLenum"/> - <param name="fail" type="GLenum"/> - <param name="zfail" type="GLenum"/> - <param name="zpass" type="GLenum"/> - </function> - - <function name="StencilMaskSeparate" offset="815"> - <param name="face" type="GLenum"/> - <param name="mask" type="GLuint"/> - </function> -</category> - - -<!-- ARB extensions sorted by extension number. --> - -<category name="GL_ARB_multitexture" number="1"> - <enum name="TEXTURE0_ARB" value="0x84C0"/> - <enum name="TEXTURE1_ARB" value="0x84C1"/> - <enum name="TEXTURE2_ARB" value="0x84C2"/> - <enum name="TEXTURE3_ARB" value="0x84C3"/> - <enum name="TEXTURE4_ARB" value="0x84C4"/> - <enum name="TEXTURE5_ARB" value="0x84C5"/> - <enum name="TEXTURE6_ARB" value="0x84C6"/> - <enum name="TEXTURE7_ARB" value="0x84C7"/> - <enum name="TEXTURE8_ARB" value="0x84C8"/> - <enum name="TEXTURE9_ARB" value="0x84C9"/> - <enum name="TEXTURE10_ARB" value="0x84CA"/> - <enum name="TEXTURE11_ARB" value="0x84CB"/> - <enum name="TEXTURE12_ARB" value="0x84CC"/> - <enum name="TEXTURE13_ARB" value="0x84CD"/> - <enum name="TEXTURE14_ARB" value="0x84CE"/> - <enum name="TEXTURE15_ARB" value="0x84CF"/> - <enum name="TEXTURE16_ARB" value="0x84D0"/> - <enum name="TEXTURE17_ARB" value="0x84D1"/> - <enum name="TEXTURE18_ARB" value="0x84D2"/> - <enum name="TEXTURE19_ARB" value="0x84D3"/> - <enum name="TEXTURE20_ARB" value="0x84D4"/> - <enum name="TEXTURE21_ARB" value="0x84D5"/> - <enum name="TEXTURE22_ARB" value="0x84D6"/> - <enum name="TEXTURE23_ARB" value="0x84D7"/> - <enum name="TEXTURE24_ARB" value="0x84D8"/> - <enum name="TEXTURE25_ARB" value="0x84D9"/> - <enum name="TEXTURE26_ARB" value="0x84DA"/> - <enum name="TEXTURE27_ARB" value="0x84DB"/> - <enum name="TEXTURE28_ARB" value="0x84DC"/> - <enum name="TEXTURE29_ARB" value="0x84DD"/> - <enum name="TEXTURE30_ARB" value="0x84DE"/> - <enum name="TEXTURE31_ARB" value="0x84DF"/> - <enum name="ACTIVE_TEXTURE_ARB" count="1" value="0x84E0"> - <size name="Get" mode="get"/> - </enum> - <enum name="CLIENT_ACTIVE_TEXTURE_ARB" count="1" value="0x84E1"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_UNITS_ARB" count="1" value="0x84E2"> - <size name="Get" mode="get"/> - </enum> - - <function name="ActiveTextureARB" offset="374"> - <param name="texture" type="GLenum"/> - <glx rop="197"/> - </function> - - <function name="ClientActiveTextureARB" offset="375"> - <param name="texture" type="GLenum"/> - <glx handcode="true"/> - </function> - - <function name="MultiTexCoord1dARB" offset="376" vectorequiv="MultiTexCoord1dvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - </function> - - <function name="MultiTexCoord1dvARB" offset="377"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *" count="1"/> - <glx rop="198"/> - </function> - - <function name="MultiTexCoord1fARB" offset="378" vectorequiv="MultiTexCoord1fvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - </function> - - <function name="MultiTexCoord1fvARB" offset="379"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *" count="1"/> - <glx rop="199"/> - </function> - - <function name="MultiTexCoord1iARB" offset="380" vectorequiv="MultiTexCoord1ivARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - </function> - - <function name="MultiTexCoord1ivARB" offset="381"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *" count="1"/> - <glx rop="200"/> - </function> - - <function name="MultiTexCoord1sARB" offset="382" vectorequiv="MultiTexCoord1svARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - </function> - - <function name="MultiTexCoord1svARB" offset="383"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *" count="1"/> - <glx rop="201"/> - </function> - - <function name="MultiTexCoord2dARB" offset="384" vectorequiv="MultiTexCoord2dvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - </function> - - <function name="MultiTexCoord2dvARB" offset="385"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *" count="2"/> - <glx rop="202"/> - </function> - - <function name="MultiTexCoord2fARB" offset="386" vectorequiv="MultiTexCoord2fvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - </function> - - <function name="MultiTexCoord2fvARB" offset="387"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *" count="2"/> - <glx rop="203"/> - </function> - - <function name="MultiTexCoord2iARB" offset="388" vectorequiv="MultiTexCoord2ivARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - </function> - - <function name="MultiTexCoord2ivARB" offset="389"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *" count="2"/> - <glx rop="204"/> - </function> - - <function name="MultiTexCoord2sARB" offset="390" vectorequiv="MultiTexCoord2svARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - </function> - - <function name="MultiTexCoord2svARB" offset="391"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *" count="2"/> - <glx rop="205"/> - </function> - - <function name="MultiTexCoord3dARB" offset="392" vectorequiv="MultiTexCoord3dvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - <param name="r" type="GLdouble"/> - </function> - - <function name="MultiTexCoord3dvARB" offset="393"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="206"/> - </function> - - <function name="MultiTexCoord3fARB" offset="394" vectorequiv="MultiTexCoord3fvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - </function> - - <function name="MultiTexCoord3fvARB" offset="395"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="207"/> - </function> - - <function name="MultiTexCoord3iARB" offset="396" vectorequiv="MultiTexCoord3ivARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - <param name="r" type="GLint"/> - </function> - - <function name="MultiTexCoord3ivARB" offset="397"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *" count="3"/> - <glx rop="208"/> - </function> - - <function name="MultiTexCoord3sARB" offset="398" vectorequiv="MultiTexCoord3svARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - <param name="r" type="GLshort"/> - </function> - - <function name="MultiTexCoord3svARB" offset="399"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="209"/> - </function> - - <function name="MultiTexCoord4dARB" offset="400" vectorequiv="MultiTexCoord4dvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLdouble"/> - <param name="t" type="GLdouble"/> - <param name="r" type="GLdouble"/> - <param name="q" type="GLdouble"/> - </function> - - <function name="MultiTexCoord4dvARB" offset="401"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="210"/> - </function> - - <function name="MultiTexCoord4fARB" offset="402" vectorequiv="MultiTexCoord4fvARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="q" type="GLfloat"/> - </function> - - <function name="MultiTexCoord4fvARB" offset="403"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="211"/> - </function> - - <function name="MultiTexCoord4iARB" offset="404" vectorequiv="MultiTexCoord4ivARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLint"/> - <param name="t" type="GLint"/> - <param name="r" type="GLint"/> - <param name="q" type="GLint"/> - </function> - - <function name="MultiTexCoord4ivARB" offset="405"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLint *" count="4"/> - <glx rop="212"/> - </function> - - <function name="MultiTexCoord4sARB" offset="406" vectorequiv="MultiTexCoord4svARB"> - <param name="target" type="GLenum"/> - <param name="s" type="GLshort"/> - <param name="t" type="GLshort"/> - <param name="r" type="GLshort"/> - <param name="q" type="GLshort"/> - </function> - - <function name="MultiTexCoord4svARB" offset="407"> - <param name="target" type="GLenum"/> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="213"/> - </function> -</category> - -<!-- ARB extension number 2 is a GLX extension. --> - -<category name="GL_ARB_transpose_matrix" number="3"> - <enum name="TRANSPOSE_MODELVIEW_MATRIX_ARB" value="0x84E3"/> - <enum name="TRANSPOSE_PROJECTION_MATRIX_ARB" value="0x84E4"/> - <enum name="TRANSPOSE_TEXTURE_MATRIX_ARB" value="0x84E5"/> - <enum name="TRANSPOSE_COLOR_MATRIX_ARB" value="0x84E6"/> - - <function name="LoadTransposeMatrixfARB" offset="408"> - <param name="m" type="const GLfloat *"/> - <glx handcode="true"/> - </function> - - <function name="LoadTransposeMatrixdARB" offset="409"> - <param name="m" type="const GLdouble *"/> - <glx handcode="true"/> - </function> - - <function name="MultTransposeMatrixfARB" offset="410"> - <param name="m" type="const GLfloat *"/> - <glx handcode="true"/> - </function> - - <function name="MultTransposeMatrixdARB" offset="411"> - <param name="m" type="const GLdouble *"/> - <glx handcode="true"/> - </function> -</category> - -<!-- ARB extension number 4 is a WGL extension. --> - -<category name="GL_ARB_multisample" number="5"> - <enum name="MULTISAMPLE_ARB" count="1" value="0x809D"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_ALPHA_TO_COVERAGE_ARB" count="1" value="0x809E"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_ALPHA_TO_ONE_ARB" count="1" value="0x809F"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_COVERAGE_ARB" count="1" value="0x80A0"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_BUFFERS_ARB" count="1" value="0x80A8"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLES_ARB" count="1" value="0x80A9"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_COVERAGE_VALUE_ARB" count="1" value="0x80AA"> - <size name="Get" mode="get"/> - </enum> - <enum name="SAMPLE_COVERAGE_INVERT_ARB" count="1" value="0x80AB"> - <size name="Get" mode="get"/> - </enum> - <enum name="MULTISAMPLE_BIT_ARB" value="0x20000000"/> - - <function name="SampleCoverageARB" offset="412"> - <param name="value" type="GLclampf"/> - <param name="invert" type="GLboolean"/> - <glx rop="229"/> - </function> -</category> - -<category name="GL_ARB_texture_env_add" number="6"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_ARB_texture_cube_map" number="7"> - <enum name="NORMAL_MAP_ARB" value="0x8511"/> - <enum name="REFLECTION_MAP_ARB" value="0x8512"/> - <enum name="TEXTURE_CUBE_MAP_ARB" count="1" value="0x8513"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_CUBE_MAP_ARB" count="1" value="0x8514"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_CUBE_MAP_POSITIVE_X_ARB" value="0x8515"/> - <enum name="TEXTURE_CUBE_MAP_NEGATIVE_X_ARB" value="0x8516"/> - <enum name="TEXTURE_CUBE_MAP_POSITIVE_Y_ARB" value="0x8517"/> - <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB" value="0x8518"/> - <enum name="TEXTURE_CUBE_MAP_POSITIVE_Z_ARB" value="0x8519"/> - <enum name="TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB" value="0x851A"/> - <enum name="PROXY_TEXTURE_CUBE_MAP_ARB" value="0x851B"/> - <enum name="MAX_CUBE_MAP_TEXTURE_SIZE_ARB" count="1" value="0x851C"> - <size name="Get" mode="get"/> - </enum> -</category> - -<!-- ARB extension number 8 is a WGL extension. --> -<!-- ARB extension number 9 is a WGL extension. --> -<!-- ARB extension number 10 is a WGL extension. --> -<!-- ARB extension number 11 is a WGL extension. --> - -<category name="GL_ARB_texture_compression" number="12"> - <enum name="COMPRESSED_ALPHA_ARB" value="0x84E9"/> - <enum name="COMPRESSED_LUMINANCE_ARB" value="0x84EA"/> - <enum name="COMPRESSED_LUMINANCE_ALPHA_ARB" value="0x84EB"/> - <enum name="COMPRESSED_INTENSITY_ARB" value="0x84EC"/> - <enum name="COMPRESSED_RGB_ARB" value="0x84ED"/> - <enum name="COMPRESSED_RGBA_ARB" value="0x84EE"/> - <enum name="TEXTURE_COMPRESSION_HINT_ARB" count="1" value="0x84EF"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COMPRESSED_IMAGE_SIZE_ARB" count="1" value="0x86A0"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPRESSED_ARB" count="1" value="0x86A1"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="NUM_TEXTURE_COMPRESSED_FORMATS_ARB" count="1" value="0x86A2"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_COMPRESSED_FORMATS_ARB" value="0x86A3"/> - - <function name="CompressedTexImage3DARB" offset="554"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="imageSize" type="GLsizei" counter="true"/> - <param name="data" type="const GLvoid *" count="imageSize"/> - <glx rop="216" handcode="client"/> - </function> - - <function name="CompressedTexImage2DARB" offset="555"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="imageSize" type="GLsizei" counter="true"/> - <param name="data" type="const GLvoid *" count="imageSize"/> - <glx rop="215" handcode="client"/> - </function> - - <function name="CompressedTexImage1DARB" offset="556"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="imageSize" type="GLsizei" counter="true"/> - <param name="data" type="const GLvoid *" count="imageSize"/> - <glx rop="214" handcode="client"/> - </function> - - <function name="CompressedTexSubImage3DARB" offset="557"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="imageSize" type="GLsizei" counter="true"/> - <param name="data" type="const GLvoid *" count="imageSize"/> - <glx rop="219" handcode="client"/> - </function> - - <function name="CompressedTexSubImage2DARB" offset="558"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="imageSize" type="GLsizei" counter="true"/> - <param name="data" type="const GLvoid *" count="imageSize"/> - <glx rop="218" handcode="client"/> - </function> - - <function name="CompressedTexSubImage1DARB" offset="559"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="imageSize" type="GLsizei" counter="true"/> - <param name="data" type="const GLvoid *" count="imageSize"/> - <glx rop="217" handcode="client"/> - </function> - - <function name="GetCompressedTexImageARB" offset="560"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="img" type="GLvoid *" output="true"/> - - <!-- This has to be hand coded because the image size is in the - "wrong" place. Technically, this should be a - 'always_array="true"' case. The size field in the reply would - be at offset 12. However, the size is actually at offset 16. - This is where the 'width' is in a GetTexImage reply. --> - <glx sop="160" handcode="true"/> - </function> -</category> - -<category name="GL_ARB_texture_border_clamp" number="13"> - <enum name="CLAMP_TO_BORDER_ARB" value="0x812D"/> -</category> - -<category name="GL_ARB_point_parameters" number="14"> - <enum name="POINT_SIZE_MIN_ARB" count="1" value="0x8126"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_SIZE_MAX_ARB" count="1" value="0x8127"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_FADE_THRESHOLD_SIZE_ARB" count="1" value="0x8128"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_DISTANCE_ATTENUATION_ARB" count="3" value="0x8129"> - <size name="PointParameterfvEXT"/> - </enum> - - <function name="PointParameterfARB" alias="PointParameterfEXT"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="2065"/> - </function> - - <function name="PointParameterfvARB" alias="PointParameterfvEXT"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="2066"/> - </function> -</category> - -<category name="GL_ARB_vertex_blend" number="15"> - <enum name="MAX_VERTEX_UNITS_ARB" count="1" value="0x86A4"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACTIVE_VERTEX_UNITS_ARB" count="1" value="0x86A5"> - <size name="Get" mode="get"/> - </enum> - <enum name="WEIGHT_SUM_UNITY_ARB" count="1" value="0x86A6"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_BLEND_ARB" count="1" value="0x86A7"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_WEIGHT_ARB" count="1" value="0x86A8"> - <size name="Get" mode="get"/> - </enum> - <enum name="WEIGHT_ARRAY_TYPE_ARB" count="1" value="0x86A9"> - <size name="Get" mode="get"/> - </enum> - <enum name="WEIGHT_ARRAY_STRIDE_ARB" count="1" value="0x86AA"> - <size name="Get" mode="get"/> - </enum> - <enum name="WEIGHT_ARRAY_SIZE_ARB" count="1" value="0x86AB"> - <size name="Get" mode="get"/> - </enum> - <enum name="WEIGHT_ARRAY_POINTER_ARB" value="0x86AC"/> - <enum name="WEIGHT_ARRAY_ARB" count="1" value="0x86AD"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW0_ARB" count="16" value="0x1700"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW1_ARB" count="16" value="0x850A"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW2_ARB" count="16" value="0x8722"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW3_ARB" count="16" value="0x8723"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW4_ARB" count="16" value="0x8724"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW5_ARB" count="16" value="0x8725"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW6_ARB" count="16" value="0x8726"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW7_ARB" count="16" value="0x8727"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW8_ARB" count="16" value="0x8728"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW9_ARB" count="16" value="0x8729"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW10_ARB" count="16" value="0x872A"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW11_ARB" count="16" value="0x872B"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW12_ARB" count="16" value="0x872C"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW13_ARB" count="16" value="0x872D"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW14_ARB" count="16" value="0x872E"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW15_ARB" count="16" value="0x872F"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW16_ARB" count="16" value="0x8730"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW17_ARB" count="16" value="0x8731"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW18_ARB" count="16" value="0x8732"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW19_ARB" count="16" value="0x8733"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW20_ARB" count="16" value="0x8734"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW21_ARB" count="16" value="0x8735"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW22_ARB" count="16" value="0x8736"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW23_ARB" count="16" value="0x8737"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW24_ARB" count="16" value="0x8738"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW25_ARB" count="16" value="0x8739"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW26_ARB" count="16" value="0x873A"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW27_ARB" count="16" value="0x873B"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW28_ARB" count="16" value="0x873C"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW29_ARB" count="16" value="0x873D"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW30_ARB" count="16" value="0x873E"> - <size name="Get" mode="get"/> - </enum> - <enum name="MODELVIEW31_ARB" count="16" value="0x873F"> - <size name="Get" mode="get"/> - </enum> - - <function name="WeightbvARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLbyte *"/> - </function> - - <function name="WeightsvARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLshort *"/> - </function> - - <function name="WeightivARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLint *"/> - </function> - - <function name="WeightfvARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLfloat *"/> - </function> - - <function name="WeightdvARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLdouble *"/> - </function> - - <function name="WeightubvARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLubyte *"/> - </function> - - <function name="WeightusvARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLushort *"/> - </function> - - <function name="WeightuivARB" offset="?"> - <param name="size" type="GLint"/> - <param name="weights" type="const GLuint *"/> - </function> - - <function name="WeightPointerARB" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="VertexBlendARB" offset="?"> - <param name="count" type="GLint"/> - </function> -</category> - -<category name="GL_ARB_matrix_palette" number="16"> - <enum name="MATRIX_PALETTE_ARB" count="1" value="0x8840"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_MATRIX_PALETTE_STACK_DEPTH_ARB" count="1" value="0x8841"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_PALETTE_MATRICES_ARB" count="1" value="0x8842"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_PALETTE_MATRIX_ARB" count="1" value="0x8843"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX_INDEX_ARRAY_ARB" count="1" value="0x8844"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_MATRIX_INDEX_ARB" count="1" value="0x8845"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX_INDEX_ARRAY_SIZE_ARB" count="1" value="0x8846"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX_INDEX_ARRAY_TYPE_ARB" count="1" value="0x8847"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX_INDEX_ARRAY_STRIDE_ARB" count="1" value="0x8848"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX_INDEX_ARRAY_POINTER_ARB" value="0x8849"/> - - <function name="CurrentPaletteMatrixARB" offset="?"> - <param name="index" type="GLint"/> - <glx ignore="true" rop="4329"/> - </function> - - <function name="MatrixIndexubvARB" offset="?"> - <param name="size" type="GLint" counter="true"/> - <param name="indices" type="const GLubyte *" count="size"/> - <glx ignore="true" rop="4326"/> - </function> - - <function name="MatrixIndexusvARB" offset="?"> - <param name="size" type="GLint" counter="true"/> - <param name="indices" type="const GLushort *" count="size"/> - <glx ignore="true" rop="4327"/> - </function> - - <function name="MatrixIndexuivARB" offset="?"> - <param name="size" type="GLint" counter="true"/> - <param name="indices" type="const GLuint *" count="size"/> - <glx ignore="true" rop="4328"/> - </function> - - <function name="MatrixIndexPointerARB" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> -</category> - -<category name="GL_ARB_texture_env_combine" number="17"> - <enum name="COMBINE_ARB" value="0x8570"/> - <enum name="COMBINE_RGB_ARB" value="0x8571"/> - <enum name="COMBINE_ALPHA_ARB" value="0x8572"/> - <enum name="SOURCE0_RGB_ARB" value="0x8580"/> - <enum name="SOURCE1_RGB_ARB" value="0x8581"/> - <enum name="SOURCE2_RGB_ARB" value="0x8582"/> - <enum name="SOURCE0_ALPHA_ARB" value="0x8588"/> - <enum name="SOURCE1_ALPHA_ARB" value="0x8589"/> - <enum name="SOURCE2_ALPHA_ARB" value="0x858A"/> - <enum name="OPERAND0_RGB_ARB" value="0x8590"/> - <enum name="OPERAND1_RGB_ARB" value="0x8591"/> - <enum name="OPERAND2_RGB_ARB" value="0x8592"/> - <enum name="OPERAND0_ALPHA_ARB" value="0x8598"/> - <enum name="OPERAND1_ALPHA_ARB" value="0x8599"/> - <enum name="OPERAND2_ALPHA_ARB" value="0x859A"/> - <enum name="RGB_SCALE_ARB" value="0x8573"/> - <enum name="ADD_SIGNED_ARB" value="0x8574"/> - <enum name="INTERPOLATE_ARB" value="0x8575"/> - <enum name="SUBTRACT_ARB" value="0x84E7"/> - <enum name="CONSTANT_ARB" value="0x8576"/> - <enum name="PRIMARY_COLOR_ARB" value="0x8577"/> - <enum name="PREVIOUS_ARB" value="0x8578"/> -</category> - -<category name="GL_ARB_texture_env_crossbar" number="18"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_ARB_texture_env_dot3" number="19"> - <enum name="DOT3_RGB_ARB" value="0x86AE"/> - <enum name="DOT3_RGBA_ARB" value="0x86AF"/> -</category> - -<!-- ARB extension number 20 is a WGL extension. --> - -<category name="GL_ARB_texture_mirrored_repeat" number="21"> - <enum name="MIRRORED_REPEAT_ARB" value="0x8370"/> -</category> - -<category name="GL_ARB_depth_texture" number="22"> - <enum name="DEPTH_COMPONENT16_ARB" value="0x81A5"/> - <enum name="DEPTH_COMPONENT24_ARB" value="0x81A6"/> - <enum name="DEPTH_COMPONENT32_ARB" value="0x81A7"/> - <enum name="TEXTURE_DEPTH_SIZE_ARB" count="1" value="0x884A"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="DEPTH_TEXTURE_MODE_ARB" count="1" value="0x884B"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<category name="GL_ARB_shadow" number="23"> - <enum name="TEXTURE_COMPARE_MODE_ARB" count="1" value="0x884C"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPARE_FUNC_ARB" count="1" value="0x884D"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="COMPARE_R_TO_TEXTURE_ARB" value="0x884E"/> -</category> - -<category name="GL_ARB_shadow_ambient" number="24"> - <enum name="TEXTURE_COMPARE_FAIL_VALUE_ARB" count="1" value="0x80BF"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<category name="GL_ARB_window_pos" number="25"> - <function name="WindowPos2dARB" alias="WindowPos2dMESA"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - </function> - - <function name="WindowPos2fARB" alias="WindowPos2fMESA"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="WindowPos2iARB" alias="WindowPos2iMESA"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - </function> - - <function name="WindowPos2sARB" alias="WindowPos2sMESA"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - </function> - - <function name="WindowPos2dvARB" alias="WindowPos2dvMESA"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="WindowPos2fvARB" alias="WindowPos2fvMESA"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="WindowPos2ivARB" alias="WindowPos2ivMESA"> - <param name="v" type="const GLint *"/> - </function> - - <function name="WindowPos2svARB" alias="WindowPos2svMESA"> - <param name="v" type="const GLshort *"/> - </function> - - <function name="WindowPos3dARB" alias="WindowPos3dMESA"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - </function> - - <function name="WindowPos3fARB" alias="WindowPos3fMESA"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="WindowPos3iARB" alias="WindowPos3iMESA"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - </function> - - <function name="WindowPos3sARB" alias="WindowPos3sMESA"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - </function> - - <function name="WindowPos3dvARB" alias="WindowPos3dvMESA"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="WindowPos3fvARB" alias="WindowPos3fvMESA"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="WindowPos3ivARB" alias="WindowPos3ivMESA"> - <param name="v" type="const GLint *"/> - </function> - - <function name="WindowPos3svARB" alias="WindowPos3svMESA"> - <param name="v" type="const GLshort *"/> - </function> -</category> - -<category name="GL_ARB_vertex_program" number="26"> - <enum name="COLOR_SUM_ARB" count="1" value="0x8458"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_PROGRAM_ARB" count="1" value="0x8620"> - <size name="GetVertexAttribdvARB" mode="get"/> - <size name="GetVertexAttribfvARB" mode="get"/> - <size name="GetVertexAttribivARB" mode="get"/> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ATTRIB_ARRAY_ENABLED_ARB" count="1" value="0x8622"> - <size name="GetVertexAttribdvARB" mode="get"/> - <size name="GetVertexAttribfvARB" mode="get"/> - <size name="GetVertexAttribivARB" mode="get"/> - </enum> - <enum name="VERTEX_ATTRIB_ARRAY_SIZE_ARB" count="1" value="0x8623"> - <size name="GetVertexAttribdvARB" mode="get"/> - <size name="GetVertexAttribfvARB" mode="get"/> - <size name="GetVertexAttribivARB" mode="get"/> - </enum> - <enum name="VERTEX_ATTRIB_ARRAY_STRIDE_ARB" count="1" value="0x8624"> - <size name="GetVertexAttribdvARB" mode="get"/> - <size name="GetVertexAttribfvARB" mode="get"/> - <size name="GetVertexAttribivARB" mode="get"/> - </enum> - <enum name="VERTEX_ATTRIB_ARRAY_TYPE_ARB" count="1" value="0x8625"> - <size name="GetVertexAttribdvARB" mode="get"/> - <size name="GetVertexAttribfvARB" mode="get"/> - <size name="GetVertexAttribivARB" mode="get"/> - </enum> - <enum name="CURRENT_VERTEX_ATTRIB_ARB" count="1" value="0x8626"> - <size name="GetVertexAttribdvARB" mode="get"/> - <size name="GetVertexAttribfvARB" mode="get"/> - <size name="GetVertexAttribivARB" mode="get"/> - </enum> - <enum name="PROGRAM_LENGTH_ARB" count="1" value="0x8627"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_STRING_ARB" value="0x8628"/> - <enum name="MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB" count="1" value="0x862E"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_MATRICES_ARB" count="1" value="0x862F"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_MATRIX_STACK_DEPTH_ARB" count="1" value="0x8640"> - <size name="Get" mode="get"/> - </enum> - <enum name="CURRENT_MATRIX_ARB" count="16" value="0x8641"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_PROGRAM_POINT_SIZE_ARB" count="1" value="0x8642"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_PROGRAM_TWO_SIDE_ARB" count="1" value="0x8643"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ATTRIB_ARRAY_POINTER_ARB" value="0x8645"/> - <enum name="PROGRAM_ERROR_POSITION_ARB" count="1" value="0x864B"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROGRAM_BINDING_ARB" count="1" value="0x8677"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_VERTEX_ATTRIBS_ARB" count="1" value="0x8869"> - <size name="Get" mode="get"/> - </enum> - <enum name="VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB" value="0x886A"/> - <enum name="PROGRAM_ERROR_STRING_ARB" value="0x8874"/> - <enum name="PROGRAM_FORMAT_ASCII_ARB" value="0x8875"/> - <enum name="PROGRAM_FORMAT_ARB" count="1" value="0x8876"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_INSTRUCTIONS_ARB" count="1" value="0x88A0"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_INSTRUCTIONS_ARB" count="1" value="0x88A1"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_INSTRUCTIONS_ARB" count="1" value="0x88A2"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB" count="1" value="0x88A3"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_TEMPORARIES_ARB" count="1" value="0x88A4"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_TEMPORARIES_ARB" count="1" value="0x88A5"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_TEMPORARIES_ARB" count="1" value="0x88A6"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_TEMPORARIES_ARB" count="1" value="0x88A7"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_PARAMETERS_ARB" count="1" value="0x88A8"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_PARAMETERS_ARB" count="1" value="0x88A9"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_PARAMETERS_ARB" count="1" value="0x88AA"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_PARAMETERS_ARB" count="1" value="0x88AB"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_ATTRIBS_ARB" count="1" value="0x88AC"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_ATTRIBS_ARB" count="1" value="0x88AD"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_ATTRIBS_ARB" count="1" value="0x88AE"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_ATTRIBS_ARB" count="1" value="0x88AF"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_ADDRESS_REGISTERS_ARB" count="1" value="0x88B0"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_ADDRESS_REGISTERS_ARB" count="1" value="0x88B1"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB" count="1" value="0x88B2"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB" count="1" value="0x88B3"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_LOCAL_PARAMETERS_ARB" count="1" value="0x88B4"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_ENV_PARAMETERS_ARB" count="1" value="0x88B5"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_UNDER_NATIVE_LIMITS_ARB" count="1" value="0x88B6"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="TRANSPOSE_CURRENT_MATRIX_ARB" count="16" value="0x88B7"> - <size name="Get" mode="get"/> - </enum> - <enum name="MATRIX0_ARB" value="0x88C0"/> - <enum name="MATRIX1_ARB" value="0x88C1"/> - <enum name="MATRIX2_ARB" value="0x88C2"/> - <enum name="MATRIX3_ARB" value="0x88C3"/> - <enum name="MATRIX4_ARB" value="0x88C4"/> - <enum name="MATRIX5_ARB" value="0x88C5"/> - <enum name="MATRIX6_ARB" value="0x88C6"/> - <enum name="MATRIX7_ARB" value="0x88C7"/> - <enum name="MATRIX8_ARB" value="0x88C8"/> - <enum name="MATRIX9_ARB" value="0x88C9"/> - <enum name="MATRIX10_ARB" value="0x88CA"/> - <enum name="MATRIX11_ARB" value="0x88CB"/> - <enum name="MATRIX12_ARB" value="0x88CC"/> - <enum name="MATRIX13_ARB" value="0x88CD"/> - <enum name="MATRIX14_ARB" value="0x88CE"/> - <enum name="MATRIX15_ARB" value="0x88CF"/> - <enum name="MATRIX16_ARB" value="0x88D0"/> - <enum name="MATRIX17_ARB" value="0x88D1"/> - <enum name="MATRIX18_ARB" value="0x88D2"/> - <enum name="MATRIX19_ARB" value="0x88D3"/> - <enum name="MATRIX20_ARB" value="0x88D4"/> - <enum name="MATRIX21_ARB" value="0x88D5"/> - <enum name="MATRIX22_ARB" value="0x88D6"/> - <enum name="MATRIX23_ARB" value="0x88D7"/> - <enum name="MATRIX24_ARB" value="0x88D8"/> - <enum name="MATRIX25_ARB" value="0x88D9"/> - <enum name="MATRIX26_ARB" value="0x88DA"/> - <enum name="MATRIX27_ARB" value="0x88DB"/> - <enum name="MATRIX28_ARB" value="0x88DC"/> - <enum name="MATRIX29_ARB" value="0x88DD"/> - <enum name="MATRIX30_ARB" value="0x88DE"/> - <enum name="MATRIX31_ARB" value="0x88DF"/> - - <function name="GetVertexAttribdvARB" offset="588"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLdouble *" output="true" variable_param="pname"/> - <glx handcode="client" vendorpriv="1301"/> - </function> - - <function name="GetVertexAttribfvARB" offset="589"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx handcode="client" vendorpriv="1302"/> - </function> - - <function name="GetVertexAttribivARB" offset="590"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx handcode="client" vendorpriv="1303"/> - </function> - - <function name="VertexAttrib1dARB" offset="603" vectorequiv="VertexAttrib1dvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - </function> - - <function name="VertexAttrib1dvARB" offset="604"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="1"/> - <glx rop="4197"/> - </function> - - <function name="VertexAttrib1fARB" offset="605" vectorequiv="VertexAttrib1fvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - </function> - - <function name="VertexAttrib1fvARB" offset="606"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="1"/> - <glx rop="4193"/> - </function> - - <function name="VertexAttrib1sARB" offset="607" vectorequiv="VertexAttrib1svARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - </function> - - <function name="VertexAttrib1svARB" offset="608"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="1"/> - <glx rop="4189"/> - </function> - - <function name="VertexAttrib2dARB" offset="609" vectorequiv="VertexAttrib2dvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - </function> - - <function name="VertexAttrib2dvARB" offset="610"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="2"/> - <glx rop="4198"/> - </function> - - <function name="VertexAttrib2fARB" offset="611" vectorequiv="VertexAttrib2fvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="VertexAttrib2fvARB" offset="612"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="2"/> - <glx rop="4194"/> - </function> - - <function name="VertexAttrib2sARB" offset="613" vectorequiv="VertexAttrib2svARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - </function> - - <function name="VertexAttrib2svARB" offset="614"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="2"/> - <glx rop="4190"/> - </function> - - <function name="VertexAttrib3dARB" offset="615" vectorequiv="VertexAttrib3dvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - </function> - - <function name="VertexAttrib3dvARB" offset="616"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="4199"/> - </function> - - <function name="VertexAttrib3fARB" offset="617" vectorequiv="VertexAttrib3fvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="VertexAttrib3fvARB" offset="618"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="4195"/> - </function> - - <function name="VertexAttrib3sARB" offset="619" vectorequiv="VertexAttrib3svARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - </function> - - <function name="VertexAttrib3svARB" offset="620"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="4191"/> - </function> - - <function name="VertexAttrib4dARB" offset="621" vectorequiv="VertexAttrib4dvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="VertexAttrib4dvARB" offset="622"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="4200"/> - </function> - - <function name="VertexAttrib4fARB" offset="623" vectorequiv="VertexAttrib4fvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="VertexAttrib4fvARB" offset="624"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="4196"/> - </function> - - <function name="VertexAttrib4sARB" offset="625" vectorequiv="VertexAttrib4svARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - <param name="w" type="GLshort"/> - </function> - - <function name="VertexAttrib4svARB" offset="626"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="4192"/> - </function> - - <function name="VertexAttrib4NubARB" offset="627" vectorequiv="VertexAttrib4NubvARB"> - <param name="index" type="GLuint"/> - <param name="x" type="GLubyte"/> - <param name="y" type="GLubyte"/> - <param name="z" type="GLubyte"/> - <param name="w" type="GLubyte"/> - </function> - - <function name="VertexAttrib4NubvARB" offset="628"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLubyte *" count="4"/> - <glx rop="4201"/> - </function> - - <function name="VertexAttrib4bvARB" offset="654"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLbyte *" count="4"/> - <glx rop="4230"/> - </function> - - <function name="VertexAttrib4ivARB" offset="655"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLint *" count="4"/> - <glx rop="4231"/> - </function> - - <function name="VertexAttrib4ubvARB" offset="656"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLubyte *" count="4"/> - <glx rop="4232"/> - </function> - - <function name="VertexAttrib4usvARB" offset="657"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLushort *" count="4"/> - <glx rop="4233"/> - </function> - - <function name="VertexAttrib4uivARB" offset="658"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLuint *" count="4"/> - <glx rop="4234"/> - </function> - - <function name="VertexAttrib4NbvARB" offset="659"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLbyte *" count="4"/> - <glx rop="4235"/> - </function> - - <function name="VertexAttrib4NsvARB" offset="660"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="4236"/> - </function> - - <function name="VertexAttrib4NivARB" offset="661"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLint *" count="4"/> - <glx rop="4237"/> - </function> - - <function name="VertexAttrib4NusvARB" offset="662"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLushort *" count="4"/> - <glx rop="4238"/> - </function> - - <function name="VertexAttrib4NuivARB" offset="663"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLuint *" count="4"/> - <glx rop="4239"/> - </function> - - <function name="VertexAttribPointerARB" offset="664"> - <param name="index" type="GLuint"/> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="normalized" type="GLboolean"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="EnableVertexAttribArrayARB" offset="665"> - <param name="index" type="GLuint"/> - <glx handcode="true"/> - </function> - - <function name="DisableVertexAttribArrayARB" offset="666"> - <param name="index" type="GLuint"/> - <glx handcode="true"/> - </function> - - <function name="ProgramStringARB" offset="667"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="string" type="const GLvoid *" count="len"/> - <glx rop="4217" large="true"/> - </function> - - <function name="BindProgramARB" alias="BindProgramNV"> - <param name="target" type="GLenum"/> - <param name="program" type="GLuint"/> - </function> - - <function name="DeleteProgramsARB" alias="DeleteProgramsNV"> - <param name="n" type="GLsizei"/> - <param name="programs" type="const GLuint *"/> - </function> - - <function name="GenProgramsARB" alias="GenProgramsNV"> - <param name="n" type="GLsizei" counter="true"/> - <param name="programs" type="GLuint *" output="true" count="n"/> - </function> - - <function name="IsProgramARB" alias="IsProgramNV"> - <param name="program" type="GLuint"/> - <return type="GLboolean"/> - </function> - - <function name="ProgramEnvParameter4dARB" offset="668" vectorequiv="ProgramEnvParameter4dvARB"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="ProgramEnvParameter4dvARB" offset="669"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="const GLdouble *" count="4"/> - <glx rop="4185" doubles_in_order="true"/> - </function> - - <function name="ProgramEnvParameter4fARB" offset="670" vectorequiv="ProgramEnvParameter4fvARB"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="ProgramEnvParameter4fvARB" offset="671"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="const GLfloat *" count="4"/> - <glx rop="4184"/> - </function> - - <function name="ProgramLocalParameter4dARB" offset="672" vectorequiv="ProgramLocalParameter4dvARB"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="ProgramLocalParameter4dvARB" offset="673"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="const GLdouble *" count="4"/> - <glx rop="4216" doubles_in_order="true"/> - </function> - - <function name="ProgramLocalParameter4fARB" offset="674" vectorequiv="ProgramLocalParameter4fvARB"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="ProgramLocalParameter4fvARB" offset="675"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="const GLfloat *" count="4"/> - <glx rop="4215"/> - </function> - - <!-- The GetProgramEnvParameter[df]vARB are handcoded because there - is an extra CARD32 of padding after the "index" field. Originally, - GetProgranEnvParameter[df]vARB and GetProgramParameter[df]vNV - shared the same GLX protocol. The pad field was where the pname - parameter was in the NV functions. When this error was discovered - and fixed, there was already at least one implementation of - GLX protocol for ARB_vertex_program, but there were no - implementations of NV_vertex_program. The sollution was to renumber - the opcodes for NV_vertex_program and convert the unused field in - the ARB_vertex_program protocol to unused padding. - --> - - <function name="GetProgramEnvParameterdvARB" offset="676"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="GLdouble *" output="true" count="4"/> - <glx vendorpriv="1297" handcode="client" doubles_in_order="true"/> - </function> - - <function name="GetProgramEnvParameterfvARB" offset="677"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="GLfloat *" output="true" count="4"/> - <glx vendorpriv="1296" handcode="client"/> - </function> - - <function name="GetProgramLocalParameterdvARB" offset="678"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="GLdouble *" output="true" count="4"/> - <glx vendorpriv="1306" handcode="client" doubles_in_order="true"/> - </function> - - <function name="GetProgramLocalParameterfvARB" offset="679"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="GLfloat *" output="true" count="4"/> - <glx vendorpriv="1305" handcode="client"/> - </function> - - - <function name="GetProgramivARB" offset="680"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="1307"/> - </function> - - <function name="GetProgramStringARB" offset="681"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="string" type="GLvoid *" output="true"/> - <glx vendorpriv="1308" handcode="server" always_array="true"/> - </function> - - <function name="GetVertexAttribPointervARB" alias="GetVertexAttribPointervNV"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLvoid **" output="true"/> - </function> -</category> - -<category name="GL_ARB_fragment_program" number="27"> - <enum name="FRAGMENT_PROGRAM_ARB" count="1" value="0x8804"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROGRAM_ALU_INSTRUCTIONS_ARB" count="1" value="0x8805"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_TEX_INSTRUCTIONS_ARB" count="1" value="0x8806"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_TEX_INDIRECTIONS_ARB" count="1" value="0x8807"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB" count="1" value="0x8808"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB" count="1" value="0x8809"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB" count="1" value="0x880A"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_ALU_INSTRUCTIONS_ARB" count="1" value="0x880B"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_TEX_INSTRUCTIONS_ARB" count="1" value="0x880C"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_TEX_INDIRECTIONS_ARB" count="1" value="0x880D"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB" count="1" value="0x880E"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB" count="1" value="0x880F"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB" count="1" value="0x8810"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_COORDS_ARB" count="1" value="0x8871"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_IMAGE_UNITS_ARB" count="1" value="0x8872"> - <size name="GetProgramivARB" mode="get"/> - </enum> -</category> - -<category name="GL_ARB_vertex_buffer_object" number="28"> - <enum name="BUFFER_SIZE_ARB" value="0x8764"/> - <enum name="BUFFER_USAGE_ARB" value="0x8765"/> - <enum name="ARRAY_BUFFER_ARB" value="0x8892"/> - <enum name="ELEMENT_ARRAY_BUFFER_ARB" value="0x8893"/> - <enum name="ARRAY_BUFFER_BINDING_ARB" value="0x8894"/> - <enum name="ELEMENT_ARRAY_BUFFER_BINDING_ARB" value="0x8895"/> - <enum name="VERTEX_ARRAY_BUFFER_BINDING_ARB" value="0x8896"/> - <enum name="NORMAL_ARRAY_BUFFER_BINDING_ARB" value="0x8897"/> - <enum name="COLOR_ARRAY_BUFFER_BINDING_ARB" value="0x8898"/> - <enum name="INDEX_ARRAY_BUFFER_BINDING_ARB" value="0x8899"/> - <enum name="TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB" value="0x889A"/> - <enum name="EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB" value="0x889B"/> - <enum name="SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB" value="0x889C"/> - <enum name="FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB" value="0x889D"/> - <enum name="WEIGHT_ARRAY_BUFFER_BINDING_ARB" value="0x889E"/> - <enum name="VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB" value="0x889F"/> - <enum name="READ_ONLY_ARB" value="0x88B8"/> - <enum name="WRITE_ONLY_ARB" value="0x88B9"/> - <enum name="READ_WRITE_ARB" value="0x88BA"/> - <enum name="BUFFER_ACCESS_ARB" value="0x88BB"/> - <enum name="BUFFER_MAPPED_ARB" value="0x88BC"/> - <enum name="BUFFER_MAP_POINTER_ARB" value="0x88BD"/> - <enum name="STREAM_DRAW_ARB" value="0x88E0"/> - <enum name="STREAM_READ_ARB" value="0x88E1"/> - <enum name="STREAM_COPY_ARB" value="0x88E2"/> - <enum name="STATIC_DRAW_ARB" value="0x88E4"/> - <enum name="STATIC_READ_ARB" value="0x88E5"/> - <enum name="STATIC_COPY_ARB" value="0x88E6"/> - <enum name="DYNAMIC_DRAW_ARB" value="0x88E8"/> - <enum name="DYNAMIC_READ_ARB" value="0x88E9"/> - <enum name="DYNAMIC_COPY_ARB" value="0x88EA"/> - - <type name="intptrARB" size="4"/> - <type name="sizeiptrARB" unsigned="true" size="4"/> - - <function name="BindBufferARB" offset="688"> - <param name="target" type="GLenum"/> - <param name="buffer" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="BufferDataARB" offset="689"> - <param name="target" type="GLenum"/> - <param name="size" type="GLsizeiptrARB"/> - <param name="data" type="const GLvoid *"/> - <param name="usage" type="GLenum"/> - <glx ignore="true"/> - </function> - - <function name="BufferSubDataARB" offset="690"> - <param name="target" type="GLenum"/> - <param name="offset" type="GLintptrARB"/> - <param name="size" type="GLsizeiptrARB"/> - <param name="data" type="const GLvoid *"/> - <glx ignore="true"/> - </function> - - <function name="DeleteBuffersARB" offset="691"> - <param name="n" type="GLsizei"/> - <param name="buffer" type="const GLuint *"/> - <glx ignore="true"/> - </function> - - <function name="GenBuffersARB" offset="692"> - <param name="n" type="GLsizei" counter="true"/> - <param name="buffer" type="GLuint *" output="true" count="n"/> - <glx ignore="true"/> - </function> - - <function name="GetBufferParameterivARB" offset="693"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetBufferPointervARB" offset="694"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLvoid **" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetBufferSubDataARB" offset="695"> - <param name="target" type="GLenum"/> - <param name="offset" type="GLintptrARB"/> - <param name="size" type="GLsizeiptrARB"/> - <param name="data" type="GLvoid *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="IsBufferARB" offset="696"> - <param name="buffer" type="GLuint"/> - <return type="GLboolean"/> - <glx ignore="true"/> - </function> - - <function name="MapBufferARB" offset="697"> - <param name="target" type="GLenum"/> - <param name="access" type="GLenum"/> - <return type="GLvoid *"/> - <glx ignore="true"/> - </function> - - <function name="UnmapBufferARB" offset="698"> - <param name="target" type="GLenum"/> - <return type="GLboolean"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_ARB_occlusion_query" number="29"> - <enum name="QUERY_COUNTER_BITS_ARB" count="1" value="0x8864"> - <size name="GetQueryivARB" mode="get"/> - </enum> - <enum name="CURRENT_QUERY_ARB" count="1" value="0x8865"> - <size name="GetQueryivARB" mode="get"/> - </enum> - <enum name="QUERY_RESULT_ARB" count="1" value="0x8866"> - <size name="GetQueryObjectivARB" mode="get"/> - <size name="GetQueryObjectuivARB" mode="get"/> - </enum> - <enum name="QUERY_RESULT_AVAILABLE_ARB" count="1" value="0x8867"> - <size name="GetQueryObjectivARB" mode="get"/> - <size name="GetQueryObjectuivARB" mode="get"/> - </enum> - <enum name="SAMPLES_PASSED_ARB" value="0x8914"/> - - <function name="GenQueriesARB" offset="700"> - <param name="n" type="GLsizei" counter="true"/> - <param name="ids" type="GLuint *" output="true" count="n"/> - <glx sop="162" always_array="true"/> - </function> - - <function name="DeleteQueriesARB" offset="701"> - <param name="n" type="GLsizei" counter="true"/> - <param name="ids" type="const GLuint *" count="n"/> - <glx sop="161"/> - </function> - - <function name="IsQueryARB" offset="702"> - <param name="id" type="GLuint"/> - <return type="GLboolean"/> - <glx sop="163"/> - </function> - - <function name="BeginQueryARB" offset="703"> - <param name="target" type="GLenum"/> - <param name="id" type="GLuint"/> - <glx rop="231"/> - </function> - - <function name="EndQueryARB" offset="704"> - <param name="target" type="GLenum"/> - <glx rop="232"/> - </function> - - <function name="GetQueryivARB" offset="705"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="164"/> - </function> - - <function name="GetQueryObjectivARB" offset="706"> - <param name="id" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx sop="165"/> - </function> - - <function name="GetQueryObjectuivARB" offset="707"> - <param name="id" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLuint *" output="true" variable_param="pname"/> - <glx sop="166"/> - </function> -</category> - -<category name="GL_ARB_shader_objects" number="30"> - <enum name="PROGRAM_OBJECT_ARB" value="0x8B40"/> - <enum name="SHADER_OBJECT_ARB" value="0x8B48"/> - <enum name="OBJECT_TYPE_ARB" value="0x8B4E"/> - <enum name="OBJECT_SUBTYPE_ARB" value="0x8B4F"/> - <enum name="FLOAT_VEC2_ARB" value="0x8B50"/> - <enum name="FLOAT_VEC3_ARB" value="0x8B51"/> - <enum name="FLOAT_VEC4_ARB" value="0x8B52"/> - <enum name="INT_VEC2_ARB" value="0x8B53"/> - <enum name="INT_VEC3_ARB" value="0x8B54"/> - <enum name="INT_VEC4_ARB" value="0x8B55"/> - <enum name="BOOL_ARB" value="0x8B56"/> - <enum name="BOOL_VEC2_ARB" value="0x8B57"/> - <enum name="BOOL_VEC3_ARB" value="0x8B58"/> - <enum name="BOOL_VEC4_ARB" value="0x8B59"/> - <enum name="FLOAT_MAT2_ARB" value="0x8B5A"/> - <enum name="FLOAT_MAT3_ARB" value="0x8B5B"/> - <enum name="FLOAT_MAT4_ARB" value="0x8B5C"/> - <enum name="OBJECT_DELETE_STATUS_ARB" value="0x8B80"/> - <enum name="OBJECT_COMPILE_STATUS_ARB" value="0x8B81"/> - <enum name="OBJECT_LINK_STATUS_ARB" value="0x8B82"/> - <enum name="OBJECT_VALIDATE_STATUS_ARB" value="0x8B83"/> - <enum name="OBJECT_INFO_LOG_LENGTH_ARB" value="0x8B84"/> - <enum name="OBJECT_ATTACHED_OBJECTS_ARB" value="0x8B85"/> - <enum name="OBJECT_ACTIVE_UNIFORMS_ARB" value="0x8B86"/> - <enum name="OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB" value="0x8B87"/> - <enum name="OBJECT_SHADER_SOURCE_LENGTH_ARB" value="0x8B88"/> - - <type name="charARB" size="1" glx_name="CARD8"/> - <type name="handleARB" size="4" glx_name="CARD32"/> - - <function name="DeleteObjectARB" offset="711"> - <param name="obj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="GetHandleARB" offset="712"> - <param name="pname" type="GLenum"/> - <return type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="DetachObjectARB" offset="713"> - <param name="containerObj" type="GLhandleARB"/> - <param name="attachedObj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="CreateShaderObjectARB" offset="714"> - <param name="shaderType" type="GLenum"/> - <return type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="ShaderSourceARB" offset="715"> - <param name="shaderObj" type="GLhandleARB"/> - <param name="count" type="GLsizei"/> - <param name="string" type="const GLcharARB **"/> - <param name="length" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="CompileShaderARB" offset="716"> - <param name="shaderObj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="CreateProgramObjectARB" offset="717"> - <return type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="AttachObjectARB" offset="718"> - <param name="containerObj" type="GLhandleARB"/> - <param name="obj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="LinkProgramARB" offset="719"> - <param name="programObj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="UseProgramObjectARB" offset="720"> - <param name="programObj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="ValidateProgramARB" offset="721"> - <param name="programObj" type="GLhandleARB"/> - <glx ignore="true"/> - </function> - - <function name="Uniform1fARB" offset="722"> - <param name="location" type="GLint"/> - <param name="v0" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="Uniform2fARB" offset="723"> - <param name="location" type="GLint"/> - <param name="v0" type="GLfloat"/> - <param name="v1" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="Uniform3fARB" offset="724"> - <param name="location" type="GLint"/> - <param name="v0" type="GLfloat"/> - <param name="v1" type="GLfloat"/> - <param name="v2" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="Uniform4fARB" offset="725"> - <param name="location" type="GLint"/> - <param name="v0" type="GLfloat"/> - <param name="v1" type="GLfloat"/> - <param name="v2" type="GLfloat"/> - <param name="v3" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="Uniform1iARB" offset="726"> - <param name="location" type="GLint"/> - <param name="v0" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="Uniform2iARB" offset="727"> - <param name="location" type="GLint"/> - <param name="v0" type="GLint"/> - <param name="v1" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="Uniform3iARB" offset="728"> - <param name="location" type="GLint"/> - <param name="v0" type="GLint"/> - <param name="v1" type="GLint"/> - <param name="v2" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="Uniform4iARB" offset="729"> - <param name="location" type="GLint"/> - <param name="v0" type="GLint"/> - <param name="v1" type="GLint"/> - <param name="v2" type="GLint"/> - <param name="v3" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="Uniform1fvARB" offset="730"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform2fvARB" offset="731"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform3fvARB" offset="732"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform4fvARB" offset="733"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform1ivARB" offset="734"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform2ivARB" offset="735"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform3ivARB" offset="736"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="Uniform4ivARB" offset="737"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="value" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="UniformMatrix2fvARB" offset="738"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="UniformMatrix3fvARB" offset="739"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="UniformMatrix4fvARB" offset="740"> - <param name="location" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="transpose" type="GLboolean"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="GetObjectParameterfvARB" offset="741"> - <param name="obj" type="GLhandleARB"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetObjectParameterivARB" offset="742"> - <param name="obj" type="GLhandleARB"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetInfoLogARB" offset="743"> - <param name="obj" type="GLhandleARB"/> - <param name="maxLength" type="GLsizei"/> - <param name="length" type="GLsizei *" output="true"/> - <param name="infoLog" type="GLcharARB *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetAttachedObjectsARB" offset="744"> - <param name="containerObj" type="GLhandleARB"/> - <param name="maxLength" type="GLsizei"/> - <param name="length" type="GLsizei *" output="true"/> - <param name="infoLog" type="GLhandleARB *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetUniformLocationARB" offset="745"> - <param name="programObj" type="GLhandleARB"/> - <param name="name" type="const GLcharARB *"/> - <return type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="GetActiveUniformARB" offset="746"> - <param name="programObj" type="GLhandleARB"/> - <param name="index" type="GLuint"/> - <param name="maxLength" type="GLsizei"/> - <param name="length" type="GLsizei *" output="true"/> - <param name="size" type="GLint *" output="true"/> - <param name="type" type="GLenum *" output="true"/> - <param name="name" type="GLcharARB *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetUniformfvARB" offset="747"> - <param name="programObj" type="GLhandleARB"/> - <param name="location" type="GLint"/> - <param name="params" type="GLfloat *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetUniformivARB" offset="748"> - <param name="programObj" type="GLhandleARB"/> - <param name="location" type="GLint"/> - <param name="params" type="GLint *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetShaderSourceARB" offset="749"> - <param name="obj" type="GLhandleARB"/> - <param name="maxLength" type="GLsizei"/> - <param name="length" type="GLsizei *" output="true"/> - <param name="source" type="GLcharARB *" output="true"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_ARB_vertex_shader" number="31"> - <enum name="VERTEX_SHADER_ARB" value="0x8B31"/> - <enum name="MAX_VERTEX_UNIFORM_COMPONENTS_ARB" value="0x8B4A"/> - <enum name="MAX_VARYING_FLOATS_ARB" value="0x8B4B"/> - <enum name="MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB" value="0x8B4C"/> - <enum name="MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB" value="0x8B4D"/> - <enum name="OBJECT_ACTIVE_ATTRIBUTES_ARB" value="0x8B89"/> - <enum name="OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB" value="0x8B8A"/> - - <function name="BindAttribLocationARB" offset="750"> - <param name="programObj" type="GLhandleARB"/> - <param name="index" type="GLuint"/> - <param name="name" type="const GLcharARB *"/> - <glx ignore="true"/> - </function> - - <function name="GetActiveAttribARB" offset="751"> - <param name="programObj" type="GLhandleARB"/> - <param name="index" type="GLuint"/> - <param name="maxLength" type="GLsizei"/> - <param name="length" type="GLsizei *" output="true"/> - <param name="size" type="GLint *" output="true"/> - <param name="type" type="GLenum *" output="true"/> - <param name="name" type="GLcharARB *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetAttribLocationARB" offset="752"> - <param name="programObj" type="GLhandleARB"/> - <param name="name" type="const GLcharARB *"/> - <return type="GLint"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_ARB_fragment_shader" number="32"> - <enum name="FRAGMENT_SHADER_ARB" value="0x8B30"/> - <enum name="MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB" value="0x8B49"/> -</category> - -<category name="GL_ARB_shading_language_100" number="33"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_ARB_texture_non_power_of_two" number="34"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_ARB_point_sprite" number="35"> - <enum name="POINT_SPRITE_ARB" count="1" value="0x8861"> - <size name="Get" mode="get"/> - </enum> - <enum name="COORD_REPLACE_ARB" count="1" value="0x8862"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> -</category> - -<category name="GL_ARB_fragment_program_shadow" number="36"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_ARB_draw_buffers" number="37"> - <enum name="MAX_DRAW_BUFFERS_ARB" count="1" value="0x8824"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER0_ARB" count="1" value="0x8825"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER1_ARB" count="1" value="0x8826"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER2_ARB" count="1" value="0x8827"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER3_ARB" count="1" value="0x8828"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER4_ARB" count="1" value="0x8829"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER5_ARB" count="1" value="0x882A"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER6_ARB" count="1" value="0x882B"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER7_ARB" count="1" value="0x882C"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER8_ARB" count="1" value="0x882D"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER9_ARB" count="1" value="0x882E"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER10_ARB" count="1" value="0x882F"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER11_ARB" count="1" value="0x8830"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER12_ARB" count="1" value="0x8831"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER13_ARB" count="1" value="0x8832"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER14_ARB" count="1" value="0x8833"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER15_ARB" count="1" value="0x8834"> - <size name="Get" mode="get"/> - </enum> - - <function name="DrawBuffersARB" offset="413"> - <param name="n" type="GLsizei" counter="true"/> - <param name="bufs" type="const GLenum *" count="n"/> - <glx rop="233" large="true"/> - </function> -</category> - -<category name="GL_ARB_texture_rectangle" number="38"> - <enum name="TEXTURE_RECTANGLE_ARB" count="1" value="0x84F5"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_RECTANGLE_ARB" count="1" value="0x84F6"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROXY_TEXTURE_RECTANGLE_ARB" value="0x84F7"/> - <enum name="MAX_RECTANGLE_TEXTURE_SIZE_ARB" count="1" value="0x84F8"> - <size name="Get" mode="get"/> - </enum> -</category> - -<!-- Non-ARB extensions sorted by extension number. --> - -<category name="GL_EXT_blend_color" number="2"> - <enum name="CONSTANT_COLOR_EXT" value="0x8001"/> - <enum name="ONE_MINUS_CONSTANT_COLOR_EXT" value="0x8002"/> - <enum name="CONSTANT_ALPHA_EXT" value="0x8003"/> - <enum name="ONE_MINUS_CONSTANT_ALPHA_EXT" value="0x8004"/> - <enum name="BLEND_COLOR_EXT" count="4" value="0x8005"> - <size name="Get" mode="get"/> - </enum> - - <function name="BlendColorEXT" alias="BlendColor"> - <param name="red" type="GLclampf"/> - <param name="green" type="GLclampf"/> - <param name="blue" type="GLclampf"/> - <param name="alpha" type="GLclampf"/> - </function> -</category> - -<category name="GL_EXT_polygon_offset" number="3"> - <function name="PolygonOffsetEXT" offset="414"> - <param name="factor" type="GLfloat"/> - <param name="bias" type="GLfloat"/> - <glx rop="4098" ignore="true"/> - </function> -</category> - -<category name="GL_EXT_texture" number="4"> - <enum name="ALPHA4_EXT" value="0x803B"/> - <enum name="ALPHA8_EXT" value="0x803C"/> - <enum name="ALPHA12_EXT" value="0x803D"/> - <enum name="ALPHA16_EXT" value="0x803E"/> - <enum name="LUMINANCE4_EXT" value="0x803F"/> - <enum name="LUMINANCE8_EXT" value="0x8040"/> - <enum name="LUMINANCE12_EXT" value="0x8041"/> - <enum name="LUMINANCE16_EXT" value="0x8042"/> - <enum name="LUMINANCE4_ALPHA4_EXT" value="0x8043"/> - <enum name="LUMINANCE6_ALPHA2_EXT" value="0x8044"/> - <enum name="LUMINANCE8_ALPHA8_EXT" value="0x8045"/> - <enum name="LUMINANCE12_ALPHA4_EXT" value="0x8046"/> - <enum name="LUMINANCE12_ALPHA12_EXT" value="0x8047"/> - <enum name="LUMINANCE16_ALPHA16_EXT" value="0x8048"/> - <enum name="INTENSITY_EXT" value="0x8049"/> - <enum name="INTENSITY4_EXT" value="0x804A"/> - <enum name="INTENSITY8_EXT" value="0x804B"/> - <enum name="INTENSITY12_EXT" value="0x804C"/> - <enum name="INTENSITY16_EXT" value="0x804D"/> - <enum name="RGB2_EXT" value="0x804E"/> - <enum name="RGB4_EXT" value="0x804F"/> - <enum name="RGB5_EXT" value="0x8050"/> - <enum name="RGB8_EXT" value="0x8051"/> - <enum name="RGB10_EXT" value="0x8052"/> - <enum name="RGB12_EXT" value="0x8053"/> - <enum name="RGB16_EXT" value="0x8054"/> - <enum name="RGBA2_EXT" value="0x8055"/> - <enum name="RGBA4_EXT" value="0x8056"/> - <enum name="RGB5_A1_EXT" value="0x8057"/> - <enum name="RGBA8_EXT" value="0x8058"/> - <enum name="RGB10_A2_EXT" value="0x8059"/> - <enum name="RGBA12_EXT" value="0x805A"/> - <enum name="RGBA16_EXT" value="0x805B"/> - <enum name="TEXTURE_RED_SIZE_EXT" count="1" value="0x805C"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_GREEN_SIZE_EXT" count="1" value="0x805D"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_BLUE_SIZE_EXT" count="1" value="0x805E"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_ALPHA_SIZE_EXT" count="1" value="0x805F"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_LUMINANCE_SIZE_EXT" count="1" value="0x8060"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_INTENSITY_SIZE_EXT" count="1" value="0x8061"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - <enum name="REPLACE_EXT" value="0x8062"/> - <enum name="PROXY_TEXTURE_1D_EXT" value="0x8063"/> - <enum name="PROXY_TEXTURE_2D_EXT" value="0x8064"/> - <enum name="TEXTURE_TOO_LARGE_EXT" value="0x8065"/> -</category> - -<!-- Extension number 5 is not listed in the extension registry. --> - -<category name="GL_EXT_texture3D" number="6"> - <function name="TexImage3DEXT" alias="TexImage3D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *"/> - </function> - - <function name="TexSubImage3DEXT" alias="TexSubImage3D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *"/> - </function> -</category> - -<category name="GL_SGIS_texture_filter4" number="7"> - <function name="GetTexFilterFuncSGIS" offset="415"> - <param name="target" type="GLenum"/> - <param name="filter" type="GLenum"/> - <param name="weights" type="GLfloat *" output="true"/> - <glx vendorpriv="4101" ignore="true"/> - </function> - - <function name="TexFilterFuncSGIS" offset="416"> - <param name="target" type="GLenum"/> - <param name="filter" type="GLenum"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="weights" type="const GLfloat *" count="n"/> - <glx rop="2064" ignore="true"/> - </function> -</category> - -<!-- Extension number 8 is not listed in the extension registry. --> - -<category name="GL_EXT_subtexture" number="9"> - <function name="TexSubImage1DEXT" alias="TexSubImage1D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *"/> - </function> - - <function name="TexSubImage2DEXT" alias="TexSubImage2D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *"/> - </function> -</category> - -<category name="GL_EXT_copy_texture" number="10"> - <function name="CopyTexImage1DEXT" alias="CopyTexImage1D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="border" type="GLint"/> - </function> - - <function name="CopyTexImage2DEXT" alias="CopyTexImage2D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="border" type="GLint"/> - </function> - - <function name="CopyTexSubImage1DEXT" alias="CopyTexSubImage1D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - </function> - - <function name="CopyTexSubImage2DEXT" alias="CopyTexSubImage2D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - </function> - - <function name="CopyTexSubImage3DEXT" alias="CopyTexSubImage3D"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - </function> -</category> - -<category name="GL_EXT_histogram" number="11"> - <enum name="HISTOGRAM_EXT" value="0x8024"/> - <enum name="PROXY_HISTOGRAM_EXT" value="0x8025"/> - <enum name="HISTOGRAM_WIDTH_EXT" count="1" value="0x8026"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_FORMAT_EXT" count="1" value="0x8027"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_RED_SIZE_EXT" count="1" value="0x8028"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_GREEN_SIZE_EXT" count="1" value="0x8029"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_BLUE_SIZE_EXT" count="1" value="0x802A"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_ALPHA_SIZE_EXT" count="1" value="0x802B"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_LUMINANCE_SIZE_EXT" count="1" value="0x802C"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="HISTOGRAM_SINK_EXT" count="1" value="0x802D"> - <size name="GetHistogramParameterfvEXT" mode="get"/> - <size name="GetHistogramParameterivEXT" mode="get"/> - </enum> - <enum name="MINMAX_EXT" value="0x802E"/> - <enum name="MINMAX_FORMAT_EXT" count="1" value="0x802F"> - <size name="GetMinmaxParameterfvEXT" mode="get"/> - <size name="GetMinmaxParameterivEXT" mode="get"/> - </enum> - <enum name="MINMAX_SINK_EXT" count="1" value="0x8030"> - <size name="GetMinmaxParameterfvEXT" mode="get"/> - <size name="GetMinmaxParameterivEXT" mode="get"/> - </enum> - <enum name="TABLE_TOO_LARGE_EXT" value="0x8031"/> - - <function name="GetHistogramEXT" offset="417"> - <param name="target" type="GLenum"/> - <param name="reset" type="GLboolean"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="values" type="GLvoid *" output="true"/> - <glx vendorpriv="5" handcode="true" ignore="true"/> - </function> - - <function name="GetHistogramParameterfvEXT" offset="418"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx vendorpriv="6" ignore="true"/> - </function> - - <function name="GetHistogramParameterivEXT" offset="419"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="7" ignore="true"/> - </function> - - <function name="GetMinmaxEXT" offset="420"> - <param name="target" type="GLenum"/> - <param name="reset" type="GLboolean"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="values" type="GLvoid *" output="true"/> - <glx vendorpriv="8" handcode="true" ignore="true"/> - </function> - - <function name="GetMinmaxParameterfvEXT" offset="421"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx vendorpriv="9" ignore="true"/> - </function> - - <function name="GetMinmaxParameterivEXT" offset="422"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="10" ignore="true"/> - </function> - - <function name="HistogramEXT" alias="Histogram"> - <param name="target" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="internalformat" type="GLenum"/> - <param name="sink" type="GLboolean"/> - </function> - - <function name="MinmaxEXT" alias="Minmax"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="sink" type="GLboolean"/> - </function> - - <function name="ResetHistogramEXT" alias="ResetHistogram"> - <param name="target" type="GLenum"/> - </function> - - <function name="ResetMinmaxEXT" alias="ResetMinmax"> - <param name="target" type="GLenum"/> - </function> -</category> - -<category name="GL_EXT_convolution" number="12"> - <enum name="CONVOLUTION_BORDER_MODE_EXT" count="1" value="0x8013"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_FILTER_SCALE_EXT" count="4" value="0x8014"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_FILTER_BIAS_EXT" count="4" value="0x8015"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="REDUCE_EXT" value="0x8016"/> - <enum name="CONVOLUTION_FORMAT_EXT" count="1" value="0x8017"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_WIDTH_EXT" count="1" value="0x8018"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="CONVOLUTION_HEIGHT_EXT" count="1" value="0x8019"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> - <enum name="MAX_CONVOLUTION_WIDTH_EXT" count="1" value="0x801A"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_CONVOLUTION_HEIGHT_EXT" count="1" value="0x801B"> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_RED_SCALE_EXT" count="1" value="0x801C"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_GREEN_SCALE_EXT" count="1" value="0x801D"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_BLUE_SCALE_EXT" count="1" value="0x801E"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_ALPHA_SCALE_EXT" count="1" value="0x801F"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_RED_BIAS_EXT" count="1" value="0x8020"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_GREEN_BIAS_EXT" count="1" value="0x8021"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_BLUE_BIAS_EXT" count="1" value="0x8022"> - <size name="Get" mode="get"/> - </enum> - <enum name="POST_CONVOLUTION_ALPHA_BIAS_EXT" count="1" value="0x8023"> - <size name="Get" mode="get"/> - </enum> - - <function name="ConvolutionFilter1DEXT" alias="ConvolutionFilter1D"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="image" type="const GLvoid *"/> - </function> - - <function name="ConvolutionFilter2DEXT" alias="ConvolutionFilter2D"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="image" type="const GLvoid *"/> - </function> - - <function name="ConvolutionParameterfEXT" alias="ConvolutionParameterf"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat"/> - </function> - - <function name="ConvolutionParameterfvEXT" alias="ConvolutionParameterfv"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> - - <function name="ConvolutionParameteriEXT" alias="ConvolutionParameteri"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint"/> - </function> - - <function name="ConvolutionParameterivEXT" alias="ConvolutionParameteriv"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - </function> - - <function name="CopyConvolutionFilter1DEXT" alias="CopyConvolutionFilter1D"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - </function> - - <function name="CopyConvolutionFilter2DEXT" alias="CopyConvolutionFilter2D"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - </function> - - <function name="GetConvolutionFilterEXT" offset="423"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="image" type="GLvoid *" output="true"/> - <glx vendorpriv="1" handcode="true" ignore="true"/> - </function> - - <function name="GetConvolutionParameterfvEXT" offset="424"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx vendorpriv="2" ignore="true"/> - </function> - - <function name="GetConvolutionParameterivEXT" offset="425"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="3" ignore="true"/> - </function> - - <function name="GetSeparableFilterEXT" offset="426"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="row" type="GLvoid *" output="true"/> - <param name="column" type="GLvoid *" output="true"/> - <param name="span" type="GLvoid *" output="true"/> - <glx vendorpriv="4" handcode="true" ignore="true"/> - </function> - - <function name="SeparableFilter2DEXT" alias="SeparableFilter2D"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="row" type="const GLvoid *"/> - <param name="column" type="const GLvoid *"/> - </function> -</category> - -<category name="GL_SGI_color_matrix" number="13"> - <enum name="COLOR_MATRIX_SGI" value="0x80B1"/> - <enum name="COLOR_MATRIX_STACK_DEPTH_SGI" value="0x80B2"/> - <enum name="MAX_COLOR_MATRIX_STACK_DEPTH_SGI" value="0x80B3"/> - <enum name="POST_COLOR_MATRIX_RED_SCALE_SGI" value="0x80B4"/> - <enum name="POST_COLOR_MATRIX_GREEN_SCALE_SGI" value="0x80B5"/> - <enum name="POST_COLOR_MATRIX_BLUE_SCALE_SGI" value="0x80B6"/> - <enum name="POST_COLOR_MATRIX_ALPHA_SCALE_SGI" value="0x80B7"/> - <enum name="POST_COLOR_MATRIX_RED_BIAS_SGI" value="0x80B8"/> - <enum name="POST_COLOR_MATRIX_GREEN_BIAS_SGI" value="0x80B9"/> - <enum name="POST_COLOR_MATRIX_BLUE_BIAS_SGI" value="0x80BA"/> - <enum name="POST_COLOR_MATRIX_ALPHA_BIAS_SGI" value="0x80BB"/> -</category> - -<category name="GL_SGI_color_table" number="14"> - <function name="ColorTableSGI" alias="ColorTable"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="table" type="const GLvoid *"/> - </function> - - <function name="ColorTableParameterfvSGI" alias="ColorTableParameterfv"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> - - <function name="ColorTableParameterivSGI" alias="ColorTableParameteriv"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - </function> - - <function name="CopyColorTableSGI" alias="CopyColorTable"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - </function> - - <function name="GetColorTableSGI" offset="427"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="table" type="GLvoid *" output="true"/> - <glx vendorpriv="4098" handcode="true" ignore="true"/> - </function> - - <function name="GetColorTableParameterfvSGI" offset="428"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx vendorpriv="4099" ignore="true"/> - </function> - - <function name="GetColorTableParameterivSGI" offset="429"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="4100" ignore="true"/> - </function> -</category> - -<category name="GL_SGIS_pixel_texture" number="15"> - <function name="PixelTexGenParameteriSGIS" offset="431"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="PixelTexGenParameterivSGIS" offset="432"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="PixelTexGenParameterfSGIS" offset="433"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="PixelTexGenParameterfvSGIS" offset="434"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="GetPixelTexGenParameterivSGIS" offset="435"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="GetPixelTexGenParameterfvSGIS" offset="436"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_SGIS_texture4D" number="16"> - <function name="TexImage4DSGIS" offset="437"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="size4d" type="GLsizei"/> - <param name="border" type="GLint"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_extent="size4d" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/> - <glx rop="2057" ignore="true"/> - </function> - - <function name="TexSubImage4DSGIS" offset="438"> - <param name="target" type="GLenum"/> - <param name="level" type="GLint"/> - <param name="xoffset" type="GLint"/> - <param name="yoffset" type="GLint"/> - <param name="zoffset" type="GLint"/> - <param name="woffset" type="GLint"/> - <param name="width" type="GLsizei"/> - <param name="height" type="GLsizei"/> - <param name="depth" type="GLsizei"/> - <param name="size4d" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="pixels" type="const GLvoid *" img_width="width" img_height="height" img_depth="depth" img_extent="size4d" img_xoff="xoffset" img_yoff="yoffset" img_zoff="zoffset" img_woff="woffset" img_format="format" img_type="type" img_target="target" img_null_flag="true" img_pad_dimensions="true"/> - <glx rop="2058" ignore="true"/> - </function> -</category> - -<category name="GL_SGI_texture_color_table" number="17"> - <enum name="TEXTURE_COLOR_TABLE_SGI" value="0x80BC"/> - <enum name="PROXY_TEXTURE_COLOR_TABLE_SGI" value="0x80BD"/> -</category> - -<!-- Extension number 19 is not listed in the extension registry. --> - -<category name="GL_EXT_texture_object" number="20"> - <function name="AreTexturesResidentEXT" offset="439"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="const GLuint *" count="n"/> - <param name="residences" type="GLboolean *" output="true" count="n"/> - <return type="GLboolean"/> - <glx vendorpriv="11" always_array="true"/> - </function> - - <function name="BindTextureEXT" alias="BindTexture"> - <param name="target" type="GLenum"/> - <param name="texture" type="GLuint"/> - </function> - - <!-- For GLX, this is wrong. DeleteTexturesEXT and DeleteTextures - do not have the same protocol! - --> - <function name="DeleteTexturesEXT" alias="DeleteTextures"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="const GLuint *" count="n"/> - <glx vendorpriv="12"/> - </function> - - <function name="GenTexturesEXT" offset="440"> - <param name="n" type="GLsizei" counter="true"/> - <param name="textures" type="GLuint *" output="true" count="n"/> - <glx vendorpriv="13" always_array="true"/> - </function> - - <function name="IsTextureEXT" offset="441"> - <param name="texture" type="GLuint"/> - <return type="GLboolean"/> - <glx vendorpriv="14"/> - </function> - - <function name="PrioritizeTexturesEXT" alias="PrioritizeTextures"> - <param name="n" type="GLsizei"/> - <param name="textures" type="const GLuint *"/> - <param name="priorities" type="const GLclampf *"/> - </function> -</category> - -<category name="GL_SGIS_detail_texture" number="21"> - <function name="DetailTexFuncSGIS" offset="442"> - <param name="target" type="GLenum"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="points" type="const GLfloat *" count="n"/> - <glx rop="2051" ignore="true"/> - </function> - - <function name="GetDetailTexFuncSGIS" offset="443"> - <param name="target" type="GLenum"/> - <param name="points" type="GLfloat *" output="true"/> - <glx vendorpriv="4096" ignore="true"/> - </function> -</category> - -<category name="GL_SGIS_sharpen_texture" number="22"> - <function name="SharpenTexFuncSGIS" offset="444"> - <param name="target" type="GLenum"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="points" type="const GLfloat *" count="n" count_scale="2"/> - <glx rop="2052" ignore="true"/> - </function> - - <function name="GetSharpenTexFuncSGIS" offset="445"> - <param name="target" type="GLenum"/> - <param name="points" type="GLfloat *" output="true"/> - <glx vendorpriv="4097" ignore="true"/> - </function> -</category> - -<category name="GL_SGIS_multisample" number="25"> - <function name="SampleMaskSGIS" offset="446"> - <param name="value" type="GLclampf"/> - <param name="invert" type="GLboolean"/> - <glx rop="2048"/> - </function> - - <function name="SamplePatternSGIS" offset="447"> - <param name="pattern" type="GLenum"/> - <glx rop="2049"/> - </function> -</category> - -<!-- Extension number 26 is not listed in the extension registry. --> - -<category name="GL_EXT_rescale_normal" number="27"> - <enum name="RESCALE_NORMAL_EXT" count="1" value="0x803A"> - <size name="Get" mode="get"/> - </enum> -</category> - -<!-- Extension number 28 is a GLX extension. --> -<!-- Extension number 29 is not listed in the extension registry. --> - -<category name="GL_EXT_vertex_array" number="30"> - <function name="ArrayElementEXT" alias="ArrayElement"> - <param name="i" type="GLint"/> - </function> - - <function name="ColorPointerEXT" offset="448"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="DrawArraysEXT" alias="DrawArrays"> - <param name="mode" type="GLenum"/> - <param name="first" type="GLint"/> - <param name="count" type="GLsizei"/> - </function> - - <function name="EdgeFlagPointerEXT" offset="449"> - <param name="stride" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="pointer" type="const GLboolean *"/> - <glx handcode="true"/> - </function> - - <function name="GetPointervEXT" alias="GetPointerv"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLvoid **" output="true"/> - </function> - - <function name="IndexPointerEXT" offset="450"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="NormalPointerEXT" offset="451"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="TexCoordPointerEXT" offset="452"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="VertexPointerEXT" offset="453"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> -</category> - -<category name="GL_SGIS_generate_mipmap" number="32"> - <enum name="GENERATE_MIPMAP_SGIS" count="1" value="0x8191"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="GENERATE_MIPMAP_HINT_SGIS" value="0x8192"/> -</category> - -<category name="GL_SGIX_clipmap" number="33"> - <enum name="LINEAR_CLIPMAP_LINEAR_SGIX" value="0x8170"/> - <enum name="TEXTURE_CLIPMAP_CENTER_SGIX" count="2" value="0x8171"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_CLIPMAP_FRAME_SGIX" count="1" value="0x8172"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_CLIPMAP_OFFSET_SGIX" count="2" value="0x8173"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX" count="3" value="0x8174"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_CLIPMAP_LOD_OFFSET_SGIX" value="0x8175"/> - <enum name="TEXTURE_CLIPMAP_DEPTH_SGIX" value="0x8176"/> - <enum name="MAX_CLIPMAP_DEPTH_SGIX" value="0x8177"/> - <enum name="MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX" value="0x8178"/> - <enum name="NEAREST_CLIPMAP_NEAREST_SGIX" value="0x844D"/> - <enum name="NEAREST_CLIPMAP_LINEAR_SGIX" value="0x844E"/> - <enum name="LINEAR_CLIPMAP_NEAREST_SGIX" value="0x844F"/> -</category> - -<category name="GL_SGIX_shadow" number="34"> - <enum name="TEXTURE_COMPARE_SGIX" count="1" value="0x819A"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_COMPARE_OPERATOR_SGIX" count="1" value="0x819B"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_LEQUAL_R_SGIX" value="0x819C"/> - <enum name="TEXTURE_GEQUAL_R_SGIX" value="0x819D"/> -</category> - -<category name="GL_SGIS_texture_edge_clamp" number="35"> - <enum name="CLAMP_TO_EDGE_SGIS" value="0x812F"/> -</category> - -<category name="GL_SGIS_texture_border_clamp" number="36"> - <enum name="CLAMP_TO_BORDER_SGIS" value="0x812D"/> -</category> - -<category name="GL_EXT_blend_minmax" number="37"> - <enum name="FUNC_ADD_EXT" value="0x8006"/> - <enum name="MIN_EXT" value="0x8007"/> - <enum name="MAX_EXT" value="0x8008"/> - <enum name="BLEND_EQUATION_EXT" count="1" value="0x8009"> - <size name="Get" mode="get"/> - </enum> - - <function name="BlendEquationEXT" alias="BlendEquation"> - <param name="mode" type="GLenum"/> - </function> -</category> - -<category name="GL_EXT_blend_subtract" number="38"> - <enum name="FUNC_SUBTRACT_EXT" value="0x800A"/> - <enum name="FUNC_REVERSE_SUBTRACT_EXT" value="0x800B"/> - - <!-- <function name="BlendEquationEXT" alias="BlendEquation"> - <param name="mode" type="GLenum"/> - </function> --> -</category> - -<!-- Extension number 40 is a GLX extension. --> -<!-- Extension number 41 is a GLX extension. --> -<!-- Extension number 42 is a GLX extension. --> -<!-- Extension number 43 is a GLX extension. --> -<!-- Extension number 44 is a GLX extension. --> -<!-- Extension number 46 is not listed in the extension registry. --> -<!-- Extension number 47 is a GLX extension. --> -<!-- Extension number 48 is not listed in the extension registry. --> -<!-- Extension number 49 is a GLX extension. --> -<!-- Extension number 50 is a GLX extension. --> - -<category name="GL_SGIX_sprite" number="52"> - <function name="SpriteParameterfSGIX" offset="454"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="SpriteParameterfvSGIX" offset="455"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="SpriteParameteriSGIX" offset="456"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="SpriteParameterivSGIX" offset="457"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_point_parameters" number="54"> - <enum name="POINT_SIZE_MIN_EXT" count="1" value="0x8126"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_SIZE_MAX_EXT" count="1" value="0x8127"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_FADE_THRESHOLD_SIZE_EXT" count="1" value="0x8128"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_DISTANCE_ATTENUATION_EXT" count="3" value="0x8129"> - <size name="PointParameterfvEXT"/> - </enum> - - <function name="PointParameterfEXT" offset="458"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="2065"/> - </function> - - <function name="PointParameterfvEXT" offset="459"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="2066"/> - </function> -</category> - -<category name="GL_SGIX_instruments" number="55"> - <function name="GetInstrumentsSGIX" offset="460"> - <return type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="InstrumentsBufferSGIX" offset="461"> - <param name="size" type="GLsizei"/> - <param name="buffer" type="GLint *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="PollInstrumentsSGIX" offset="462"> - <param name="marker_p" type="GLint *" output="true"/> - <return type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="ReadInstrumentsSGIX" offset="463"> - <param name="marker" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="StartInstrumentsSGIX" offset="464"> - <glx ignore="true"/> - </function> - - <function name="StopInstrumentsSGIX" offset="465"> - <param name="marker" type="GLint"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_SGIX_texture_scale_bias" number="56"> - <enum name="POST_TEXTURE_FILTER_BIAS_SGIX" count="4" value="0x8179"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="POST_TEXTURE_FILTER_SCALE_SGIX" count="4" value="0x817A"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="POST_TEXTURE_FILTER_BIAS_RANGE_SGIX" value="0x817B"/> - <enum name="POST_TEXTURE_FILTER_SCALE_RANGE_SGIX" value="0x817C"/> -</category> - -<category name="GL_SGIX_framezoom" number="57"> - <function name="FrameZoomSGIX" offset="466"> - <param name="factor" type="GLint"/> - <glx rop="2072" ignore="true"/> - </function> -</category> - -<category name="GL_SGIX_tag_sample_buffer" number="58"> - <function name="TagSampleBufferSGIX" offset="467"> - <glx rop="2050" ignore="true"/> - </function> -</category> - -<!-- Extension number 59 is not listed in the extension registry. --> - -<category name="GL_SGIX_reference_plane" number="60"> - <function name="ReferencePlaneSGIX" offset="468"> - <param name="equation" type="const GLdouble *" count="4"/> - <glx rop="2071" ignore="true"/> - </function> -</category> - -<category name="GL_SGIX_flush_raster" number="61"> - <function name="FlushRasterSGIX" offset="469"> - <glx vendorpriv="4105" ignore="true"/> - </function> -</category> - -<!-- Extension number 62 is a GLX extension. --> - -<category name="GL_SGIX_depth_texture" number="63"> - <enum name="DEPTH_COMPONENT16_SGIX" value="0x81A5"/> - <enum name="DEPTH_COMPONENT24_SGIX" value="0x81A6"/> - <enum name="DEPTH_COMPONENT32_SGIX" value="0x81A7"/> -</category> - -<category name="GL_SGIS_fog_function" number="64"> - <function name="FogFuncSGIS" offset="?"> - <param name="n" type="GLsizei" counter="true"/> - <param name="points" type="const GLfloat *" count="n" count_scale="2"/> - <glx rop="2067" ignore="true"/> - </function> - - <function name="GetFogFuncSGIS" offset="?"> - <param name="points" type="GLfloat *" output="true"/> - <!-- GLX protocol for this function is unknown. --> - </function> -</category> - -<category name="GL_SGIX_fog_offset" number="65"> - <enum name="FOG_OFFSET_SGIX" value="0x8198"/> - <enum name="FOG_OFFSET_VALUE_SGIX" count="1" value="0x8199"> - <size name="Fogfv"/> - <size name="Fogiv"/> - </enum> -</category> - -<category name="GL_HP_image_transform" number="66"> - <function name="ImageTransformParameteriHP" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - </function> - - <function name="ImageTransformParameterfHP" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - </function> - - <function name="ImageTransformParameterivHP" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - </function> - - <function name="ImageTransformParameterfvHP" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> - - <function name="GetImageTransformParameterivHP" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - </function> - - <function name="GetImageTransformParameterfvHP" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - </function> -</category> - -<category name="GL_HP_convolution_border_modes" number="67"> - <enum name="IGNORE_BORDER_HP" value="0x8150"/> - <enum name="CONSTANT_BORDER_HP" value="0x8151"/> - <enum name="REPLICATE_BORDER_HP" value="0x8153"/> - <enum name="CONVOLUTION_BORDER_COLOR_HP" count="4" value="0x8154"> - <size name="ConvolutionParameterfv"/> - <size name="ConvolutionParameteriv"/> - <size name="GetConvolutionParameterfv" mode="get"/> - <size name="GetConvolutionParameteriv" mode="get"/> - </enum> -</category> - -<!-- Extension number 68 is not listed in the extension registry. --> -<!-- Extension number 70 is not listed in the extension registry. --> -<!-- Extension number 71 is not listed in the extension registry. --> -<!-- Extension number 72 is not listed in the extension registry. --> -<!-- Extension number 73 is not listed in the extension registry. --> - -<category name="GL_EXT_color_subtable" number="74"> - <function name="ColorSubTableEXT" alias="ColorSubTable"> - <param name="target" type="GLenum"/> - <param name="start" type="GLsizei"/> - <param name="count" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="data" type="const GLvoid *"/> - </function> - - <function name="CopyColorSubTableEXT" alias="CopyColorSubTable"> - <param name="target" type="GLenum"/> - <param name="start" type="GLsizei"/> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="width" type="GLsizei"/> - </function> -</category> - -<!-- Extension number 75 is a GLU extension. --> - -<category name="GL_PGI_misc_hints" number="77"> - <function name="HintPGI" offset="544"> - <param name="target" type="GLenum"/> - <param name="mode" type="GLint"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_paletted_texture" number="78"> - <enum name="COLOR_TABLE_FORMAT_EXT" count="1" value="0x80D8"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_WIDTH_EXT" count="1" value="0x80D9"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_RED_SIZE_EXT" count="1" value="0x80DA"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_GREEN_SIZE_EXT" count="1" value="0x80DB"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_BLUE_SIZE_EXT" count="1" value="0x80DC"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_ALPHA_SIZE_EXT" count="1" value="0x80DD"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_LUMINANCE_SIZE_EXT" count="1" value="0x80DE"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="COLOR_TABLE_INTENSITY_SIZE_EXT" count="1" value="0x80DF"> - <size name="GetColorTableParameterfv" mode="get"/> - <size name="GetColorTableParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_INDEX_SIZE_EXT" count="1" value="0x80ED"> - <size name="GetTexLevelParameterfv" mode="get"/> - <size name="GetTexLevelParameteriv" mode="get"/> - </enum> - - <function name="ColorTableEXT" alias="ColorTable"> - <param name="target" type="GLenum"/> - <param name="internalformat" type="GLenum"/> - <param name="width" type="GLsizei"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="table" type="const GLvoid *"/> - </function> - - <function name="GetColorTableEXT" offset="550"> - <param name="target" type="GLenum"/> - <param name="format" type="GLenum"/> - <param name="type" type="GLenum"/> - <param name="data" type="GLvoid *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="GetColorTableParameterivEXT" offset="551"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="GetColorTableParameterfvEXT" offset="552"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_clip_volume_hint" number="79"> - <enum name="CLIP_VOLUME_CLIPPING_HINT_EXT" count="1" value="0x80F0"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_SGIX_list_priority" number="80"> - <function name="GetListParameterfvSGIX" offset="470"> - <param name="list" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="GetListParameterivSGIX" offset="471"> - <param name="list" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="ListParameterfSGIX" offset="472"> - <param name="list" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="ListParameterfvSGIX" offset="473"> - <param name="list" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="ListParameteriSGIX" offset="474"> - <param name="list" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="ListParameterivSGIX" offset="475"> - <param name="list" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - <glx ignore="true"/> - </function> -</category> - -<!-- Extension number 82 is not listed in the extension registry. --> -<!-- Extension number 83 is a GLX extension. --> - -<category name="GL_SGIX_texture_lod_bias" number="84"> - <enum name="TEXTURE_LOD_BIAS_S_SGIX" count="1" value="0x818E"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_LOD_BIAS_T_SGIX" count="1" value="0x818F"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_LOD_BIAS_R_SGIX" count="1" value="0x8190"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<!-- Extension number 85 is a GLU extension. --> -<!-- Extension number 86 is a GLX extension. --> -<!-- Extension number 87 is not listed in the extension registry. --> -<!-- Extension number 88 is not listed in the extension registry. --> -<!-- Extension number 89 is not listed in the extension registry. --> - - -<category name="GL_SGIX_shadow_ambient" number="90"> - <enum name="SHADOW_AMBIENT_SGIX" count="1" value="0x80BF"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<!-- Extension number 91 is a GLX extension. --> -<!-- Extension number 92 is a GLX extension. --> - -<category name="GL_EXT_index_material" number="94"> - <function name="IndexMaterialEXT" offset="538"> - <param name="face" type="GLenum"/> - <param name="mode" type="GLenum"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_index_func" number="95"> - <function name="IndexFuncEXT" offset="539"> - <param name="func" type="GLenum"/> - <param name="ref" type="GLclampf"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_compiled_vertex_array" number="97"> - <function name="LockArraysEXT" offset="540"> - <param name="first" type="GLint"/> - <param name="count" type="GLsizei"/> - <glx handcode="true" ignore="true"/> - </function> - - <function name="UnlockArraysEXT" offset="541"> - <glx handcode="true" ignore="true"/> - </function> -</category> - -<category name="GL_EXT_cull_vertex" number="98"> - <enum name="CULL_VERTEX_EXT" value="0x81AA"/> - <enum name="CULL_VERTEX_OBJECT_POSITION_EXT" count="4" value="0x81AB"> - <size name="CullParameterfv"/> - <size name="CullParameterdv"/> - </enum> - <enum name="CULL_VERTEX_EYE_POSITION_EXT" count="4" value="0x81AC"> - <size name="CullParameterfv"/> - <size name="CullParameterdv"/> - </enum> - - <function name="CullParameterdvEXT" offset="542"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLdouble *"/> <!-- Spec bug. Should be const. --> - <glx ignore="true"/> - </function> - - <function name="CullParameterfvEXT" offset="543"> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *"/> <!-- Spec bug. Should be const. --> - <glx ignore="true"/> - </function> -</category> - -<!-- Extension number 99 is not listed in the extension registry. --> -<!-- Extension number 100 is a GLU extension. --> - -<!-- Shouldn't this be EXT_fragment_lighting? --> -<category name="GL_SGIX_fragment_lighting" number="102"> - <function name="FragmentColorMaterialSGIX" offset="476"> - <param name="face" type="GLenum"/> - <param name="mode" type="GLenum"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightfSGIX" offset="477"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightfvSGIX" offset="478"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightiSGIX" offset="479"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightivSGIX" offset="480"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightModelfSGIX" offset="481"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightModelfvSGIX" offset="482"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightModeliSGIX" offset="483"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="FragmentLightModelivSGIX" offset="484"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="FragmentMaterialfSGIX" offset="485"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="FragmentMaterialfvSGIX" offset="486"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="FragmentMaterialiSGIX" offset="487"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="FragmentMaterialivSGIX" offset="488"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="GetFragmentLightfvSGIX" offset="489"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="GetFragmentLightivSGIX" offset="490"> - <param name="light" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="GetFragmentMaterialfvSGIX" offset="491"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="GetFragmentMaterialivSGIX" offset="492"> - <param name="face" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx ignore="true"/> - </function> - - <function name="LightEnviSGIX" offset="493"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx ignore="true"/> - </function> -</category> - -<!-- Extension number 103 is not listed in the extension registry. --> -<!-- Extension number 104 is not listed in the extension registry. --> -<!-- Extension number 105 is not listed in the extension registry. --> -<!-- Extension number 106 is not listed in the extension registry. --> -<!-- Extension number 107 is not listed in the extension registry. --> -<!-- Extension number 108 is not listed in the extension registry. --> -<!-- Extension number 109 is not listed in the extension registry. --> - -<category name="GL_IBM_rasterpos_clip" number="110"> - <enum name="RASTER_POSITION_UNCLIPPED_IBM" count="1" value="0x19262"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_EXT_draw_range_elements" number="112"> - <function name="DrawRangeElementsEXT" alias="DrawRangeElements"> - <param name="mode" type="GLenum"/> - <param name="start" type="GLuint"/> - <param name="end" type="GLuint"/> - <param name="count" type="GLsizei"/> - <param name="type" type="GLenum"/> - <param name="indices" type="const GLvoid *"/> - <glx handcode="true"/> - </function> -</category> - -<!-- Extension number 115 is a GLX extension. --> -<!-- Extension number 116 is not listed in the extension registry. --> - -<category name="GL_EXT_light_texture" number="117"> - <function name="ApplyTextureEXT" offset="?"> - <param name="mode" type="GLenum"/> - </function> - - <function name="TextureLightEXT" offset="?"> - <param name="pname" type="GLenum"/> - </function> - - <function name="TextureMaterialEXT" offset="?"> - <param name="face" type="GLenum"/> - <param name="mode" type="GLenum"/> - </function> -</category> - -<!-- Extension number 118 is not listed in the extension registry. --> -<!-- Extension number 121 is not listed in the extension registry. --> -<!-- Extension number 122 is not listed in the extension registry. --> -<!-- Extension number 123 is not listed in the extension registry. --> -<!-- Extension number 124 is not listed in the extension registry. --> -<!-- Extension number 125 is not listed in the extension registry. --> -<!-- Extension number 126 is not listed in the extension registry. --> -<!-- Extension number 128 is not listed in the extension registry. --> -<!-- Extension number 130 is not listed in the extension registry. --> -<!-- Extension number 131 is not listed in the extension registry. --> - -<category name="GL_SGIX_async" number="132"> - <function name="AsyncMarkerSGIX" offset="?"> - <param name="marker" type="GLuint"/> - </function> - - <function name="FinishAsyncSGIX" offset="?"> - <param name="markerp" type="GLuint *"/> <!-- Spec bug. Should be const. --> - <return type="GLint"/> - </function> - - <function name="PollAsyncSGIX" offset="?"> - <param name="markerp" type="GLuint *"/> <!-- Spec bug. Should be const. --> - <return type="GLint"/> - </function> - - <function name="GenAsyncMarkersSGIX" offset="?"> - <param name="range" type="GLsizei"/> - <return type="GLuint"/> - </function> - - <function name="DeleteAsyncMarkersSGIX" offset="?"> - <param name="marker" type="GLuint"/> - <param name="range" type="GLsizei"/> - </function> - - <function name="IsAsyncMarkerSGIX" offset="?"> - <param name="marker" type="GLuint"/> - <return type="GLboolean"/> - </function> -</category> - -<category name="GL_INTEL_parallel_arrays" number="136"> - <function name="VertexPointervINTEL" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="pointer" type="const GLvoid **"/> - </function> - - <function name="NormalPointervINTEL" offset="?"> - <param name="type" type="GLenum"/> - <param name="pointer" type="const GLvoid **"/> - </function> - - <function name="ColorPointervINTEL" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="pointer" type="const GLvoid **"/> - </function> - - <function name="TexCoordPointervINTEL" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="pointer" type="const GLvoid **"/> - </function> -</category> - -<category name="GL_HP_occlusion_test" number="137"> - <enum name="OCCLUSION_TEST_HP" count="1" value="0x8165"> - <size name="Get" mode="get"/> - </enum> - <enum name="OCCLUSION_TEST_RESULT_HP" count="1" value="0x8166"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_EXT_pixel_transform" number="138"> - <function name="PixelTransformParameteriEXT" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - </function> - - <function name="PixelTransformParameterfEXT" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - </function> - - <function name="PixelTransformParameterivEXT" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - </function> - - <function name="PixelTransformParameterfvEXT" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> -</category> - -<!-- Extension number 140 is not listed in the extension registry. --> - -<category name="GL_EXT_shared_texture_palette" number="141"> - <enum name="SHARED_TEXTURE_PALETTE_EXT" count="1" value="0x81FB"/> -</category> - -<!-- Extension number 142 is a GLX extension. --> -<!-- Extension number 143 is not listed in the extension registry. --> - -<category name="GL_EXT_separate_specular_color" number="144"> - <enum name="LIGHT_MODEL_COLOR_CONTROL_EXT" count="1" value="0x81F8"> - <size name="LightModelfv"/> - <size name="LightModeliv"/> - </enum> - <enum name="SINGLE_COLOR_EXT" value="0x81F9"/> - <enum name="SEPARATE_SPECULAR_COLOR_EXT" value="0x81FA"/> -</category> - -<category name="GL_EXT_secondary_color" number="145"> - <function name="SecondaryColor3bEXT" offset="561" vectorequiv="SecondaryColor3bvEXT"> - <param name="red" type="GLbyte"/> - <param name="green" type="GLbyte"/> - <param name="blue" type="GLbyte"/> - </function> - - <function name="SecondaryColor3bvEXT" offset="562"> - <param name="v" type="const GLbyte *" count="3"/> - <glx rop="4126"/> - </function> - - <function name="SecondaryColor3dEXT" offset="563" vectorequiv="SecondaryColor3dvEXT"> - <param name="red" type="GLdouble"/> - <param name="green" type="GLdouble"/> - <param name="blue" type="GLdouble"/> - </function> - - <function name="SecondaryColor3dvEXT" offset="564"> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="4130"/> - </function> - - <function name="SecondaryColor3fEXT" offset="565" vectorequiv="SecondaryColor3fvEXT"> - <param name="red" type="GLfloat"/> - <param name="green" type="GLfloat"/> - <param name="blue" type="GLfloat"/> - </function> - - <function name="SecondaryColor3fvEXT" offset="566"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="4129"/> - </function> - - <function name="SecondaryColor3iEXT" offset="567" vectorequiv="SecondaryColor3ivEXT"> - <param name="red" type="GLint"/> - <param name="green" type="GLint"/> - <param name="blue" type="GLint"/> - </function> - - <function name="SecondaryColor3ivEXT" offset="568"> - <param name="v" type="const GLint *" count="3"/> - <glx rop="4128"/> - </function> - - <function name="SecondaryColor3sEXT" offset="569" vectorequiv="SecondaryColor3svEXT"> - <param name="red" type="GLshort"/> - <param name="green" type="GLshort"/> - <param name="blue" type="GLshort"/> - </function> - - <function name="SecondaryColor3svEXT" offset="570"> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="4127"/> - </function> - - <function name="SecondaryColor3ubEXT" offset="571" vectorequiv="SecondaryColor3ubvEXT"> - <param name="red" type="GLubyte"/> - <param name="green" type="GLubyte"/> - <param name="blue" type="GLubyte"/> - </function> - - <function name="SecondaryColor3ubvEXT" offset="572"> - <param name="v" type="const GLubyte *" count="3"/> - <glx rop="4131"/> - </function> - - <function name="SecondaryColor3uiEXT" offset="573" vectorequiv="SecondaryColor3uivEXT"> - <param name="red" type="GLuint"/> - <param name="green" type="GLuint"/> - <param name="blue" type="GLuint"/> - </function> - - <function name="SecondaryColor3uivEXT" offset="574"> - <param name="v" type="const GLuint *" count="3"/> - <glx rop="4133"/> - </function> - - <function name="SecondaryColor3usEXT" offset="575" vectorequiv="SecondaryColor3usvEXT"> - <param name="red" type="GLushort"/> - <param name="green" type="GLushort"/> - <param name="blue" type="GLushort"/> - </function> - - <function name="SecondaryColor3usvEXT" offset="576"> - <param name="v" type="const GLushort *" count="3"/> - <glx rop="4132"/> - </function> - - <function name="SecondaryColorPointerEXT" offset="577"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> -</category> - -<category name="GL_EXT_texture_perturb_normal" number="147"> - <function name="TextureNormalEXT" offset="?"> - <param name="mode" type="GLenum"/> - </function> -</category> - -<category name="GL_EXT_multi_draw_arrays" number="148"> - <function name="MultiDrawArraysEXT" offset="644"> - <param name="mode" type="GLenum"/> - <param name="first" type="GLint *"/> <!-- Spec bug. Should be const. --> - <param name="count" type="GLsizei *"/> <!-- Spec bug. Should be const. --> - <param name="primcount" type="GLsizei"/> - <glx handcode="true"/> - </function> - - <function name="MultiDrawElementsEXT" offset="645"> - <param name="mode" type="GLenum"/> - <param name="count" type="const GLsizei *"/> - <param name="type" type="GLenum"/> - <param name="indices" type="const GLvoid **"/> - <param name="primcount" type="GLsizei"/> - <glx handcode="true"/> - </function> -</category> - -<category name="GL_EXT_fog_coord" number="149"> - <function name="FogCoordfEXT" offset="545" vectorequiv="FogCoordfvEXT"> - <param name="coord" type="GLfloat"/> - </function> - - <function name="FogCoordfvEXT" offset="546"> - <param name="coord" type="const GLfloat *" count="1"/> - <glx rop="4124"/> - </function> - - <function name="FogCoorddEXT" offset="547" vectorequiv="FogCoorddvEXT"> - <param name="coord" type="GLdouble"/> - </function> - - <function name="FogCoorddvEXT" offset="548"> - <param name="coord" type="const GLdouble *" count="1"/> - <glx rop="4125"/> - </function> - - <function name="FogCoordPointerEXT" offset="549"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> -</category> - -<!-- Extension number 150 is not listed in the extension registry. --> -<!-- Extension number 151 is not listed in the extension registry. --> -<!-- Extension number 152 is not listed in the extension registry. --> -<!-- Extension number 153 is not listed in the extension registry. --> -<!-- Extension number 154 is not listed in the extension registry. --> - -<category name="GL_EXT_coordinate_frame" number="156"> - <function name="Tangent3bEXT" offset="?"> - <param name="tx" type="GLbyte"/> - <param name="ty" type="GLbyte"/> - <param name="tz" type="GLbyte"/> - </function> - - <function name="Tangent3bvEXT" offset="?"> - <param name="v" type="const GLbyte *"/> - </function> - - <function name="Tangent3dEXT" offset="?"> - <param name="tx" type="GLdouble"/> - <param name="ty" type="GLdouble"/> - <param name="tz" type="GLdouble"/> - </function> - - <function name="Tangent3dvEXT" offset="?"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="Tangent3fEXT" offset="?"> - <param name="tx" type="GLfloat"/> - <param name="ty" type="GLfloat"/> - <param name="tz" type="GLfloat"/> - </function> - - <function name="Tangent3fvEXT" offset="?"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="Tangent3iEXT" offset="?"> - <param name="tx" type="GLint"/> - <param name="ty" type="GLint"/> - <param name="tz" type="GLint"/> - </function> - - <function name="Tangent3ivEXT" offset="?"> - <param name="v" type="const GLint *"/> - </function> - - <function name="Tangent3sEXT" offset="?"> - <param name="tx" type="GLshort"/> - <param name="ty" type="GLshort"/> - <param name="tz" type="GLshort"/> - </function> - - <function name="Tangent3svEXT" offset="?"> - <param name="v" type="const GLshort *"/> - </function> - - <function name="Binormal3bEXT" offset="?"> - <param name="bx" type="GLbyte"/> - <param name="by" type="GLbyte"/> - <param name="bz" type="GLbyte"/> - </function> - - <function name="Binormal3bvEXT" offset="?"> - <param name="v" type="const GLbyte *"/> - </function> - - <function name="Binormal3dEXT" offset="?"> - <param name="bx" type="GLdouble"/> - <param name="by" type="GLdouble"/> - <param name="bz" type="GLdouble"/> - </function> - - <function name="Binormal3dvEXT" offset="?"> - <param name="v" type="const GLdouble *"/> - </function> - - <function name="Binormal3fEXT" offset="?"> - <param name="bx" type="GLfloat"/> - <param name="by" type="GLfloat"/> - <param name="bz" type="GLfloat"/> - </function> - - <function name="Binormal3fvEXT" offset="?"> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="Binormal3iEXT" offset="?"> - <param name="bx" type="GLint"/> - <param name="by" type="GLint"/> - <param name="bz" type="GLint"/> - </function> - - <function name="Binormal3ivEXT" offset="?"> - <param name="v" type="const GLint *"/> - </function> - - <function name="Binormal3sEXT" offset="?"> - <param name="bx" type="GLshort"/> - <param name="by" type="GLshort"/> - <param name="bz" type="GLshort"/> - </function> - - <function name="Binormal3svEXT" offset="?"> - <param name="v" type="const GLshort *"/> - </function> - - <function name="TangentPointerEXT" offset="?"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - </function> - - <function name="BinormalPointerEXT" offset="?"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - </function> -</category> - -<!-- Extension number 157 is not listed in the extension registry. --> - -<category name="GL_EXT_texture_env_combine" number="158"> - <enum name="COMBINE_EXT" value="0x8570"/> - <enum name="COMBINE_RGB_EXT" count="1" value="0x8571"/> - <enum name="COMBINE_ALPHA_EXT" count="1" value="0x8572"/> - <enum name="RGB_SCALE_EXT" count="1" value="0x8573"/> - <enum name="ADD_SIGNED_EXT" value="0x8574"/> - <enum name="INTERPOLATE_EXT" value="0x8575"/> - <enum name="CONSTANT_EXT" value="0x8576"/> - <enum name="PRIMARY_COLOR_EXT" value="0x8577"/> - <enum name="PREVIOUS_EXT" value="0x8578"/> - <enum name="SOURCE0_RGB_EXT" count="1" value="0x8580"/> - <enum name="SOURCE1_RGB_EXT" count="1" value="0x8581"/> - <enum name="SOURCE2_RGB_EXT" count="1" value="0x8582"/> - <enum name="SOURCE0_ALPHA_EXT" count="1" value="0x8588"/> - <enum name="SOURCE1_ALPHA_EXT" count="1" value="0x8589"/> - <enum name="SOURCE2_ALPHA_EXT" count="1" value="0x858A"/> - <enum name="OPERAND0_RGB_EXT" count="1" value="0x8590"/> - <enum name="OPERAND1_RGB_EXT" count="1" value="0x8591"/> - <enum name="OPERAND2_RGB_EXT" count="1" value="0x8592"/> - <enum name="OPERAND0_ALPHA_EXT" count="1" value="0x8598"/> - <enum name="OPERAND1_ALPHA_EXT" count="1" value="0x8599"/> - <enum name="OPERAND2_ALPHA_EXT" count="1" value="0x859A"/> -</category> - -<category name="GL_SGIX_pixel_texture" number="160"> - <function name="PixelTexGenSGIX" offset="430"> - <param name="mode" type="GLenum"/> - <glx rop="2059" ignore="true"/> - </function> -</category> - -<!-- Extension number 161 is not listed in the extension registry. --> -<!-- Extension number 162 is not listed in the extension registry. --> - -<category name="GL_SUNX_constant_data" number="163"> - <function name="FinishTextureSUNX" offset="?"> - </function> -</category> - -<category name="GL_SUN_global_alpha" number="164"> - <function name="GlobalAlphaFactorbSUN" offset="?"> - <param name="factor" type="GLbyte"/> - </function> - - <function name="GlobalAlphaFactorsSUN" offset="?"> - <param name="factor" type="GLshort"/> - </function> - - <function name="GlobalAlphaFactoriSUN" offset="?"> - <param name="factor" type="GLint"/> - </function> - - <function name="GlobalAlphaFactorfSUN" offset="?"> - <param name="factor" type="GLfloat"/> - </function> - - <function name="GlobalAlphaFactordSUN" offset="?"> - <param name="factor" type="GLdouble"/> - </function> - - <function name="GlobalAlphaFactorubSUN" offset="?"> - <param name="factor" type="GLubyte"/> - </function> - - <function name="GlobalAlphaFactorusSUN" offset="?"> - <param name="factor" type="GLushort"/> - </function> - - <function name="GlobalAlphaFactoruiSUN" offset="?"> - <param name="factor" type="GLuint"/> - </function> -</category> - -<category name="GL_SUN_triangle_list" number="165"> - <function name="ReplacementCodeuiSUN" offset="?"> - <param name="code" type="GLuint"/> - </function> - - <function name="ReplacementCodeusSUN" offset="?"> - <param name="code" type="GLushort"/> - </function> - - <function name="ReplacementCodeubSUN" offset="?"> - <param name="code" type="GLubyte"/> - </function> - - <function name="ReplacementCodeuivSUN" offset="?"> - <param name="code" type="const GLuint *"/> - </function> - - <function name="ReplacementCodeusvSUN" offset="?"> - <param name="code" type="const GLushort *"/> - </function> - - <function name="ReplacementCodeubvSUN" offset="?"> - <param name="code" type="const GLubyte *"/> - </function> - - <function name="ReplacementCodePointerSUN" offset="?"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - </function> -</category> - -<category name="GL_SUN_vertex" number="166"> - <function name="Color4ubVertex2fSUN" offset="?"> - <param name="r" type="GLubyte"/> - <param name="g" type="GLubyte"/> - <param name="b" type="GLubyte"/> - <param name="a" type="GLubyte"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="Color4ubVertex2fvSUN" offset="?"> - <param name="c" type="const GLubyte *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="Color4ubVertex3fSUN" offset="?"> - <param name="r" type="GLubyte"/> - <param name="g" type="GLubyte"/> - <param name="b" type="GLubyte"/> - <param name="a" type="GLubyte"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="Color4ubVertex3fvSUN" offset="?"> - <param name="c" type="const GLubyte *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="Color3fVertex3fSUN" offset="?"> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="Color3fVertex3fvSUN" offset="?"> - <param name="c" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="Normal3fVertex3fSUN" offset="?"> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="Normal3fVertex3fvSUN" offset="?"> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="Color4fNormal3fVertex3fSUN" offset="?"> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="a" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="Color4fNormal3fVertex3fvSUN" offset="?"> - <param name="c" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord2fVertex3fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="TexCoord2fVertex3fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord4fVertex4fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="p" type="GLfloat"/> - <param name="q" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="TexCoord4fVertex4fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord2fColor4ubVertex3fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLubyte"/> - <param name="g" type="GLubyte"/> - <param name="b" type="GLubyte"/> - <param name="a" type="GLubyte"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="TexCoord2fColor4ubVertex3fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="c" type="const GLubyte *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord2fColor3fVertex3fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="TexCoord2fColor3fVertex3fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="c" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord2fNormal3fVertex3fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="TexCoord2fNormal3fVertex3fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord2fColor4fNormal3fVertex3fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="a" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="TexCoord2fColor4fNormal3fVertex3fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="c" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="TexCoord4fColor4fNormal3fVertex4fSUN" offset="?"> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="p" type="GLfloat"/> - <param name="q" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="a" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="TexCoord4fColor4fNormal3fVertex4fvSUN" offset="?"> - <param name="tc" type="const GLfloat *"/> - <param name="c" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiColor4ubVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="r" type="GLubyte"/> - <param name="g" type="GLubyte"/> - <param name="b" type="GLubyte"/> - <param name="a" type="GLubyte"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiColor4ubVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="c" type="const GLubyte *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiColor3fVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiColor3fVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="c" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiNormal3fVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiNormal3fVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiColor4fNormal3fVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="a" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiColor4fNormal3fVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="c" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiTexCoord2fVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiTexCoord2fVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="tc" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiTexCoord2fNormal3fVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="tc" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> - - <function name="ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN" offset="?"> - <param name="rc" type="GLuint"/> - <param name="s" type="GLfloat"/> - <param name="t" type="GLfloat"/> - <param name="r" type="GLfloat"/> - <param name="g" type="GLfloat"/> - <param name="b" type="GLfloat"/> - <param name="a" type="GLfloat"/> - <param name="nx" type="GLfloat"/> - <param name="ny" type="GLfloat"/> - <param name="nz" type="GLfloat"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="ReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN" offset="?"> - <param name="rc" type="const GLuint *"/> - <param name="tc" type="const GLfloat *"/> - <param name="c" type="const GLfloat *"/> - <param name="n" type="const GLfloat *"/> - <param name="v" type="const GLfloat *"/> - </function> -</category> - -<!-- Extension number 167 is a WGL extension. --> -<!-- Extension number 168 is a WGL extension. --> -<!-- Extension number 169 is a WGL extension. --> -<!-- Extension number 170 is a WGL extension. --> -<!-- Extension number 171 is a WGL extension. --> -<!-- Extension number 172 is a WGL extension. --> - -<category name="GL_EXT_blend_func_separate" number="173"> - <function name="BlendFuncSeparateEXT" offset="537"> - <param name="sfactorRGB" type="GLenum"/> - <param name="dfactorRGB" type="GLenum"/> - <param name="sfactorAlpha" type="GLenum"/> - <param name="dfactorAlpha" type="GLenum"/> - <glx rop="4134"/> - </function> -</category> - -<category name="GL_EXT_stencil_wrap" number="176"> - <enum name="INCR_WRAP_EXT" value="0x8507"/> - <enum name="DECR_WRAP_EXT" value="0x8508"/> -</category> - -<!-- Extension number 177 is a WGL extension. --> - -<category name="GL_NV_texgen_reflection" number="179"> - <enum name="NORMAL_MAP_NV" value="0x8511"/> - <enum name="REFLECTION_MAP_NV" value="0x8512"/> -</category> - -<!-- Extension number 180 is not listed in the extension registry. --> - -<category name="GL_SUN_convolution_border_modes" number="182"> - <enum name="WRAP_BORDER_SUN" value="0x81D4"/> -</category> - -<!-- Extension number 183 is a GLX extension. --> -<!-- Extension number 184 is not listed in the extension registry. --> - -<category name="GL_EXT_texture_env_add" number="185"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_EXT_texture_lod_bias" number="186"> - <enum name="TEXTURE_LOD_BIAS_EXT" count="1" value="0x8501"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<category name="GL_EXT_texture_filter_anisotropic" number="187"> - <enum name="TEXTURE_MAX_ANISOTROPY_EXT" count="1" value="0x84FE"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="MAX_TEXTURE_MAX_ANISOTROPY_EXT" value="0x84FF"/> -</category> - -<category name="GL_EXT_vertex_weighting" number="188"> - <function name="VertexWeightfEXT" offset="494" vectorequiv="VertexWeightfvEXT"> - <param name="weight" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="VertexWeightfvEXT" offset="495"> - <param name="weight" type="const GLfloat *" count="1"/> - <glx rop="4135" ignore="true"/> - </function> - - <function name="VertexWeightPointerEXT" offset="496"> - <param name="size" type="GLsizei"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true" ignore="true"/> - </function> -</category> - -<category name="GL_NV_light_max_exponent" number="189"> - <enum name="MAX_SHININESS_NV" count="1" value="0x8504"> - <size name="Get" mode="get"/> - </enum> - <enum name="MAX_SPOT_EXPONENT_NV" count="1" value="0x8505"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_NV_vertex_array_range" number="190"> - <function name="FlushVertexArrayRangeNV" offset="497"> - <glx ignore="true"/> - </function> - - <function name="VertexArrayRangeNV" offset="498"> - <param name="length" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_NV_register_combiners" number="191"> - <function name="CombinerParameterfvNV" offset="499"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *" variable_param="pname"/> - <glx rop="4137" ignore="true"/> - </function> - - <function name="CombinerParameterfNV" offset="500"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - <glx rop="4136" ignore="true"/> - </function> - - <function name="CombinerParameterivNV" offset="501"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="4139" ignore="true"/> - </function> - - <function name="CombinerParameteriNV" offset="502"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="4138" ignore="true"/> - </function> - - <function name="CombinerInputNV" offset="503"> - <param name="stage" type="GLenum"/> - <param name="portion" type="GLenum"/> - <param name="variable" type="GLenum"/> - <param name="input" type="GLenum"/> - <param name="mapping" type="GLenum"/> - <param name="componentUsage" type="GLenum"/> - <glx rop="4140" ignore="true"/> - </function> - - <function name="CombinerOutputNV" offset="504"> - <param name="stage" type="GLenum"/> - <param name="portion" type="GLenum"/> - <param name="abOutput" type="GLenum"/> - <param name="cdOutput" type="GLenum"/> - <param name="sumOutput" type="GLenum"/> - <param name="scale" type="GLenum"/> - <param name="bias" type="GLenum"/> - <param name="abDotProduct" type="GLboolean"/> - <param name="cdDotProduct" type="GLboolean"/> - <param name="muxSum" type="GLboolean"/> - <glx rop="4141" ignore="true"/> - </function> - - <function name="FinalCombinerInputNV" offset="505"> - <param name="variable" type="GLenum"/> - <param name="input" type="GLenum"/> - <param name="mapping" type="GLenum"/> - <param name="componentUsage" type="GLenum"/> - <glx rop="4142" ignore="true"/> - </function> - - <function name="GetCombinerInputParameterfvNV" offset="506"> - <param name="stage" type="GLenum"/> - <param name="portion" type="GLenum"/> - <param name="variable" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - <glx vendorpriv="1270" ignore="true"/> - </function> - - <function name="GetCombinerInputParameterivNV" offset="507"> - <param name="stage" type="GLenum"/> - <param name="portion" type="GLenum"/> - <param name="variable" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx vendorpriv="1271" ignore="true"/> - </function> - - <function name="GetCombinerOutputParameterfvNV" offset="508"> - <param name="stage" type="GLenum"/> - <param name="portion" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - <glx vendorpriv="1272" ignore="true"/> - </function> - - <function name="GetCombinerOutputParameterivNV" offset="509"> - <param name="stage" type="GLenum"/> - <param name="portion" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx vendorpriv="1273" ignore="true"/> - </function> - - <function name="GetFinalCombinerInputParameterfvNV" offset="510"> - <param name="variable" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - <glx vendorpriv="1274" ignore="true"/> - </function> - - <function name="GetFinalCombinerInputParameterivNV" offset="511"> - <param name="variable" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx vendorpriv="1275" ignore="true"/> - </function> -</category> - -<category name="GL_NV_fog_distance" number="192"> - <enum name="FOG_DISTANCE_MODE_NV" count="1" value="0x855A"> - <size name="Fogfv"/> - <size name="Fogiv"/> - <size name="Get" mode="get"/> - </enum> - <enum name="EYE_RADIAL_NV" value="0x855B"/> - <enum name="EYE_PLANE_ABSOLUTE_NV" value="0x855C"/> -</category> - -<category name="GL_NV_blend_square" number="194"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_NV_texture_env_combine4" number="195"> - <enum name="COMBINE4" value="0x8503"/> - <enum name="SOURCE3_RGB_NV" count="1" value="0x8583"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="SOURCE3_ALPHA_NV" count="1" value="0x858B"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND3_RGB_NV" count="1" value="0x8593"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="OPERAND3_ALPHA_NV" count="1" value="0x859B"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> -</category> - -<category name="GL_MESA_resize_buffers" number="196"> - <function name="ResizeBuffersMESA" offset="512"> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_MESA_window_pos" number="197"> - <function name="WindowPos2dMESA" offset="513"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2dvMESA" offset="514"> - <param name="v" type="const GLdouble *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2fMESA" offset="515"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2fvMESA" offset="516"> - <param name="v" type="const GLfloat *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2iMESA" offset="517"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2ivMESA" offset="518"> - <param name="v" type="const GLint *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2sMESA" offset="519"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos2svMESA" offset="520"> - <param name="v" type="const GLshort *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos3dMESA" offset="521"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos3dvMESA" offset="522"> - <param name="v" type="const GLdouble *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos3fMESA" offset="523" vectorequiv="WindowPos3fvMESA"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="WindowPos3fvMESA" offset="524"> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="230"/> - </function> - - <function name="WindowPos3iMESA" offset="525"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos3ivMESA" offset="526"> - <param name="v" type="const GLint *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos3sMESA" offset="527"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos3svMESA" offset="528"> - <param name="v" type="const GLshort *"/> - <glx handcode="true"/> - </function> - - <function name="WindowPos4dMESA" offset="529"> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4dvMESA" offset="530"> - <param name="v" type="const GLdouble *"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4fMESA" offset="531"> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4fvMESA" offset="532"> - <param name="v" type="const GLfloat *"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4iMESA" offset="533"> - <param name="x" type="GLint"/> - <param name="y" type="GLint"/> - <param name="z" type="GLint"/> - <param name="w" type="GLint"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4ivMESA" offset="534"> - <param name="v" type="const GLint *"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4sMESA" offset="535"> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - <param name="w" type="GLshort"/> - <glx ignore="true"/> - </function> - - <function name="WindowPos4svMESA" offset="536"> - <param name="v" type="const GLshort *"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_texture_compression_s3tc" number="198"> - <enum name="COMPRESSED_RGB_S3TC_DXT1_EXT" value="0x83F0"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT1_EXT" value="0x83F1"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT3_EXT" value="0x83F2"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT5_EXT" value="0x83F3"/> -</category> - -<category name="GL_IBM_multimode_draw_arrays" number="200"> - <function name="MultiModeDrawArraysIBM" offset="708"> - <param name="mode" type="const GLenum *"/> - <param name="first" type="const GLint *"/> - <param name="count" type="const GLsizei *"/> - <param name="primcount" type="GLsizei"/> - <param name="modestride" type="GLint"/> - <glx handcode="true" ignore="true"/> - </function> - - <function name="MultiModeDrawElementsIBM" offset="709"> - <param name="mode" type="const GLenum *"/> - <param name="count" type="const GLsizei *"/> - <param name="type" type="GLenum"/> - <param name="indices" type="const GLvoid * const *"/> - <param name="primcount" type="GLsizei"/> - <param name="modestride" type="GLint"/> - <glx handcode="true" ignore="true"/> - </function> -</category> - -<category name="GL_IBM_vertex_array_lists" number="201"> - <function name="ColorPointerListIBM" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="SecondaryColorPointerListIBM" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="EdgeFlagPointerListIBM" offset="?"> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLboolean **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="FogCoordPointerListIBM" offset="?"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="IndexPointerListIBM" offset="?"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="NormalPointerListIBM" offset="?"> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="TexCoordPointerListIBM" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> - - <function name="VertexPointerListIBM" offset="?"> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLint"/> - <param name="pointer" type="const GLvoid **"/> - <param name="ptrstride" type="GLint"/> - </function> -</category> - -<!-- Extension number 202 is not listed in the extension registry. --> -<!-- Extension number 203 is not listed in the extension registry. --> -<!-- Extension number 204 is not listed in the extension registry. --> -<!-- Extension number 205 is not listed in the extension registry. --> - -<category name="GL_3DFX_texture_compression_FXT1" number="206"> - <enum name="COMPRESSED_RGB_FXT1_3DFX" value="0x86B0"/> - <enum name="COMPRESSED_RGBA_FXT1_3DFX" value="0x86B1"/> -</category> - -<category name="GL_3DFX_multisample" number="207"> - <enum name="MULTISAMPLE_3DFX" value="0x86B2"/> - <enum name="SAMPLE_BUFFERS_3DFX" value="0x86B3"/> - <enum name="SAMPLES_3DFX" value="0x86B4"/> - <enum name="MULTISAMPLE_BIT_3DFX" value="0x20000000"/> -</category> - -<category name="GL_3DFX_tbuffer" number="208"> - <function name="TbufferMask3DFX" offset="553"> - <param name="mask" type="GLuint"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_EXT_multisample" number="209"> - <function name="SampleMaskEXT" alias="SampleMaskSGIS"> - <param name="value" type="GLclampf"/> - <param name="invert" type="GLboolean"/> - </function> - - <function name="SamplePatternEXT" alias="SamplePatternSGIS"> - <param name="pattern" type="GLenum"/> - </function> -</category> - -<!-- Extension number 211 is not listed in the extension registry. --> -<!-- Extension number 213 is not listed in the extension registry. --> - -<category name="GL_SGIS_texture_color_mask" number="214"> - <enum name="TEXTURE_COLOR_WRITEMASK_SGIS" value="0x81EF"/> - - <function name="TextureColorMaskSGIS" offset="?"> - <param name="red" type="GLboolean"/> - <param name="green" type="GLboolean"/> - <param name="blue" type="GLboolean"/> - <param name="alpha" type="GLboolean"/> - <glx rop="2082" ignore="true"/> - </function> -</category> - -<!-- Extension number 215 is a GLX extension. --> -<!-- Extension number 216 is a GLX extension. --> -<!-- Extension number 217 is a GLX extension. --> -<!-- Extension number 218 is a GLX extension. --> -<!-- Extension number 219 is not listed in the extension registry. --> - -<category name="GL_EXT_texture_env_dot3" number="220"> - <enum name="DOT3_RGB_EXT" value="0x8740"/> - <enum name="DOT3_RGBA_EXT" value="0x8741"/> -</category> - -<category name="GL_ATI_texture_mirror_once" number="221"> - <enum name="MIRROR_CLAMP_ATI" value="0x8742"/> - <enum name="MIRROR_CLAMP_TO_EDGE_ATI" value="0x8743"/> -</category> - -<category name="GL_NV_fence" number="222"> - <function name="DeleteFencesNV" offset="647"> - <param name="n" type="GLsizei"/> - <param name="fences" type="const GLuint *"/> - <glx ignore="true"/> - </function> - - <function name="GenFencesNV" offset="648"> - <param name="n" type="GLsizei" counter="true"/> - <param name="fences" type="GLuint *" output="true" count="n"/> - <glx ignore="true"/> - </function> - - <function name="IsFenceNV" offset="649"> - <param name="fence" type="GLuint"/> - <return type="GLboolean"/> - <glx ignore="true"/> - </function> - - <function name="TestFenceNV" offset="650"> - <param name="fence" type="GLuint"/> - <return type="GLboolean"/> - <glx ignore="true"/> - </function> - - <function name="GetFenceivNV" offset="651"> - <param name="fence" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - <glx ignore="true"/> - </function> - - <function name="FinishFenceNV" offset="652"> - <param name="fence" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="SetFenceNV" offset="653"> - <param name="fence" type="GLuint"/> - <param name="condition" type="GLenum"/> - <glx ignore="true"/> - </function> -</category> - -<category name="GL_IBM_texture_mirrored_repeat" number="224"> - <enum name="MIRRORED_REPEAT_IBM" value="0x8370"/> -</category> - -<category name="GL_NV_evaluators" number="225"> - <function name="MapControlPointsNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="type" type="GLenum"/> - <param name="ustride" type="GLsizei"/> - <param name="vstride" type="GLsizei"/> - <param name="uorder" type="GLint"/> - <param name="vorder" type="GLint"/> - <param name="packed" type="GLboolean"/> - <param name="points" type="const GLvoid *"/> - </function> - - <function name="MapParameterivNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *"/> - </function> - - <function name="MapParameterfvNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> - - <function name="GetMapControlPointsNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="type" type="GLenum"/> - <param name="ustride" type="GLsizei"/> - <param name="vstride" type="GLsizei"/> - <param name="packed" type="GLboolean"/> - <param name="points" type="GLvoid *" output="true"/> - </function> - - <function name="GetMapParameterivNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - </function> - - <function name="GetMapParameterfvNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - </function> - - <function name="GetMapAttribParameterivNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true"/> - </function> - - <function name="GetMapAttribParameterfvNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - </function> - - <function name="EvalMapsNV" offset="?"> - <param name="target" type="GLenum"/> - <param name="mode" type="GLenum"/> - </function> -</category> - -<category name="GL_NV_packed_depth_stencil" number="226"> - <enum name="DEPTH_STENCIL_NV" value="0x84F9"/> - <enum name="UNSIGNED_INT_24_8_NV" value="0x84FA"/> -</category> - -<category name="GL_NV_register_combiners2" number="227"> - <function name="CombinerStageParameterfvNV" offset="?"> - <param name="stage" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> - - <function name="GetCombinerStageParameterfvNV" offset="?"> - <param name="stage" type="GLenum"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true"/> - </function> -</category> - -<category name="GL_NV_texture_compression_vtc" number="228"> - <enum name="COMPRESSED_RGB_S3TC_DXT1_EXT" value="0x83F0"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT1_EXT" value="0x83F1"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT3_EXT" value="0x83F2"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT5_EXT" value="0x83F3"/> -</category> - -<category name="GL_NV_texture_rectangle" number="229"> - <enum name="TEXTURE_RECTANGLE_NV" count="1" value="0x84F5"> - <size name="Get" mode="get"/> - </enum> - <enum name="TEXTURE_BINDING_RECTANGLE_NV" count="1" value="0x84F6"> - <size name="Get" mode="get"/> - </enum> - <enum name="PROXY_TEXTURE_RECTANGLE_NV" value="0x84F7"/> - <enum name="MAX_RECTANGLE_TEXTURE_SIZE_NV" count="1" value="0x84F8"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_NV_vertex_program" number="233"> - <enum name="VERTEX_PROGRAM_NV" value="0x8620"/> - <enum name="VERTEX_STATE_PROGRAM_NV" value="0x8621"/> - <enum name="ATTRIB_ARRAY_SIZE_NV" count="1" value="0x8623"> - <size name="GetVertexAttribdvNV" mode="get"/> - <size name="GetVertexAttribfvNV" mode="get"/> - <size name="GetVertexAttribivNV" mode="get"/> - </enum> - <enum name="ATTRIB_ARRAY_STRIDE_NV" count="1" value="0x8624"> - <size name="GetVertexAttribdvNV" mode="get"/> - <size name="GetVertexAttribfvNV" mode="get"/> - <size name="GetVertexAttribivNV" mode="get"/> - </enum> - <enum name="ATTRIB_ARRAY_TYPE_NV" count="1" value="0x8625"> - <size name="GetVertexAttribdvNV" mode="get"/> - <size name="GetVertexAttribfvNV" mode="get"/> - <size name="GetVertexAttribivNV" mode="get"/> - </enum> - <enum name="CURRENT_ATTRIB_NV" count="1" value="0x8626"> - <size name="GetVertexAttribdvNV" mode="get"/> - <size name="GetVertexAttribfvNV" mode="get"/> - <size name="GetVertexAttribivNV" mode="get"/> - </enum> - <enum name="PROGRAM_LENGTH_NV" count="1" value="0x8627"> - <size name="GetProgramivNV" mode="get"/> - </enum> - <enum name="PROGRAM_STRING_NV" value="0x8628"/> - <enum name="MODELVIEW_PROJECTION_NV" value="0x8629"/> - <enum name="IDENTITY_NV" value="0x862A"/> - <enum name="INVERSE_NV" value="0x862B"/> - <enum name="TRANSPOSE_NV" value="0x862C"/> - <enum name="INVERSE_TRANSPOSE_NV" value="0x862D"/> - <enum name="MAX_TRACK_MATRIX_STACK_DEPTH_NV" value="0x862E"/> - <enum name="MAX_TRACK_MATRICES_NV" value="0x862F"/> - <enum name="MATRIX0_NV" value="0x8630"/> - <enum name="MATRIX1_NV" value="0x8631"/> - <enum name="MATRIX2_NV" value="0x8632"/> - <enum name="MATRIX3_NV" value="0x8633"/> - <enum name="MATRIX4_NV" value="0x8634"/> - <enum name="MATRIX5_NV" value="0x8635"/> - <enum name="MATRIX6_NV" value="0x8636"/> - <enum name="MATRIX7_NV" value="0x8637"/> - <enum name="CURRENT_MATRIX_STACK_DEPTH_NV" value="0x8640"/> - <enum name="CURRENT_MATRIX_NV" value="0x8641"/> - <enum name="VERTEX_PROGRAM_POINT_SIZE_NV" value="0x8642"/> - <enum name="VERTEX_PROGRAM_TWO_SIDE_NV" value="0x8643"/> - <enum name="PROGRAM_PARAMETER_NV" value="0x8644"/> - <enum name="ATTRIB_ARRAY_POINTER_NV" value="0x8645"/> - <enum name="PROGRAM_TARGET_NV" count="1" value="0x8646"> - <size name="GetProgramivNV" mode="get"/> - </enum> - <enum name="PROGRAM_RESIDENT_NV" count="1" value="0x8647"> - <size name="GetProgramivNV" mode="get"/> - </enum> - <enum name="TRACK_MATRIX_NV" value="0x8648"/> - <enum name="TRACK_MATRIX_TRANSFORM_NV" value="0x8649"/> - <enum name="VERTEX_PROGRAM_BINDING_NV" value="0x864A"/> - <enum name="PROGRAM_ERROR_POSITION_NV" value="0x864B"/> - <enum name="VERTEX_ATTRIB_ARRAY0_NV" value="0x8650"/> - <enum name="VERTEX_ATTRIB_ARRAY1_NV" value="0x8651"/> - <enum name="VERTEX_ATTRIB_ARRAY2_NV" value="0x8652"/> - <enum name="VERTEX_ATTRIB_ARRAY3_NV" value="0x8653"/> - <enum name="VERTEX_ATTRIB_ARRAY4_NV" value="0x8654"/> - <enum name="VERTEX_ATTRIB_ARRAY5_NV" value="0x8655"/> - <enum name="VERTEX_ATTRIB_ARRAY6_NV" value="0x8656"/> - <enum name="VERTEX_ATTRIB_ARRAY7_NV" value="0x8657"/> - <enum name="VERTEX_ATTRIB_ARRAY8_NV" value="0x8658"/> - <enum name="VERTEX_ATTRIB_ARRAY9_NV" value="0x8659"/> - <enum name="VERTEX_ATTRIB_ARRAY10_NV" value="0x865A"/> - <enum name="VERTEX_ATTRIB_ARRAY11_NV" value="0x865B"/> - <enum name="VERTEX_ATTRIB_ARRAY12_NV" value="0x865C"/> - <enum name="VERTEX_ATTRIB_ARRAY13_NV" value="0x865D"/> - <enum name="VERTEX_ATTRIB_ARRAY14_NV" value="0x865E"/> - <enum name="VERTEX_ATTRIB_ARRAY15_NV" value="0x865F"/> - <enum name="MAP1_VERTEX_ATTRIB0_4_NV" value="0x8660"/> - <enum name="MAP1_VERTEX_ATTRIB1_4_NV" value="0x8661"/> - <enum name="MAP1_VERTEX_ATTRIB2_4_NV" value="0x8662"/> - <enum name="MAP1_VERTEX_ATTRIB3_4_NV" value="0x8663"/> - <enum name="MAP1_VERTEX_ATTRIB4_4_NV" value="0x8664"/> - <enum name="MAP1_VERTEX_ATTRIB5_4_NV" value="0x8665"/> - <enum name="MAP1_VERTEX_ATTRIB6_4_NV" value="0x8666"/> - <enum name="MAP1_VERTEX_ATTRIB7_4_NV" value="0x8667"/> - <enum name="MAP1_VERTEX_ATTRIB8_4_NV" value="0x8668"/> - <enum name="MAP1_VERTEX_ATTRIB9_4_NV" value="0x8669"/> - <enum name="MAP1_VERTEX_ATTRIB10_4_NV" value="0x866A"/> - <enum name="MAP1_VERTEX_ATTRIB11_4_NV" value="0x866B"/> - <enum name="MAP1_VERTEX_ATTRIB12_4_NV" value="0x866C"/> - <enum name="MAP1_VERTEX_ATTRIB13_4_NV" value="0x866D"/> - <enum name="MAP1_VERTEX_ATTRIB14_4_NV" value="0x866E"/> - <enum name="MAP1_VERTEX_ATTRIB15_4_NV" value="0x866F"/> - <enum name="MAP2_VERTEX_ATTRIB0_4_NV" value="0x8670"/> - <enum name="MAP2_VERTEX_ATTRIB1_4_NV" value="0x8671"/> - <enum name="MAP2_VERTEX_ATTRIB2_4_NV" value="0x8672"/> - <enum name="MAP2_VERTEX_ATTRIB3_4_NV" value="0x8673"/> - <enum name="MAP2_VERTEX_ATTRIB4_4_NV" value="0x8674"/> - <enum name="MAP2_VERTEX_ATTRIB5_4_NV" value="0x8675"/> - <enum name="MAP2_VERTEX_ATTRIB6_4_NV" value="0x8676"/> - <enum name="MAP2_VERTEX_ATTRIB7_4_NV" value="0x8677"/> - <enum name="MAP2_VERTEX_ATTRIB8_4_NV" value="0x8678"/> - <enum name="MAP2_VERTEX_ATTRIB9_4_NV" value="0x8679"/> - <enum name="MAP2_VERTEX_ATTRIB10_4_NV" value="0x867A"/> - <enum name="MAP2_VERTEX_ATTRIB11_4_NV" value="0x867B"/> - <enum name="MAP2_VERTEX_ATTRIB12_4_NV" value="0x867C"/> - <enum name="MAP2_VERTEX_ATTRIB13_4_NV" value="0x867D"/> - <enum name="MAP2_VERTEX_ATTRIB14_4_NV" value="0x867E"/> - <enum name="MAP2_VERTEX_ATTRIB15_4_NV" value="0x867F"/> - - <function name="AreProgramsResidentNV" offset="578"> - <param name="n" type="GLsizei" counter="true"/> - <param name="ids" type="const GLuint *" count="n"/> - <param name="residences" type="GLboolean *" output="true" count="n"/> - <return type="GLboolean"/> - <glx vendorpriv="1293"/> - </function> - - <function name="BindProgramNV" offset="579"> - <param name="target" type="GLenum"/> - <param name="program" type="GLuint"/> - <glx rop="4180"/> - </function> - - <function name="DeleteProgramsNV" offset="580"> - <param name="n" type="GLsizei" counter="true"/> - <param name="programs" type="const GLuint *" count="n"/> - <glx vendorpriv="1294"/> - </function> - - <function name="ExecuteProgramNV" offset="581"> - <param name="target" type="GLenum"/> - <param name="id" type="GLuint"/> - <param name="params" type="const GLfloat *" count="4"/> - <glx rop="4181"/> - </function> - - <function name="GenProgramsNV" offset="582"> - <param name="n" type="GLsizei" counter="true"/> - <param name="programs" type="GLuint *" output="true" count="n"/> - <glx vendorpriv="1295"/> - </function> - - <!-- This isn't 100% correct. Currently, the only valid value of pname - is GL_PROGRAM_PARAMETER_NV, and the count for that pname is always - 4. This is why the pname parameter was removed in the ARB version - of these functions. - --> - - <function name="GetProgramParameterdvNV" offset="583"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLdouble *" output="true" count="4"/> - <glx vendorpriv="1297"/> - </function> - - <function name="GetProgramParameterfvNV" offset="584"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" count="4"/> - <glx vendorpriv="1296"/> - </function> - - <function name="GetProgramivNV" offset="585"> - <param name="id" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="1298"/> - </function> - - <function name="GetProgramStringNV" offset="586"> - <param name="id" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="program" type="GLubyte *" output="true"/> - <glx vendorpriv="1299" handcode="server" always_array="true"/> - </function> - - <function name="GetTrackMatrixivNV" offset="587"> - <param name="target" type="GLenum"/> - <param name="address" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" count="1"/> - <glx vendorpriv="1300"/> - </function> - - <function name="GetVertexAttribdvNV" offset="753"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLdouble *" output="true" variable_param="pname"/> - <glx vendorpriv="1301"/> - </function> - - <function name="GetVertexAttribfvNV" offset="754"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLfloat *" output="true" variable_param="pname"/> - <glx vendorpriv="1302"/> - </function> - - <function name="GetVertexAttribivNV" offset="755"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLint *" output="true" variable_param="pname"/> - <glx vendorpriv="1303"/> - </function> - - <function name="GetVertexAttribPointervNV" offset="591"> - <param name="index" type="GLuint"/> - <param name="pname" type="GLenum"/> - <param name="params" type="GLvoid **" output="true"/> - <glx handcode="true"/> - </function> - - <function name="IsProgramNV" offset="592"> - <param name="program" type="GLuint"/> - <return type="GLboolean"/> - <glx vendorpriv="1304"/> - </function> - - <function name="LoadProgramNV" offset="593"> - <param name="target" type="GLenum"/> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="program" type="const GLubyte *" count="len"/> - <glx rop="4183"/> - </function> - - <function name="ProgramParameter4dNV" offset="594" vectorequiv="ProgramParameter4dvNV"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="ProgramParameter4dvNV" offset="595"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="const GLdouble *" count="4"/> - <glx rop="4185" doubles_in_order="true"/> - </function> - - <function name="ProgramParameter4fNV" offset="596" vectorequiv="ProgramParameter4fvNV"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="ProgramParameter4fvNV" offset="597"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="params" type="const GLfloat *" count="4"/> - <glx rop="4184"/> - </function> - - <function name="ProgramParameters4dvNV" offset="598"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="num" type="GLuint" counter="true"/> - <param name="params" type="const GLdouble *" count="num" count_scale="4"/> - <glx rop="4187"/> - </function> - - <function name="ProgramParameters4fvNV" offset="599"> - <param name="target" type="GLenum"/> - <param name="index" type="GLuint"/> - <param name="num" type="GLuint" counter="true"/> - <param name="params" type="const GLfloat *" count="num" count_scale="4"/> - <glx rop="4186"/> - </function> - - <function name="RequestResidentProgramsNV" offset="600"> - <param name="n" type="GLsizei" counter="true"/> - <param name="ids" type="const GLuint *" count="n"/> - <glx rop="4182"/> - </function> - - <function name="TrackMatrixNV" offset="601"> - <param name="target" type="GLenum"/> - <param name="address" type="GLuint"/> - <param name="matrix" type="GLenum"/> - <param name="transform" type="GLenum"/> - <glx rop="4188"/> - </function> - - <function name="VertexAttribPointerNV" offset="602"> - <param name="index" type="GLuint"/> - <param name="size" type="GLint"/> - <param name="type" type="GLenum"/> - <param name="stride" type="GLsizei"/> - <param name="pointer" type="const GLvoid *"/> - <glx handcode="true"/> - </function> - - <function name="VertexAttrib1sNV" offset="760" vectorequiv="VertexAttrib1svNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - </function> - - <function name="VertexAttrib1svNV" offset="761"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="1"/> - <glx rop="4189"/> - </function> - - <function name="VertexAttrib2sNV" offset="766" vectorequiv="VertexAttrib2svNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - </function> - - <function name="VertexAttrib2svNV" offset="767"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="2"/> - <glx rop="4190"/> - </function> - - <function name="VertexAttrib3sNV" offset="772" vectorequiv="VertexAttrib3svNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - </function> - - <function name="VertexAttrib3svNV" offset="773"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="3"/> - <glx rop="4191"/> - </function> - - <function name="VertexAttrib4sNV" offset="778" vectorequiv="VertexAttrib4svNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLshort"/> - <param name="y" type="GLshort"/> - <param name="z" type="GLshort"/> - <param name="w" type="GLshort"/> - </function> - - <function name="VertexAttrib4svNV" offset="779"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLshort *" count="4"/> - <glx rop="4192"/> - </function> - - <function name="VertexAttrib1fNV" offset="758" vectorequiv="VertexAttrib1fvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - </function> - - <function name="VertexAttrib1fvNV" offset="759"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="1"/> - <glx rop="4193"/> - </function> - - <function name="VertexAttrib2fNV" offset="764" vectorequiv="VertexAttrib2fvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - </function> - - <function name="VertexAttrib2fvNV" offset="765"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="2"/> - <glx rop="4194"/> - </function> - - <function name="VertexAttrib3fNV" offset="770" vectorequiv="VertexAttrib3fvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - </function> - - <function name="VertexAttrib3fvNV" offset="771"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="3"/> - <glx rop="4195"/> - </function> - - <function name="VertexAttrib4fNV" offset="776" vectorequiv="VertexAttrib4fvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="VertexAttrib4fvNV" offset="777"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="4196"/> - </function> - - <function name="VertexAttrib1dNV" offset="756" vectorequiv="VertexAttrib1dvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - </function> - - <function name="VertexAttrib1dvNV" offset="757"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="1"/> - <glx rop="4197" doubles_in_order="true"/> - </function> - - <function name="VertexAttrib2dNV" offset="762" vectorequiv="VertexAttrib2dvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - </function> - - <function name="VertexAttrib2dvNV" offset="763"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="2"/> - <glx rop="4198" doubles_in_order="true"/> - </function> - - <function name="VertexAttrib3dNV" offset="768" vectorequiv="VertexAttrib3dvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - </function> - - <function name="VertexAttrib3dvNV" offset="769"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="3"/> - <glx rop="4199" doubles_in_order="true"/> - </function> - - <function name="VertexAttrib4dNV" offset="774" vectorequiv="VertexAttrib4dvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="VertexAttrib4dvNV" offset="775"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="4200" doubles_in_order="true"/> - </function> - - <function name="VertexAttrib4ubNV" offset="780" vectorequiv="VertexAttrib4ubvNV"> - <param name="index" type="GLuint"/> - <param name="x" type="GLubyte"/> - <param name="y" type="GLubyte"/> - <param name="z" type="GLubyte"/> - <param name="w" type="GLubyte"/> - </function> - - <function name="VertexAttrib4ubvNV" offset="781"> - <param name="index" type="GLuint"/> - <param name="v" type="const GLubyte *" count="4"/> - <glx rop="4201"/> - </function> - - <function name="VertexAttribs1svNV" offset="631"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLshort *" count="n"/> - <glx rop="4202"/> - </function> - - <function name="VertexAttribs2svNV" offset="634"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLshort *" count="n" count_scale="2"/> - <glx rop="4203"/> - </function> - - <function name="VertexAttribs3svNV" offset="637"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLshort *" count="n" count_scale="3"/> - <glx rop="4204"/> - </function> - - <function name="VertexAttribs4svNV" offset="640"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLshort *" count="n" count_scale="4"/> - <glx rop="4205"/> - </function> - - <function name="VertexAttribs1fvNV" offset="630"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLfloat *" count="n"/> - <glx rop="4206"/> - </function> - - <function name="VertexAttribs2fvNV" offset="633"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLfloat *" count="n" count_scale="2"/> - <glx rop="4207"/> - </function> - - <function name="VertexAttribs3fvNV" offset="636"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLfloat *" count="n" count_scale="3"/> - <glx rop="4208"/> - </function> - - <function name="VertexAttribs4fvNV" offset="639"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLfloat *" count="n" count_scale="4"/> - <glx rop="4209"/> - </function> - - <function name="VertexAttribs1dvNV" offset="629"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLdouble *" count="n"/> - <glx rop="4210" doubles_in_order="true"/> - </function> - - <function name="VertexAttribs2dvNV" offset="632"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLdouble *" count="n" count_scale="2"/> - <glx rop="4211" doubles_in_order="true"/> - </function> - - <function name="VertexAttribs3dvNV" offset="635"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLdouble *" count="n" count_scale="3"/> - <glx rop="4212" doubles_in_order="true"/> - </function> - - <function name="VertexAttribs4dvNV" offset="638"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLdouble *" count="n" count_scale="4"/> - <glx rop="4213" doubles_in_order="true"/> - </function> - - <function name="VertexAttribs4ubvNV" offset="641"> - <param name="index" type="GLuint"/> - <param name="n" type="GLsizei" counter="true"/> - <param name="v" type="const GLubyte *" count="n" count_scale="4"/> - <glx rop="4214"/> - </function> -</category> - -<!-- Extension number 234 is a GLX extension. --> - -<category name="GL_SGIX_texture_coordinate_clamp" number="235"> - <enum name="TEXTURE_MAX_CLAMP_S_SGIX" count="1" value="0x8369"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_MAX_CLAMP_T_SGIX" count="1" value="0x836A"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> - <enum name="TEXTURE_MAX_CLAMP_R_SGIX" count="1" value="0x836B"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<!-- Extension number 236 is not listed in the extension registry. --> -<!-- Extension number 237 is a GLX extension. --> -<!-- Extension number 238 is a GLX extension. --> -<!-- Extension number 242 is a WGL extension. --> - -<category name="GL_NV_copy_depth_to_color" number="243"> - <enum name="DEPTH_STENCIL_TO_RGBA_NV" value="0x886E"/> - <enum name="DEPTH_STENCIL_TO_BGRA_NV" value="0x886F"/> -</category> - -<category name="GL_ATI_fragment_shader" number="245"> - <function name="GenFragmentShadersATI" offset="782"> - <return type="GLuint"/> - <param name="range" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="BindFragmentShaderATI" offset="783"> - <param name="id" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="DeleteFragmentShaderATI" offset="784"> - <param name="id" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="BeginFragmentShaderATI" offset="785"> - <glx ignore="true"/> - </function> - - <function name="EndFragmentShaderATI" offset="786"> - <glx ignore="true"/> - </function> - - <function name="PassTexCoordATI" offset="787"> - <param name="dst" type="GLuint"/> - <param name="coord" type="GLuint"/> - <param name="swizzle" type="GLenum"/> - <glx ignore="true"/> - </function> - - <function name="SampleMapATI" offset="788"> - <param name="dst" type="GLuint"/> - <param name="interp" type="GLuint"/> - <param name="swizzle" type="GLenum"/> - <glx ignore="true"/> - </function> - - <function name="ColorFragmentOp1ATI" offset="789"> - <param name="op" type="GLenum"/> - <param name="dst" type="GLuint"/> - <param name="dstMask" type="GLuint"/> - <param name="dstMod" type="GLuint"/> - <param name="arg1" type="GLuint"/> - <param name="arg1Rep" type="GLuint"/> - <param name="arg1Mod" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="ColorFragmentOp2ATI" offset="790"> - <param name="op" type="GLenum"/> - <param name="dst" type="GLuint"/> - <param name="dstMask" type="GLuint"/> - <param name="dstMod" type="GLuint"/> - <param name="arg1" type="GLuint"/> - <param name="arg1Rep" type="GLuint"/> - <param name="arg1Mod" type="GLuint"/> - <param name="arg2" type="GLuint"/> - <param name="arg2Rep" type="GLuint"/> - <param name="arg2Mod" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="ColorFragmentOp3ATI" offset="791"> - <param name="op" type="GLenum"/> - <param name="dst" type="GLuint"/> - <param name="dstMask" type="GLuint"/> - <param name="dstMod" type="GLuint"/> - <param name="arg1" type="GLuint"/> - <param name="arg1Rep" type="GLuint"/> - <param name="arg1Mod" type="GLuint"/> - <param name="arg2" type="GLuint"/> - <param name="arg2Rep" type="GLuint"/> - <param name="arg2Mod" type="GLuint"/> - <param name="arg3" type="GLuint"/> - <param name="arg3Rep" type="GLuint"/> - <param name="arg3Mod" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="AlphaFragmentOp1ATI" offset="792"> - <param name="op" type="GLenum"/> - <param name="dst" type="GLuint"/> - <param name="dstMod" type="GLuint"/> - <param name="arg1" type="GLuint"/> - <param name="arg1Rep" type="GLuint"/> - <param name="arg1Mod" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="AlphaFragmentOp2ATI" offset="793"> - <param name="op" type="GLenum"/> - <param name="dst" type="GLuint"/> - <param name="dstMod" type="GLuint"/> - <param name="arg1" type="GLuint"/> - <param name="arg1Rep" type="GLuint"/> - <param name="arg1Mod" type="GLuint"/> - <param name="arg2" type="GLuint"/> - <param name="arg2Rep" type="GLuint"/> - <param name="arg2Mod" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="AlphaFragmentOp3ATI" offset="794"> - <param name="op" type="GLenum"/> - <param name="dst" type="GLuint"/> - <param name="dstMod" type="GLuint"/> - <param name="arg1" type="GLuint"/> - <param name="arg1Rep" type="GLuint"/> - <param name="arg1Mod" type="GLuint"/> - <param name="arg2" type="GLuint"/> - <param name="arg2Rep" type="GLuint"/> - <param name="arg2Mod" type="GLuint"/> - <param name="arg3" type="GLuint"/> - <param name="arg3Rep" type="GLuint"/> - <param name="arg3Mod" type="GLuint"/> - <glx ignore="true"/> - </function> - - <function name="SetFragmentShaderConstantATI" offset="795"> - <param name="dst" type="GLuint"/> - <param name="value" type="const GLfloat *"/> - <glx ignore="true"/> - </function> -</category> - -<!-- Extension number 250 is a WGL extension. --> -<!-- Extension number 251 is a WGL extension. --> -<!-- Extension number 252 is a WGL extension. --> -<!-- Extension number 253 is a WGL extension. --> -<!-- Extension number 254 is a WGL extension. --> -<!-- Extension number 255 is a WGL extension. --> - -<category name="GL_SUN_mesh_array" number="257"> - <enum name="QUAD_MESH_SUN" value="0x8614"/> - <enum name="TRIANGLE_MESH_SUN" value="0x8615"/> - - <function name="DrawMeshArraysSUN" offset="?"> - <param name="mode" type="GLenum"/> - <param name="first" type="GLint"/> - <param name="count" type="GLsizei"/> - <param name="width" type="GLsizei"/> - </function> -</category> - -<category name="GL_SUN_slice_accum" number="258"> - <enum name="SLICE_ACCUM_SUN" value="0x85CC"/> -</category> - -<category name="GL_NV_multisample_filter_hint" number="259"> - <enum name="MULTISAMPLE_FILTER_HINT_NV" count="1" value="0x8534"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_NV_depth_clamp" number="260"> - <enum name="DEPTH_CLAMP_NV" count="1" value="0x864F"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_NV_point_sprite" number="262"> - <!-- These existing enums can be passed as a parameter to the function - added for this extension. --> - - <enum name="POINT_SIZE_MIN_EXT" count="1" value="0x8126"> - <size name="PointParameterivNV"/> - </enum> - <enum name="POINT_SIZE_MAX_EXT" count="1" value="0x8127"> - <size name="PointParameterivNV"/> - </enum> - <enum name="POINT_FADE_THRESHOLD_SIZE_EXT" count="1" value="0x8128"> - <size name="PointParameterivNV"/> - </enum> - <enum name="POINT_DISTANCE_ATTENUATION_EXT" count="3" value="0x8129"> - <size name="PointParameterivNV"/> - </enum> - - <enum name="POINT_SPRITE_NV" count="1" value="0x8861"> - <size name="Get" mode="get"/> - </enum> - <enum name="COORD_REPLACE_NV" count="1" value="0x8862"> - <size name="TexEnvfv"/> - <size name="TexEnviv"/> - <size name="GetTexEnvfv" mode="get"/> - <size name="GetTexEnviv" mode="get"/> - </enum> - <enum name="POINT_SPRITE_R_MODE_NV" count="1" value="0x8863"> - <size name="PointParameterfvEXT"/> - <size name="PointParameterivNV"/> - <size name="Get" mode="get"/> - </enum> - - <function name="PointParameteriNV" offset="642"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLint"/> - <glx rop="4221"/> - </function> - - <function name="PointParameterivNV" offset="643"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLint *" variable_param="pname"/> - <glx rop="4222"/> - </function> -</category> - -<!-- Extension number 263 is a WGL extension. --> -<!-- Extension number 264 is a WGL extension. --> - -<category name="GL_EXT_shadow_funcs" number="267"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_EXT_stencil_two_side" number="268"> - <enum name="STENCIL_TEST_TWO_SIDE_EXT" count="1" value="0x8910"> - <size name="Get" mode="get"/> - </enum> - <enum name="ACTIVE_STENCIL_FACE_EXT" count="1" value="0x8911"> - <size name="Get" mode="get"/> - </enum> - - <function name="ActiveStencilFaceEXT" offset="646"> - <param name="face" type="GLenum"/> - <glx rop="4220"/> - </function> -</category> - -<category name="GL_APPLE_ycbcr_422" number="275"> - <enum name="YCBCR_422_APPLE" value="0x85B9"/> - <enum name="UNSIGNED_SHORT_8_8_APPLE" value="0x85BA"/> - <enum name="UNSIGNED_SHORT_8_8_REV_APPLE" value="0x85BB"/> -</category> - -<category name="GL_S3_s3tc" number="276"> - <enum name="RGB_S3TC" value="0x83A0"/> - <enum name="RGB4_S3TC" value="0x83A1"/> - <enum name="RGBA_S3TC" value="0x83A2"/> - <enum name="RGBA4_S3TC" value="0x83A3"/> - <enum name="RGBA_DXT5_S3TC" value="0x83A4"/> - <enum name="RGBA4_DXT5_S3TC" value="0x83A5"/> -</category> - -<category name="GL_ATI_draw_buffers" number="277"> - <enum name="MAX_DRAW_BUFFERS_ATI" count="1" value="0x8824"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER0_ATI" count="1" value="0x8825"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER1_ATI" count="1" value="0x8826"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER2_ATI" count="1" value="0x8827"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER3_ATI" count="1" value="0x8828"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER4_ATI" count="1" value="0x8829"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER5_ATI" count="1" value="0x882A"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER6_ATI" count="1" value="0x882B"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER7_ATI" count="1" value="0x882C"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER8_ATI" count="1" value="0x882D"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER9_ATI" count="1" value="0x882E"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER10_ATI" count="1" value="0x882F"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER11_ATI" count="1" value="0x8830"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER12_ATI" count="1" value="0x8831"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER13_ATI" count="1" value="0x8832"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER14_ATI" count="1" value="0x8833"> - <size name="Get" mode="get"/> - </enum> - <enum name="DRAW_BUFFER15_ATI" count="1" value="0x8834"> - <size name="Get" mode="get"/> - </enum> - - <function name="DrawBuffersATI" alias="DrawBuffersARB"> - <param name="n" type="GLsizei" counter="true"/> - <param name="bufs" type="const GLenum *" count="n"/> - <!-- GLX protocol is not fully defined for this extension. --> - </function> -</category> - -<!-- Extension number 278 is a WGL extension. --> - -<category name="GL_ATI_texture_env_combine3" number="279"> - <enum name="MODULATE_ADD_ATI" value="0x8744"/> - <enum name="MODULATE_SIGNED_ADD_ATI" value="0x8745"/> - <enum name="MODULATE_SUBTRACT_ATI" value="0x8746"/> -</category> - -<category name="GL_NV_fragment_program" number="282"> - <function name="ProgramNamedParameter4fNV" offset="682" vectorequiv="ProgramNamedParameter4fvNV"> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="name" type="const GLubyte *" count="len"/> - <param name="x" type="GLfloat"/> - <param name="y" type="GLfloat"/> - <param name="z" type="GLfloat"/> - <param name="w" type="GLfloat"/> - </function> - - <function name="ProgramNamedParameter4dNV" offset="683" vectorequiv="ProgramNamedParameter4dvNV"> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="name" type="const GLubyte *" count="len"/> - <param name="x" type="GLdouble"/> - <param name="y" type="GLdouble"/> - <param name="z" type="GLdouble"/> - <param name="w" type="GLdouble"/> - </function> - - <function name="ProgramNamedParameter4fvNV" offset="684"> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="name" type="const GLubyte *" count="len"/> - <param name="v" type="const GLfloat *" count="4"/> - <glx rop="4218"/> - </function> - - <function name="ProgramNamedParameter4dvNV" offset="685"> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="name" type="const GLubyte *" count="len"/> - <param name="v" type="const GLdouble *" count="4"/> - <glx rop="4219"/> - </function> - - <function name="GetProgramNamedParameterfvNV" offset="686"> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="name" type="const GLubyte *" count="len"/> - <param name="params" type="GLfloat *" output="true" count="4"/> - <glx vendorpriv="1310" always_array="true"/> - </function> - - <function name="GetProgramNamedParameterdvNV" offset="687"> - <param name="id" type="GLuint"/> - <param name="len" type="GLsizei" counter="true"/> - <param name="name" type="const GLubyte *" count="len"/> - <param name="params" type="GLdouble *" output="true" count="4"/> - <glx vendorpriv="1311" always_array="true"/> - </function> -</category> - -<category name="GL_NV_expand_normal" number="286"> - <enum name="TEXTURE_UNSIGNED_REMAP_MODE_NV" count="1" value="0x888F"> - <size name="TexParameterfv"/> - <size name="TexParameteriv"/> - <size name="GetTexParameterfv" mode="get"/> - <size name="GetTexParameteriv" mode="get"/> - </enum> -</category> - -<category name="GL_OES_compressed_paletted_texture" number="294"> - <enum name="PALETTE4_RGB8_OES" value="0x8B90"/> - <enum name="PALETTE4_RGBA8_OES" value="0x8B91"/> - <enum name="PALETTE4_R5_G6_B5_OES" value="0x8B92"/> - <enum name="PALETTE4_RGBA4_OES" value="0x8B93"/> - <enum name="PALETTE4_RGB5_A1_OES" value="0x8B94"/> - <enum name="PALETTE8_RGB8_OES" value="0x8B95"/> - <enum name="PALETTE8_RGBA8_OES" value="0x8B96"/> - <enum name="PALETTE8_R5_G6_B5_OES" value="0x8B97"/> - <enum name="PALETTE8_RGBA4_OES" value="0x8B98"/> - <enum name="PALETTE8_RGB5_A1_OES" value="0x8B99"/> -</category> - -<category name="GL_OES_read_format" number="295"> - <enum name="IMPLEMENTATION_COLOR_READ_TYPE_OES" value="0x8B9A"/> - <enum name="IMPLEMENTATION_COLOR_READ_FORMAT_OES" value="0x8B9B"/> -</category> - -<category name="GL_EXT_depth_bounds_test" number="297"> - <enum name="DEPTH_BOUNDS_TEST_EXT" count="1" value="0x8890"> - <size name="Get" mode="get"/> - </enum> - <enum name="DEPTH_BOUNDS_EXT" count="2" value="0x8891"> - <size name="Get" mode="get"/> - </enum> - - <function name="DepthBoundsEXT" offset="699"> - <param name="zmin" type="GLclampd"/> - <param name="zmax" type="GLclampd"/> - <glx rop="4229" ignore="true"/> - </function> -</category> - -<category name="GL_EXT_texture_mirror_clamp" number="298"> - <enum name="MIRROR_CLAMP_EXT" value="0x8742"/> - <enum name="MIRROR_CLAMP_TO_EDGE_EXT" value="0x8743"/> - <enum name="MIRROR_CLAMP_TO_BORDER_EXT" value="0x8912"/> -</category> - -<category name="GL_EXT_blend_equation_separate" number="299"> - <enum name="BLEND_EQUATION_RGB_EXT" count="1" value="0x8009"> - <size name="Get" mode="get"/> - </enum> - <enum name="BLEND_EQUATION_ALPHA_EXT" count="1" value="0x883D"> - <size name="Get" mode="get"/> - </enum> - - <function name="BlendEquationSeparateEXT" offset="710"> - <param name="modeRGB" type="GLenum"/> - <param name="modeA" type="GLenum"/> - <glx rop="4228" ignore="true"/> - </function> -</category> - -<category name="GL_MESA_pack_invert" number="300"> - <enum name="PACK_INVERT_MESA" count="1" value="0x8758"> - <size name="Get" mode="get"/> - </enum> -</category> - -<category name="GL_MESA_ycbcr_texture" number="301"> - <enum name="YCBCR_MESA" value="0x8757"/> - <enum name="UNSIGNED_SHORT_8_8_MESA" value="0x85BA"/> - <enum name="UNSIGNED_SHORT_8_8_REV_MESA" value="0x85BB"/> -</category> - -<category name="GL_EXT_pixel_buffer_object" number="302"> - <enum name="PIXEL_PACK_BUFFER_EXT" value="0x88EB"/> - <enum name="PIXEL_UNPACK_BUFFER_EXT" value="0x88EC"/> - <enum name="PIXEL_PACK_BUFFER_BINDING_EXT" value="0x88ED"/> - <enum name="PIXEL_UNPACK_BUFFER_BINDING_EXT" value="0x88EF"/> -</category> - -<category name="GL_NV_fragment_program_option" number="303"> - <!-- No new functions, types, enums. --> -</category> - -<category name="GL_NV_fragment_program2" number="304"> - <enum name="MAX_PROGRAM_EXEC_INSTRUCTIONS_NV" count="1" value="0x88F4"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_CALL_DEPTH_NV" count="1" value="0x88F5"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_IF_DEPTH_NV" count="1" value="0x88F6"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_LOOP_DEPTH_NV" count="1" value="0x88F7"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_LOOP_COUNT_NV" count="1" value="0x88F8"> - <size name="GetProgramivARB" mode="get"/> - </enum> -</category> - -<category name="GL_NV_vertex_program2_option" number="305"> - <enum name="MAX_PROGRAM_EXEC_INSTRUCTIONS_NV" count="1" value="0x88F4"> - <size name="GetProgramivARB" mode="get"/> - </enum> - <enum name="MAX_PROGRAM_CALL_DEPTH_NV" count="1" value="0x88F5"> - <size name="GetProgramivARB" mode="get"/> - </enum> -</category> - -<category name="GL_NV_vertex_program3" number="306"> - <enum name="MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB" count="1" value="0x8B4C"/> -</category> - -<xi:include href="EXT_framebuffer_object.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> - -<!-- Extension number 307 is a GLX extension. --> -<!-- Extension number 308 is a GLX extension. --> - -<category name="GL_EXT_texture_compression_dxt1" number="309"> - <enum name="COMPRESSED_RGB_S3TC_DXT1_EXT" value="0x83F0"/> - <enum name="COMPRESSED_RGBA_S3TC_DXT1_EXT" value="0x83F1"/> -</category> - -<!-- Unnumbered extensions sorted by name. --> - -<category name="GL_ATI_blend_equation_separate"> - <function name="BlendEquationSeparateATI" alias="BlendEquationSeparateEXT"> - <param name="modeRGB" type="GLenum"/> - <param name="modeA" type="GLenum"/> - </function> -</category> - -<category name="GL_INGR_blend_func_separate"> - <function name="BlendFuncSeparateINGR" alias="BlendFuncSeparateEXT"> - <param name="sfactorRGB" type="GLenum"/> - <param name="dfactorRGB" type="GLenum"/> - <param name="sfactorAlpha" type="GLenum"/> - <param name="dfactorAlpha" type="GLenum"/> - </function> -</category> - -<category name="GL_SGIS_point_parameters"> - <enum name="POINT_SIZE_MIN_SGIS" count="1" value="0x8126"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_SIZE_MAX_SGIS" count="1" value="0x8127"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_FADE_THRESHOLD_SIZE_SGIS" count="1" value="0x8128"> - <size name="PointParameterfvEXT"/> - </enum> - <enum name="POINT_DISTANCE_ATTENUATION_SGIS" count="3" value="0x8129"> - <size name="PointParameterfvEXT"/> - </enum> - - <function name="PointParameterfSGIS" alias="PointParameterfEXT"> - <param name="pname" type="GLenum"/> - <param name="param" type="GLfloat"/> - </function> - - <function name="PointParameterfvSGIS" alias="PointParameterfvEXT"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLfloat *"/> - </function> -</category> - -<category name="GL_SGIX_igloo_interface"> - <function name="IglooInterfaceSGIX" offset="?"> - <param name="pname" type="GLenum"/> - <param name="params" type="const GLvoid *"/> - </function> -</category> - -<category name="GL_SGIX_polynomial_ffd"> - <function name="DeformationMap3dSGIX" offset="?"> - <param name="target" type="GLenum"/> - <param name="u1" type="GLdouble"/> - <param name="u2" type="GLdouble"/> - <param name="ustride" type="GLint"/> - <param name="uorder" type="GLint"/> - <param name="v1" type="GLdouble"/> - <param name="v2" type="GLdouble"/> - <param name="vstride" type="GLint"/> - <param name="vorder" type="GLint"/> - <param name="w1" type="GLdouble"/> - <param name="w2" type="GLdouble"/> - <param name="wstride" type="GLint"/> - <param name="worder" type="GLint"/> - <param name="points" type="const GLdouble *"/> - </function> - - <function name="DeformationMap3fSGIX" offset="?"> - <param name="target" type="GLenum"/> - <param name="u1" type="GLfloat"/> - <param name="u2" type="GLfloat"/> - <param name="ustride" type="GLint"/> - <param name="uorder" type="GLint"/> - <param name="v1" type="GLfloat"/> - <param name="v2" type="GLfloat"/> - <param name="vstride" type="GLint"/> - <param name="vorder" type="GLint"/> - <param name="w1" type="GLfloat"/> - <param name="w2" type="GLfloat"/> - <param name="wstride" type="GLint"/> - <param name="worder" type="GLint"/> - <param name="points" type="const GLfloat *"/> - </function> - - <function name="DeformSGIX" offset="?"> - <param name="mask" type="GLenum"/> - </function> - - <function name="LoadIdentityDeformationMapSGIX" offset="?"> - <param name="mask" type="GLenum"/> - </function> -</category> - -</OpenGLAPI> diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_SPARC_asm.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_SPARC_asm.py deleted file mode 100644 index 1a8823cc4..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_SPARC_asm.py +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, license -import sys, getopt - -class PrintGenericStubs(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - self.name = "gl_SPARC_asm.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2003 Brian Paul All Rights Reserved. -(C) Copyright IBM Corporation 2004""", "BRIAN PAUL, IBM") - - - def printRealHeader(self): - print '#include "glapioffsets.h"' - print '' - print '#ifdef __arch64__' - print '# define GL_STUB(fn,off)\t\t\t\t\\' - print 'fn:\t\t\t\t\t\\' - print '\tsethi\t%hi(0xDEADBEEF), %g4 ;\t\t\t\\' - print '\tsethi\t%hi(0xDEADBEEF), %g1 ;\t\t\t\\' - print '\tor\t%g4, %lo(0xDEADBEEF), %g4 ;\t\t\\' - print '\tor\t%g1, %lo(0xDEADBEEF), %g1 ;\t\t\\' - print '\tsllx\t%g4, 32, %g4 ;\t\t\t\t\\' - print '\tldx\t[%g1 + %g4], %g1 ;\t\t\t\\' - print '\tsethi\t%hi(8 * off), %g4 ;\t\t\t\\' - print '\tor\t%g4, %lo(8 * off), %g4 ;\t\t\\' - print '\tldx\t[%g1 + %g4], %g5 ;\t\t\t\\' - print '\tjmpl\t%g5, %g0 ;\t\t\t\t\\' - print '\tnop' - print '#else' - print '# define GL_STUB(fn,off)\t\t\t\t\\' - print 'fn:\t\t\t\t\t\\' - print '\tsethi\t%hi(0xDEADBEEF), %g1 ;\t\t\t\\' - print '\tld\t[%g1 + %lo(0xDEADBEEF)], %g1 ;\t\t\\' - print '\tld\t[%g1 + (4 * off)], %g5 ;\t\t\\' - print '\tjmpl\t%g5, %g0 ;\t\t\t\t\\' - print '\tnop' - print '#endif' - print '' - print '#define GL_STUB_ALIAS(fn,alias) fn = alias' - print '' - print '.text' - print '.align 32' - print '\t\t.globl __glapi_sparc_icache_flush ; .type __glapi_sparc_icache_flush,#function' - print '__glapi_sparc_icache_flush: /* %o0 = insn_addr */' - print '\tflush\t%o0' - print '\tretl' - print '\tnop' - print '' - print '.data' - print '.align 64' - print '' - return - - - def printBody(self, api): - for f in api.functionIterateByOffset(): - print '\t\t.globl gl%s ; .type gl%s,#function' % (f.name, f.name) - - print '\t\t.globl _mesa_sparc_glapi_begin ; .type _mesa_sparc_glapi_begin,#function' - print '_mesa_sparc_glapi_begin:' - print '' - - for f in api.functionIterateByOffset(): - print '\tGL_STUB(gl%s, _gloffset_%s)' % (f.name, f.name) - - print '' - print '\t\t.globl _mesa_sparc_glapi_end ; .type _mesa_sparc_glapi_end,#function' - print '_mesa_sparc_glapi_end:' - print '' - - - for f in api.functionIterateByOffset(): - for n in f.entry_points: - if n != f.name: - print '\t.globl gl%s ; .type gl%s,#function ; gl%s = gl%s' % (n, n, n, f.name) - - return - - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m output_mode]" % sys.argv[0] - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - mode = "generic" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "m:f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == '-m': - mode = val - elif arg == "-f": - file_name = val - - if mode == "generic": - printer = PrintGenericStubs() - else: - print "ERROR: Invalid mode \"%s\" specified." % mode - show_usage() - - api = gl_XML.parse_GL_API( file_name ) - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_XML.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_XML.py deleted file mode 100644 index 11b23b7a8..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_XML.py +++ /dev/null @@ -1,813 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import libxml2 -import re, sys, string -import typeexpr - - -def parse_GL_API( file_name, factory = None ): - doc = libxml2.readFile( file_name, None, libxml2.XML_PARSE_XINCLUDE + libxml2.XML_PARSE_NOBLANKS + libxml2.XML_PARSE_DTDVALID + libxml2.XML_PARSE_DTDATTR + libxml2.XML_PARSE_DTDLOAD + libxml2.XML_PARSE_NOENT ) - ret = doc.xincludeProcess() - - if not factory: - factory = gl_item_factory() - - api = factory.create_item( "api", None, None ) - api.process_element( doc ) - - doc.freeDoc() - - return api - - -def is_attr_true( element, name ): - """Read a name value from an element's attributes. - - The value read from the attribute list must be either 'true' or - 'false'. If the value is 'false', zero will be returned. If the - value is 'true', non-zero will be returned. An exception will be - raised for any other value.""" - - value = element.nsProp( name, None ) - if value == "true": - return 1 - elif value == "false": - return 0 - else: - raise RuntimeError('Invalid value "%s" for boolean "%s".' % (value, name)) - - -class gl_print_base: - """Base class of all API pretty-printers. - - In the model-view-controller pattern, this is the view. Any derived - class will want to over-ride the printBody, printRealHader, and - printRealFooter methods. Some derived classes may want to over-ride - printHeader and printFooter, or even Print (though this is unlikely). - """ - - def __init__(self): - # Name of the script that is generating the output file. - # Every derived class should set this to the name of its - # source file. - - self.name = "a" - - - # License on the *generated* source file. This may differ - # from the license on the script that is generating the file. - # Every derived class should set this to some reasonable - # value. - # - # See license.py for an example of a reasonable value. - - self.license = "The license for this file is unspecified." - - - # The header_tag is the name of the C preprocessor define - # used to prevent multiple inclusion. Typically only - # generated C header files need this to be set. Setting it - # causes code to be generated automatically in printHeader - # and printFooter. - - self.header_tag = None - - - # List of file-private defines that must be undefined at the - # end of the file. This can be used in header files to define - # names for use in the file, then undefine them at the end of - # the header file. - - self.undef_list = [] - return - - - def Print(self, api): - self.printHeader() - self.printBody(api) - self.printFooter() - return - - - def printHeader(self): - """Print the header associated with all files and call the printRealHeader method.""" - - print '/* DO NOT EDIT - This file generated automatically by %s script */' \ - % (self.name) - print '' - print '/*' - print ' * ' + self.license.replace('\n', '\n * ') - print ' */' - print '' - if self.header_tag: - print '#if !defined( %s )' % (self.header_tag) - print '# define %s' % (self.header_tag) - print '' - self.printRealHeader(); - return - - - def printFooter(self): - """Print the header associated with all files and call the printRealFooter method.""" - - self.printRealFooter() - - if self.undef_list: - print '' - for u in self.undef_list: - print "# undef %s" % (u) - - if self.header_tag: - print '' - print '#endif /* !defined( %s ) */' % (self.header_tag) - - - def printRealHeader(self): - """Print the "real" header for the created file. - - In the base class, this function is empty. All derived - classes should over-ride this function.""" - return - - - def printRealFooter(self): - """Print the "real" footer for the created file. - - In the base class, this function is empty. All derived - classes should over-ride this function.""" - return - - - def printPure(self): - """Conditionally define `PURE' function attribute. - - Conditionally defines a preprocessor macro `PURE' that wraps - GCC's `pure' function attribute. The conditional code can be - easilly adapted to other compilers that support a similar - feature. - - The name is also added to the file's undef_list. - """ - self.undef_list.append("PURE") - print """# if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 96) -# define PURE __attribute__((pure)) -# else -# define PURE -# endif""" - return - - - def printFastcall(self): - """Conditionally define `FASTCALL' function attribute. - - Conditionally defines a preprocessor macro `FASTCALL' that - wraps GCC's `fastcall' function attribute. The conditional - code can be easilly adapted to other compilers that support a - similar feature. - - The name is also added to the file's undef_list. - """ - - self.undef_list.append("FASTCALL") - print """# if defined(__i386__) && defined(__GNUC__) && !defined(__CYGWIN__) && !defined(__MINGW32__) -# define FASTCALL __attribute__((fastcall)) -# else -# define FASTCALL -# endif""" - return - - - def printVisibility(self, S, s): - """Conditionally define visibility function attribute. - - Conditionally defines a preprocessor macro name S that wraps - GCC's visibility function attribute. The visibility used is - the parameter s. The conditional code can be easilly adapted - to other compilers that support a similar feature. - - The name is also added to the file's undef_list. - """ - - self.undef_list.append(S) - print """# if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) -# define %s __attribute__((visibility("%s"))) -# else -# define %s -# endif""" % (S, s, S) - return - - - def printNoinline(self): - """Conditionally define `NOINLINE' function attribute. - - Conditionally defines a preprocessor macro `NOINLINE' that - wraps GCC's `noinline' function attribute. The conditional - code can be easilly adapted to other compilers that support a - similar feature. - - The name is also added to the file's undef_list. - """ - - self.undef_list.append("NOINLINE") - print """# if defined(__GNUC__) -# define NOINLINE __attribute__((noinline)) -# else -# define NOINLINE -# endif""" - return - - -def real_function_name(element): - name = element.nsProp( "name", None ) - alias = element.nsProp( "alias", None ) - - if alias: - return alias - else: - return name - - -def real_category_name(c): - if re.compile("[1-9][0-9]*[.][0-9]+").match(c): - return "GL_VERSION_" + c.replace(".", "_") - else: - return c - - -def create_parameter_string(parameters, include_names): - """Create a parameter string from a list of gl_parameters.""" - - list = [] - for p in parameters: - if include_names: - list.append( p.string() ) - else: - list.append( p.type_string() ) - - if len(list) == 0: list = ["void"] - - return string.join(list, ", ") - - -class gl_item: - def __init__(self, element, context): - self.context = context - self.name = element.nsProp( "name", None ) - self.category = real_category_name( element.parent.nsProp( "name", None ) ) - return - - -class gl_type( gl_item ): - def __init__(self, element, context): - gl_item.__init__(self, element, context) - self.size = int( element.nsProp( "size", None ), 0 ) - - te = typeexpr.type_expression( None ) - tn = typeexpr.type_node() - tn.size = int( element.nsProp( "size", None ), 0 ) - tn.integer = not is_attr_true( element, "float" ) - tn.unsigned = is_attr_true( element, "unsigned" ) - tn.name = "GL" + self.name - te.set_base_type_node( tn ) - - self.type_expr = te - return - - - def get_type_expression(self): - return self.type_expr - - -class gl_enum( gl_item ): - def __init__(self, element, context): - gl_item.__init__(self, element, context) - self.value = int( element.nsProp( "value", None ), 0 ) - - temp = element.nsProp( "count", None ) - if not temp or temp == "?": - self.default_count = -1 - else: - try: - c = int(temp) - except Exception,e: - raise RuntimeError('Invalid count value "%s" for enum "%s" in function "%s" when an integer was expected.' % (temp, self.name, n)) - - self.default_count = c - - return - - - def priority(self): - """Calculate a 'priority' for this enum name. - - When an enum is looked up by number, there may be many - possible names, but only one is the 'prefered' name. The - priority is used to select which name is the 'best'. - - Highest precedence is given to core GL name. ARB extension - names have the next highest, followed by EXT extension names. - Vendor extension names are the lowest. - """ - - if self.name.endswith( "_BIT" ): - bias = 1 - else: - bias = 0 - - if self.category.startswith( "GL_VERSION_" ): - priority = 0 - elif self.category.startswith( "GL_ARB_" ): - priority = 2 - elif self.category.startswith( "GL_EXT_" ): - priority = 4 - else: - priority = 6 - - return priority + bias - - - -class gl_parameter: - def __init__(self, element, context): - self.name = element.nsProp( "name", None ) - - ts = element.nsProp( "type", None ) - self.type_expr = typeexpr.type_expression( ts, context ) - - temp = element.nsProp( "variable_param", None ) - if temp: - self.count_parameter_list = temp.split( ' ' ) - else: - self.count_parameter_list = [] - - # The count tag can be either a numeric string or the name of - # a variable. If it is the name of a variable, the int(c) - # statement will throw an exception, and the except block will - # take over. - - c = element.nsProp( "count", None ) - try: - count = int(c) - self.count = count - self.counter = None - except Exception,e: - count = 1 - self.count = 0 - self.counter = c - - self.count_scale = int(element.nsProp( "count_scale", None )) - - elements = (count * self.count_scale) - if elements == 1: - elements = 0 - - #if ts == "GLdouble": - # print '/* stack size -> %s = %u (before)*/' % (self.name, self.type_expr.get_stack_size()) - # print '/* # elements = %u */' % (elements) - self.type_expr.set_elements( elements ) - #if ts == "GLdouble": - # print '/* stack size -> %s = %u (after) */' % (self.name, self.type_expr.get_stack_size()) - - self.is_counter = is_attr_true( element, 'counter' ) - self.is_output = is_attr_true( element, 'output' ) - - - # Pixel data has special parameters. - - self.width = element.nsProp('img_width', None) - self.height = element.nsProp('img_height', None) - self.depth = element.nsProp('img_depth', None) - self.extent = element.nsProp('img_extent', None) - - self.img_xoff = element.nsProp('img_xoff', None) - self.img_yoff = element.nsProp('img_yoff', None) - self.img_zoff = element.nsProp('img_zoff', None) - self.img_woff = element.nsProp('img_woff', None) - - self.img_format = element.nsProp('img_format', None) - self.img_type = element.nsProp('img_type', None) - self.img_target = element.nsProp('img_target', None) - - self.img_pad_dimensions = is_attr_true( element, 'img_pad_dimensions' ) - self.img_null_flag = is_attr_true( element, 'img_null_flag' ) - self.img_send_null = is_attr_true( element, 'img_send_null' ) - - return - - - def compatible(self, other): - return 1 - - - def is_array(self): - return self.is_pointer() - - - def is_pointer(self): - return self.type_expr.is_pointer() - - - def is_image(self): - if self.width: - return 1 - else: - return 0 - - - def is_variable_length(self): - return len(self.count_parameter_list) or self.counter - - - def is_64_bit(self): - count = self.type_expr.get_element_count() - if count: - if (self.size() / count) == 8: - return 1 - else: - if self.size() == 8: - return 1 - - return 0 - - - def string(self): - return self.type_expr.original_string + " " + self.name - - - def type_string(self): - return self.type_expr.original_string - - - def get_base_type_string(self): - return self.type_expr.get_base_name() - - - def get_dimensions(self): - if not self.width: - return [ 0, "0", "0", "0", "0" ] - - dim = 1 - w = self.width - h = "1" - d = "1" - e = "1" - - if self.height: - dim = 2 - h = self.height - - if self.depth: - dim = 3 - d = self.depth - - if self.extent: - dim = 4 - e = self.extent - - return [ dim, w, h, d, e ] - - - def get_stack_size(self): - return self.type_expr.get_stack_size() - - - def size(self): - if self.is_image(): - return 0 - else: - return self.type_expr.get_element_size() - - - def get_element_count(self): - c = self.type_expr.get_element_count() - if c == 0: - return 1 - - return c - - - def size_string(self, use_parens = 1): - s = self.size() - if self.counter or self.count_parameter_list: - list = [ "compsize" ] - - if self.counter and self.count_parameter_list: - list.append( self.counter ) - elif self.counter: - list = [ self.counter ] - - if s > 1: - list.append( str(s) ) - - if len(list) > 1 and use_parens : - return "(%s)" % (string.join(list, " * ")) - else: - return string.join(list, " * ") - - elif self.is_image(): - return "compsize" - else: - return str(s) - - - def format_string(self): - if self.type_expr.original_string == "GLenum": - return "0x%x" - else: - return self.type_expr.format_string() - - - -class gl_function( gl_item ): - def __init__(self, element, context): - self.context = context - self.name = None - - self.entry_points = [] - self.return_type = "void" - self.parameters = [] - self.offset = -1 - self.initialized = 0 - self.images = [] - - # Track the parameter string (for the function prototype) - # for each entry-point. This is done because some functions - # change their prototype slightly when promoted from extension - # to ARB extension to core. glTexImage3DEXT and glTexImage3D - # are good examples of this. Scripts that need to generate - # code for these differing aliases need to real prototype - # for each entry-point. Otherwise, they may generate code - # that won't compile. - - self.parameter_strings = {} - - self.process_element( element ) - - return - - - def process_element(self, element): - name = element.nsProp( "name", None ) - alias = element.nsProp( "alias", None ) - - self.entry_points.append( name ) - if alias: - true_name = alias - else: - true_name = name - - # Only try to set the offset when a non-alias - # entry-point is being processes. - - offset = element.nsProp( "offset", None ) - if offset: - try: - o = int( offset ) - self.offset = o - except Exception, e: - self.offset = -1 - - - if not self.name: - self.name = true_name - elif self.name != true_name: - raise RuntimeError("Function true name redefined. Was %s, now %s." % (self.name, true_name)) - - - # There are two possible cases. The first time an entry-point - # with data is seen, self.initialized will be 0. On that - # pass, we just fill in the data. The next time an - # entry-point with data is seen, self.initialized will be 1. - # On that pass we have to make that the new values match the - # valuse from the previous entry-point. - - parameters = [] - return_type = "void" - child = element.children - while child: - if child.type == "element": - if child.name == "return": - return_type = child.nsProp( "type", None ) - elif child.name == "param": - param = self.context.factory.create_item( "parameter", child, self.context) - parameters.append( param ) - - child = child.next - - - if self.initialized: - if self.return_type != return_type: - raise RuntimeError( "Return type changed in %s. Was %s, now %s." % (name, self.return_type, return_type)) - - if len(parameters) != len(self.parameters): - raise RuntimeError( "Parameter count mismatch in %s. Was %d, now %d." % (name, len(self.parameters), len(parameters))) - - for j in range(0, len(parameters)): - p1 = parameters[j] - p2 = self.parameters[j] - if not p1.compatible( p2 ): - raise RuntimeError( 'Parameter type mismatch in %s. "%s" was "%s", now "%s".' % (name, p2.name, p2.type_expr.original_string, p1.type_expr.original_string)) - - - if true_name == name or not self.initialized: - self.return_type = return_type - self.parameters = parameters - - for param in self.parameters: - if param.is_image(): - self.images.append( param ) - - if element.children: - self.initialized = 1 - self.parameter_strings[name] = create_parameter_string(parameters, 1) - else: - self.parameter_strings[name] = None - - return - - - def get_images(self): - """Return potentially empty list of input images.""" - return self.images - - - def parameterIterator(self): - return self.parameters.__iter__(); - - - def get_parameter_string(self, entrypoint = None): - if entrypoint: - s = self.parameter_strings[ entrypoint ] - if s: - return s - - return create_parameter_string( self.parameters, 1 ) - - -class gl_item_factory: - """Factory to create objects derived from gl_item.""" - - def create_item(self, item_name, element, context): - if item_name == "function": - return gl_function(element, context) - if item_name == "type": - return gl_type(element, context) - elif item_name == "enum": - return gl_enum(element, context) - elif item_name == "parameter": - return gl_parameter(element, context) - elif item_name == "api": - return gl_api(self) - else: - return None - - -class gl_api: - def __init__(self, factory): - self.functions_by_name = {} - self.enums_by_name = {} - self.types_by_name = {} - self.category_dict = {} - - self.factory = factory - - typeexpr.create_initial_types() - return - - - def process_element(self, doc): - element = doc.children - while element.type != "element" or element.name != "OpenGLAPI": - element = element.next - - if element: - self.process_OpenGLAPI(element) - return - - - def process_OpenGLAPI(self, element): - child = element.children - while child: - if child.type == "element": - if child.name == "category": - self.process_category( child ) - elif child.name == "OpenGLAPI": - self.process_OpenGLAPI( child ) - - child = child.next - - return - - - def process_category(self, cat): - cat_name = cat.nsProp( "name", None ) - cat_number = cat.nsProp( "number", None ) - - child = cat.children - while child: - if child.type == "element": - if child.name == "function": - func_name = real_function_name( child ) - - temp_name = child.nsProp( "name", None ) - self.category_dict[ temp_name ] = [cat_name, cat_number] - - if self.functions_by_name.has_key( func_name ): - func = self.functions_by_name[ func_name ] - func.process_element( child ) - else: - func = self.factory.create_item( "function", child, self ) - self.functions_by_name[ func_name ] = func - - - elif child.name == "enum": - enum = self.factory.create_item( "enum", child, self ) - self.enums_by_name[ enum.name ] = enum - elif child.name == "type": - t = self.factory.create_item( "type", child, self ) - self.types_by_name[ "GL" + t.name ] = t - - - child = child.next - - return - - - def functionIterateByOffset(self): - max_offset = -1 - for func in self.functions_by_name.itervalues(): - if func.offset > max_offset: - max_offset = func.offset - - - temp = [None for i in range(0, max_offset + 1)] - for func in self.functions_by_name.itervalues(): - if func.offset != -1: - temp[ func.offset ] = func - - - list = [] - for i in range(0, max_offset + 1): - if temp[i]: - list.append(temp[i]) - - return list.__iter__(); - - - def functionIterateAll(self): - return self.functions_by_name.itervalues() - - - def enumIterateByName(self): - keys = self.enums_by_name.keys() - keys.sort() - - list = [] - for enum in keys: - list.append( self.enums_by_name[ enum ] ) - - return list.__iter__() - - - def get_category_for_name( self, name ): - if self.category_dict.has_key(name): - return self.category_dict[name] - else: - return ["<unknown category>", None] - - - def typeIterate(self): - return self.types_by_name.itervalues() - - - def find_type( self, type_name ): - if type_name in self.types_by_name: - return self.types_by_name[ type_name ].type_expr - else: - print "Unable to find base type matching \"%s\"." % (type_name) - return None diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_apitemp.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_apitemp.py deleted file mode 100644 index 7cc434fa8..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_apitemp.py +++ /dev/null @@ -1,216 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML -import license -import sys, getopt - -class PrintGlOffsets(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "gl_apitemp.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2001 Brian Paul All Rights Reserved. -(C) Copyright IBM Corporation 2004""", "BRIAN PAUL, IBM") - - self.undef_list.append( "KEYWORD1" ) - self.undef_list.append( "KEYWORD2" ) - self.undef_list.append( "NAME" ) - self.undef_list.append( "DISPATCH" ) - self.undef_list.append( "RETURN_DISPATCH" ) - self.undef_list.append( "DISPATCH_TABLE_NAME" ) - self.undef_list.append( "UNUSED_TABLE_NAME" ) - self.undef_list.append( "TABLE_ENTRY" ) - - - def printFunction(self, f, name): - p_string = "" - o_string = "" - t_string = "" - comma = "" - - for p in f.parameterIterator(): - if p.is_pointer(): - cast = "(const void *) " - else: - cast = "" - - t_string = t_string + comma + p.format_string() - p_string = p_string + comma + p.name - o_string = o_string + comma + cast + p.name - comma = ", " - - - if f.return_type != 'void': - dispatch = "RETURN_DISPATCH" - else: - dispatch = "DISPATCH" - - print 'KEYWORD1 %s KEYWORD2 NAME(%s)(%s)' \ - % (f.return_type, name, f.get_parameter_string(name)) - print '{' - if p_string == "": - print ' %s(%s, (), (F, "gl%s();\\n"));' \ - % (dispatch, f.name, name) - else: - print ' %s(%s, (%s), (F, "gl%s(%s);\\n", %s));' \ - % (dispatch, f.name, p_string, name, t_string, o_string) - print '}' - print '' - return - - def printRealHeader(self): - print """ -/* - * This file is a template which generates the OpenGL API entry point - * functions. It should be included by a .c file which first defines - * the following macros: - * KEYWORD1 - usually nothing, but might be __declspec(dllexport) on Win32 - * KEYWORD2 - usually nothing, but might be __stdcall on Win32 - * NAME(n) - builds the final function name (usually add "gl" prefix) - * DISPATCH(func, args, msg) - code to do dispatch of named function. - * msg is a printf-style debug message. - * RETURN_DISPATCH(func, args, msg) - code to do dispatch with a return value - * - * Here is an example which generates the usual OpenGL functions: - * #define KEYWORD1 - * #define KEYWORD2 - * #define NAME(func) gl##func - * #define DISPATCH(func, args, msg) \\ - * struct _glapi_table *dispatch = CurrentDispatch; \\ - * (*dispatch->func) args - * #define RETURN DISPATCH(func, args, msg) \\ - * struct _glapi_table *dispatch = CurrentDispatch; \\ - * return (*dispatch->func) args - * - */ - - -#if defined( NAME ) -#ifndef KEYWORD1 -#define KEYWORD1 -#endif - -#ifndef KEYWORD2 -#define KEYWORD2 -#endif - -#ifndef DISPATCH -#error DISPATCH must be defined -#endif - -#ifndef RETURN_DISPATCH -#error RETURN_DISPATCH must be defined -#endif - -""" - return - - - - def printInitDispatch(self, api): - print """ -#endif /* defined( NAME ) */ - -/* - * This is how a dispatch table can be initialized with all the functions - * we generated above. - */ -#ifdef DISPATCH_TABLE_NAME - -#ifndef TABLE_ENTRY -#error TABLE_ENTRY must be defined -#endif - -static _glapi_proc DISPATCH_TABLE_NAME[] = {""" - for f in api.functionIterateByOffset(): - print ' TABLE_ENTRY(%s),' % (f.name) - - print ' /* A whole bunch of no-op functions. These might be called' - print ' * when someone tries to call a dynamically-registered' - print ' * extension function without a current rendering context.' - print ' */' - for i in range(1, 100): - print ' TABLE_ENTRY(Unused),' - - print '};' - print '#endif /* DISPATCH_TABLE_NAME */' - print '' - return - - - def printAliasedTable(self, api): - print """ -/* - * This is just used to silence compiler warnings. - * We list the functions which are not otherwise used. - */ -#ifdef UNUSED_TABLE_NAME -static _glapi_proc UNUSED_TABLE_NAME[] = {""" - - for f in api.functionIterateByOffset(): - for n in f.entry_points: - if n != f.name: - print ' TABLE_ENTRY(%s),' % (n) - - print '};' - print '#endif /*UNUSED_TABLE_NAME*/' - print '' - return - - - def printBody(self, api): - for func in api.functionIterateByOffset(): - for n in func.entry_points: - self.printFunction( func, n ) - - self.printInitDispatch(api) - self.printAliasedTable(api) - return - - -def show_usage(): - print "Usage: %s [-f input_file_name]" % sys.argv[0] - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == "-f": - file_name = val - - api = gl_XML.parse_GL_API( file_name ) - - printer = PrintGlOffsets() - printer.Print(api) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_enums.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_enums.py deleted file mode 100644 index 33d621dcd..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_enums.py +++ /dev/null @@ -1,217 +0,0 @@ -#!/usr/bin/python2 -# -*- Mode: Python; py-indent-offset: 8 -*- - -# (C) Copyright Zack Rusin 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Zack Rusin <zack@kde.org> - -import license -import gl_XML -import sys, getopt - -class PrintGlEnums(gl_XML.gl_print_base): - - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "gl_enums.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2005 Brian Paul All Rights Reserved.""", "BRIAN PAUL") - self.enum_table = {} - - - def printRealHeader(self): - print '#include "glheader.h"' - print '#include "enums.h"' - print '#include "imports.h"' - print '' - print 'typedef struct {' - print ' size_t offset;' - print ' int n;' - print '} enum_elt;' - print '' - return - - def print_code(self): - print """ -#define Elements(x) sizeof(x)/sizeof(*x) - -typedef int (*cfunc)(const void *, const void *); - -/** - * Compare a key name to an element in the \c all_enums array. - * - * \c bsearch always passes the key as the first parameter and the pointer - * to the array element as the second parameter. We can elimiate some - * extra work by taking advantage of that fact. - * - * \param a Pointer to the desired enum name. - * \param b Pointer to an element of the \c all_enums array. - */ -static int compar_name( const char *a, const enum_elt *b ) -{ - return _mesa_strcmp( a, & enum_string_table[ b->offset ] ); -} - -/** - * Compare a key enum value to an element in the \c all_enums array. - * - * \c bsearch always passes the key as the first parameter and the pointer - * to the array element as the second parameter. We can elimiate some - * extra work by taking advantage of that fact. - * - * \param a Pointer to the desired enum name. - * \param b Pointer to an index into the \c all_enums array. - */ -static int compar_nr( const int *a, const unsigned *b ) -{ - return a[0] - all_enums[*b].n; -} - - -static char token_tmp[20]; - -const char *_mesa_lookup_enum_by_nr( int nr ) -{ - unsigned * i; - - i = (unsigned *)bsearch( & nr, reduced_enums, Elements(reduced_enums), - sizeof(reduced_enums[0]), (cfunc) compar_nr ); - - if ( i != NULL ) { - return & enum_string_table[ all_enums[ *i ].offset ]; - } - else { - /* this is not re-entrant safe, no big deal here */ - _mesa_sprintf(token_tmp, "0x%x", nr); - return token_tmp; - } -} - -int _mesa_lookup_enum_by_name( const char *symbol ) -{ - enum_elt * f = NULL; - - if ( symbol != NULL ) { - f = (enum_elt *)bsearch( symbol, all_enums, Elements(all_enums), - sizeof( enum_elt ), (cfunc) compar_name ); - } - - return (f != NULL) ? f->n : -1; -} - -""" - return - - - def printBody(self, api): - self.process_enums( api ) - - keys = self.enum_table.keys() - keys.sort() - - name_table = [] - enum_table = {} - - for enum in keys: - low_pri = 9 - for [name, pri] in self.enum_table[ enum ]: - name_table.append( [name, enum] ) - - if pri < low_pri: - low_pri = pri - enum_table[enum] = name - - - name_table.sort() - - string_offsets = {} - i = 0; - print 'static const char enum_string_table[] = ' - for [name, enum] in name_table: - print ' "%s\\0"' % (name) - string_offsets[ name ] = i - i += len(name) + 1 - - print ' ;' - print '' - - - print 'static const enum_elt all_enums[%u] =' % (len(name_table)) - print '{' - for [name, enum] in name_table: - print ' { % 5u, 0x%08X }, /* %s */' % (string_offsets[name], enum, name) - print '};' - print '' - - print 'static const unsigned reduced_enums[%u] =' % (len(keys)) - print '{' - for enum in keys: - name = enum_table[ enum ] - if [name, enum] not in name_table: - print ' /* Error! %s, 0x%04x */ 0,' % (name, enum) - else: - i = name_table.index( [name, enum] ) - - print ' % 4u, /* %s */' % (i, name) - print '};' - - - self.print_code() - return - - - def process_enums(self, api): - self.enum_table = {} - - for obj in api.enumIterateByName(): - if obj.value not in self.enum_table: - self.enum_table[ obj.value ] = [] - - - name = "GL_" + obj.name - priority = obj.priority() - self.enum_table[ obj.value ].append( [name, priority] ) - - -def show_usage(): - print "Usage: %s [-f input_file_name]" % sys.argv[0] - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == "-f": - file_name = val - - api = gl_XML.parse_GL_API( file_name ) - - printer = PrintGlEnums() - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_offsets.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_offsets.py deleted file mode 100644 index 2966e3b62..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_offsets.py +++ /dev/null @@ -1,105 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML -import license -import sys, getopt - -class PrintGlOffsets(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "gl_offsets.py (from Mesa)" - self.header_tag = '_GLAPI_OFFSETS_H_' - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2001 Brian Paul All Rights Reserved. -(C) Copyright IBM Corporation 2004""", "BRIAN PAUL, IBM") - return - - def printBody(self, api): - abi = [ "1.0", "1.1", "1.2", "GL_ARB_multitexture" ] - - functions = [] - abi_functions = [] - count = 0 - for f in api.functionIterateByOffset(): - [category, num] = api.get_category_for_name( f.name ) - if category not in abi: - functions.append( [f, count] ) - count += 1 - else: - abi_functions.append( f ) - - - for f in abi_functions: - print '#define _gloffset_%s %d' % (f.name, f.offset) - last_static = f.offset - - print '' - print '#if !defined(IN_DRI_DRIVER)' - print '' - - for [f, index] in functions: - print '#define _gloffset_%s %d' % (f.name, f.offset) - if f.offset > last_static: - last_static = f.offset - - print '#define _gloffset_FIRST_DYNAMIC %d' % (last_static + 1) - - print '' - print '#else' - print '' - - for [f, index] in functions: - print '#define _gloffset_%s driDispatchRemapTable[%s_remap_index]' % (f.name, f.name) - - print '' - print '#endif /* !defined(IN_DRI_DRIVER) */' - - return - - -def show_usage(): - print "Usage: %s [-f input_file_name]" % sys.argv[0] - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == "-f": - file_name = val - - api = gl_XML.parse_GL_API( file_name ) - - printer = PrintGlOffsets() - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_procs.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_procs.py deleted file mode 100644 index 1ad683de5..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_procs.py +++ /dev/null @@ -1,155 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import license -import gl_XML -import sys, getopt - -class PrintGlProcs(gl_XML.gl_print_base): - def __init__(self, long_strings): - gl_XML.gl_print_base.__init__(self) - - self.long_strings = long_strings - self.name = "gl_procs.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2001 Brian Paul All Rights Reserved. -(C) Copyright IBM Corporation 2004""", "BRIAN PAUL, IBM") - - - def printRealHeader(self): - print '/* This file is only included by glapi.c and is used for' - print ' * the GetProcAddress() function' - print ' */' - print '' - print 'typedef struct {' - print ' GLint Name_offset;' - print '#ifdef NEED_FUNCTION_POINTER' - print ' _glapi_proc Address;' - print '#endif' - print ' GLuint Offset;' - print '} glprocs_table_t;' - print '' - print '#ifdef NEED_FUNCTION_POINTER' - print '# define NAME_FUNC_OFFSET(n,f,o) { n , (_glapi_proc) f , o }' - print '#else' - print '# define NAME_FUNC_OFFSET(n,f,o) { n , o }' - print '#endif' - print '' - return - - def printRealFooter(self): - print '' - print '#undef NAME_FUNC_OFFSET' - return - - def printFunctionString(self, name): - if self.long_strings: - print ' "gl%s\\0"' % (name) - else: - print " 'g','l',", - for c in name: - print "'%s'," % (c), - - print "'\\0'," - - - def printBody(self, api): - print '' - if self.long_strings: - print 'static const char gl_string_table[] =' - else: - print 'static const char gl_string_table[] = {' - - base_offset = 0 - table = [] - for func in api.functionIterateByOffset(): - self.printFunctionString( func.name ) - table.append((base_offset, func.name, func.name)) - - # The length of the function's name, plus 2 for "gl", - # plus 1 for the NUL. - - base_offset += len(func.name) + 3 - - - for func in api.functionIterateByOffset(): - for n in func.entry_points: - if n != func.name: - self.printFunctionString( n ) - table.append((base_offset, n, func.name)) - base_offset += len(n) + 3 - - - if self.long_strings: - print ' ;' - else: - print '};' - - print '' - print 'static const glprocs_table_t static_functions[] = {' - - for (offset, disp_name, real_name) in table: - print ' NAME_FUNC_OFFSET( % 5u, gl%s, _gloffset_%s ),' % (offset, disp_name, real_name) - - print ' NAME_FUNC_OFFSET( -1, NULL, 0 )' - print '};' - return - - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m mode]" % sys.argv[0] - print "mode can be one of:" - print " long - Create code for compilers that can handle very " - print " long string constants. (default)" - print " short - Create code for compilers that can only handle " - print " ANSI C89 string constants." - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:m:") - except Exception,e: - show_usage() - - long_string = 1 - for (arg,val) in args: - if arg == "-f": - file_name = val - elif arg == "-m": - if val == "short": - long_string = 0 - elif val == "long": - long_string = 1 - else: - show_usage() - - api = gl_XML.parse_GL_API( file_name ) - - printer = PrintGlProcs( long_string ) - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_table.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_table.py deleted file mode 100644 index 52b4be1d2..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_table.py +++ /dev/null @@ -1,194 +0,0 @@ -#!/usr/bin/python2 - -# (C) Copyright IBM Corporation 2004 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML -import license -import sys, getopt - -class PrintGlTable(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.header_tag = '_GLAPI_TABLE_H_' - self.name = "gl_table.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2003 Brian Paul All Rights Reserved. -(C) Copyright IBM Corporation 2004""", "BRIAN PAUL, IBM") - return - - - def printBody(self, api): - for f in api.functionIterateByOffset(): - arg_string = f.get_parameter_string() - print ' %s (GLAPIENTRYP %s)(%s); /* %d */' % (f.return_type, f.name, arg_string, f.offset) - - - def printRealHeader(self): - print '#ifndef GLAPIENTRYP' - print '#define GLAPIENTRYP' - print '#endif' - print '' - print 'typedef void (*_glapi_proc)(void); /* generic function pointer */' - print '' - print 'struct _glapi_table' - print '{' - return - - - def printRealFooter(self): - print '};' - return - - -class PrintRemapTable(gl_XML.gl_print_base): - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.header_tag = '_DISPATCH_H_' - self.name = "gl_table.py (from Mesa)" - self.license = license.bsd_license_template % ("(C) Copyright IBM Corporation 2005", "IBM") - return - - - def printRealHeader(self): - print """/** - * \\file dispatch.h - * Macros for handling GL dispatch tables. - * - * For each known GL function, there are 3 macros in this file. The first - * macro is named CALL_FuncName and is used to call that GL function using - * the specified dispatch table. The other 2 macros, called GET_FuncName - * can SET_FuncName, are used to get and set the dispatch pointer for the - * named function in the specified dispatch table. - */ -""" - - return - - def printBody(self, api): - print '#define CALL_by_offset(disp, cast, offset, parameters) \\' - print ' (*(cast (GET_by_offset(disp, offset)))) parameters' - print '#define GET_by_offset(disp, offset) \\' - print ' (offset >= 0) ? (((_glapi_proc *)(disp))[offset]) : NULL' - print '#define SET_by_offset(disp, offset, fn) \\' - print ' do { \\' - print ' if ( (offset) < 0 ) { \\' - print ' /* fprintf( stderr, "[%s:%u] SET_by_offset(%p, %d, %s)!\\n", */ \\' - print ' /* __func__, __LINE__, disp, offset, # fn); */ \\' - print ' /* abort(); */ \\' - print ' } \\' - print ' else { \\' - print ' ( (_glapi_proc *) (disp) )[offset] = (_glapi_proc) fn; \\' - print ' } \\' - print ' } while(0)' - print '' - - abi = [ "1.0", "1.1", "1.2", "GL_ARB_multitexture" ] - - functions = [] - abi_functions = [] - count = 0 - for f in api.functionIterateByOffset(): - [category, num] = api.get_category_for_name( f.name ) - if category not in abi: - functions.append( [f, count] ) - count += 1 - else: - abi_functions.append( f ) - - - for f in abi_functions: - print '#define CALL_%s(disp, parameters) (*((disp)->%s)) parameters' % (f.name, f.name) - print '#define GET_%s(disp) ((disp)->%s)' % (f.name, f.name) - print '#define SET_%s(disp, fn) ((disp)->%s = fn)' % (f.name, f.name) - - - print '' - print '#if !defined(IN_DRI_DRIVER)' - print '' - - for [f, index] in functions: - print '#define CALL_%s(disp, parameters) (*((disp)->%s)) parameters' % (f.name, f.name) - print '#define GET_%s(disp) ((disp)->%s)' % (f.name, f.name) - print '#define SET_%s(disp, fn) ((disp)->%s = fn)' % (f.name, f.name) - - print '' - print '#else' - print '' - print '#define driDispatchRemapTable_size %u' % (count) - print 'extern int driDispatchRemapTable[ driDispatchRemapTable_size ];' - print '' - - for [f, index] in functions: - print '#define %s_remap_index %u' % (f.name, index) - - print '' - - for [f, index] in functions: - arg_string = gl_XML.create_parameter_string( f.parameters, 0 ) - cast = '%s (GLAPIENTRYP)(%s)' % (f.return_type, arg_string) - - print '#define CALL_%s(disp, parameters) CALL_by_offset(disp, (%s), driDispatchRemapTable[%s_remap_index], parameters)' % (f.name, cast, f.name) - print '#define GET_%s(disp) GET_by_offset(disp, driDispatchRemapTable[%s_remap_index])' % (f.name, f.name) - print '#define SET_%s(disp, fn) SET_by_offset(disp, driDispatchRemapTable[%s_remap_index], fn)' % (f.name, f.name) - - - print '' - print '#endif /* !defined(IN_DRI_DRIVER) */' - return - - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m mode]" % sys.argv[0] - print " -m mode Mode can be 'table' or 'remap_table'." - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "f:m:") - except Exception,e: - show_usage() - - mode = "table" - for (arg,val) in args: - if arg == "-f": - file_name = val - elif arg == "-m": - mode = val - - if mode == "table": - printer = PrintGlTable() - elif mode == "remap_table": - printer = PrintRemapTable() - else: - show_usage() - - api = gl_XML.parse_GL_API( file_name ) - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_x86-64_asm.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_x86-64_asm.py deleted file mode 100644 index 1bfe3db59..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_x86-64_asm.py +++ /dev/null @@ -1,316 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, license -import sys, getopt, copy - -def should_use_push(registers): - for [reg, offset] in registers: - if reg[1:4] == "xmm": - return 0 - - N = len(registers) - return (N & 1) != 0 - - -def local_size(registers): - # The x86-64 ABI says "the value (%rsp - 8) is always a multiple of - # 16 when control is transfered to the function entry point." This - # means that the local stack usage must be (16*N)+8 for some value - # of N. (16*N)+8 = (8*(2N))+8 = 8*(2N+1). As long as N is odd, we - # meet this requirement. - - N = (len(registers) | 1) - return 8*N - - -def save_all_regs(registers): - adjust_stack = 0 - if not should_use_push(registers): - adjust_stack = local_size(registers) - print '\tsubq\t$%u, %%rsp' % (adjust_stack) - - for [reg, stack_offset] in registers: - save_reg( reg, stack_offset, adjust_stack ) - return - - -def restore_all_regs(registers): - adjust_stack = 0 - if not should_use_push(registers): - adjust_stack = local_size(registers) - - temp = copy.deepcopy(registers) - while len(temp): - [reg, stack_offset] = temp.pop() - restore_reg(reg, stack_offset, adjust_stack) - - if adjust_stack: - print '\taddq\t$%u, %%rsp' % (adjust_stack) - return - - -def save_reg(reg, offset, use_move): - if use_move: - if offset == 0: - print '\tmovq\t%s, (%%rsp)' % (reg) - else: - print '\tmovq\t%s, %u(%%rsp)' % (reg, offset) - else: - print '\tpushq\t%s' % (reg) - - return - - -def restore_reg(reg, offset, use_move): - if use_move: - if offset == 0: - print '\tmovq\t(%%rsp), %s' % (reg) - else: - print '\tmovq\t%u(%%rsp), %s' % (offset, reg) - else: - print '\tpopq\t%s' % (reg) - - return - - -class PrintGenericStubs(gl_XML.gl_print_base): - - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "gl_x86-64_asm.py (from Mesa)" - self.license = license.bsd_license_template % ("(C) Copyright IBM Corporation 2005", "IBM") - return - - - def get_stack_size(self, f): - size = 0 - for p in f.parameterIterator(): - size += p.get_stack_size() - - return size - - - def printRealHeader(self): - print "/* If we build with gcc's -fvisibility=hidden flag, we'll need to change" - print " * the symbol visibility mode to 'default'." - print ' */' - print '' - print '#include "assyntax.h"' - print '' - print '#if defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__) >= 303' - print '# pragma GCC visibility push(default)' - print '# define HIDDEN(x) .hidden x' - print '#else' - print '# define HIDDEN(x)' - print '#endif' - print '' - print '# if defined(USE_MGL_NAMESPACE)' - print '# define GL_PREFIX(n) GLNAME(CONCAT(mgl,n))' - print '# else' - print '# define GL_PREFIX(n) GLNAME(CONCAT(gl,n))' - print '# endif' - print '' - print '#if defined(PTHREADS) || defined(USE_XTHREADS) || defined(SOLARIS_THREADS) || defined(WIN32_THREADS) || defined(BEOS_THREADS)' - print '# define THREADS' - print '#endif' - print '' - print '\t.text' - print '' - print '#ifdef GLX_USE_TLS' - print '' - print '\t.globl _x86_64_get_get_dispatch; HIDDEN(_x86_64_get_get_dispatch)' - print '_x86_64_get_get_dispatch:' - print '\tlea\t_x86_64_get_dispatch(%rip), %rax' - print '\tret' - print '' - print '\t.p2align\t4,,15' - print '_x86_64_get_dispatch:' - print '\tmovq\t_glapi_tls_Dispatch@GOTTPOFF(%rip), %rax' - print '\tmovq\t%fs:(%rax), %rax' - print '\tret' - print '\t.size\t_x86_64_get_dispatch, .-_x86_64_get_dispatch' - print '' - print '#elif defined(PTHREADS)' - print '' - print '\t.extern\t_glapi_Dispatch' - print '\t.extern\t_gl_DispatchTSD' - print '\t.extern\tpthread_getspecific' - print '' - print '\t.p2align\t4,,15' - print '_x86_64_get_dispatch:' - print '\tmovq\t_gl_DispatchTSD(%rip), %rdi' - print '\tjmp\tpthread_getspecific@PLT' - print '' - print '#elif defined(THREADS)' - print '' - print '\t.extern\t_glapi_get_dispatch' - print '' - print '#endif' - print '' - return - - - def printRealFooter(self): - print '' - print '#if defined(GLX_USE_TLS) && defined(__linux__)' - print ' .section ".note.ABI-tag", "a"' - print ' .p2align 2' - print ' .long 1f - 0f /* name length */' - print ' .long 3f - 2f /* data length */' - print ' .long 1 /* note length */' - print '0: .asciz "GNU" /* vendor name */' - print '1: .p2align 2' - print '2: .long 0 /* note data: the ABI tag */' - print ' .long 2,4,20 /* Minimum kernel version w/TLS */' - print '3: .p2align 2 /* pad out section */' - print '#endif /* GLX_USE_TLS */' - return - - - def printFunction(self, f): - - # The x86-64 ABI divides function parameters into a couple - # classes. For the OpenGL interface, the only ones that are - # relevent are INTEGER and SSE. Basically, the first 8 - # GLfloat or GLdouble parameters are placed in %xmm0 - %xmm7, - # the first 6 non-GLfloat / non-GLdouble parameters are placed - # in registers listed in int_parameters. - # - # If more parameters than that are required, they are passed - # on the stack. Therefore, we just have to make sure that - # %esp hasn't changed when we jump to the actual function. - # Since we're jumping to the function (and not calling it), we - # have to make sure of that anyway! - - int_parameters = ["%rdi", "%rsi", "%rdx", "%rcx", "%r8", "%r9"] - - int_class = 0 - sse_class = 0 - stack_offset = 0 - registers = [] - for p in f.parameterIterator(): - type_name = p.get_base_type_string() - - if p.is_pointer() or (type_name != "GLfloat" and type_name != "GLdouble"): - if int_class < 6: - registers.append( [int_parameters[int_class], stack_offset] ) - int_class += 1 - stack_offset += 8 - else: - if sse_class < 8: - registers.append( ["%%xmm%u" % (sse_class), stack_offset] ) - sse_class += 1 - stack_offset += 8 - - if ((int_class & 1) == 0) and (sse_class == 0): - registers.append( ["%rbp", 0] ) - - - print '\t.p2align\t4,,15' - print '\t.globl\tGL_PREFIX(%s)' % (f.name) - print '\t.type\tGL_PREFIX(%s), @function' % (f.name) - print 'GL_PREFIX(%s):' % (f.name) - print '#if defined(GLX_USE_TLS)' - print '\tcall\t_x86_64_get_dispatch@PLT' - print '\tmovq\t%u(%%rax), %%r11' % (f.offset * 8) - print '\tjmp\t*%r11' - print '#elif defined(PTHREADS)' - - save_all_regs(registers) - print '\tcall\t_x86_64_get_dispatch@PLT' - restore_all_regs(registers) - - if f.offset == 0: - print '\tmovq\t(%rax), %r11' - else: - print '\tmovq\t%u(%%rax), %%r11' % (f.offset * 8) - - print '\tjmp\t*%r11' - - print '#else' - print '\tmovq\t_glapi_Dispatch(%rip), %rax' - print '\ttestq\t%rax, %rax' - print '\tje\t1f' - print '\tmovq\t%u(%%rax), %%r11' % (f.offset * 8) - print '\tjmp\t*%r11' - print '1:' - - save_all_regs(registers) - print '\tcall\t_glapi_get_dispatch' - restore_all_regs(registers) - - print '\tmovq\t%u(%%rax), %%r11' % (f.offset * 8) - print '\tjmp\t*%r11' - print '#endif /* defined(GLX_USE_TLS) */' - - print '\t.size\tGL_PREFIX(%s), .-GL_PREFIX(%s)' % (f.name, f.name) - print '' - return - - - def printBody(self, api): - for f in api.functionIterateByOffset(): - self.printFunction(f) - - - for f in api.functionIterateByOffset(): - for n in f.entry_points: - if n != f.name: - print '\t.globl GL_PREFIX(%s) ; .set GL_PREFIX(%s), GL_PREFIX(%s)' % (n, n, f.name) - - return - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m output_mode]" % sys.argv[0] - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - mode = "generic" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "m:f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == '-m': - mode = val - elif arg == "-f": - file_name = val - - if mode == "generic": - printer = PrintGenericStubs() - else: - print "ERROR: Invalid mode \"%s\" specified." % mode - show_usage() - - api = gl_XML.parse_GL_API( file_name ) - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/gl_x86_asm.py b/nx-X11/extras/Mesa/src/mesa/glapi/gl_x86_asm.py deleted file mode 100644 index e62687a72..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/gl_x86_asm.py +++ /dev/null @@ -1,240 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2004, 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import gl_XML, license -import sys, getopt - -class PrintGenericStubs(gl_XML.gl_print_base): - - def __init__(self): - gl_XML.gl_print_base.__init__(self) - - self.name = "gl_x86_asm.py (from Mesa)" - self.license = license.bsd_license_template % ( \ -"""Copyright (C) 1999-2001 Brian Paul All Rights Reserved. -(C) Copyright IBM Corporation 2004, 2005""", "BRIAN PAUL, IBM") - return - - - def get_stack_size(self, f): - size = 0 - for p in f.parameterIterator(): - size += p.get_stack_size() - - return size - - - def printRealHeader(self): - print '#include "assyntax.h"' - print '#include "glapioffsets.h"' - print '' - print '#if defined(STDCALL_API)' - print '# if defined(USE_MGL_NAMESPACE)' - print '# define GL_PREFIX(n,n2) GLNAME(CONCAT(mgl,n2))' - print '# else' - print '# define GL_PREFIX(n,n2) GLNAME(CONCAT(gl,n2))' - print '# endif' - print '#else' - print '# if defined(USE_MGL_NAMESPACE)' - print '# define GL_PREFIX(n,n2) GLNAME(CONCAT(mgl,n))' - print '# else' - print '# define GL_PREFIX(n,n2) GLNAME(CONCAT(gl,n))' - print '# endif' - print '#endif' - print '' - print '#define GL_OFFSET(x) CODEPTR(REGOFF(4 * x, EAX))' - print '' - print '#if defined(GNU_ASSEMBLER) && !defined(__DJGPP__) && !defined(__MINGW32__)' - print '#define GLOBL_FN(x) GLOBL x ; .type x, function' - print '#else' - print '#define GLOBL_FN(x) GLOBL x' - print '#endif' - print '' - print '#if defined(PTHREADS) || defined(USE_XTHREADS) || defined(SOLARIS_THREADS) || defined(WIN32_THREADS) || defined(BEOS_THREADS)' - print '# define THREADS' - print '#endif' - print '' - print '#ifdef GLX_USE_TLS' - print '' - print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' - print 'ALIGNTEXT16;\t\t\t\t\t\t\\' - print 'GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\' - print 'GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\' - print '\tCALL(_x86_get_dispatch) ;\t\t\t\\' - print '\tNOP ;\t\t\t\t\t\t\\' - print '\tJMP(GL_OFFSET(off))' - print '' - print '#elif defined(PTHREADS)' - print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' - print 'ALIGNTEXT16;\t\t\t\t\t\t\\' - print 'GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\' - print 'GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\' - print '\tMOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) ;\t\\' - print '\tTEST_L(EAX, EAX) ;\t\t\t\t\\' - print '\tJE(1f) ;\t\t\t\t\t\\' - print '\tJMP(GL_OFFSET(off)) ;\t\t\t\t\\' - print '1:\tCALL(_x86_get_dispatch) ;\t\t\t\\' - print '\tJMP(GL_OFFSET(off))' - print '#elif defined(THREADS)' - print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' - print 'ALIGNTEXT16;\t\t\t\t\t\t\\' - print 'GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\' - print 'GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\' - print '\tMOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) ;\t\\' - print '\tTEST_L(EAX, EAX) ;\t\t\t\t\\' - print '\tJE(1f) ;\t\t\t\t\t\\' - print '\tJMP(GL_OFFSET(off)) ;\t\t\t\t\\' - print '1:\tCALL(_glapi_get_dispatch) ;\t\t\t\\' - print '\tJMP(GL_OFFSET(off))' - print '#else /* Non-threaded version. */' - print '# define GL_STUB(fn,off,fn_alt)\t\t\t\\' - print 'ALIGNTEXT16;\t\t\t\t\t\t\\' - print 'GLOBL_FN(GL_PREFIX(fn, fn_alt));\t\t\t\\' - print 'GL_PREFIX(fn, fn_alt):\t\t\t\t\t\\' - print '\tMOV_L(CONTENT(GLNAME(_glapi_Dispatch)), EAX) ;\t\\' - print '\tJMP(GL_OFFSET(off))' - print '#endif' - print '' - print '#ifdef HAVE_ALIAS' - print '# define GL_STUB_ALIAS(fn,off,fn_alt,alias,alias_alt)\t\\' - print '\t.globl\tGL_PREFIX(fn, fn_alt) ;\t\t\t\\' - print '\t.set\tGL_PREFIX(fn, fn_alt), GL_PREFIX(alias, alias_alt)' - print '#else' - print '# define GL_STUB_ALIAS(fn,off,fn_alt,alias,alias_alt)\t\\' - print ' GL_STUB(fn, off, fn_alt)' - print '#endif' - print '' - print 'SEG_TEXT' - print '' - print '#ifdef GLX_USE_TLS' - print '' - print '\tGLOBL\tGLNAME(_x86_get_dispatch)' - print '\tHIDDEN(GLNAME(_x86_get_dispatch))' - print 'ALIGNTEXT16' - print 'GLNAME(_x86_get_dispatch):' - print '\tmovl\t%gs:_glapi_tls_Dispatch@NTPOFF, %eax' - print '\tret' - print '' - print '#elif defined(PTHREADS)' - print 'EXTERN GLNAME(_glapi_Dispatch)' - print 'EXTERN GLNAME(_gl_DispatchTSD)' - print 'EXTERN GLNAME(pthread_getspecific)' - print '' - print 'ALIGNTEXT16' - print 'GLNAME(_x86_get_dispatch):' - print '\tSUB_L(CONST(24), ESP)' - print '\tPUSH_L(GLNAME(_gl_DispatchTSD))' - print '\tCALL(GLNAME(pthread_getspecific))' - print '\tADD_L(CONST(28), ESP)' - print '\tRET' - print '#elif defined(THREADS)' - print 'EXTERN GLNAME(_glapi_get_dispatch)' - print '#endif' - print '' - - print '#if defined( GLX_USE_TLS )' - print '\t\t.section\twtext, "awx", @progbits' - print '#endif /* defined( GLX_USE_TLS ) */' - - print '' - print '\t\tALIGNTEXT16' - print '\t\tGLOBL GLNAME(gl_dispatch_functions_start)' - print '\t\tHIDDEN(GLNAME(gl_dispatch_functions_start))' - print 'GLNAME(gl_dispatch_functions_start):' - print '' - return - - - def printRealFooter(self): - print '' - print '\t\tGLOBL\tGLNAME(gl_dispatch_functions_end)' - print '\t\tHIDDEN(GLNAME(gl_dispatch_functions_end))' - print '\t\tALIGNTEXT16' - print 'GLNAME(gl_dispatch_functions_end):' - print '' - print '#if defined(GLX_USE_TLS) && defined(__linux__)' - print ' .section ".note.ABI-tag", "a"' - print ' .p2align 2' - print ' .long 1f - 0f /* name length */' - print ' .long 3f - 2f /* data length */' - print ' .long 1 /* note length */' - print '0: .asciz "GNU" /* vendor name */' - print '1: .p2align 2' - print '2: .long 0 /* note data: the ABI tag */' - print ' .long 2,4,20 /* Minimum kernel version w/TLS */' - print '3: .p2align 2 /* pad out section */' - print '#endif /* GLX_USE_TLS */' - return - - - def printBody(self, api): - for f in api.functionIterateByOffset(): - stack = self.get_stack_size(f) - - alt = "%s@%u" % (f.name, stack) - print '\tGL_STUB(%s, _gloffset_%s, %s)' % (f.name, f.name, alt) - - for f in api.functionIterateByOffset(): - stack = self.get_stack_size(f) - - alt = "%s@%u" % (f.name, stack) - - for n in f.entry_points: - if n != f.name: - alt2 = "%s@%u" % (n, stack) - print '\tGL_STUB_ALIAS(%s, _gloffset_%s, %s, %s, %s)' % (n, f.name, alt2, f.name, alt) - - return - -def show_usage(): - print "Usage: %s [-f input_file_name] [-m output_mode]" % sys.argv[0] - sys.exit(1) - -if __name__ == '__main__': - file_name = "gl_API.xml" - mode = "generic" - - try: - (args, trail) = getopt.getopt(sys.argv[1:], "m:f:") - except Exception,e: - show_usage() - - for (arg,val) in args: - if arg == '-m': - mode = val - elif arg == "-f": - file_name = val - - if mode == "generic": - printer = PrintGenericStubs() - else: - print "ERROR: Invalid mode \"%s\" specified." % mode - show_usage() - - api = gl_XML.parse_GL_API( file_name ) - - printer.Print( api ) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/license.py b/nx-X11/extras/Mesa/src/mesa/glapi/license.py deleted file mode 100644 index 02181648e..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/license.py +++ /dev/null @@ -1,47 +0,0 @@ -# (C) Copyright IBM Corporation 2004 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -bsd_license_template = """%s -All Rights Reserved. - -Permission is hereby granted, free of charge, to any person obtaining a -copy of this software and associated documentation files (the "Software"), -to deal in the Software without restriction, including without limitation -the rights to use, copy, modify, merge, publish, distribute, sub license, -and/or sell copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice (including the next -paragraph) shall be included in all copies or substantial portions of the -Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -%s, -AND/OR THEIR SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF -OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE.""" diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/mesadef.py b/nx-X11/extras/Mesa/src/mesa/glapi/mesadef.py deleted file mode 100644 index 604be2ba6..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/mesadef.py +++ /dev/null @@ -1,223 +0,0 @@ -#!/usr/bin/env python - -# $Id: mesadef.py,v 1.1.1.1 2004/06/16 09:19:06 anholt Exp $ - -# Mesa 3-D graphics library -# Version: 4.1 -# -# Copyright (C) 1999-2001 Brian Paul All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# the rights to use, copy, modify, merge, publish, distribute, sublicense, -# and/or sell copies of the Software, and to permit persons to whom the -# Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included -# in all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS -# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL -# BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN -# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN -# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - - -# Generate the mesa.def file for Windows. -# -# Usage: -# mesadef.py >mesa.def -# Then copy to src/mesa/drivers/windows/gdi -# -# Dependencies: -# The apispec file must be in the current directory. - - - -import apiparser -import string - - -def PrintHead(): - print '; DO NOT EDIT - This file generated automatically by mesadef.py script' - print 'DESCRIPTION \'Mesa (OpenGL work-alike) for Win32\'' - print 'VERSION 6.0' - print ';' - print '; Module definition file for Mesa (OPENGL32.DLL)' - print ';' - print '; Note: The OpenGL functions use the STDCALL' - print '; function calling convention. Microsoft\'s' - print '; OPENGL32 uses this convention and so must the' - print '; Mesa OPENGL32 so that the Mesa DLL can be used' - print '; as a drop-in replacement.' - print ';' - print '; The linker exports STDCALL entry points with' - print '; \'decorated\' names; e.g., _glBegin@0, where the' - print '; trailing number is the number of bytes of ' - print '; parameter data pushed onto the stack. The' - print '; callee is responsible for popping this data' - print '; off the stack, usually via a RETF n instruction.' - print ';' - print '; However, the Microsoft OPENGL32.DLL does not export' - print '; the decorated names, even though the calling convention' - print '; is STDCALL. So, this module definition file is' - print '; needed to force the Mesa OPENGL32.DLL to export the' - print '; symbols in the same manner as the Microsoft DLL.' - print '; Were it not for this problem, this file would not' - print '; be needed (for the gl* functions) since the entry' - print '; points are compiled with dllexport declspec.' - print ';' - print '; However, this file is still needed to export "internal"' - print '; Mesa symbols for the benefit of the OSMESA32.DLL.' - print ';' - print 'EXPORTS' - return -#enddef - - -def PrintTail(): - print ';' - print '; WGL API' - print '\twglChoosePixelFormat' - print '\twglCopyContext' - print '\twglCreateContext' - print '\twglCreateLayerContext' - print '\twglDeleteContext' - print '\twglDescribeLayerPlane' - print '\twglDescribePixelFormat' - print '\twglGetCurrentContext' - print '\twglGetCurrentDC' - print '\twglGetLayerPaletteEntries' - print '\twglGetPixelFormat' - print '\twglGetProcAddress' - print '\twglMakeCurrent' - print '\twglRealizeLayerPalette' - print '\twglSetLayerPaletteEntries' - print '\twglSetPixelFormat' - print '\twglShareLists' - print '\twglSwapBuffers' - print '\twglSwapLayerBuffers' - print '\twglUseFontBitmapsA' - print '\twglUseFontBitmapsW' - print '\twglUseFontOutlinesA' - print '\twglUseFontOutlinesW' - print ';' - print '; Mesa internals - mostly for OSMESA' - print '\t_ac_CreateContext' - print '\t_ac_DestroyContext' - print '\t_ac_InvalidateState' - print '\t_glapi_get_context' - print '\t_glapi_get_proc_address' - print '\t_mesa_buffer_data' - print '\t_mesa_buffer_map' - print '\t_mesa_buffer_subdata' - print '\t_mesa_bzero' - print '\t_mesa_calloc' - print '\t_mesa_choose_tex_format' - print '\t_mesa_compressed_texture_size' - print '\t_mesa_create_framebuffer' - print '\t_mesa_create_visual' - print '\t_mesa_delete_buffer_object' - print '\t_mesa_delete_texture_object' - print '\t_mesa_destroy_framebuffer' - print '\t_mesa_destroy_visual' - print '\t_mesa_enable_1_3_extensions' - print '\t_mesa_enable_1_4_extensions' - print '\t_mesa_enable_1_5_extensions' - print '\t_mesa_enable_sw_extensions' - print '\t_mesa_error' - print '\t_mesa_free' - print '\t_mesa_free_context_data' - print '\t_mesa_get_current_context' - print '\t_mesa_init_default_imports' - print '\t_mesa_initialize_context' - print '\t_mesa_make_current' - print '\t_mesa_memcpy' - print '\t_mesa_memset' - print '\t_mesa_new_buffer_object' - print '\t_mesa_new_texture_object' - print '\t_mesa_problem' - print '\t_mesa_ResizeBuffersMESA' - print '\t_mesa_store_compressed_teximage1d' - print '\t_mesa_store_compressed_teximage2d' - print '\t_mesa_store_compressed_teximage3d' - print '\t_mesa_store_compressed_texsubimage1d' - print '\t_mesa_store_compressed_texsubimage2d' - print '\t_mesa_store_compressed_texsubimage3d' - print '\t_mesa_store_teximage1d' - print '\t_mesa_store_teximage2d' - print '\t_mesa_store_teximage3d' - print '\t_mesa_store_texsubimage1d' - print '\t_mesa_store_texsubimage2d' - print '\t_mesa_store_texsubimage3d' - print '\t_mesa_strcmp' - print '\t_mesa_test_proxy_teximage' - print '\t_mesa_Viewport' - print '\t_swrast_Accum' - print '\t_swrast_alloc_buffers' - print '\t_swrast_Bitmap' - print '\t_swrast_CopyPixels' - print '\t_swrast_DrawBuffer' - print '\t_swrast_DrawPixels' - print '\t_swrast_GetDeviceDriverReference' - print '\t_swrast_Clear' - print '\t_swrast_choose_line' - print '\t_swrast_choose_triangle' - print '\t_swrast_CopyColorSubTable' - print '\t_swrast_CopyColorTable' - print '\t_swrast_CopyConvolutionFilter1D' - print '\t_swrast_CopyConvolutionFilter2D' - print '\t_swrast_copy_teximage1d' - print '\t_swrast_copy_teximage2d' - print '\t_swrast_copy_texsubimage1d' - print '\t_swrast_copy_texsubimage2d' - print '\t_swrast_copy_texsubimage3d' - print '\t_swrast_CreateContext' - print '\t_swrast_DestroyContext' - print '\t_swrast_InvalidateState' - print '\t_swrast_ReadPixels' - print '\t_swrast_zbuffer_address' - print '\t_swsetup_Wakeup' - print '\t_swsetup_CreateContext' - print '\t_swsetup_DestroyContext' - print '\t_swsetup_InvalidateState' - print '\t_tnl_CreateContext' - print '\t_tnl_DestroyContext' - print '\t_tnl_InvalidateState' - print '\t_tnl_MakeCurrent' - print '\t_tnl_run_pipeline' -#enddef - - -records = [] - -def FindOffset(funcName): - for (name, alias, offset) in records: - if name == funcName: - return offset - #endif - #endfor - return -1 -#enddef - - -def EmitEntry(name, returnType, argTypeList, argNameList, alias, offset): - if alias == '': - dispatchName = name - else: - dispatchName = alias - if offset < 0: - offset = FindOffset(dispatchName) - if offset >= 0 and string.find(name, "unused") == -1: - print '\tgl%s' % (name) - # save this info in case we need to look up an alias later - records.append((name, dispatchName, offset)) - -#enddef - - -PrintHead() -apiparser.ProcessSpecFile("APIspec", EmitEntry) -PrintTail() diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/next_available_offset.sh b/nx-X11/extras/Mesa/src/mesa/glapi/next_available_offset.sh deleted file mode 100755 index e7d6c2f4a..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/next_available_offset.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash -# -# (C) Copyright IBM Corporation 2004 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -# Trivial shell script to search the API definition file and print out the -# next numerically available API entry-point offset. This could probably -# be made smarter, but it would be better to use the existin Python -# framework to do that. This is just a quick-and-dirty hack. - -num=$(grep 'offset="' gl_API.xml |\ - sed 's/.\+ offset="//g;s/".*$//g' |\ - grep -v '?' |\ - sort -rn |\ - head -1) - -echo $((num + 1)) diff --git a/nx-X11/extras/Mesa/src/mesa/glapi/typeexpr.py b/nx-X11/extras/Mesa/src/mesa/glapi/typeexpr.py deleted file mode 100644 index eface2a52..000000000 --- a/nx-X11/extras/Mesa/src/mesa/glapi/typeexpr.py +++ /dev/null @@ -1,288 +0,0 @@ -#!/usr/bin/env python - -# (C) Copyright IBM Corporation 2005 -# All Rights Reserved. -# -# Permission is hereby granted, free of charge, to any person obtaining a -# copy of this software and associated documentation files (the "Software"), -# to deal in the Software without restriction, including without limitation -# on the rights to use, copy, modify, merge, publish, distribute, sub -# license, and/or sell copies of the Software, and to permit persons to whom -# the Software is furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice (including the next -# paragraph) shall be included in all copies or substantial portions of the -# Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL -# IBM AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# Authors: -# Ian Romanick <idr@us.ibm.com> - -import string, copy - -class type_node: - def __init__(self): - self.pointer = 0 - self.const = 0 - self.signed = 1 - self.integer = 1 - - # If elements is set to non-zero, then field is an array. - self.elements = 0 - - self.name = None - self.size = 0 - return - - - def string(self): - s = "" - - if self.pointer: - s = "* " - - if self.const: - s += "const " - - if not self.pointer: - if self.integer: - if self.signed: - s += "signed " - else: - s += "unsigned " - - if self.name: - s += "%s " % (self.name) - - return s - - -class type_table: - def __init__(self): - self.types_by_name = {} - return - - - def add_type(self, type_expr): - self.types_by_name[ type_expr.get_base_name() ] = type_expr - return - - - def find_type(self, name): - if name in self.types_by_name: - return self.types_by_name[ name ] - else: - return None - - -def create_initial_types(): - tt = type_table() - - basic_types = [ ["char", 1, 1], \ - ["short", 2, 1], \ - ["int", 4, 1], \ - ["long", 4, 1], \ - ["float", 4, 0], \ - ["double", 8, 0], \ - ["enum", 4, 1] ] - - - for [type_name, type_size, integer] in basic_types: - te = type_expression(None) - tn = type_node() - tn.name = type_name - tn.size = type_size - tn.integer = integer - te.expr.append(tn) - tt.add_type( te ) - - type_expression.built_in_types = tt - return - - -class type_expression: - built_in_types = None - - def __init__(self, type_string, extra_types = None): - self.expr = [] - - if not type_string: return - - self.original_string = type_string - - if not type_expression.built_in_types: - raise RuntimeError("create_initial_types must be called before creating type_expression objects.") - - - elements = string.split( string.replace( type_string, "*", " * " ) ) - - const = 0 - t = None - signed = 0 - unsigned = 0 - - for i in elements: - if i == "const": - if t and t.pointer: - t.const = 1 - else: - const = 1 - elif i == "signed": - signed = 1 - elif i == "unsigned": - unsigned = 1 - elif i == "*": - # This is a quirky special-case because of the - # way the C works for types. If 'unsigned' is - # specified all by itself, it is treated the - # same as "unsigned int". - - if unsigned: - self.set_base_type( "int", signed, unsigned, const, extra_types ) - const = 0 - signed = 0 - unsigned = 0 - - if not self.expr: - raise RuntimeError("Invalid type expression (dangling pointer)") - - if signed: - raise RuntimeError("Invalid type expression (signed / unsigned applied to pointer)") - - t = type_node() - t.pointer = 1 - self.expr.append( t ) - else: - if self.expr: - raise RuntimeError('Invalid type expression (garbage after pointer qualifier -> "%s")' % (self.original_string)) - - self.set_base_type( i, signed, unsigned, const, extra_types ) - const = 0 - signed = 0 - unsigned = 0 - - if signed and unsigned: - raise RuntimeError("Invalid type expression (both signed and unsigned specified)") - - - if const: - raise RuntimeError("Invalid type expression (dangling const)") - - if unsigned: - raise RuntimeError("Invalid type expression (dangling signed)") - - if signed: - raise RuntimeError("Invalid type expression (dangling unsigned)") - - return - - - def set_base_type(self, type_name, signed, unsigned, const, extra_types): - te = type_expression.built_in_types.find_type( type_name ) - if not te: - te = extra_types.find_type( type_name ) - - if not te: - raise RuntimeError('Unknown base type "%s".' % (type_name)) - - self.expr = copy.deepcopy(te.expr) - - t = self.expr[ len(self.expr) - 1 ] - t.const = const - if signed: - t.signed = 1 - elif unsigned: - t.signed = 0 - - - def set_base_type_node(self, tn): - self.expr = [tn] - return - - - def set_elements(self, count): - tn = self.expr[0] - - tn.elements = count - return - - - def string(self): - s = "" - for t in self.expr: - s += t.string() - - return s - - - def get_base_type_node(self): - return self.expr[0] - - - def get_base_name(self): - if len(self.expr): - return self.expr[0].name - else: - return None - - - def get_element_size(self): - tn = self.expr[0] - - if tn.elements: - return tn.elements * tn.size - else: - return tn.size - - - def get_element_count(self): - tn = self.expr[0] - return tn.elements - - - def get_stack_size(self): - tn = self.expr[ len(self.expr) - 1 ] - - if tn.elements or tn.pointer: - return 4 - elif not tn.integer: - return tn.size - else: - return 4 - - - def is_pointer(self): - tn = self.expr[ len(self.expr) - 1 ] - return tn.pointer - - - def format_string(self): - tn = self.expr[ len(self.expr) - 1 ] - if tn.pointer: - return "%p" - elif not tn.integer: - return "%f" - else: - return "%d" - - - -if __name__ == '__main__': - - types_to_try = [ "int", "int *", "const int *", "int * const", "const int * const", \ - "unsigned * const *", \ - "float", "const double", "double * const"] - - create_initial_types() - - for t in types_to_try: - print 'Trying "%s"...' % (t) - te = type_expression( t ) - print 'Got "%s" (%u, %u).' % (te.string(), te.get_stack_size(), te.get_element_size()) |