Commit 50daf500 authored by Yaroslav Halchenko's avatar Yaroslav Halchenko

Imported Upstream version 1.5.7

parent f12e7927
......@@ -31,7 +31,7 @@
include config/version
SHELL = /bin/sh
SYSTEM = $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;')
SYSTEM ?= $(shell config/config.guess | cut -d - -f 3 | sed -e 's/[0-9\.]//g;')
SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1)
ifeq ($(SYSTEM.SUPPORTED), 1)
......@@ -90,7 +90,7 @@ lib/$(LIB.STATIC): $(LIB.OBJS)
lib/$(LIB.SHARED): $(LIB.SOBJS)
$(LD) $(LDFLAGS.SO) -o $@ $^ $(LIB.LDFLAGS) $(LIB.LIBS)
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
else
$(LN) $(LIB.SHARED) lib/$(LIB.SONAME)
$(LN) $(LIB.SHARED) lib/$(LIB.DEVLNK)
......@@ -125,8 +125,9 @@ install: all
$(INSTALL) -d -m 0755 $(BINDIR)
$(INSTALL) -d -m 0755 $(INCDIR)
$(INSTALL) -d -m 0755 $(LIBDIR)
$(INSTALL) -d -m 0755 $(LIBDIR)/pkgconfig
# runtime
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(STRIP) -x lib/$(LIB.SHARED)
$(INSTALL) -m 0644 lib/$(LIB.SHARED) $(BINDIR)/
else
......@@ -139,7 +140,7 @@ endif
$(INSTALL) -m 0644 include/GL/glew.h $(INCDIR)/
$(INSTALL) -m 0644 include/GL/glxew.h $(INCDIR)/
$(INSTALL) -m 0644 glew.pc $(LIBDIR)/pkgconfig/
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(INSTALL) -m 0644 lib/$(LIB.DEVLNK) $(LIBDIR)/
else
$(STRIP) -x lib/$(LIB.STATIC)
......@@ -154,7 +155,7 @@ uninstall:
$(RM) $(INCDIR)/glew.h
$(RM) $(INCDIR)/glxew.h
$(RM) $(LIBDIR)/$(LIB.DEVLNK)
ifeq ($(patsubst mingw%,mingw,$(SYSTEM)), mingw)
ifeq ($(filter-out mingw% cygwin,$(SYSTEM)),)
$(RM) $(BINDIR)/$(LIB.SHARED)
else
$(RM) $(LIBDIR)/$(LIB.SONAME)
......
......@@ -66,6 +66,16 @@ my %typemap = (
uint64 => "GLuint64",
sync => "GLsync",
# AMD_debug_output
DEBUGPROCAMD => "GLDEBUGPROCAMD",
# ARB_debug_output
DEBUGPROCARB => "GLDEBUGPROCARB",
vdpauSurfaceNV => "GLvdpauSurfaceNV",
# GLX 1.3 defines new types which might not be available at compile time
#GLXFBConfig => "void*",
......
......@@ -242,10 +242,6 @@ EOT
grep -v "glGetUniformui64vNV" $1/GL_NV_shader_buffer_load > tmp
mv tmp $1/GL_NV_shader_buffer_load
# Filter out GL_ARB_gpu_shader_fp64 enums and functions
head -n3 $1/GL_ARB_gpu_shader_fp64 > tmp
mv tmp $1/GL_ARB_gpu_shader_fp64
# Filter out profile enumerations from GLX_ARB_create_context
grep -v "_PROFILE_" $1/GLX_ARB_create_context > tmp
mv tmp $1/GLX_ARB_create_context
......@@ -274,6 +270,35 @@ EOT
BOOL wglCopyImageSubDataNV (HGLRC hSrcRC, GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, HGLRC hDstRC, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei width, GLsizei height, GLsizei depth)
EOT
# Filter glProgramParameteri from GL_ARB_separate_shader_objects
# grep -v "glProgramParameteri" $1/GL_ARB_separate_shader_objects > tmp
# mv tmp $1/GL_ARB_separate_shader_objects
# Filter out EXT functions from GL_ARB_viewport_array
grep -v "EXT" $1/GL_ARB_viewport_array > tmp
mv tmp $1/GL_ARB_viewport_array
# Additional enumerations for GL_NV_vertex_buffer_unified_memory
# These are mentioned in GL_ARB_draw_indirect.txt
cat >> $1/GL_NV_vertex_buffer_unified_memory <<EOT
GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
EOT
# Filter glGetPointerv from GL_ARB_debug_output
# It's part of OpenGL 1.1, after all
grep -v "glGetPointerv" $1/GL_ARB_debug_output > tmp
mv tmp $1/GL_ARB_debug_output
# Filter glGetPointerv from GL_EXT_vertex_array
# It's part of OpenGL 1.1, after all
grep -v "glGetPointerv" $1/GL_EXT_vertex_array > tmp
mv tmp $1/GL_EXT_vertex_array
# clean up
rm -f $1/*.bak
......
......@@ -14,6 +14,12 @@ if [ ! -d $1 ] ; then
fi
cd $1
# wget used to return 0 (success), but more recent versions
# don't so we don't want to bail out in failure mode
# eventhough everything is fine.
set +e
wget \
--mirror \
--no-parent \
......@@ -22,3 +28,6 @@ wget \
--accept=txt,html \
$2
echo 'wget exit code: ' $?
exit 0
GLX_AMD_gpu_association
http://www.opengl.org/registry/specs/AMD/glx_gpu_association.txt
GLX_AMD_gpu_association
GLX_GPU_VENDOR_AMD 0x1F00
GLX_GPU_RENDERER_STRING_AMD 0x1F01
GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
GLX_GPU_RAM_AMD 0x21A3
GLX_GPU_CLOCK_AMD 0x21A4
GLX_GPU_NUM_PIPES_AMD 0x21A5
GLX_GPU_NUM_SIMD_AMD 0x21A6
GLX_GPU_NUM_RB_AMD 0x21A7
GLX_GPU_NUM_SPI_AMD 0x21A8
GLX_SGI_video_sync
http://www.opengl.org/registry/specs/SGI/video_sync.txt
GLX_SGI_video_sync
int glXGetVideoSyncSGI (unsigned int* count)
int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count)
GL_ARB_robustness
http://www.opengl.org/registry/specs/ARB/robustness.txt
GL_ARB_robustness
GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
GL_GUILTY_CONTEXT_RESET_ARB 0x8253
GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
GL_NO_RESET_NOTIFICATION_ARB 0x8261
void glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table)
void glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void* img)
void glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image)
void glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values)
void glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble* v)
void glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat* v)
void glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint* v)
void glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values)
void glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat* values)
void glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint* values)
void glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort* values)
void glGetnPolygonStippleARB (GLsizei bufSize, GLubyte* pattern)
void glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, GLvoid*column, GLvoid*span)
void glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img)
void glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble* params)
void glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat* params)
void glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint* params)
void glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint* params)
void glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data)
GL_ARB_separate_shader_objects
http://www.opengl.org/registry/specs/ARB/separate_shader_objects.txt
GL_ARB_separate_shader_objects
GL_VERTEX_SHADER_BIT 0x00000001
GL_FRAGMENT_SHADER_BIT 0x00000002
GL_GEOMETRY_SHADER_BIT 0x00000004
GL_TESS_CONTROL_SHADER_BIT 0x00000008
GL_TESS_EVALUATION_SHADER_BIT 0x00000010
GL_PROGRAM_SEPARABLE 0x8258
GL_ACTIVE_PROGRAM 0x8259
GL_PROGRAM_PIPELINE_BINDING 0x825A
GL_ALL_SHADER_BITS 0xFFFFFFFF
void glActiveShaderProgram (GLuint pipeline, GLuint program)
void glBindProgramPipeline (GLuint pipeline)
GLuint glCreateShaderProgramv (GLenum type, GLsizei count, const char ** strings)
void glDeleteProgramPipelines (GLsizei n, const GLuint* pipelines)
void glGenProgramPipelines (GLsizei n, GLuint* pipelines)
void glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei* length, char *infoLog)
void glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint* params)
GLboolean glIsProgramPipeline (GLuint pipeline)
void glProgramUniform1d (GLuint program, GLint location, GLdouble x)
void glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform1f (GLuint program, GLint location, GLfloat x)
void glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat* value)
void glProgramUniform1i (GLuint program, GLint location, GLint x)
void glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint* value)
void glProgramUniform1ui (GLuint program, GLint location, GLuint x)
void glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint* value)
void glProgramUniform2d (GLuint program, GLint location, GLdouble x, GLdouble y)
void glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform2f (GLuint program, GLint location, GLfloat x, GLfloat y)
void glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat* value)
void glProgramUniform2i (GLuint program, GLint location, GLint x, GLint y)
void glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint* value)
void glProgramUniform2ui (GLuint program, GLint location, GLuint x, GLuint y)
void glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint* value)
void glProgramUniform3d (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z)
void glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform3f (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z)
void glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat* value)
void glProgramUniform3i (GLuint program, GLint location, GLint x, GLint y, GLint z)
void glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint* value)
void glProgramUniform3ui (GLuint program, GLint location, GLuint x, GLuint y, GLuint z)
void glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint* value)
void glProgramUniform4d (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform4f (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
void glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat* value)
void glProgramUniform4i (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w)
void glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint* value)
void glProgramUniform4ui (GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w)
void glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint* value)
void glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value)
void glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program)
void glValidateProgramPipeline (GLuint pipeline)
GL_ARB_vertex_attrib_64bit
http://www.opengl.org/registry/specs/ARB/vertex_attrib_64bit.txt
GL_ARB_vertex_attrib_64bit
GL_DOUBLE_MAT2 0x8F46
GL_DOUBLE_MAT3 0x8F47
GL_DOUBLE_MAT4 0x8F48
GL_DOUBLE_VEC2 0x8FFC
GL_DOUBLE_VEC3 0x8FFD
GL_DOUBLE_VEC4 0x8FFE
void glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble* params)
void glVertexAttribL1d (GLuint index, GLdouble x)
void glVertexAttribL1dv (GLuint index, const GLdouble* v)
void glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y)
void glVertexAttribL2dv (GLuint index, const GLdouble* v)
void glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z)
void glVertexAttribL3dv (GLuint index, const GLdouble* v)
void glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glVertexAttribL4dv (GLuint index, const GLdouble* v)
void glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer)
GL_EXT_draw_range_elements
http://oss.sgi.com/projects/ogl-sample/registry/EXT/draw_range_elements.txt
GL_EXT_draw_range_elements
GL_MAX_ELEMENTS_VERTICES 0x80E8
GL_MAX_ELEMENTS_INDICES 0x80E9
GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
void glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
GL_NVX_gpu_memory_info
http://developer.download.nvidia.com/opengl/specs/GL_NVX_gpu_memory_info.txt
GL_NVX_gpu_memory_info
GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
GL_NV_gpu_program5
http://www.opengl.org/registry/specs/NV/gpu_program5.txt
GL_NV_gpu_program5
GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
GL_NV_vdpau_interop
http://www.opengl.org/registry/specs/NV/vdpau_interop.txt
GL_NV_vdpau_interop
GL_SURFACE_STATE_NV 0x86EB
GL_SURFACE_REGISTERED_NV 0x86FD
GL_SURFACE_MAPPED_NV 0x8700
GL_WRITE_DISCARD_NV 0x88BE
void glVDPAUFiniNV (void)
void glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei* length, GLint *values)
void glVDPAUInitNV (const void* vdpDevice, const GLvoid*getProcAddress)
void glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface)
void glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV* surfaces)
GLvdpauSurfaceNV glVDPAURegisterOutputSurfaceNV (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames)
GLvdpauSurfaceNV glVDPAURegisterVideoSurfaceNV (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames)
void glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access)
void glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV* surfaces)
void glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface)
typedef GLintptr GLvdpauSurfaceNV
GL_NV_vertex_program4
http://developer.download.nvidia.com/opengl/specs/GL_NV_vertex_program4.txt
GL_NV_gpu_program4
GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
GL_VERSION_1_2_1
http://www.opengl.org/documentation/specs/version1.2/opengl1.2.1.pdf
......@@ -85,7 +85,6 @@ http://www.opengl.org/documentation/specs/version2.0/glspec20.pdf
GL_STENCIL_BACK_REF 0x8CA3
GL_STENCIL_BACK_VALUE_MASK 0x8CA4
GL_STENCIL_BACK_WRITEMASK 0x8CA5
typedef char GLchar
void glBlendEquationSeparate (GLenum, GLenum)
void glDrawBuffers (GLsizei n, const GLenum* bufs)
void glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
......
......@@ -9,3 +9,4 @@ http://www.opengl.org/registry/doc/glspec32.core.20090803.pdf
GL_RGB10_A2UI 0x906F
GL_ANY_SAMPLES_PASSED 0x8C2F
GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
void glVertexAttribDivisor (GLuint index, GLuint divisor)
GL_VERSION_4_1
http://www.opengl.org/registry/doc/glspec41.core.20100725.pdf
......@@ -12,8 +12,8 @@ Mac OS X, FreeBSD, Irix, and Solaris.
<p>
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
as source and precompiled binaries. The latest release is
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">1.5.4</a>
[04-21-10]:
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.7/">1.5.7</a>
[09-07-10]:
</p>
<p>
</p>
......@@ -27,8 +27,8 @@ as source and precompiled binaries. The latest release is
<td align="right"><b>Source</b></td>
<td></td>
<td align="left">
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4.zip/download">ZIP</a>&nbsp;|&nbsp;
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4.tgz/download">TGZ</a></td>
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.7/glew-1.5.7.zip/download">ZIP</a>&nbsp;|&nbsp;
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.7/glew-1.5.7.tgz/download">TGZ</a></td>
<td></td>
</tr>
<tr>
......@@ -36,8 +36,8 @@ as source and precompiled binaries. The latest release is
<td align="right"><b>Binaries</b></td>
<td></td>
<td align="left">
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4-win32.zip/download">Windows 32-bit</a>&nbsp;|&nbsp;
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/glew-1.5.4-win64.zip/download">64-bit</a>&nbsp;
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.7/glew-1.5.7-win32.zip/download">Windows 32-bit</a>&nbsp;|&nbsp;
<a href="https://sourceforge.net/projects/glew/files/glew/1.5.7/glew-1.5.7-win64.zip/download">64-bit</a>&nbsp;
</td>
<td></td>
</tr>
......@@ -56,7 +56,7 @@ repository</a>:
<h2>Supported Extensions</h2>
<p>
The latest release contains support for OpenGL 3.3, OpenGL 4.0 and the following extensions:
The latest release contains support for OpenGL 3.3, OpenGL 4.1 and the following extensions:
</p>
<ul>
<li><a href="glew.html">OpenGL extensions</a>
......@@ -66,6 +66,9 @@ The latest release contains support for OpenGL 3.3, OpenGL 4.0 and the following
<h2>News</h2>
<ul>
<li>[11-03-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.7/">GLEW 1.5.7</a> fixes minor bugs and adds one new extension</li>
<li>[09-07-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.6/">GLEW 1.5.6</a> adds suport for OpenGL 4.1, fixes bugs</li>
<li>[07-13-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.5/">GLEW 1.5.5</a> fixes minor bugs and adds new extensions</li>
<li>[04-21-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.4/">GLEW 1.5.4</a> adds support for OpenGL 3.3, OpenGL 4.0 and new extensions, fixes bugs</li>
<li>[02-28-10] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.3/">GLEW 1.5.3</a> fixes minor bugs and adds three new extensions</li>
<li>[12-31-09] <a href="https://sourceforge.net/projects/glew/files/glew/1.5.2/">GLEW 1.5.2</a> adds support for OpenGL 3.1, OpenGL 3.2 and new extensions</li>
......
<h2>Change Log</h2>
<hr align="center">
<ul class="none">
<li><b>1.5.7</b> [11-03-10]
<ul>
<li> New extension:
<ul>
<li> GL_NVX_gpu_memory_info
</ul>
<li> Bug fixes:
<ul>
<li> Improved mingw32 build support
<li> Improved cygwin build support
<li> glGetPointervEXT fix
<li> Add GLEW_VERSION_1_2_1
</ul>
</ul>
</ul>
<hr align="center">
<ul class="none">
<li><b>1.5.6</b> [09-07-10]
<ul>
<li> New features:
<ul>
<li> Support for OpenGL 4.1
</ul>
<li> New extensions:
<ul>
<li> GL_ARB_ES2_compatibility
<li> GL_ARB_cl_event
<li> GL_ARB_debug_output
<li> GL_ARB_get_program_binary
<li> GL_ARB_robustness
<li> GL_ARB_separate_shader_objects
<li> GL_ARB_shader_precision
<li> GL_ARB_shader_stencil_export
<li> GL_ARB_vertex_attrib_64bit
<li> GL_ARB_viewport_array
<li> GLX_ARB_create_context_robustness
<li> GLX_EXT_create_context_es2_profile
<li> WGL_ARB_create_context_robustness
<li> WGL_EXT_create_context_es2_profile
</ul>
</ul>
</ul>
<hr align="center">
<ul class="none">
<li><b>1.5.5</b> [07-13-10]
<ul>
<li> New extensions:
<ul>
<li> GL_AMD_debug_output
<li> GL_AMD_name_gen_delete
<li> GL_AMD_transform_feedback3_lines_triangles
<li> GL_NV_multisample_coverage
<li> GL_NV_vdpau_interop
<li> GLX_AMD_gpu_association
<li> GLX_NV_multisample_coverage
<li> WGL_NV_multisample_coverage
</ul>
<li> Bug fixes:
<ul>
<li> Compilation issue with GLX_SGI_video_sync
<li> OpenGL 4.0 double-precision uniform functions added
<li> Constness of glPointParameterfvARB and glPointParameterfvEXT
<li> Added glVertexAttribDivisor
<li> Compilation issue with Nvidia GLX headers
</ul>
</ul>
</ul>
<hr align="center">
<ul class="none">
<li><b>1.5.4</b> [04-21-10]
......
GLX_AMD_gpu_association
http://www.opengl.org/registry/specs/AMD/glx_gpu_association.txt
GLX_AMD_gpu_association
GLX_GPU_VENDOR_AMD 0x1F00
GLX_GPU_RENDERER_STRING_AMD 0x1F01
GLX_GPU_OPENGL_VERSION_STRING_AMD 0x1F02
GLX_GPU_FASTEST_TARGET_GPUS_AMD 0x21A2
GLX_GPU_RAM_AMD 0x21A3
GLX_GPU_CLOCK_AMD 0x21A4
GLX_GPU_NUM_PIPES_AMD 0x21A5
GLX_GPU_NUM_SIMD_AMD 0x21A6
GLX_GPU_NUM_RB_AMD 0x21A7
GLX_GPU_NUM_SPI_AMD 0x21A8
GLX_ARB_create_context_robustness
http://www.opengl.org/registry/specs/ARB/glx_create_context_robustness.txt
GLX_ARB_create_context_robustness
GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB 0x00000004
GLX_LOSE_CONTEXT_ON_RESET_ARB 0x8252
GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
GLX_NO_RESET_NOTIFICATION_ARB 0x8261
GLX_EXT_create_context_es2_profile
http://www.opengl.org/registry/specs/EXT/glx_create_context_es2_profile.txt
GLX_EXT_create_context_es2_profile
GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
GLX_NV_multisample_coverage
http://www.opengl.org/registry/specs/NV/multisample_coverage.txt
GLX_NV_multisample_coverage
GLX_COLOR_SAMPLES_NV 0x20B3
GLX_COVERAGE_SAMPLES_NV 100001
GLX_SGI_video_sync
http://www.opengl.org/registry/specs/SGI/video_sync.txt
GLX_SGI_video_sync
int glXGetVideoSyncSGI (uint* count)
int glXGetVideoSyncSGI (unsigned int* count)
int glXWaitVideoSyncSGI (int divisor, int remainder, unsigned int* count)
GL_AMD_debug_output
http://www.opengl.org/registry/specs/AMD/debug_output.txt
GL_AMD_debug_output
GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
GL_DEBUG_SEVERITY_LOW_AMD 0x9148
GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
void glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, void* userParam)
void glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled)
void glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const char* buf)
GLuint glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, char* message)
GL_AMD_name_gen_delete
http://www.opengl.org/registry/specs/AMD/name_gen_delete.txt
GL_AMD_name_gen_delete
GL_DATA_BUFFER_AMD 0x9151
GL_PERFORMANCE_MONITOR_AMD 0x9152
GL_QUERY_OBJECT_AMD 0x9153
GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
GL_SAMPLER_OBJECT_AMD 0x9155
void glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint* names)
void glGenNamesAMD (GLenum identifier, GLuint num, GLuint* names)
GLboolean glIsNameAMD (GLenum identifier, GLuint name)
GL_AMD_transform_feedback3_lines_triangles
http://www.opengl.org/registry/specs/AMD/transform_feedback3_lines_triangles.txt
GL_AMD_transform_feedback3_lines_triangles
GL_ARB_ES2_compatibility
http://www.opengl.org/registry/specs/ARB/ES2_compatibility.txt
GL_ARB_ES2_compatibility
GL_FIXED 0x140C
GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
GL_LOW_FLOAT 0x8DF0
GL_MEDIUM_FLOAT 0x8DF1
GL_HIGH_FLOAT 0x8DF2
GL_LOW_INT 0x8DF3
GL_MEDIUM_INT 0x8DF4
GL_HIGH_INT 0x8DF5
GL_SHADER_BINARY_FORMATS 0x8DF8
GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
GL_SHADER_COMPILER 0x8DFA
GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
GL_MAX_VARYING_VECTORS 0x8DFC
GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
void glClearDepthf (GLclampf d)
void glDepthRangef (GLclampf n, GLclampf f)
void glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint* range, GLint *precision)
void glReleaseShaderCompiler (void)
void glShaderBinary (GLsizei count, const GLuint* shaders, GLenum binaryformat, const GLvoid*binary, GLsizei length)
GL_ARB_cl_event
http://www.opengl.org/registry/specs/ARB/cl_event.txt
GL_ARB_cl_event
GL_SYNC_CL_EVENT_ARB 0x8240
GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
GLsync glCreateSyncFromCLeventARB (cl_context context, cl_event event, GLbitfield flags)
GL_ARB_debug_output
http://www.opengl.org/registry/specs/ARB/debug_output.txt
GL_ARB_debug_output
GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
GL_DEBUG_SOURCE_API_ARB 0x8246
GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
GL_DEBUG_SOURCE_OTHER_ARB 0x824B
GL_DEBUG_TYPE_ERROR_ARB 0x824C
GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
GL_DEBUG_TYPE_OTHER_ARB 0x8251
GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
GL_DEBUG_SEVERITY_LOW_ARB 0x9148
void glDebugMessageCallbackARB (GLDEBUGPROCARB callback, void* userParam)
void glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled)
void glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* buf)
GLuint glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, char* messageLog)
GL_ARB_get_program_binary
http://www.opengl.org/registry/specs/ARB/get_program_binary.txt
GL_ARB_get_program_binary
GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
GL_PROGRAM_BINARY_LENGTH 0x8741
GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
GL_PROGRAM_BINARY_FORMATS 0x87FF
void glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary)
void glProgramBinary (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length)
void glProgramParameteri (GLuint program, GLenum pname, GLint value)
GL_ARB_gpu_shader_fp64
http://www.opengl.org/registry/specs/ARB/gpu_shader_fp64.txt
GL_ARB_gpu_shader_fp64
GL_DOUBLE_MAT2 0x8F46
GL_DOUBLE_MAT3 0x8F47
GL_DOUBLE_MAT4 0x8F48
GL_DOUBLE_VEC2 0x8FFC
GL_DOUBLE_VEC3 0x8FFD
GL_DOUBLE_VEC4 0x8FFE
void glGetUniformdv (GLuint program, GLint location, GLdouble* params)
void glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x)
void glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y)
void glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z)
void glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble* value)
void glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniform1d (GLint location, GLdouble x)
void glUniform1dv (GLint location, GLsizei count, const GLdouble* value)
void glUniform2d (GLint location, GLdouble x, GLdouble y)
void glUniform2dv (GLint location, GLsizei count, const GLdouble* value)
void glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z)
void glUniform3dv (GLint location, GLsizei count, const GLdouble* value)
void glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
void glUniform4dv (GLint location, GLsizei count, const GLdouble* value)
void glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
void glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value)
......@@ -6,4 +6,4 @@ GL_ARB_point_parameters
GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
void glPointParameterfARB (GLenum pname, GLfloat param)
void glPointParameterfvARB (GLenum pname, GLfloat* params)
void glPointParameterfvARB (GLenum pname, const GLfloat* params)
GL_ARB_robustness
http://www.opengl.org/registry/specs/ARB/robustness.txt
GL_ARB_robustness
GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
GL_GUILTY_CONTEXT_RESET_ARB 0x8253
GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
GL_NO_RESET_NOTIFICATION_ARB 0x8261
void glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table)
void glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void* img)
void glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image)
void glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values)
void glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble* v)
void glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat* v)
void glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint* v)
void glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values)
void glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat* values)
void glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint* values)
void glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort* values)
void glGetnPolygonStippleARB (GLsizei bufSize, GLubyte* pattern)
void glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, GLvoid*column, GLvoid*span)
void glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img)
void glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble* params)
void glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat* params)
void glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint* params)
void glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint* params)
void glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data)
GL_ARB_separate_shader_objects
http://www.opengl.org/registry/specs/ARB/separate_shader_objects.txt
GL_ARB_separate_shader_objects
GL_VERTEX_SHADER_BIT 0x00000001
GL_FRAGMENT_SHADER_BIT 0x00000002
GL_GEOMETRY_SHADER_BIT 0x00000004
GL_TESS_CONTROL_SHADER_BIT 0x00000008
GL_TESS_EVALUATION_SHADER_BIT 0x00000010
GL_PROGRAM_SEPARABLE 0x8258