Commit a892c99d authored by Yaroslav Halchenko's avatar Yaroslav Halchenko

Imported Upstream version 1.5.0dfsg1

parent 089be703
The OpenGL Extension Wrangler Library
Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org>
Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
Copyright (C) 2002, Lev Povalahev
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* The name of the author may be used to endorse or promote products
derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
Mesa 3-D graphics library
Version: 7.0
Copyright (C) 1999-2007 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.
Copyright (c) 2007 The Khronos Group Inc.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and/or associated documentation files (the
"Materials"), to deal in the Materials without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Materials, and to
permit persons to whom the Materials are 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 Materials.
THE MATERIALS ARE 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 THE AUTHORS OR COPYRIGHT HOLDERS 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
MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
#!gmake
## The OpenGL Extension Wrangler Library
## Copyright (C) 2002-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002, Lev Povalahev
## All rights reserved.
##
......@@ -50,14 +50,13 @@ TARBALL = ../glew_$(GLEW_VERSION).tar.gz
AR = ar
INSTALL = install
STRIP = strip
RM = rm -f
LN = ln -sf
ifeq ($(MAKECMDGOALS), debug)
OPT = -g
STRIP =
else
OPT = $(POPT)
STRIP = -s
endif
INCLUDE = -Iinclude
CFLAGS = $(OPT) $(WARN) $(INCLUDE) $(CFLAGS.EXTRA)
......@@ -114,16 +113,12 @@ install: all
$(INSTALL) -d -m 0755 $(LIBDIR)
# runtime
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(BINDIR)/
$(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(BINDIR)/
else
ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
strip -x lib/$(LIB.SHARED)
$(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
else
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
endif
endif
# development files
$(INSTALL) -m 0644 include/GL/wglew.h $(INCDIR)/
......@@ -132,14 +127,9 @@ endif
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/
else
ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
strip -x lib/$(LIB.STATIC)
$(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
else
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
endif
endif
# utilities
$(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) $(BINDIR)/
......
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......@@ -11,7 +11,8 @@ include ../config/version
SHELL = bash
REGISTRY = registry
REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/
REGISTRY_URL = http://www.opengl.org/registry/
#http://oss.sgi.com/projects/ogl-sample/registry/
BIN = bin
SRC = src
CORE = core
......@@ -105,7 +106,8 @@ $(I.DEST)/glew.h: $(EXT)/.dummy
@echo "--------------------------------------------------------------------"
test -d $(I.DEST) || mkdir -p $(I.DEST)
cp -f $(SRC)/glew_license.h $@
cat $(SRC)/sgi_license.h >> $@
cat $(SRC)/mesa_license.h >> $@
cat $(SRC)/khronos_license.h >> $@
cat $(SRC)/glew_head.h >> $@
$(BIN)/make_header.pl GLAPIENTRY GL $(GL_CORE_SPEC) >> $@
$(BIN)/make_header.pl GLAPIENTRY GL $(GL_EXT_SPEC) >> $@
......@@ -125,6 +127,7 @@ $(I.DEST)/wglew.h: $(EXT)/.dummy
@echo "Creating wglew.h"
@echo "--------------------------------------------------------------------"
cp -f $(SRC)/glew_license.h $@
cat $(SRC)/khronos_license.h >> $@
cat $(SRC)/wglew_head.h >> $@
$(BIN)/make_header.pl WINAPI WGL $(WGL_EXT_SPEC) >> $@
echo -e "/* ------------------------------------------------------------------------- */\n\n#ifdef GLEW_MX\n#define WGLEW_EXPORT\n#else\n#define WGLEW_EXPORT GLEWAPI\n#endif /* GLEW_MX */\n\n#ifdef GLEW_MX\nstruct WGLEWContextStruct\n{\n#endif /* GLEW_MX */" >> $@
......@@ -138,7 +141,8 @@ $(I.DEST)/glxew.h: $(EXT)/.dummy
@echo "Creating glxew.h"
@echo "--------------------------------------------------------------------"
cp -f $(SRC)/glew_license.h $@
cat $(SRC)/glx_license.h >> $@
cat $(SRC)/mesa_license.h >> $@
cat $(SRC)/khronos_license.h >> $@
cat $(SRC)/glxew_head.h >> $@
$(BIN)/make_header.pl '' GLX $(GLX_CORE_SPEC) >> $@
$(BIN)/make_header.pl '' GLX $(GLX_EXT_SPEC) >> $@
......@@ -206,6 +210,9 @@ $(S.DEST)/glew.c: $(EXT)/.dummy
$(BIN)/make_str.pl $(GLX_CORE_SPEC) $(GLX_EXT_SPEC) >> $@
cat $(SRC)/glew_str_tail.c >> $@
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@
perl -e "s/GLEW_VERSION_MAJOR_STRING/$(GLEW_MAJOR)/g" -pi $@
perl -e "s/GLEW_VERSION_MINOR_STRING/$(GLEW_MINOR)/g" -pi $@
perl -e "s/GLEW_VERSION_MICRO_STRING/$(GLEW_MICRO)/g" -pi $@
perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@
perl -e "s/\(\(glColorSubTable = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glColorSubTable = /g" -pi $@
$(BIN)/fix_OML_sync_control.sh $@
......@@ -259,6 +266,9 @@ $(S.DEST)/glew_init.c: $(EXT)/.dummy
echo -e "\n return GLEW_OK;\n}\n\n#endif /* !__APPLE__ || GLEW_APPLE_GLX */\n" >> $@;
cat $(SRC)/glew_init_tail.c >> $@
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@
perl -e "s/GLEW_VERSION_MAJOR_STRING/$(GLEW_MAJOR)/g" -pi $@
perl -e "s/GLEW_VERSION_MINOR_STRING/$(GLEW_MINOR)/g" -pi $@
perl -e "s/GLEW_VERSION_MICRO_STRING/$(GLEW_MICRO)/g" -pi $@
perl -e "s/GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader\(GLEW_CONTEXT_ARG_VAR_INIT\);/{ GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(GLEW_CONTEXT_ARG_VAR_INIT); _glewInit_GL_ARB_vertex_program(GLEW_CONTEXT_ARG_VAR_INIT); }/g" -pi $@
perl -e "s/\(\(glBlendColor = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glBlendColor = /g" -pi $@
$(BIN)/fix_OML_sync_control.sh $@
......
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......@@ -10,7 +10,7 @@ my %regex = (
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
exturl => qr/^http.+$/,
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i,
token => qr/^([A-Z][A-Z0-9_]*)\s+((?:0x)?[0-9A-F]+|[A-Z][A-Z0-9_]*)$/,
token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-F]+|[A-Z][A-Z0-9_]*)$/,
type => qr/^typedef\s+(.+)\s+([\*A-Za-z0-9_]+)$/,
exact => qr/.*;$/,
);
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......@@ -47,6 +47,8 @@ my %typemap = (
# ARB VBO introduces these.
sizeiptr => "GLsizeiptr",
intptr => "GLintptr",
sizeiptrARB => "GLsizeiptrARB",
intptrARB => "GLintptrARB",
......@@ -266,7 +268,8 @@ my @speclist = ();
my %extensions = ();
my $ext_dir = shift;
my $reg_http = "http://oss.sgi.com/projects/ogl-sample/";
my $reg_http = "http://www.opengl.org/registry/specs/";
#my $reg_http = "http://oss.sgi.com/projects/ogl-sample/";
# Take command line arguments or read list from file
if (@ARGV)
......@@ -286,7 +289,9 @@ foreach my $spec (sort @speclist)
my $info = "$ext_dir/" . $ext;
open EXT, ">$info";
print EXT $ext . "\n";
print EXT $reg_http . $spec . "\n";
my $specname = $spec;
$specname =~ s/registry\///;
print EXT $reg_http . $specname . "\n";
my $prefix = $ext;
$prefix =~ s/^(.+?)(_.+)$/$1/;
......
#!/bin/bash
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......@@ -66,6 +66,17 @@ EOT
GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
EOT
# fix WGL_ARB_make_current_read
cat >> $1/WGL_ARB_make_current_read <<EOT
ERROR_INVALID_PIXEL_TYPE_ARB 0x2043
ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB 0x2054
EOT
# fix WGL_EXT_make_current_read
cat >> $1/WGL_EXT_make_current_read <<EOT
ERROR_INVALID_PIXEL_TYPE_EXT 0x2043
EOT
# add typedefs to GL_ARB_vertex_buffer_object; (from personal communication
# with Marco Fabbricatore).
#
......
#!/bin/sh
##
## Copyright (C) 2003-2007, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2007, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
##
## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software
......@@ -18,7 +18,7 @@ wget \
--mirror \
--no-parent \
--no-host-directories \
--cut-dirs=3 \
--cut-dirs=2 \
--accept=txt,html \
$2
......@@ -47,6 +47,8 @@ GL_VERSION_1_4
void glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer)
void glMultiDrawArrays (GLenum mode, GLint *first, GLsizei *count, GLsizei primcount)
void glMultiDrawElements (GLenum mode, GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount)
void glPointParameteri (GLenum pname, GLint param)
void glPointParameteriv (GLenum pname, GLint *params)
void glPointParameterf (GLenum pname, GLfloat param)
void glPointParameterfv (GLenum pname, GLfloat *params)
void glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue)
......
GLX_3DFX_multisample
http://oss.sgi.com/projects/ogl-sample/registry/3DFX/3dfx_multisample.txt
http://www.opengl.org/registry/specs/3DFX/3dfx_multisample.txt
GLX_SAMPLE_BUFFERS_3DFX 0x8050
GLX_SAMPLES_3DFX 0x8051
GLX_ARB_fbconfig_float
http://oss.sgi.com/projects/ogl-sample/registry/ARB/color_buffer_float.txt
http://www.opengl.org/registry/specs/ARB/color_buffer_float.txt
GLX_RGBA_FLOAT_BIT 0x00000004
GLX_RGBA_FLOAT_TYPE 0x20B9
GLX_ARB_multisample
http://oss.sgi.com/projects/ogl-sample/registry/ARB/multisample.txt
http://www.opengl.org/registry/specs/ARB/multisample.txt
GLX_SAMPLE_BUFFERS_ARB 100000
GLX_SAMPLES_ARB 100001
GLX_EXT_import_context
http://oss.sgi.com/projects/ogl-sample/registry/EXT/import_context.txt
http://www.opengl.org/registry/specs/EXT/import_context.txt
GLX_SHARE_CONTEXT_EXT 0x800A
GLX_VISUAL_ID_EXT 0x800B
GLX_SCREEN_EXT 0x800C
......
GLX_EXT_scene_marker
http://oss.sgi.com/projects/ogl-sample/registry/EXT/scene_marker.txt
http://www.opengl.org/registry/specs/EXT/scene_marker.txt
GLX_EXT_texture_from_pixmap
http://www.opengl.org/registry/specs/EXT/texture_from_pixmap.txt
GLX_TEXTURE_1D_BIT_EXT 0x00000001
GLX_TEXTURE_2D_BIT_EXT 0x00000002
GLX_TEXTURE_RECTANGLE_BIT_EXT 0x00000004
GLX_BIND_TO_TEXTURE_RGB_EXT 0x20D0
GLX_BIND_TO_TEXTURE_RGBA_EXT 0x20D1
GLX_BIND_TO_MIPMAP_TEXTURE_EXT 0x20D2
GLX_BIND_TO_TEXTURE_TARGETS_EXT 0x20D3
GLX_Y_INVERTED_EXT 0x20D4
GLX_TEXTURE_FORMAT_EXT 0x20D5
GLX_TEXTURE_TARGET_EXT 0x20D6
GLX_MIPMAP_TEXTURE_EXT 0x20D7
GLX_TEXTURE_FORMAT_NONE_EXT 0x20D8
GLX_TEXTURE_FORMAT_RGB_EXT 0x20D9
GLX_TEXTURE_FORMAT_RGBA_EXT 0x20DA
GLX_TEXTURE_1D_EXT 0x20DB
GLX_TEXTURE_2D_EXT 0x20DC
GLX_TEXTURE_RECTANGLE_EXT 0x20DD
GLX_FRONT_LEFT_EXT 0x20DE
GLX_FRONT_RIGHT_EXT 0x20DF
GLX_BACK_LEFT_EXT 0x20E0
GLX_BACK_RIGHT_EXT 0x20E1
GLX_AUX0_EXT 0x20E2
GLX_AUX1_EXT 0x20E3
GLX_AUX2_EXT 0x20E4
GLX_AUX3_EXT 0x20E5
GLX_AUX4_EXT 0x20E6
GLX_AUX5_EXT 0x20E7
GLX_AUX6_EXT 0x20E8
GLX_AUX7_EXT 0x20E9
GLX_AUX8_EXT 0x20EA
GLX_AUX9_EXT 0x20EB
void glXBindTexImageEXT (Display* display, GLXDrawable drawable, int buffer, const int *attrib_list)
void glXReleaseTexImageEXT (Display* display, GLXDrawable drawable, int buffer)
GLX_EXT_visual_info
http://oss.sgi.com/projects/ogl-sample/registry/EXT/visual_info.txt
http://www.opengl.org/registry/specs/EXT/visual_info.txt
GLX_X_VISUAL_TYPE_EXT 0x22
GLX_TRANSPARENT_TYPE_EXT 0x23
GLX_TRANSPARENT_INDEX_VALUE_EXT 0x24
......
GLX_EXT_visual_rating
http://oss.sgi.com/projects/ogl-sample/registry/EXT/visual_rating.txt
http://www.opengl.org/registry/specs/EXT/visual_rating.txt
GLX_VISUAL_CAVEAT_EXT 0x20
GLX_SLOW_VISUAL_EXT 0x8001
GLX_NON_CONFORMANT_VISUAL_EXT 0x800D
GLX_MESA_agp_offset
http://oss.sgi.com/projects/ogl-sample/registry/MESA/agp_offset.txt
http://www.opengl.org/registry/specs/MESA/agp_offset.txt
unsigned int glXGetAGPOffsetMESA (const void* pointer)
GLX_MESA_copy_sub_buffer
http://oss.sgi.com/projects/ogl-sample/registry/MESA/copy_sub_buffer.txt
http://www.opengl.org/registry/specs/MESA/copy_sub_buffer.txt
void glXCopySubBufferMESA (Display* dpy, GLXDrawable drawable, int x, int y, int width, int height)
GLX_MESA_pixmap_colormap
http://oss.sgi.com/projects/ogl-sample/registry/MESA/pixmap_colormap.txt
http://www.opengl.org/registry/specs/MESA/pixmap_colormap.txt
GLXPixmap glXCreateGLXPixmapMESA (Display* dpy, XVisualInfo *visual, Pixmap pixmap, Colormap cmap)
GLX_MESA_release_buffers
http://oss.sgi.com/projects/ogl-sample/registry/MESA/release_buffers.txt
http://www.opengl.org/registry/specs/MESA/release_buffers.txt
Bool glXReleaseBuffersMESA (Display* dpy, GLXDrawable d)
GLX_MESA_set_3dfx_mode
http://oss.sgi.com/projects/ogl-sample/registry/MESA/set_3dfx_mode.txt
http://www.opengl.org/registry/specs/MESA/set_3dfx_mode.txt
GLX_3DFX_WINDOW_MODE_MESA 0x1
GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
GLboolean glXSet3DfxModeMESA (GLint mode)
GLX_OML_swap_method
http://oss.sgi.com/projects/ogl-sample/registry/OML/glx_swap_method.txt
http://www.opengl.org/registry/specs/OML/glx_swap_method.txt
GLX_SWAP_METHOD_OML 0x8060
GLX_SWAP_EXCHANGE_OML 0x8061
GLX_SWAP_COPY_OML 0x8062
......
GLX_OML_sync_control
http://oss.sgi.com/projects/ogl-sample/registry/OML/glx_sync_control.txt
http://www.opengl.org/registry/specs/OML/glx_sync_control.txt
Bool glXGetMscRateOML (Display* dpy, GLXDrawable drawable, int32_t* numerator, int32_t* denominator)
Bool glXGetSyncValuesOML (Display* dpy, GLXDrawable drawable, int64_t* ust, int64_t* msc, int64_t* sbc)
int64_t glXSwapBuffersMscOML (Display* dpy, GLXDrawable drawable, int64_t target_msc, int64_t divisor, int64_t remainder)
......
GLX_SGIS_blended_overlay
http://oss.sgi.com/projects/ogl-sample/registry/SGIS/blended_overlay.txt
http://www.opengl.org/registry/specs/SGIS/blended_overlay.txt
GLX_BLENDED_RGBA_SGIS 0x8025
GLX_SGIS_color_range
http://oss.sgi.com/projects/ogl-sample/registry/SGIS/color_range.txt
http://www.opengl.org/registry/specs/SGIS/color_range.txt
GLX_MAX_GREEN_SGIS 0
GLX_MIN_RED_SGIS 0
GLX_MIN_BLUE_SGIS 0
......
GLX_SGIS_multisample
http://oss.sgi.com/projects/ogl-sample/registry/SGIS/multisample.txt
http://www.opengl.org/registry/specs/SGIS/multisample.txt
GLX_SAMPLE_BUFFERS_SGIS 100000
GLX_SAMPLES_SGIS 100001
GLX_SGIX_fbconfig
http://oss.sgi.com/projects/ogl-sample/registry/SGIX/fbconfig.txt
http://www.opengl.org/registry/specs/SGIX/fbconfig.txt
GLX_WINDOW_BIT_SGIX 0x00000001
GLX_RGBA_BIT_SGIX 0x00000001
GLX_PIXMAP_BIT_SGIX 0x00000002
......
GLX_SGIX_pbuffer
http://oss.sgi.com/projects/ogl-sample/registry/SGIX/pbuffer.txt
http://www.opengl.org/registry/specs/SGIX/pbuffer.txt
GLX_FRONT_LEFT_BUFFER_BIT_SGIX 0x00000001
GLX_FRONT_RIGHT_BUFFER_BIT_SGIX 0x00000002
GLX_PBUFFER_BIT_SGIX 0x00000004
......
GLX_SGIX_video_resize
http://oss.sgi.com/projects/ogl-sample/registry/SGIX/video_resize.txt
http://www.opengl.org/registry/specs/SGIX/video_resize.txt
GLX_SYNC_FRAME_SGIX 0x00000000
GLX_SYNC_SWAP_SGIX 0x00000001