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
* auto/Makefile, auto/src/glew.rc, auto/src/glewinfo.rc,
......
#!gmake
## The OpenGL Extension Wrangler Library
## Copyright (C) 2002-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002-2006, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2002-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2002, Lev Povalahev
## All rights reserved.
##
......@@ -29,6 +29,7 @@
## THE POSSIBILITY OF SUCH DAMAGE.
GLEW_DEST ?= /usr
LIBDIR = $(GLEW_DEST)/lib
include config/version
......@@ -112,18 +113,18 @@ install: all
# directories
$(INSTALL) -d -m 0755 $(GLEW_DEST)/bin
$(INSTALL) -d -m 0755 $(GLEW_DEST)/include/GL
$(INSTALL) -d -m 0755 $(GLEW_DEST)/lib
$(INSTALL) -d -m 0755 $(LIBDIR)
# runtime
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/bin/
else
ifeq ($(patsubst darwin%,darwin,$(SYSTEM)), darwin)
strip -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
else
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(GLEW_DEST)/lib/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.SONAME)
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.SHARED) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.SONAME)
endif
endif
# development files
......@@ -131,15 +132,15 @@ endif
$(INSTALL) -m 0644 include/GL/glew.h $(GLEW_DEST)/include/GL
$(INSTALL) -m 0644 include/GL/glxew.h $(GLEW_DEST)/include/GL
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(GLEW_DEST)/lib/
$(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) $(GLEW_DEST)/lib/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
$(INSTALL) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
else
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(GLEW_DEST)/lib/
$(LN) $(LIB.SHARED) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
$(INSTALL) $(STRIP) -m 0644 lib/$(LIB.STATIC) $(LIBDIR)/
$(LN) $(LIB.SHARED) $(LIBDIR)/$(LIB.DEVLNK)
endif
endif
# utilities
......@@ -149,13 +150,13 @@ uninstall:
$(RM) $(GLEW_DEST)/include/GL/wglew.h
$(RM) $(GLEW_DEST)/include/GL/glew.h
$(RM) $(GLEW_DEST)/include/GL/glxew.h
$(RM) $(GLEW_DEST)/lib/$(LIB.DEVLNK)
$(RM) $(LIBDIR)/$(LIB.DEVLNK)
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
$(RM) $(GLEW_DEST)/bin/$(LIB.SHARED)
else
$(RM) $(GLEW_DEST)/lib/$(LIB.SONAME)
$(RM) $(GLEW_DEST)/lib/$(LIB.SHARED)
$(RM) $(GLEW_DEST)/lib/$(LIB.STATIC)
$(RM) $(LIBDIR)/$(LIB.SONAME)
$(RM) $(LIBDIR)/$(LIB.SHARED)
$(RM) $(LIBDIR)/$(LIB.STATIC)
endif
$(RM) $(GLEW_DEST)/bin/$(GLEWINFO.BIN) $(GLEW_DEST)/bin/$(VISUALINFO.BIN)
......
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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
......@@ -7,6 +7,8 @@
include ../config/version
#GLEW_SPLIT_SOURCE = yes
SHELL = bash
REGISTRY = registry
REGISTRY_URL = http://oss.sgi.com/projects/ogl-sample/registry/
......@@ -44,13 +46,17 @@ I.TARGETS = \
$(I.DEST)/wglew.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.DEST)/glew.c \
$(S.DEST)/glewinfo.c
# $(S.DEST)/glew_def.c \
# $(S.DEST)/glew_init.c \
# $(S.DEST)/glew_str.c \
endif
D.TARGETS = \
$(D.DEST)/glew.html \
......@@ -201,6 +207,7 @@ $(S.DEST)/glew.c: $(EXT)/.dummy
cat $(SRC)/glew_str_tail.c >> $@
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/\(\(glColorSubTable = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glColorSubTable = /g" -pi $@
$(BIN)/fix_OML_sync_control.sh $@
rm -f $@.bak
......@@ -253,6 +260,7 @@ $(S.DEST)/glew_init.c: $(EXT)/.dummy
cat $(SRC)/glew_init_tail.c >> $@
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/\(\(glBlendColor = /((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)\"glBlendEquation\")) == NULL) || r;\n r = ((glBlendColor = /g" -pi $@
$(BIN)/fix_OML_sync_control.sh $@
rm -f $@.bak
......@@ -296,6 +304,7 @@ $(S.DEST)/glewinfo.c: $(EXT)/.dummy
$(BIN)/make_info_list.pl $(GLX_EXT_SPEC) >> $@
cat $(SRC)/glewinfo_tail.c >> $@
$(BIN)/fix_OML_sync_control.sh $@
perl -e 's/"glColorSubTable"/"glBlendEquation", glBlendEquation == NULL);\n glewInfoFunc("glColorSubTable"/g' -pi $@
$(D.DEST)/glew.html: $(EXT)/.dummy
@echo "--------------------------------------------------------------------"
......
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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
......
#!/bin/bash
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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
......@@ -56,6 +56,8 @@ if [ ! -d $1 ] ; then
GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
GL_COLOR_ALPHA_PAIRING_ATI 0x8975
GL_SWIZZLE_STRQ_ATI 0x897A
GL_SWIZZLE_STRQ_DQ_ATI 0x897B
EOT
# fix WGL_ATI_pixel_format_float
......@@ -160,6 +162,14 @@ EOT
typedef unsigned int GLhandleARB
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
# perl -e 's/(.+glUniform.*(fv|iv).+)(GLfloat\*.+|GLint\*.+)/\1const \3/;' -pi $1/GL_ARB_shader_objects
......
#!/bin/sh
##
## Copyright (C) 2003-2005, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2005, Milan Ikits <milan ikits[]ieee org>
## Copyright (C) 2003-2006, Marcelo E. Magallon <mmagallo[]debian org>
## Copyright (C) 2003-2006, 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
......
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
GL_MAX_VARYING_FLOATS 0x8B4B
GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
GL_SHADER_TYPE 0x8B4E
GL_SHADER_TYPE 0x8B4F
GL_FLOAT_VEC2 0x8B50
GL_FLOAT_VEC3 0x8B51
GL_FLOAT_VEC4 0x8B52
......@@ -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 glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders)
GLint glGetAttribLocation (GLuint program, const GLchar* name)
void glGetProgramiv(GLuint program, GLenum pname, GLint* param)
void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glGetShaderiv(GLuint shader, GLenum pname, GLint* param)
void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glGetProgramiv (GLuint program, GLenum pname, GLint* param)
void glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glGetShaderiv (GLuint shader, GLenum pname, GLint* param)
void glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog)
void glShaderSource (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths)
GLint glGetUniformLocation (GLint programObj, const GLchar* name)
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
GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
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
GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
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
GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
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)
GL_EXT_framebuffer_multisample
http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_multisample.txt
GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
void glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
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
http://oss.sgi.com/projects/ogl-sample/registry/EXT/framebuffer_object.txt
GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
GL_RENDERBUFFER_BINDING_EXT 0x8CA7
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_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
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_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
GL_COLOR_ATTACHMENT0_EXT 0x8CE0
GL_COLOR_ATTACHMENT1_EXT 0x8CE1
GL_COLOR_ATTACHMENT2_EXT 0x8CE2
......@@ -33,35 +36,35 @@ http://www.opengl.org/documentation/extensions/EXT_framebuffer_object.txt
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)
GL_FRAMEBUFFER_EXT 0x8D40
GL_RENDERBUFFER_EXT 0x8D41
GL_RENDERBUFFER_WIDTH_EXT 0x8D42
GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
GL_STENCIL_INDEX1_EXT 0x8D46
GL_STENCIL_INDEX4_EXT 0x8D47
GL_STENCIL_INDEX8_EXT 0x8D48
GL_STENCIL_INDEX16_EXT 0x8D49
GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
void glBindFramebufferEXT (GLenum target, GLuint framebuffer)
void glBindRenderbufferEXT (GLenum target, GLuint renderbuffer)
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)
void glDeleteFramebuffersEXT (GLsizei n, const GLuint* framebuffers)
void glDeleteRenderbuffersEXT (GLsizei n, const GLuint* renderbuffers)
void glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
void glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
void glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
void glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
void glGenFramebuffersEXT (GLsizei n, GLuint* framebuffers)
void glGenRenderbuffersEXT (GLsizei n, GLuint* renderbuffers)
void glGenerateMipmapEXT (GLenum target)
void glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint* params)
void glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint* params)
GLboolean glIsFramebufferEXT (GLuint framebuffer)
GLboolean glIsRenderbufferEXT (GLuint renderbuffer)
void glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
GL_EXT_packed_depth_stencil
http://oss.sgi.com/projects/ogl-sample/registry/EXT/packed_depth_stencil.txt
GL_DEPTH_STENCIL_EXT 0x84F9
GL_UNSIGNED_INT_24_8_EXT 0x84FA
GL_DEPTH24_STENCIL8_EXT 0x88F0
GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
GL_EXT_stencil_clear_tag
http://oss.sgi.com/projects/ogl-sample/registry/EXT/stencil_clear_tag.txt
GL_STENCIL_TAG_BITS_EXT 0x88F2
GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
GL_EXT_texture_sRGB
http://oss.sgi.com/projects/ogl-sample/registry/EXT/texture_sRGB.txt
GL_SRGB_EXT 0x8C40
GL_SRGB8_EXT 0x8C41
GL_SRGB_ALPHA_EXT 0x8C42
GL_SRGB8_ALPHA8_EXT 0x8C43
GL_SLUMINANCE_ALPHA_EXT 0x8C44
GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
GL_SLUMINANCE_EXT 0x8C46
GL_SLUMINANCE8_EXT 0x8C47
GL_COMPRESSED_SRGB_EXT 0x8C48
GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F