Commit 4558c099 authored by Yaroslav Halchenko's avatar Yaroslav Halchenko

Imported Upstream version 1.3.4

parent e42d90c3
2005-05-16 00:35 ikits
* auto/src/template.html, doc/advanced.html, doc/basic.html,
doc/credits.html, doc/index.html, doc/install.html, doc/log.html:
getting ready for the release
2005-05-16 00:14 ikits
* auto/Makefile: Added option for splitting the source into
multiple files
2005-05-16 00:13 ikits
* auto/bin/update_ext.sh: Fixed GL_ARB_transpose_matrix bug
2005-04-22 18:47 ikits
* auto/: bin/update_ext.sh, core/GL_VERSION_2_0: fixed bugs 1185517
and 1182116
2005-04-04 23:49 ikits
* auto/src/: glew_head.c, glew_init_gl.c: fix for OGL 2.0 problem
2005-03-16 21:49 ikits
* config/version: bump version number
2005-03-16 21:48 ikits
* auto/src/glew_init_gl.c: minor issue
2005-03-16 21:04 ikits
* doc/advanced.html, doc/basic.html, doc/credits.html,
doc/index.html, doc/install.html, doc/log.html,
auto/src/template.html: getting ready for the release
2005-03-16 20:49 ikits
* ChangeLog: it's that time again
2005-03-16 20:48 ikits
* TODO.txt: fix it when there is time
2005-03-16 20:45 ikits
* auto/src/glew_init_gl.c: added check for crippled hardware
2005-03-14 23:50 ikits
* auto/src/template.html: documentation update
2005-03-14 23:38 ikits
* doc/log.html: update log
2005-03-14 23:24 ikits
* TODO.txt: done
2005-03-14 23:21 ikits
* doc/: advanced.html, basic.html, credits.html, index.html,
install.html, log.html, glew.css: changes for html 4.01
compliance
2005-03-14 00:13 ikits
* TODO.txt: oops
2005-03-14 00:10 ikits
* TODO.txt: some more
2005-03-14 00:08 ikits
* TODO.txt: the road ahead
2005-03-14 00:00 ikits
* config/: Makefile.mingw, Makefile.mingw32: fixed bug #1161790
2005-03-13 23:09 ikits
* auto/core/: GL_APPLE_pixel_buffer, GL_EXT_framebuffer_object,
GL_SGIX_shadow: cleanup and bug fixes; thanks to Stephane for
these
2005-02-05 02:17 ikits
* auto/core/GL_VERSION_2_0: fixed bug 1116569
2005-02-03 00:25 ikits
* ChangeLog: version bump
2005-02-03 00:21 ikits
* config/version: version bump
2005-02-03 00:13 ikits
* doc/log.html: oops
2005-02-02 23:28 ikits
* doc/index.html: added reference
2005-02-02 22:49 ikits
* doc/install.html: ready for release
2005-02-02 22:34 ikits
* auto/Makefile, auto/src/template.html, doc/advanced.html,
doc/basic.html, doc/credits.html, doc/glew.css, doc/index.html,
doc/install.html, doc/log.html: prepare for release
2005-01-30 17:26 ikits
* doc/advanced.html, doc/basic.html, doc/credits.html,
doc/index.html, doc/install.html, doc/log.html,
auto/src/template.html: ,
2005-01-30 17:12 ikits
* doc/install.html: corrected VS.NET install location
2005-01-30 01:46 ikits
* auto/src/: glew.rc, glewinfo.rc, visualinfo.rc: added description
fields
2005-01-30 01:35 ikits
* ChangeLog, doc/log.html: update logs
2005-01-29 20:48 ikits 2005-01-29 20:48 ikits
* auto/Makefile, auto/src/glew.rc, auto/src/glewinfo.rc, * auto/Makefile, auto/src/glew.rc, auto/src/glewinfo.rc,
......
#!gmake #!gmake
## The OpenGL Extension Wrangler Library ## The OpenGL Extension Wrangler Library
## Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002, Lev Povalahev ## Copyright (C) 2002, Lev Povalahev
## All rights reserved. ## All rights reserved.
## ##
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
## THE POSSIBILITY OF SUCH DAMAGE. ## THE POSSIBILITY OF SUCH DAMAGE.
GLEW_DEST ?= /usr GLEW_DEST ?= /usr
LIBDIR = $(GLEW_DEST)/lib
include config/version include config/version
...@@ -112,18 +113,18 @@ install: all ...@@ -112,18 +113,18 @@ install: all
# directories # directories
$(INSTALL) -d -m 0755 $(GLEW_DEST)/bin $(INSTALL) -d -m 0755 $(GLEW_DEST)/bin
$(INSTALL) -d -m 0755 $(GLEW_DEST)/include/GL $(INSTALL) -d -m 0755 $(GLEW_DEST)/include/GL
$(INSTALL) -d -m 0755 $(GLEW_DEST)/lib $(INSTALL) -d -m 0755 $(LIBDIR)
# runtime # runtime
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/bin/ $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/bin/
else else
ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin) ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
strip -x lib/$(LIB.SHARED) strip -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/ $(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME) $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
else else
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/ $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME) $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
endif endif
endif endif
# development files # development files
...@@ -131,15 +132,15 @@ endif ...@@ -131,15 +132,15 @@ endif
$(INSTALL) -m 0644 include/GL/glew.h $(GLEW_DEST)/include/GL $(INSTALL) -m 0644 include/GL/glew.h $(GLEW_DEST)/include/GL
$(INSTALL) -m 0644 include/GL/glxew.h $(GLEW_DEST)/include/GL $(INSTALL) -m 0644 include/GL/glxew.h $(GLEW_DEST)/include/GL
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(GLEW_DEST)/lib/ $(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/
else else
ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin) ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
strip -x lib/$(LIB.STATIC) strip -x lib/$(LIB.STATIC)
$(INSTALL) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/ $(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK) $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
else else
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/ $(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK) $(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
endif endif
endif endif
# utilities # utilities
...@@ -149,13 +150,13 @@ uninstall: ...@@ -149,13 +150,13 @@ uninstall:
$(RM) $(GLEW_DEST)/include/GL/wglew.h $(RM) $(GLEW_DEST)/include/GL/wglew.h
$(RM) $(GLEW_DEST)/include/GL/glew.h $(RM) $(GLEW_DEST)/include/GL/glew.h
$(RM) $(GLEW_DEST)/include/GL/glxew.h $(RM) $(GLEW_DEST)/include/GL/glxew.h
$(RM) $(GLEW_DEST)/lib/$(LIB.DEVLNK) $(RM) $(LIBDIR)/$(LIB.DEVLNK)
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw) ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(RM) $(GLEW_DEST)/bin/$(LIB.SHARED) $(RM) $(GLEW_DEST)/bin/$(LIB.SHARED)
else else
$(RM) $(GLEW_DEST)/lib/$(LIB.SONAME) $(RM) $(LIBDIR)/$(LIB.SONAME)
$(RM) $(GLEW_DEST)/lib/$(LIB.SHARED) $(RM) $(LIBDIR)/$(LIB.SHARED)
$(RM) $(GLEW_DEST)/lib/$(LIB.STATIC) $(RM) $(LIBDIR)/$(LIB.STATIC)
endif endif
$(RM) $(GLEW_DEST)/bin/$(GLEWINFO.BIN) $(GLEW_DEST)/bin/$(VISUALINFO.BIN) $(RM) $(GLEW_DEST)/bin/$(GLEWINFO.BIN) $(GLEW_DEST)/bin/$(VISUALINFO.BIN)
......
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
include ../config/version include ../config/version
#GLEW_SPLIT_SOURCE = yes
SHELL = bash SHELL = bash
REGISTRY = registry REGISTRY = registry
REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/ REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/
...@@ -44,13 +46,17 @@ I.TARGETS = \ ...@@ -44,13 +46,17 @@ I.TARGETS = \
$(I.DEST)/wglew.h \ $(I.DEST)/wglew.h \
$(I.DEST)/glxew.h $(I.DEST)/glxew.h
ifeq (yes,$(GLEW_SPLIT_SOURCE))
S.TARGETS = \
$(S.DEST)/glew_def.c \
$(S.DEST)/glew_init.c \
$(S.DEST)/glew_str.c \
$(S.DEST)/glewinfo.c
else
S.TARGETS = \ S.TARGETS = \
$(S.DEST)/glew.c \ $(S.DEST)/glew.c \
$(S.DEST)/glewinfo.c $(S.DEST)/glewinfo.c
endif
# $(S.DEST)/glew_def.c \
# $(S.DEST)/glew_init.c \
# $(S.DEST)/glew_str.c \
D.TARGETS = \ D.TARGETS = \
$(D.DEST)/glew.html \ $(D.DEST)/glew.html \
...@@ -201,6 +207,7 @@ $(S.DEST)/glew.c: $(EXT)/.dummy ...@@ -201,6 +207,7 @@ $(S.DEST)/glew.c: $(EXT)/.dummy
cat $(SRC)/glew_str_tail.c >> $@ cat $(SRC)/glew_str_tail.c >> $@
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@ perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/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/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 $@ $(BIN)/fix_OML_sync_control.sh $@
rm -f $@.bak rm -f $@.bak
...@@ -253,6 +260,7 @@ $(S.DEST)/glew_init.c: $(EXT)/.dummy ...@@ -253,6 +260,7 @@ $(S.DEST)/glew_init.c: $(EXT)/.dummy
cat $(SRC)/glew_init_tail.c >> $@ cat $(SRC)/glew_init_tail.c >> $@
perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/g" -pi $@ perl -e "s/GLEW_VERSION_STRING/$(GLEW_VERSION)/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/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 $@ $(BIN)/fix_OML_sync_control.sh $@
rm -f $@.bak rm -f $@.bak
...@@ -296,6 +304,7 @@ $(S.DEST)/glewinfo.c: $(EXT)/.dummy ...@@ -296,6 +304,7 @@ $(S.DEST)/glewinfo.c: $(EXT)/.dummy
$(BIN)/make_info_list.pl $(GLX_EXT_SPEC) >> $@ $(BIN)/make_info_list.pl $(GLX_EXT_SPEC) >> $@
cat $(SRC)/glewinfo_tail.c >> $@ cat $(SRC)/glewinfo_tail.c >> $@
$(BIN)/fix_OML_sync_control.sh $@ $(BIN)/fix_OML_sync_control.sh $@
perl -e 's/"glColorSubTable"/"glBlendEquation", glBlendEquation == NULL);\n glewInfoFunc("glColorSubTable"/g' -pi $@
$(D.DEST)/glew.html: $(EXT)/.dummy $(D.DEST)/glew.html: $(EXT)/.dummy
@echo "--------------------------------------------------------------------" @echo "--------------------------------------------------------------------"
......
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/usr/bin/perl #!/usr/bin/perl
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
#!/bin/bash #!/bin/bash
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
...@@ -56,6 +56,8 @@ if [ ! -d $1 ] ; then ...@@ -56,6 +56,8 @@ if [ ! -d $1 ] ; then
GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
GL_COLOR_ALPHA_PAIRING_ATI 0x8975 GL_COLOR_ALPHA_PAIRING_ATI 0x8975
GL_SWIZZLE_STRQ_ATI 0x897A
GL_SWIZZLE_STRQ_DQ_ATI 0x897B
EOT EOT
# fix WGL_ATI_pixel_format_float # fix WGL_ATI_pixel_format_float
...@@ -160,6 +162,14 @@ EOT ...@@ -160,6 +162,14 @@ EOT
typedef unsigned int GLhandleARB typedef unsigned int GLhandleARB
EOT EOT
# add missing functions to GL_ARB_transpose_matrix
cat >> $1/GL_ARB_transpose_matrix <<EOT
void glLoadTransposeMatrixfARB (GLfloat m[16])
void glLoadTransposeMatrixdARB (GLdouble m[16])
void glMultTransposeMatrixfARB (GLfloat m[16])
void glMultTransposeMatrixdARB (GLdouble m[16])
EOT
# fix const correctness in GL_ARB_shader_objects # fix const correctness in GL_ARB_shader_objects
# perl -e 's/(.+glUniform.*(fv|iv).+)(GLfloat\*.+|GLint\*.+)/\1const \3/;' -pi $1/GL_ARB_shader_objects # perl -e 's/(.+glUniform.*(fv|iv).+)(GLfloat\*.+|GLint\*.+)/\1const \3/;' -pi $1/GL_ARB_shader_objects
......
#!/bin/sh #!/bin/sh
## ##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org> ## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org> ## Copyright (C) 2003-2006, Milan Ikits <milan ikits[]ieee org>
## ##
## This program is distributed under the terms and conditions of the GNU ## This program is distributed under the terms and conditions of the GNU
## General Public License Version 2 as published by the Free Software ## General Public License Version 2 as published by the Free Software
......
GL_APPLE_pixel_buffer
GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
GL_EXT_framebuffer_object
http://www.opengl.org/documentation/extensions/EXT_framebuffer_object.txt
GL_FRAMEBUFFER_EXT 0x8D40
GL_RENDERBUFFER_EXT 0x8D41
GL_STENCIL_INDEX_EXT 0x8D45
GL_STENCIL_INDEX1_EXT 0x8D46
GL_STENCIL_INDEX4_EXT 0x8D47
GL_STENCIL_INDEX8_EXT 0x8D48
GL_STENCIL_INDEX16_EXT 0x8D49
GL_RENDERBUFFER_WIDTH_EXT 0x8D42
GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
GL_COLOR_ATTACHMENT0_EXT 0x8CE0
GL_COLOR_ATTACHMENT1_EXT 0x8CE1
GL_COLOR_ATTACHMENT2_EXT 0x8CE2
GL_COLOR_ATTACHMENT3_EXT 0x8CE3
GL_COLOR_ATTACHMENT4_EXT 0x8CE4
GL_COLOR_ATTACHMENT5_EXT 0x8CE5
GL_COLOR_ATTACHMENT6_EXT 0x8CE6
GL_COLOR_ATTACHMENT7_EXT 0x8CE7
GL_COLOR_ATTACHMENT8_EXT 0x8CE8
GL_COLOR_ATTACHMENT9_EXT 0x8CE9
GL_COLOR_ATTACHMENT10_EXT 0x8CEA
GL_COLOR_ATTACHMENT11_EXT 0x8CEB
GL_COLOR_ATTACHMENT12_EXT 0x8CEC
GL_COLOR_ATTACHMENT13_EXT 0x8CED
GL_COLOR_ATTACHMENT14_EXT 0x8CEE
GL_COLOR_ATTACHMENT15_EXT 0x8CEF
GL_DEPTH_ATTACHMENT_EXT 0x8D00
GL_STENCIL_ATTACHMENT_EXT 0x8D20
GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
GL_FRAMEBUFFER_INCOMPLETE_DUPLICATE_ATTACHMENT_EXT 0x8CD8
GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
GL_FRAMEBUFFER_STATUS_ERROR_EXT 0x8CDE
GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
GL_RENDERBUFFER_BINDING_EXT 0x8CA7
GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
GLboolean glIsRenderbufferEXT (GLuint renderbuffer)
GLvoid glBindRenderbufferEXT (GLenum target, GLuint renderbuffer)
GLvoid glDeleteRenderbuffersEXT (GLsizei n, const GLuint* renderbuffers)
GLvoid glGenRenderbuffersEXT (GLsizei n, GLuint* renderbuffers)
GLvoid glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
GLvoid glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint* params)
GLboolean glIsFramebufferEXT (GLuint framebuffer)
GLvoid glBindFramebufferEXT (GLenum target, GLuint framebuffer)
GLvoid glDeleteFramebuffersEXT (GLsizei n, const GLuint* framebuffers)
GLvoid glGenFramebuffersEXT (GLsizei n, GLuint* framebuffers)
GLenum glCheckFramebufferStatusEXT (GLenum target)
GLvoid glFrameBufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
GLvoid glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
GLvoid glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
GLvoid glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
GLvoid glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint* params)
GLvoid glGenerateMipmapEXT (GLenum target)
GL_SGIX_shadow
http://oss.sgi.com/projects/ogl-sample/registry/SGIX/shadow.txt
GL_TEXTURE_COMPARE_SGIX 0x819A
GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
GL_TEXTURE_LEQUAL_R_SGIX 0x819C
GL_TEXTURE_GEQUAL_R_SGIX 0x819D
...@@ -44,7 +44,7 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf ...@@ -44,7 +44,7 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
GL_MAX_VARYING_FLOATS 0x8B4B GL_MAX_VARYING_FLOATS 0x8B4B
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
GL_SHADER_TYPE 0x8B4E GL_SHADER_TYPE 0x8B4F
GL_FLOAT_VEC2 0x8B50 GL_FLOAT_VEC2 0x8B50
GL_FLOAT_VEC3 0x8B51 GL_FLOAT_VEC3 0x8B51
GL_FLOAT_VEC4 0x8B52 GL_FLOAT_VEC4 0x8B52
...@@ -104,10 +104,10 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf ...@@ -104,10 +104,10 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
void glGetActiveUniform (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name) void glGetActiveUniform (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name)
void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders) void glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders)
GLint glGetAttribLocation (GLuint program, const GLchar* name) GLint glGetAttribLocation (GLuint program, const GLchar* name)
void glGetProgramiv(GLuint program, GLenum pname, GLint* param) void glGetProgramiv (GLuint program, GLenum pname, GLint* param)
void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog) void glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glGetShaderiv(GLuint shader, GLenum pname, GLint* param) void glGetShaderiv (GLuint shader, GLenum pname, GLint* param)
void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog) void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glShaderSource (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths) void glShaderSource (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths)
GLint glGetUniformLocation (GLint programObj, const GLchar* name) GLint glGetUniformLocation (GLint programObj, const GLchar* name)
void glGetUniformfv (GLuint program, GLint location, GLfloat* params) void glGetUniformfv (GLuint program, GLint location, GLfloat* params)
......
GL_APPLE_pixel_buffer
GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
...@@ -4,3 +4,5 @@ http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_rectangle.txt ...@@ -4,3 +4,5 @@ http://oss.sgi.com/projects/ogl-sample/registry/ARB/texture_rectangle.txt
GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6 GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7 GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8 GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
GL_SAMPLER_2D_RECT_ARB 0x8B63
GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
...@@ -4,3 +4,7 @@ http://oss.sgi.com/projects/ogl-sample/registry/ARB/transpose_matrix.txt ...@@ -4,3 +4,7 @@ http://oss.sgi.com/projects/ogl-sample/registry/ARB/transpose_matrix.txt
GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4 GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5 GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6 GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
void glLoadTransposeMatrixfARB (GLfloat m[16])
void glLoadTransposeMatrixdARB (GLdouble m[16])
void glMultTransposeMatrixfARB (GLfloat m[16])
void glMultTransposeMatrixdARB (GLdouble m[16])
...@@ -66,3 +66,5 @@ http://oss.sgi.com/projects/ogl-sample/registry/ATI/fragment_shader.txt ...@@ -66,3 +66,5 @@ http://oss.sgi.com/projects/ogl-sample/registry/ATI/fragment_shader.txt
GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973 GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974 GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
GL_COLOR_ALPHA_PAIRING_ATI 0x8975 GL_COLOR_ALPHA_PAIRING_ATI 0x8975
GL_SWIZZLE_STRQ_ATI 0x897A
GL_SWIZZLE_STRQ_DQ_ATI 0x897B
GL_EXT_framebuffer_blit
http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_blit.txt
GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
GL_READ_FRAMEBUFFER_EXT 0x8CA8
GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
void glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)