mirror of
https://github.com/nigels-com/glew.git
synced 2025-04-05 16:32:02 +00:00
Compare commits
59 Commits
glew-2.2.0
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
3da315c23a | ||
|
1236a81d70 | ||
|
b323ebf9ad | ||
|
c050e33aa0 | ||
|
e1a80a9f12 | ||
|
4c6cb2f56d | ||
|
7fb9693bd8 | ||
|
c1985bb954 | ||
|
f064fbfcb6 | ||
|
f8023b362d | ||
|
c43940a927 | ||
|
c2f7ab7f09 | ||
|
a4d8b2a2a3 | ||
|
a98195b83d | ||
|
281c2936f3 | ||
|
ef7d12ecb7 | ||
|
6a53a2a200 | ||
|
52ce1cc575 | ||
|
5a2307fae3 | ||
|
c8a2ddfbe1 | ||
|
37e6144802 | ||
|
2c4c183c34 | ||
|
c6673b15bf | ||
|
55c8b94608 | ||
|
35d928bc77 | ||
|
5dbae5a837 | ||
|
5239c3ae21 | ||
|
5f57b09c04 | ||
|
966e53fa15 | ||
|
3f922b3dc6 | ||
|
4a757ac7c0 | ||
|
062067f2ba | ||
|
8e2e31e69b | ||
|
037635a192 | ||
|
9e6361b357 | ||
|
247baa9e20 | ||
|
d7693eea09 | ||
|
715afa0ff5 | ||
|
ea2076658a | ||
|
767e031645 | ||
|
679a3b17fa | ||
|
80e061f85d | ||
|
2b50f4acd2 | ||
|
2b16160853 | ||
|
e34bb212f6 | ||
|
fb0f210598 | ||
|
749aec8b9b | ||
|
95329dc4a6 | ||
|
8c88a0858f | ||
|
d68cb03149 | ||
|
5b5685e39a | ||
|
0fa5d11024 | ||
|
107ab7f6e9 | ||
|
4e5fe20519 | ||
|
3cdab58d4e | ||
|
75e3154422 | ||
|
bfc724c6cc | ||
|
0b97f2568d | ||
|
7764128044 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -20,3 +20,6 @@
|
|||||||
/tmp
|
/tmp
|
||||||
/out
|
/out
|
||||||
.DS_Store*
|
.DS_Store*
|
||||||
|
auto/EGL-Registry
|
||||||
|
auto/OpenGL-Registry
|
||||||
|
auto/glfixes
|
||||||
|
12
.lgtm.yml
Normal file
12
.lgtm.yml
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
extraction:
|
||||||
|
cpp:
|
||||||
|
prepare:
|
||||||
|
packages:
|
||||||
|
- "build-essential"
|
||||||
|
- "libxmu-dev"
|
||||||
|
- "libxi-dev"
|
||||||
|
- "libgl-dev"
|
||||||
|
index:
|
||||||
|
build_command:
|
||||||
|
- "cd auto; make all -j8; cd .."
|
||||||
|
- "make all -j8"
|
@ -1,6 +1,5 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: false
|
|
||||||
install:
|
install:
|
||||||
script:
|
script:
|
||||||
- make -C auto clobber
|
- make -C auto clobber
|
||||||
@ -12,8 +11,8 @@ script:
|
|||||||
- make clean && SYSTEM=linux-clang make
|
- make clean && SYSTEM=linux-clang make
|
||||||
- make clean && SYSTEM=linux-clang-egl make
|
- make clean && SYSTEM=linux-clang-egl make
|
||||||
- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' . && make && popd
|
- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' . && make && popd
|
||||||
- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' -DGLEW_OSMESA=1 . && make && popd
|
- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' -DGLEW_OSMESA=ON . && make && popd
|
||||||
#- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' -DGLEW_EGL=1 . && make && popd
|
- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' -DGLEW_EGL=ON -DGLEW_X11=OFF . && make && popd
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
packages:
|
packages:
|
||||||
|
20
Makefile
20
Makefile
@ -31,7 +31,7 @@
|
|||||||
include config/version
|
include config/version
|
||||||
|
|
||||||
SHELL = /bin/sh
|
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/\.//g' -e 's/[0-9]\{1,\}.*//')
|
||||||
SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1)
|
SYSTEM.SUPPORTED = $(shell test -f config/Makefile.$(SYSTEM) && echo 1)
|
||||||
|
|
||||||
ifeq ($(SYSTEM.SUPPORTED), 1)
|
ifeq ($(SYSTEM.SUPPORTED), 1)
|
||||||
@ -40,8 +40,8 @@ else
|
|||||||
$(error "Platform '$(SYSTEM)' not supported")
|
$(error "Platform '$(SYSTEM)' not supported")
|
||||||
endif
|
endif
|
||||||
|
|
||||||
GLEW_PREFIX ?= /usr
|
GLEW_PREFIX ?= /usr/local
|
||||||
GLEW_DEST ?= /usr
|
GLEW_DEST ?= /usr/local
|
||||||
BINDIR ?= $(GLEW_DEST)/bin
|
BINDIR ?= $(GLEW_DEST)/bin
|
||||||
LIBDIR ?= $(GLEW_DEST)/lib
|
LIBDIR ?= $(GLEW_DEST)/lib
|
||||||
INCDIR ?= $(GLEW_DEST)/include/GL
|
INCDIR ?= $(GLEW_DEST)/include/GL
|
||||||
@ -61,7 +61,6 @@ DIST_DIR := $(shell mktemp -d /tmp/glew.XXXXXX)/$(DIST_NAME)
|
|||||||
# To disable stripping of linked binaries either:
|
# To disable stripping of linked binaries either:
|
||||||
# - use STRIP= on gmake command-line
|
# - use STRIP= on gmake command-line
|
||||||
# - edit this makefile to set STRIP to the empty string
|
# - edit this makefile to set STRIP to the empty string
|
||||||
# (Note: STRIP does not affect the strip in the install step)
|
|
||||||
#
|
#
|
||||||
# To disable symlinks:
|
# To disable symlinks:
|
||||||
# - use LN= on gmake command-line
|
# - use LN= on gmake command-line
|
||||||
@ -77,6 +76,7 @@ DOS2UNIX ?= dos2unix -q
|
|||||||
|
|
||||||
ifneq (,$(filter debug,$(MAKECMDGOALS)))
|
ifneq (,$(filter debug,$(MAKECMDGOALS)))
|
||||||
OPT = -g
|
OPT = -g
|
||||||
|
STRIP :=
|
||||||
else
|
else
|
||||||
OPT = $(POPT)
|
OPT = $(POPT)
|
||||||
endif
|
endif
|
||||||
@ -171,21 +171,20 @@ VISUALINFO.BIN.OBJ := $(VISUALINFO.BIN.OBJ:.c=.o)
|
|||||||
# Don't build glewinfo or visualinfo for NaCL, yet.
|
# Don't build glewinfo or visualinfo for NaCL, yet.
|
||||||
|
|
||||||
ifneq ($(filter nacl%,$(SYSTEM)),)
|
ifneq ($(filter nacl%,$(SYSTEM)),)
|
||||||
glew.bin: glew.lib bin
|
glew.bin: glew.lib
|
||||||
else
|
else
|
||||||
glew.bin: glew.lib bin bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN)
|
glew.bin: glew.lib bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bin:
|
|
||||||
mkdir bin
|
|
||||||
|
|
||||||
bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
|
bin/$(GLEWINFO.BIN): $(GLEWINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
|
||||||
|
@mkdir -p $(dir $@)
|
||||||
$(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
|
$(CC) $(CFLAGS) -o $@ $(GLEWINFO.BIN.OBJ) $(BIN.LIBS)
|
||||||
ifneq ($(STRIP),)
|
ifneq ($(STRIP),)
|
||||||
$(STRIP) -x $@
|
$(STRIP) -x $@
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
|
bin/$(VISUALINFO.BIN): $(VISUALINFO.BIN.OBJ) $(LIB.SHARED.DIR)/$(LIB.SHARED)
|
||||||
|
@mkdir -p $(dir $@)
|
||||||
$(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
|
$(CC) $(CFLAGS) -o $@ $(VISUALINFO.BIN.OBJ) $(BIN.LIBS)
|
||||||
ifneq ($(STRIP),)
|
ifneq ($(STRIP),)
|
||||||
$(STRIP) -x $@
|
$(STRIP) -x $@
|
||||||
@ -229,13 +228,14 @@ endif
|
|||||||
|
|
||||||
install.bin: glew.bin
|
install.bin: glew.bin
|
||||||
$(INSTALL) -d -m 0755 "$(DESTDIR)$(BINDIR)"
|
$(INSTALL) -d -m 0755 "$(DESTDIR)$(BINDIR)"
|
||||||
$(INSTALL) -s -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) "$(DESTDIR)$(BINDIR)/"
|
$(INSTALL) -m 0755 bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN) "$(DESTDIR)$(BINDIR)/"
|
||||||
|
|
||||||
install.include:
|
install.include:
|
||||||
$(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
|
$(INSTALL) -d -m 0755 "$(DESTDIR)$(INCDIR)"
|
||||||
$(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
|
$(INSTALL) -m 0644 include/GL/wglew.h "$(DESTDIR)$(INCDIR)/"
|
||||||
$(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
|
$(INSTALL) -m 0644 include/GL/glew.h "$(DESTDIR)$(INCDIR)/"
|
||||||
$(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
|
$(INSTALL) -m 0644 include/GL/glxew.h "$(DESTDIR)$(INCDIR)/"
|
||||||
|
$(INSTALL) -m 0644 include/GL/eglew.h "$(DESTDIR)$(INCDIR)/"
|
||||||
|
|
||||||
install.pkgconfig: glew.pc
|
install.pkgconfig: glew.pc
|
||||||
$(INSTALL) -d -m 0755 "$(DESTDIR)$(PKGDIR)"
|
$(INSTALL) -d -m 0755 "$(DESTDIR)$(PKGDIR)"
|
||||||
|
18
README.md
18
README.md
@ -8,9 +8,9 @@ http://glew.sourceforge.net/
|
|||||||
|
|
||||||
https://github.com/nigels-com/glew
|
https://github.com/nigels-com/glew
|
||||||
|
|
||||||
[](https://travis-ci.org/nigels-com/glew)
|
|
||||||
[](https://gitter.im/nigels-com/glew?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://gitter.im/nigels-com/glew?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
[](https://sourceforge.net/projects/glew/files/latest/download)
|
[](https://sourceforge.net/projects/glew/files/latest/download)
|
||||||
|
[](https://ap-southeast-2.codebuild.aws.amazon.com/project/eyJlbmNyeXB0ZWREYXRhIjoiK3RLWndGOVVkMWthbXRQZCtVTTNOQ0w2dEpxakZ1cVBTNDZ1UldGODdqUERSdkx0U21Nd0RFaGhQL1kycVlmNzh2OXpEYnRKV3hXTVJJdjUvVStCbTl0dkliZm5jRTFsc0VBPSIsIml2UGFyYW1ldGVyU3BlYyI6ImZ0ekRoMkNjaU0rRUt5K2UiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D)
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|
||||||
@ -39,22 +39,20 @@ https://github.com/nigels-com/glew
|
|||||||
|
|
||||||
## Downloads
|
## Downloads
|
||||||
|
|
||||||
Current release is [2.1.0](https://sourceforge.net/projects/glew/files/glew/2.1.0/).
|
Current release is [2.2.0](https://github.com/nigels-com/glew/releases/tag/glew-2.2.0).
|
||||||
[(Change Log)](http://glew.sourceforge.net/log.html)
|
[(Change Log)](http://glew.sourceforge.net/log.html)
|
||||||
|
|
||||||
Sources available as
|
Sources available as
|
||||||
[ZIP](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.zip/download) or
|
[ZIP](https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.zip) or
|
||||||
[TGZ](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.tgz/download).
|
[TGZ](https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.tgz).
|
||||||
|
|
||||||
Windows binaries for [32-bit and 64-bit](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0-win32.zip/download).
|
Windows binaries for [32-bit and 64-bit](https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0-win32.zip).
|
||||||
|
|
||||||
### Recent snapshots
|
### Recent snapshots
|
||||||
|
|
||||||
Snapshots may contain new features, bug-fixes or new OpenGL extensions ahead of tested, official releases.
|
Snapshots may contain new features, bug-fixes or new OpenGL extensions ahead of tested, official releases.
|
||||||
|
|
||||||
[glew-20200115.tgz](https://sourceforge.net/projects/glew/files/glew/snapshots/glew-20200115.tgz/download) *GLEW 2.2.0 RC3: fixes*
|
[glew-20220402.tgz](https://sourceforge.net/projects/glew/files/glew/snapshots/glew-20220402.tgz/download) *GLEW 2.2.0 - with fix for glCreateProgressFenceNVX*
|
||||||
|
|
||||||
[glew-20190928.tgz](https://sourceforge.net/projects/glew/files/glew/snapshots/glew-20190928.tgz/download) *GLEW 2.2.0 RC2: New extensions, bug fixes*
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
@ -108,11 +106,11 @@ _Note: you may need to call `make` in the **auto** folder first_
|
|||||||
|
|
||||||
#### Using cmake
|
#### Using cmake
|
||||||
|
|
||||||
The cmake build is mostly contributer maintained.
|
The cmake build is mostly contributor maintained.
|
||||||
Due to the multitude of use cases this is maintained on a _best effort_ basis.
|
Due to the multitude of use cases this is maintained on a _best effort_ basis.
|
||||||
Pull requests are welcome.
|
Pull requests are welcome.
|
||||||
|
|
||||||
*CMake 2.8.12 or higher is required.*
|
*CMake 3.16 or higher is required.*
|
||||||
|
|
||||||
##### Install build tools
|
##### Install build tools
|
||||||
|
|
||||||
|
@ -92,15 +92,15 @@ OpenGL-Registry/.dummy:
|
|||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
@echo "Downloading OpenGL-Registry"
|
@echo "Downloading OpenGL-Registry"
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
git clone $(REPO_OPENGL) OpenGL-Registry
|
git clone --depth=1 $(REPO_OPENGL) OpenGL-Registry
|
||||||
git clone --branch glew $(REPO_GLFIXES) glfixes
|
git clone --depth=1 --branch glew $(REPO_GLFIXES) glfixes
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
EGL-Registry/.dummy:
|
EGL-Registry/.dummy:
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
@echo "Downloading EGL-Registry"
|
@echo "Downloading EGL-Registry"
|
||||||
@echo "--------------------------------------------------------------------"
|
@echo "--------------------------------------------------------------------"
|
||||||
git clone $(REPO_EGL) EGL-Registry
|
git clone --depth=1 $(REPO_EGL) EGL-Registry
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(EXT)/.dummy: OpenGL-Registry/.dummy EGL-Registry/.dummy
|
$(EXT)/.dummy: OpenGL-Registry/.dummy EGL-Registry/.dummy
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
@ -481,8 +481,9 @@ EOT
|
|||||||
head -n4 $1/GL_AMD_gpu_shader_int64 > tmp
|
head -n4 $1/GL_AMD_gpu_shader_int64 > tmp
|
||||||
mv tmp $1/GL_AMD_gpu_shader_int64
|
mv tmp $1/GL_AMD_gpu_shader_int64
|
||||||
|
|
||||||
# Filter out GL_NO_ERROR enum from GL_KHR_robustness
|
# Filter out GL_NO_ERROR enum and glGetGraphicsResetStatus from GL_KHR_robustness
|
||||||
grep -v 'GL_NO_ERROR' $1/GL_KHR_robustness > tmp
|
grep -v 'GL_NO_ERROR' $1/GL_KHR_robustness |
|
||||||
|
grep -v 'glGetGraphicsResetStatus' > tmp
|
||||||
mv tmp $1/GL_KHR_robustness
|
mv tmp $1/GL_KHR_robustness
|
||||||
|
|
||||||
# Filter out all enums from GL_KHR_blend_equation_advanced_coherent
|
# Filter out all enums from GL_KHR_blend_equation_advanced_coherent
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
@ -10,7 +10,7 @@
|
|||||||
my %regex = (
|
my %regex = (
|
||||||
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
||||||
exturl => qr/^http.+$/,
|
exturl => qr/^http.+$/,
|
||||||
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i,
|
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.*)\)$/i,
|
||||||
token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-Fa-f]+(u(ll)?)?|[A-Z][A-Z0-9_]*)$/,
|
token => qr/^([A-Z][A-Z0-9_x]*)\s+((?:0x)?[0-9A-Fa-f]+(u(ll)?)?|[A-Z][A-Z0-9_]*)$/,
|
||||||
type => qr/^typedef\s+(.+)$/,
|
type => qr/^typedef\s+(.+)$/,
|
||||||
exact => qr/.*;$/,
|
exact => qr/.*;$/,
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env perl
|
#!/usr/bin/env perl
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
@ -114,7 +114,7 @@ my %taboo_tokens = (
|
|||||||
);
|
);
|
||||||
|
|
||||||
# list of function definitions to be ignored, unless they are being defined in
|
# list of function definitions to be ignored, unless they are being defined in
|
||||||
# the given spec. This is an ugly hack arround the fact that people writing
|
# the given spec. This is an ugly hack around the fact that people writing
|
||||||
# spec files seem to shut down all brain activity while they are at this task.
|
# spec files seem to shut down all brain activity while they are at this task.
|
||||||
#
|
#
|
||||||
# This will be moved to its own file eventually.
|
# This will be moved to its own file eventually.
|
||||||
@ -158,7 +158,7 @@ my %regex = (
|
|||||||
eofnc => qr/(?:\);?$|^$)/, # )$ | );$ | ^$
|
eofnc => qr/(?:\);?$|^$)/, # )$ | );$ | ^$
|
||||||
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
extname => qr/^[A-Z][A-Za-z0-9_]+$/,
|
||||||
none => qr/^\(none\)$/,
|
none => qr/^\(none\)$/,
|
||||||
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.+)\)$/i,
|
function => qr/^(.+) ([a-z][a-z0-9_]*) \((.*)\)$/i,
|
||||||
prefix => qr/^(?:[aw]?gl|glX|egl)/, # gl | agl | wgl | glX
|
prefix => qr/^(?:[aw]?gl|glX|egl)/, # gl | agl | wgl | glX
|
||||||
tprefix => qr/^(?:[AW]?GL|GLX|EGL)_/, # GL_ | AGL_ | WGL_ | GLX_
|
tprefix => qr/^(?:[AW]?GL|GLX|EGL)_/, # GL_ | AGL_ | WGL_ | GLX_
|
||||||
section => compile_regex('^(', join('|', @sections), ')$'), # sections in spec
|
section => compile_regex('^(', join('|', @sections), ')$'), # sections in spec
|
||||||
@ -185,7 +185,7 @@ sub normalize_prototype
|
|||||||
return $_;
|
return $_;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Ugly hack to work arround the fact that functions are declared in more
|
# Ugly hack to work around the fact that functions are declared in more
|
||||||
# than one spec file.
|
# than one spec file.
|
||||||
sub ignore_function($$)
|
sub ignore_function($$)
|
||||||
{
|
{
|
||||||
@ -258,6 +258,10 @@ sub parse_spec($)
|
|||||||
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
|
$parms =~ s/$regex{voidtype}/$voidtypemap{$1}/og;
|
||||||
$parms =~ s/GLvoid/void/og;
|
$parms =~ s/GLvoid/void/og;
|
||||||
$parms =~ s/ void\* / void */og;
|
$parms =~ s/ void\* / void */og;
|
||||||
|
if ($parms eq "")
|
||||||
|
{
|
||||||
|
$parms = "void"; # NVX_progress_fence and others
|
||||||
|
}
|
||||||
}
|
}
|
||||||
# add to functions hash
|
# add to functions hash
|
||||||
$functions{$name} = {
|
$functions{$name} = {
|
||||||
|
@ -43,12 +43,7 @@ def findParams(node):
|
|||||||
return ( t, n.strip())
|
return ( t, n.strip())
|
||||||
|
|
||||||
def findEnums(dom):
|
def findEnums(dom):
|
||||||
ret = {}
|
return {i.getAttribute('name'): i.getAttribute('value') for i in findChildren(dom, [ 'registry', 'enums', 'enum' ])}
|
||||||
for i in findChildren(dom, [ 'registry', 'enums', 'enum' ]):
|
|
||||||
n = i.getAttribute('name')
|
|
||||||
v = i.getAttribute('value')
|
|
||||||
ret[n] = v
|
|
||||||
return ret
|
|
||||||
|
|
||||||
def findCommands(dom):
|
def findCommands(dom):
|
||||||
ret = {}
|
ret = {}
|
||||||
@ -62,12 +57,8 @@ def findFeatures(dom):
|
|||||||
ret = {}
|
ret = {}
|
||||||
for i in findChildren(dom, [ 'registry', 'feature' ]):
|
for i in findChildren(dom, [ 'registry', 'feature' ]):
|
||||||
n = i.getAttribute('name')
|
n = i.getAttribute('name')
|
||||||
e = []
|
e = [j.getAttribute("name") for j in findChildren(i, [ 'require', 'enum' ])]
|
||||||
c = []
|
c = [j.getAttribute("name") for j in findChildren(i, [ 'require', 'command' ])]
|
||||||
for j in findChildren(i, [ 'require', 'enum' ]):
|
|
||||||
e.append(j.getAttribute("name"))
|
|
||||||
for j in findChildren(i, [ 'require', 'command' ]):
|
|
||||||
c.append(j.getAttribute("name"))
|
|
||||||
ret[n] = (e,c)
|
ret[n] = (e,c)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
@ -75,12 +66,8 @@ def findExtensions(dom):
|
|||||||
ret = {}
|
ret = {}
|
||||||
for i in findChildren(dom, [ 'registry', 'extensions', 'extension' ]):
|
for i in findChildren(dom, [ 'registry', 'extensions', 'extension' ]):
|
||||||
n = i.getAttribute('name')
|
n = i.getAttribute('name')
|
||||||
e = []
|
e = [j.getAttribute("name") for j in findChildren(i, [ 'require', 'enum' ])]
|
||||||
c = []
|
c = [j.getAttribute("name") for j in findChildren(i, [ 'require', 'command' ])]
|
||||||
for j in findChildren(i, [ 'require', 'enum' ]):
|
|
||||||
e.append(j.getAttribute("name"))
|
|
||||||
for j in findChildren(i, [ 'require', 'command' ]):
|
|
||||||
c.append(j.getAttribute("name"))
|
|
||||||
ret[n] = (e,c)
|
ret[n] = (e,c)
|
||||||
return ret
|
return ret
|
||||||
|
|
||||||
@ -148,13 +135,11 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
if len(options['core']):
|
if len(options['core']):
|
||||||
for i in api[2].keys():
|
for i in api[2].keys():
|
||||||
f = open('%s/%s'%(options['core'], i), 'wb')
|
with open(os.path.join(options['core'], i), 'wb') as f:
|
||||||
writeExtension(f, i, api[2][i], api[0], api[1])
|
writeExtension(f, i, api[2][i], api[0], api[1])
|
||||||
f.close()
|
|
||||||
|
|
||||||
if len(options['extensions']):
|
if len(options['extensions']):
|
||||||
for i in api[3].keys():
|
for i in api[3].keys():
|
||||||
f = open('%s/%s'%(options['extensions'], i), 'wb')
|
with open(os.path.join(options['extensions'], i), 'wb') as f:
|
||||||
writeExtension(f, i, api[3][i], api[0], api[1])
|
writeExtension(f, i, api[3][i], api[0], api[1])
|
||||||
f.close()
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
## Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
## Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
##
|
##
|
||||||
|
@ -4,6 +4,7 @@ EXT/vertex_array_set.alt.txt
|
|||||||
EXT/vertex_array_set.txt
|
EXT/vertex_array_set.txt
|
||||||
EXT/nurbs_tessellator.txt
|
EXT/nurbs_tessellator.txt
|
||||||
EXT/object_space_tess.txt
|
EXT/object_space_tess.txt
|
||||||
|
MESA/MESA_sampler_objects.txt
|
||||||
SGI/filter4_parameters.txt
|
SGI/filter4_parameters.txt
|
||||||
SGIS/SGIS_texture_color_mask.txt
|
SGIS/SGIS_texture_color_mask.txt
|
||||||
SGIX/SGIX_dmbuffer.txt
|
SGIX/SGIX_dmbuffer.txt
|
||||||
|
@ -88,7 +88,7 @@ terminated with a semicolon.
|
|||||||
<h3>Custom Code Generation</h3>
|
<h3>Custom Code Generation</h3>
|
||||||
<p>
|
<p>
|
||||||
Starting from GLEW 1.3.0, it is possible to control which extensions
|
Starting from GLEW 1.3.0, it is possible to control which extensions
|
||||||
to include in the libarary by specifying a list in
|
to include in the library by specifying a list in
|
||||||
<tt>auto/custom.txt</tt>. This is useful when you do not need all the
|
<tt>auto/custom.txt</tt>. This is useful when you do not need all the
|
||||||
extensions and would like to reduce the size of the source files.
|
extensions and would like to reduce the size of the source files.
|
||||||
Type <tt>make clean; make custom</tt> in the <tt>auto</tt> directory
|
Type <tt>make clean; make custom</tt> in the <tt>auto</tt> directory
|
||||||
|
@ -13,7 +13,7 @@ Mac OS X, FreeBSD, Irix, and Solaris.
|
|||||||
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
|
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
|
||||||
as source and precompiled binaries.<br/>
|
as source and precompiled binaries.<br/>
|
||||||
The latest release is
|
The latest release is
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/">2.2.0</a>[03-15-20]:
|
<a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a>[03-15-20]:
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
@ -27,8 +27,8 @@ The latest release is
|
|||||||
<td align="right"><b>Source</b></td>
|
<td align="right"><b>Source</b></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0.zip/download">ZIP</a> |
|
<a href="https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.zip">ZIP</a> |
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0.tgz/download">TGZ</a></td>
|
<a href="https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.tgz">TGZ</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -36,7 +36,7 @@ The latest release is
|
|||||||
<td align="right"><b>Binaries</b></td>
|
<td align="right"><b>Binaries</b></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0-win32.zip/download">Windows 32-bit and 64-bit</a>
|
<a href="https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0-win32.zip">Windows 32-bit and 64-bit</a>
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -65,9 +65,9 @@ The latest release contains support for OpenGL 4.6, compatibility and forward-co
|
|||||||
|
|
||||||
<h2>News</h2>
|
<h2>News</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[03-15-20] <a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/">GLEW 2.2.0</a> new extensions and minor bug fixes</li>
|
<li>[03-15-20] <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">GLEW 2.2.0</a> new extensions and minor bug fixes</li>
|
||||||
<li>[07-31-17] <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">GLEW 2.1.0</a> adds support for OpenGL 4.6, new extensions and minor bug fixes</li>
|
<li>[07-31-17] <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.1.0">GLEW 2.1.0</a> adds support for OpenGL 4.6, new extensions and minor bug fixes</li>
|
||||||
<li>[07-24-16] <a href="https://sourceforge.net/projects/glew/files/glew/2.0.0/">GLEW 2.0.0</a> adds support for forward-compatible contexts, adds new extensions, OSMesa and EGL support, MX discontinued and minor bug fixes</li>
|
<li>[07-24-16] <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.0.0">GLEW 2.0.0</a> adds support for forward-compatible contexts, adds new extensions, OSMesa and EGL support, MX discontinued and minor bug fixes</li>
|
||||||
<li>[08-10-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.13.0/">GLEW 1.13.0</a> adds support for new extensions, fixes minor bugs</li>
|
<li>[08-10-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.13.0/">GLEW 1.13.0</a> adds support for new extensions, fixes minor bugs</li>
|
||||||
<li>[26-01-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.12.0/">GLEW 1.12.0</a> fixes minor bugs and adds new extensions</li>
|
<li>[26-01-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.12.0/">GLEW 1.12.0</a> fixes minor bugs and adds new extensions</li>
|
||||||
<li>[08-11-14] <a href="https://sourceforge.net/projects/glew/files/glew/1.11.0/">GLEW 1.11.0</a> adds support for OpenGL 4.5, new extensions</li>
|
<li>[08-11-14] <a href="https://sourceforge.net/projects/glew/files/glew/1.11.0/">GLEW 1.11.0</a> adds support for OpenGL 4.5, new extensions</li>
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<li> Bug fixes:
|
<li> Bug fixes:
|
||||||
<ul>
|
<ul>
|
||||||
<li> Resovled crash when glXGetCurrentDisplay() is NULL
|
<li> Resolved crash when glXGetCurrentDisplay() is NULL
|
||||||
<li> CMake: only install PDB files with MSVC
|
<li> CMake: only install PDB files with MSVC
|
||||||
<li> wglGetProcAddress crash with NOGDI defined
|
<li> wglGetProcAddress crash with NOGDI defined
|
||||||
<li> Mac: using -Os rather than -O2
|
<li> Mac: using -Os rather than -O2
|
||||||
@ -927,7 +927,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<li> Bug fixes:
|
<li> Bug fixes:
|
||||||
<ul>
|
<ul>
|
||||||
<li> Incorrent 64-bit type definitions
|
<li> Incorrect 64-bit type definitions
|
||||||
<li> Do not strip static library on install
|
<li> Do not strip static library on install
|
||||||
<li> Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read
|
<li> Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read
|
||||||
<li> Missing tokens in GL_VERSION_2_1
|
<li> Missing tokens in GL_VERSION_2_1
|
||||||
@ -975,7 +975,7 @@ corruption of their values
|
|||||||
<li> Missing include guards in glxew.h
|
<li> Missing include guards in glxew.h
|
||||||
<li> Makefile and install problems for Cygwin builds
|
<li> Makefile and install problems for Cygwin builds
|
||||||
<li> Install problem for Linux AMD64 builds
|
<li> Install problem for Linux AMD64 builds
|
||||||
<li> Incorrent token in GL_ATI_texture_compression_3dc
|
<li> Incorrect token in GL_ATI_texture_compression_3dc
|
||||||
<li> Missing tokens from GL_ATIX_point_sprites
|
<li> Missing tokens from GL_ATIX_point_sprites
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -78,6 +78,11 @@ typedef khronos_stime_nanoseconds_t EGLnsecsANDROID;
|
|||||||
struct EGLClientPixmapHI;
|
struct EGLClientPixmapHI;
|
||||||
struct AHardwareBuffer;
|
struct AHardwareBuffer;
|
||||||
|
|
||||||
|
/* Wayland types for WL_bind_wayland_display purposes */
|
||||||
|
struct wl_buffer;
|
||||||
|
struct wl_display;
|
||||||
|
struct wl_resource;
|
||||||
|
|
||||||
#define EGL_DONT_CARE ((EGLint)-1)
|
#define EGL_DONT_CARE ((EGLint)-1)
|
||||||
|
|
||||||
#define EGL_NO_CONTEXT ((EGLContext)0)
|
#define EGL_NO_CONTEXT ((EGLContext)0)
|
||||||
|
@ -42,7 +42,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments",
|
VALUE "Comments",
|
||||||
"The OpenGL Extension Wrangler Library\r\n"
|
"The OpenGL Extension Wrangler Library\r\n"
|
||||||
"Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>\r\n"
|
"Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>\r\n"
|
||||||
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
||||||
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
||||||
"Copyright (C) 2002, Lev Povalahev\r\n"
|
"Copyright (C) 2002, Lev Povalahev\r\n"
|
||||||
@ -120,7 +120,7 @@ BEGIN
|
|||||||
VALUE "FileDescription", "The OpenGL Extension Wrangler Library\0"
|
VALUE "FileDescription", "The OpenGL Extension Wrangler Library\0"
|
||||||
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
||||||
VALUE "InternalName", "GLEW\0"
|
VALUE "InternalName", "GLEW\0"
|
||||||
VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
|
VALUE "LegalCopyright", "(C) 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
|
||||||
VALUE "LegalTrademarks", "\0"
|
VALUE "LegalTrademarks", "\0"
|
||||||
VALUE "OriginalFilename", FILENAME "\0"
|
VALUE "OriginalFilename", FILENAME "\0"
|
||||||
VALUE "PrivateBuild", "\0"
|
VALUE "PrivateBuild", "\0"
|
||||||
|
@ -6,7 +6,15 @@
|
|||||||
|
|
||||||
#if defined(GLEW_OSMESA)
|
#if defined(GLEW_OSMESA)
|
||||||
# define GLAPI extern
|
# define GLAPI extern
|
||||||
|
# ifndef APIENTRY
|
||||||
|
# define APIENTRY
|
||||||
|
# define GLEW_APIENTRY_DEFINED
|
||||||
|
# endif
|
||||||
# include <GL/osmesa.h>
|
# include <GL/osmesa.h>
|
||||||
|
# ifdef GLEW_APIENTRY_DEFINED
|
||||||
|
# undef APIENTRY
|
||||||
|
# undef GLEW_APIENTRY_DEFINED
|
||||||
|
# endif
|
||||||
#elif defined(GLEW_EGL)
|
#elif defined(GLEW_EGL)
|
||||||
# include <GL/eglew.h>
|
# include <GL/eglew.h>
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
@ -28,7 +36,7 @@
|
|||||||
#if defined(GLEW_EGL)
|
#if defined(GLEW_EGL)
|
||||||
#elif defined(GLEW_REGAL)
|
#elif defined(GLEW_REGAL)
|
||||||
|
|
||||||
/* In GLEW_REGAL mode we call direcly into the linked
|
/* In GLEW_REGAL mode we call directly into the linked
|
||||||
libRegal.so glGetProcAddressREGAL for looking up
|
libRegal.so glGetProcAddressREGAL for looking up
|
||||||
the GL function pointers. */
|
the GL function pointers. */
|
||||||
|
|
||||||
@ -70,7 +78,7 @@ void* dlGetProcAddress (const GLubyte* name)
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <AvailabilityMacros.h>
|
#include <AvailabilityMacros.h>
|
||||||
|
|
||||||
#ifdef MAC_OS_X_VERSION_10_3
|
#if defined(MAC_OS_X_VERSION_10_3) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3
|
||||||
|
|
||||||
#include <dlfcn.h>
|
#include <dlfcn.h>
|
||||||
|
|
||||||
@ -120,7 +128,7 @@ void* NSGLGetProcAddress (const GLubyte *name)
|
|||||||
return NULL;
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif /* MAC_OS_X_VERSION_10_3 */
|
#endif /* defined(MAC_OS_X_VERSION_10_3) && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_3 */
|
||||||
#endif /* __APPLE__ */
|
#endif /* __APPLE__ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@ -221,7 +229,7 @@ static GLboolean _glewStrSame1 (const GLubyte** a, GLuint* na, const GLubyte* b,
|
|||||||
if(*na >= nb)
|
if(*na >= nb)
|
||||||
{
|
{
|
||||||
GLuint i=0;
|
GLuint i=0;
|
||||||
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
while (i < nb && (*a)[i] == b[i]) i++;
|
||||||
if(i == nb)
|
if(i == nb)
|
||||||
{
|
{
|
||||||
*a = *a + nb;
|
*a = *a + nb;
|
||||||
@ -237,7 +245,7 @@ static GLboolean _glewStrSame2 (const GLubyte** a, GLuint* na, const GLubyte* b,
|
|||||||
if(*na >= nb)
|
if(*na >= nb)
|
||||||
{
|
{
|
||||||
GLuint i=0;
|
GLuint i=0;
|
||||||
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
while (i < nb && (*a)[i] == b[i]) i++;
|
||||||
if(i == nb)
|
if(i == nb)
|
||||||
{
|
{
|
||||||
*a = *a + nb;
|
*a = *a + nb;
|
||||||
@ -253,7 +261,7 @@ static GLboolean _glewStrSame3 (const GLubyte** a, GLuint* na, const GLubyte* b,
|
|||||||
if(*na >= nb)
|
if(*na >= nb)
|
||||||
{
|
{
|
||||||
GLuint i=0;
|
GLuint i=0;
|
||||||
while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
|
while (i < nb && (*a)[i] == b[i]) i++;
|
||||||
if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
|
if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
|
||||||
{
|
{
|
||||||
*a = *a + nb;
|
*a = *a + nb;
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
#define __glew_h__
|
#define __glew_h__
|
||||||
#define __GLEW_H__
|
#define __GLEW_H__
|
||||||
|
|
||||||
#if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__X_GL_H)
|
#if defined(__gl_h_) || defined(__GL_H__) || defined(_GL_H) || defined(__gl_gl_h_) || defined(__X_GL_H)
|
||||||
#error gl.h included before glew.h
|
#error gl.h included before glew.h
|
||||||
#endif
|
#endif
|
||||||
#if defined(__gl2_h_)
|
#if defined(__gl2_h_)
|
||||||
@ -25,6 +25,7 @@
|
|||||||
#define __gl2_h_
|
#define __gl2_h_
|
||||||
#define __GL_H__
|
#define __GL_H__
|
||||||
#define _GL_H
|
#define _GL_H
|
||||||
|
#define __gl_gl_h_
|
||||||
#define __gltypes_h_
|
#define __gltypes_h_
|
||||||
#define __REGAL_H__
|
#define __REGAL_H__
|
||||||
#define __X_GL_H
|
#define __X_GL_H
|
||||||
@ -62,11 +63,6 @@
|
|||||||
# define APIENTRY
|
# define APIENTRY
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
#ifndef GLAPI
|
|
||||||
# if defined(__MINGW32__) || defined(__CYGWIN__)
|
|
||||||
# define GLAPI extern
|
|
||||||
# endif
|
|
||||||
#endif
|
|
||||||
/* <winnt.h> */
|
/* <winnt.h> */
|
||||||
#ifndef CALLBACK
|
#ifndef CALLBACK
|
||||||
#define GLEW_CALLBACK_DEFINED
|
#define GLEW_CALLBACK_DEFINED
|
||||||
|
@ -25,7 +25,7 @@ GLenum eglewInit (EGLDisplay display)
|
|||||||
if (!initialize || !queryString)
|
if (!initialize || !queryString)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
/* query EGK version */
|
/* query EGL version */
|
||||||
if (initialize(display, &major, &minor) != EGL_TRUE)
|
if (initialize(display, &major, &minor) != EGL_TRUE)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
|
|||||||
typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGPROC) (GLenum name);
|
typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGPROC) (GLenum name);
|
||||||
typedef void (GLAPIENTRY * PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
|
typedef void (GLAPIENTRY * PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
|
||||||
|
|
||||||
static GLenum GLEWAPIENTRY glewContextInit ()
|
GLenum GLEWAPIENTRY glewContextInit (void)
|
||||||
{
|
{
|
||||||
PFNGLGETSTRINGPROC getString;
|
PFNGLGETSTRINGPROC getString;
|
||||||
const GLubyte* s;
|
const GLubyte* s;
|
||||||
|
@ -8,6 +8,7 @@ const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error)
|
|||||||
(const GLubyte*)"Missing GL version",
|
(const GLubyte*)"Missing GL version",
|
||||||
(const GLubyte*)"GL 1.1 and up are not supported",
|
(const GLubyte*)"GL 1.1 and up are not supported",
|
||||||
(const GLubyte*)"GLX 1.2 and up are not supported",
|
(const GLubyte*)"GLX 1.2 and up are not supported",
|
||||||
|
(const GLubyte*)"No GLX display",
|
||||||
(const GLubyte*)"Unknown error"
|
(const GLubyte*)"Unknown error"
|
||||||
};
|
};
|
||||||
const size_t max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
|
const size_t max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
** The OpenGL Extension Wrangler Library
|
** The OpenGL Extension Wrangler Library
|
||||||
** Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
** Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
** Copyright (C) 2002, Lev Povalahev
|
** Copyright (C) 2002, Lev Povalahev
|
||||||
|
@ -27,6 +27,7 @@ VERSION_MICRO GLEW_VERSION_MICRO_STRING
|
|||||||
|
|
||||||
/* API */
|
/* API */
|
||||||
GLEWAPI GLenum GLEWAPIENTRY glewInit (void);
|
GLEWAPI GLenum GLEWAPIENTRY glewInit (void);
|
||||||
|
GLEWAPI GLenum GLEWAPIENTRY glewContextInit (void);
|
||||||
GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name);
|
GLEWAPI GLboolean GLEWAPIENTRY glewIsSupported (const char *name);
|
||||||
#define glewIsExtensionSupported(x) glewIsSupported(x)
|
#define glewIsExtensionSupported(x) glewIsSupported(x)
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments",
|
VALUE "Comments",
|
||||||
"The OpenGL Extension Wrangler Library\r\n"
|
"The OpenGL Extension Wrangler Library\r\n"
|
||||||
"Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>\r\n"
|
"Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>\r\n"
|
||||||
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
||||||
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
||||||
"Copyright (C) 2002, Lev Povalahev\r\n"
|
"Copyright (C) 2002, Lev Povalahev\r\n"
|
||||||
@ -108,7 +108,7 @@ BEGIN
|
|||||||
VALUE "FileDescription", "Utility for verifying extension entry points\0"
|
VALUE "FileDescription", "Utility for verifying extension entry points\0"
|
||||||
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
||||||
VALUE "InternalName", "glewinfo\0"
|
VALUE "InternalName", "glewinfo\0"
|
||||||
VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
|
VALUE "LegalCopyright", "(C) 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
|
||||||
VALUE "LegalTrademarks", "\0"
|
VALUE "LegalTrademarks", "\0"
|
||||||
VALUE "OriginalFilename", FILENAME "\0"
|
VALUE "OriginalFilename", FILENAME "\0"
|
||||||
VALUE "PrivateBuild", "\0"
|
VALUE "PrivateBuild", "\0"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -30,7 +30,7 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments",
|
VALUE "Comments",
|
||||||
"The OpenGL Extension Wrangler Library\r\n"
|
"The OpenGL Extension Wrangler Library\r\n"
|
||||||
"Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>\r\n"
|
"Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>\r\n"
|
||||||
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
"Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>\r\n"
|
||||||
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
"Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>\r\n"
|
||||||
"Copyright (C) 2002, Lev Povalahev\r\n"
|
"Copyright (C) 2002, Lev Povalahev\r\n"
|
||||||
@ -108,7 +108,7 @@ BEGIN
|
|||||||
VALUE "FileDescription", "Utility for listing pixelformat capabilities\0"
|
VALUE "FileDescription", "Utility for listing pixelformat capabilities\0"
|
||||||
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
|
||||||
VALUE "InternalName", "visualinfo\0"
|
VALUE "InternalName", "visualinfo\0"
|
||||||
VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
|
VALUE "LegalCopyright", "(C) 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
|
||||||
VALUE "LegalTrademarks", "\0"
|
VALUE "LegalTrademarks", "\0"
|
||||||
VALUE "OriginalFilename", FILENAME "\0"
|
VALUE "OriginalFilename", FILENAME "\0"
|
||||||
VALUE "PrivateBuild", "\0"
|
VALUE "PrivateBuild", "\0"
|
||||||
|
@ -1,21 +1,12 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
project(glew LANGUAGES C)
|
||||||
|
|
||||||
if ( NOT DEFINED CMAKE_BUILD_TYPE )
|
if ( NOT DEFINED CMAKE_BUILD_TYPE )
|
||||||
set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" )
|
set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" )
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
project (glew C)
|
|
||||||
|
|
||||||
cmake_minimum_required (VERSION 2.8.12)
|
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
if(POLICY CMP0003)
|
|
||||||
cmake_policy (SET CMP0003 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(POLICY CMP0042)
|
|
||||||
cmake_policy (SET CMP0042 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_DEBUG_POSTFIX d)
|
set(CMAKE_DEBUG_POSTFIX d)
|
||||||
|
|
||||||
option (BUILD_UTILS "utilities" ON)
|
option (BUILD_UTILS "utilities" ON)
|
||||||
@ -24,6 +15,9 @@ option (GLEW_OSMESA "OSMesa mode" OFF)
|
|||||||
if (APPLE)
|
if (APPLE)
|
||||||
option (BUILD_FRAMEWORK "Build Framework bundle for OSX" OFF)
|
option (BUILD_FRAMEWORK "Build Framework bundle for OSX" OFF)
|
||||||
endif ()
|
endif ()
|
||||||
|
option (GLEW_X11 "X11 mode" ON)
|
||||||
|
option (GLEW_EGL "EGL mode" OFF)
|
||||||
|
option (BUILD_SHARED_LIBS "install/link shared instead of static libs" ON)
|
||||||
|
|
||||||
set (GLEW_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
set (GLEW_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../..)
|
||||||
|
|
||||||
@ -36,15 +30,25 @@ file (STRINGS ${GLEW_DIR}/config/version _VERSION_PATCH_STRING REGEX "GLEW_MICR
|
|||||||
string (REGEX REPLACE "GLEW_MICRO[ ]*=[ ]*([0-9]+)" "\\1" CPACK_PACKAGE_VERSION_PATCH ${_VERSION_PATCH_STRING})
|
string (REGEX REPLACE "GLEW_MICRO[ ]*=[ ]*([0-9]+)" "\\1" CPACK_PACKAGE_VERSION_PATCH ${_VERSION_PATCH_STRING})
|
||||||
set (GLEW_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
|
set (GLEW_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
|
||||||
|
|
||||||
|
if (NOT GLEW_CUSTOM_OUTPUT_DIRS)
|
||||||
set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||||
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
|
||||||
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_package (OpenGL REQUIRED)
|
find_package (OpenGL REQUIRED)
|
||||||
|
|
||||||
|
# prefer GLVND
|
||||||
|
if (OPENGL_opengl_LIBRARY)
|
||||||
|
set (GLEW_LIBRARIES ${OPENGL_opengl_LIBRARY})
|
||||||
|
else ()
|
||||||
|
set (GLEW_LIBRARIES ${OPENGL_gl_LIBRARY})
|
||||||
|
endif ()
|
||||||
|
|
||||||
# X11 required except for Windows and Apple OSX platforms
|
# X11 required except for Windows and Apple OSX platforms
|
||||||
if (NOT WIN32 AND NOT APPLE)
|
if (GLEW_X11 AND NOT WIN32 AND NOT APPLE)
|
||||||
find_package (X11)
|
find_package (X11)
|
||||||
|
list (APPEND GLEW_LIBRARIES ${OPENGL_glx_LIBRARY} ${X11_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
@ -54,8 +58,6 @@ else ()
|
|||||||
set (DLL_PREFIX lib)
|
set (DLL_PREFIX lib)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${X11_LIBRARIES})
|
|
||||||
|
|
||||||
add_definitions (-DGLEW_NO_GLU)
|
add_definitions (-DGLEW_NO_GLU)
|
||||||
|
|
||||||
#### Regal mode ####
|
#### Regal mode ####
|
||||||
@ -79,7 +81,7 @@ if (GLEW_OSMESA)
|
|||||||
set (OSMESA_LIB_NAME OSMesa)
|
set (OSMESA_LIB_NAME OSMesa)
|
||||||
endif ()
|
endif ()
|
||||||
add_definitions (-DGLEW_OSMESA)
|
add_definitions (-DGLEW_OSMESA)
|
||||||
set (GLEW_LIBRARIES ${OSMESA_LIB_NAME} ${OPENGL_LIBRARIES})
|
list (APPEND GLEW_LIBRARIES ${OSMESA_LIB_NAME})
|
||||||
set (X11_LIBRARIES)
|
set (X11_LIBRARIES)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
@ -87,17 +89,22 @@ endif ()
|
|||||||
|
|
||||||
if (GLEW_EGL AND UNIX)
|
if (GLEW_EGL AND UNIX)
|
||||||
add_definitions (-DGLEW_EGL)
|
add_definitions (-DGLEW_EGL)
|
||||||
if (OpenGL::EGL)
|
if (NOT OpenGL_EGL_FOUND)
|
||||||
message (FATAL_ERROR "EGL library set but not found.")
|
message (FATAL_ERROR "EGL library set but not found.")
|
||||||
endif ()
|
endif ()
|
||||||
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${OPENGL_egl_LIBRARY})
|
list (APPEND GLEW_LIBRARIES ${OPENGL_egl_LIBRARY})
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
#### GLEW ####
|
#### GLEW ####
|
||||||
|
|
||||||
include_directories (${GLEW_DIR}/include ${X11_INCLUDE_DIR})
|
include_directories (${GLEW_DIR}/include ${X11_INCLUDE_DIR})
|
||||||
|
|
||||||
set (GLEW_PUBLIC_HEADERS_FILES ${GLEW_DIR}/include/GL/wglew.h ${GLEW_DIR}/include/GL/glew.h ${GLEW_DIR}/include/GL/glxew.h)
|
set (GLEW_PUBLIC_HEADERS_FILES
|
||||||
|
${GLEW_DIR}/include/GL/wglew.h
|
||||||
|
${GLEW_DIR}/include/GL/glew.h
|
||||||
|
${GLEW_DIR}/include/GL/glxew.h
|
||||||
|
${GLEW_DIR}/include/GL/eglew.h
|
||||||
|
)
|
||||||
set (GLEW_SRC_FILES ${GLEW_DIR}/src/glew.c)
|
set (GLEW_SRC_FILES ${GLEW_DIR}/src/glew.c)
|
||||||
|
|
||||||
if (WIN32)
|
if (WIN32)
|
||||||
@ -115,7 +122,9 @@ if (MSVC)
|
|||||||
# add options from visual studio project
|
# add options from visual studio project
|
||||||
target_compile_definitions (glew PRIVATE "GLEW_BUILD;VC_EXTRALEAN")
|
target_compile_definitions (glew PRIVATE "GLEW_BUILD;VC_EXTRALEAN")
|
||||||
target_compile_definitions (glew_s PRIVATE "GLEW_STATIC;VC_EXTRALEAN")
|
target_compile_definitions (glew_s PRIVATE "GLEW_STATIC;VC_EXTRALEAN")
|
||||||
|
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(i?86|x86|x86_32)$")
|
||||||
target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000)
|
target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000)
|
||||||
|
endif()
|
||||||
# kill security checks which are dependent on stdlib
|
# kill security checks which are dependent on stdlib
|
||||||
target_compile_options (glew PRIVATE -GS-)
|
target_compile_options (glew PRIVATE -GS-)
|
||||||
target_compile_options (glew_s PRIVATE -GS-)
|
target_compile_options (glew_s PRIVATE -GS-)
|
||||||
@ -148,31 +157,24 @@ endif()
|
|||||||
target_link_libraries (glew LINK_PUBLIC ${GLEW_LIBRARIES})
|
target_link_libraries (glew LINK_PUBLIC ${GLEW_LIBRARIES})
|
||||||
target_link_libraries (glew_s ${GLEW_LIBRARIES})
|
target_link_libraries (glew_s ${GLEW_LIBRARIES})
|
||||||
|
|
||||||
if(CMAKE_VERSION VERSION_LESS 2.8.12)
|
|
||||||
set(MAYBE_EXPORT "")
|
|
||||||
else()
|
|
||||||
target_compile_definitions(glew_s INTERFACE "GLEW_STATIC")
|
target_compile_definitions(glew_s INTERFACE "GLEW_STATIC")
|
||||||
foreach(t glew glew_s)
|
foreach(t glew glew_s)
|
||||||
target_include_directories(${t} PUBLIC $<INSTALL_INTERFACE:include>)
|
target_include_directories(${t} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
||||||
endforeach()
|
endforeach()
|
||||||
set(MAYBE_EXPORT EXPORT glew-targets)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(targets_to_install "")
|
set(targets_to_install "")
|
||||||
if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
list(APPEND targets_to_install glew)
|
list(APPEND targets_to_install glew)
|
||||||
endif()
|
else ()
|
||||||
|
|
||||||
if(NOT DEFINED BUILD_SHARED_LIBS OR NOT BUILD_SHARED_LIBS)
|
|
||||||
list(APPEND targets_to_install glew_s)
|
list(APPEND targets_to_install glew_s)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install ( TARGETS ${targets_to_install}
|
install ( TARGETS ${targets_to_install}
|
||||||
${MAYBE_EXPORT}
|
EXPORT glew-targets
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development
|
||||||
FRAMEWORK DESTINATION ${CMAKE_INSTALL_PREFIX}
|
FRAMEWORK DESTINATION ${CMAKE_INSTALL_PREFIX} COMPONENT Runtime
|
||||||
)
|
)
|
||||||
|
|
||||||
if (BUILD_UTILS)
|
if (BUILD_UTILS)
|
||||||
@ -181,7 +183,7 @@ if (BUILD_UTILS)
|
|||||||
list (APPEND GLEWINFO_SRC_FILES ${GLEW_DIR}/build/glewinfo.rc)
|
list (APPEND GLEWINFO_SRC_FILES ${GLEW_DIR}/build/glewinfo.rc)
|
||||||
endif ()
|
endif ()
|
||||||
add_executable (glewinfo ${GLEWINFO_SRC_FILES})
|
add_executable (glewinfo ${GLEWINFO_SRC_FILES})
|
||||||
if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
target_link_libraries (glewinfo glew)
|
target_link_libraries (glewinfo glew)
|
||||||
else()
|
else()
|
||||||
target_link_libraries (glewinfo glew_s)
|
target_link_libraries (glewinfo glew_s)
|
||||||
@ -195,7 +197,7 @@ if (BUILD_UTILS)
|
|||||||
list (APPEND VISUALINFO_SRC_FILES ${GLEW_DIR}/build/visualinfo.rc)
|
list (APPEND VISUALINFO_SRC_FILES ${GLEW_DIR}/build/visualinfo.rc)
|
||||||
endif ()
|
endif ()
|
||||||
add_executable (visualinfo ${VISUALINFO_SRC_FILES})
|
add_executable (visualinfo ${VISUALINFO_SRC_FILES})
|
||||||
if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
target_link_libraries (visualinfo glew)
|
target_link_libraries (visualinfo glew)
|
||||||
else()
|
else()
|
||||||
target_link_libraries (visualinfo glew_s)
|
target_link_libraries (visualinfo glew_s)
|
||||||
@ -205,7 +207,8 @@ if (BUILD_UTILS)
|
|||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
install ( TARGETS glewinfo visualinfo
|
install ( TARGETS glewinfo visualinfo
|
||||||
DESTINATION ${CMAKE_INSTALL_BINDIR})
|
DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
COMPONENT Runtime)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
set (prefix ${CMAKE_INSTALL_PREFIX})
|
set (prefix ${CMAKE_INSTALL_PREFIX})
|
||||||
@ -226,30 +229,31 @@ configure_file (${GLEW_DIR}/glew.pc.in ${CMAKE_CURRENT_BINARY_DIR}/glew.pc @ONLY
|
|||||||
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glew.pc
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glew.pc
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
|
||||||
|
COMPONENT Development
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32 AND MSVC AND (NOT MSVC_VERSION LESS 1600) AND (NOT CMAKE_VERSION VERSION_LESS "3.1"))
|
if(WIN32 AND MSVC AND (NOT MSVC_VERSION LESS 1600))
|
||||||
install(
|
install(
|
||||||
FILES $<TARGET_PDB_FILE:glew>
|
FILES $<TARGET_PDB_FILE:glew>
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
CONFIGURATIONS Debug RelWithDebInfo
|
CONFIGURATIONS Debug RelWithDebInfo
|
||||||
|
COMPONENT Runtime
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
install (FILES
|
install (
|
||||||
${GLEW_DIR}/include/GL/wglew.h
|
FILES ${GLEW_PUBLIC_HEADERS_FILES}
|
||||||
${GLEW_DIR}/include/GL/glew.h
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL
|
||||||
${GLEW_DIR}/include/GL/glxew.h
|
COMPONENT Development)
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL)
|
|
||||||
|
|
||||||
if(MAYBE_EXPORT)
|
|
||||||
install(EXPORT glew-targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/glew
|
install(EXPORT glew-targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/glew
|
||||||
|
COMPONENT Development
|
||||||
NAMESPACE GLEW::)
|
NAMESPACE GLEW::)
|
||||||
install(FILES
|
install(FILES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/glew-config.cmake
|
${CMAKE_CURRENT_SOURCE_DIR}/glew-config.cmake
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/CopyImportedTargetProperties.cmake
|
${CMAKE_CURRENT_SOURCE_DIR}/CopyImportedTargetProperties.cmake
|
||||||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/glew)
|
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/glew
|
||||||
endif()
|
COMPONENT Development)
|
||||||
|
|
||||||
if(NOT TARGET uninstall)
|
if(NOT TARGET uninstall)
|
||||||
configure_file(
|
configure_file(
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
cmake_minimum_required(VERSION 2.8.12)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
project(glew-cmake-test)
|
project(glew-cmake-test LANGUAGES C)
|
||||||
|
|
||||||
find_package(GLEW REQUIRED CONFIG)
|
find_package(GLEW REQUIRED CONFIG)
|
||||||
find_package(GLEW REQUIRED CONFIG) # call twice to test multiple call
|
find_package(GLEW REQUIRED CONFIG) # call twice to test multiple call
|
||||||
@ -10,16 +10,10 @@ set_target_properties(cmake-test PROPERTIES DEBUG_POSTFIX _d)
|
|||||||
target_link_libraries(cmake-test PRIVATE GLEW::GLEW ${OPENGL_LIBRARIES})
|
target_link_libraries(cmake-test PRIVATE GLEW::GLEW ${OPENGL_LIBRARIES})
|
||||||
target_include_directories(cmake-test PRIVATE ${OPENGL_INCLUDE_DIR})
|
target_include_directories(cmake-test PRIVATE ${OPENGL_INCLUDE_DIR})
|
||||||
|
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.0)
|
|
||||||
set(cgex $<CONFIGURATION>)
|
|
||||||
else()
|
|
||||||
set(cgex $<CONFIG>)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
target_compile_definitions(cmake-test PRIVATE
|
target_compile_definitions(cmake-test PRIVATE
|
||||||
-DGLEW_CMAKE_TEST_CONFIG=${cgex}
|
-DGLEW_CMAKE_TEST_CONFIG=$<CONFIG>
|
||||||
-DGLEW_CMAKE_TEST_TARGET_FILE_NAME=$<TARGET_FILE_NAME:GLEW::GLEW>
|
-DGLEW_CMAKE_TEST_TARGET_FILE_NAME=$<TARGET_FILE_NAME:GLEW::GLEW>
|
||||||
-DGLEW_CMAKE_TEST_TARGET_TYPE=$<TARGET_PROPERTY:GLEW::GLEW,TYPE>
|
-DGLEW_CMAKE_TEST_TARGET_TYPE=$<TARGET_PROPERTY:GLEW::GLEW,TYPE>
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS cmake-test DESTINATION bin)
|
install(TARGETS cmake-test DESTINATION bin COMPONENT Runtime)
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#
|
#
|
||||||
# Build & install shared + static, find default (shared)
|
# Build & install shared + static, find default (shared)
|
||||||
#
|
#
|
||||||
# ./cmake-testbuild.shh
|
# ./cmake-testbuild.sh
|
||||||
#
|
#
|
||||||
# Build & install shared + static, find static
|
# Build & install shared + static, find static
|
||||||
#
|
#
|
||||||
|
28
config/Makefile.darwin-arm64
Normal file
28
config/Makefile.darwin-arm64
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
GLEW_DEST = /usr/local
|
||||||
|
NAME = $(GLEW_NAME)
|
||||||
|
CC = cc
|
||||||
|
LD = cc
|
||||||
|
CFLAGS.EXTRA += -arch arm64
|
||||||
|
CFLAGS.EXTRA += -dynamic -fno-common
|
||||||
|
CFLAGS.EXTRA += -pedantic
|
||||||
|
CFLAGS.EXTRA += -fPIC
|
||||||
|
LDFLAGS.EXTRA = -arch arm64
|
||||||
|
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||||
|
CFLAGS.EXTRA += -std=c99
|
||||||
|
CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
|
||||||
|
LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11
|
||||||
|
else
|
||||||
|
CFLAGS.EXTRA += -std=c89
|
||||||
|
GLEW_NO_GLU = -DGLEW_NO_GLU
|
||||||
|
LDFLAGS.GL = -framework OpenGL
|
||||||
|
endif
|
||||||
|
LDFLAGS.STATIC =
|
||||||
|
LDFLAGS.DYNAMIC =
|
||||||
|
WARN = -Wall -W
|
||||||
|
POPT = -Os
|
||||||
|
BIN.SUFFIX =
|
||||||
|
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
|
||||||
|
LIB.DEVLNK = lib$(NAME).dylib
|
||||||
|
LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
|
||||||
|
LIB.STATIC = lib$(NAME).a
|
||||||
|
LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Needs to be clang toolchain for universal: -arch i386 -arch x86_64
|
# Needs to be clang toolchain for universal: -arch x86_64 -arch arm64
|
||||||
#
|
#
|
||||||
GLEW_DEST = /usr/local
|
GLEW_DEST = /usr/local
|
||||||
NAME = $(GLEW_NAME)
|
NAME = $(GLEW_NAME)
|
||||||
@ -11,8 +11,8 @@ STRIP =
|
|||||||
CFLAGS.EXTRA = -dynamic -fno-common
|
CFLAGS.EXTRA = -dynamic -fno-common
|
||||||
CFLAGS.EXTRA += -pedantic
|
CFLAGS.EXTRA += -pedantic
|
||||||
CFLAGS.EXTRA += -fPIC
|
CFLAGS.EXTRA += -fPIC
|
||||||
CFLAGS.EXTRA += -arch i386 -arch x86_64
|
CFLAGS.EXTRA += -arch x86_64 -arch arm64
|
||||||
LDFLAGS.EXTRA = -arch i386 -arch x86_64
|
LDFLAGS.EXTRA = -arch x86_64 -arch arm64
|
||||||
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||||
CFLAGS.EXTRA += -std=c99
|
CFLAGS.EXTRA += -std=c99
|
||||||
CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
|
CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
|
||||||
|
5
config/Makefile.linux-egl-glvnd
Normal file
5
config/Makefile.linux-egl-glvnd
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
include config/Makefile.linux
|
||||||
|
|
||||||
|
LDFLAGS.GL = -lEGL -lOpenGL
|
||||||
|
CFLAGS.EXTRA += -DGLEW_EGL
|
||||||
|
GLEW_NO_GLU = -DGLEW_NO_GLU
|
@ -1,17 +1,19 @@
|
|||||||
# For cross-compiling from Linux to Windows 32-bit using mingw32
|
# For cross-compiling from Linux to Windows 32-bit using mingw32
|
||||||
# http://mingw-w64.org/
|
# http://mingw-w64.org/
|
||||||
#
|
#
|
||||||
|
# Ubuntu/Debian:
|
||||||
# $ sudo apt install mingw-w64
|
# $ sudo apt install mingw-w64
|
||||||
# $ make SYSTEM=linux-mingw32
|
# $ make SYSTEM=linux-mingw32
|
||||||
|
|
||||||
NAME := glew32
|
NAME := glew32
|
||||||
HOST := i686-w64-mingw32
|
HOST := i686-w64-mingw32
|
||||||
|
GLEW_DEST ?= /usr/local/$(HOST)
|
||||||
CC := $(HOST)-gcc
|
CC := $(HOST)-gcc
|
||||||
LD := $(HOST)-ld
|
LD := $(HOST)-ld
|
||||||
LN :=
|
LN :=
|
||||||
STRIP :=
|
STRIP :=
|
||||||
LDFLAGS.GL = -L/usr/$(HOST)/lib -lopengl32 -lgdi32 -luser32 -lkernel32
|
LDFLAGS.GL = -L/usr/$(HOST)/lib -lopengl32 -lgdi32 -luser32 -lkernel32
|
||||||
CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
|
CFLAGS.EXTRA += -fno-builtin -fno-stack-protector -Wno-cast-function-type
|
||||||
WARN = -Wall -W
|
WARN = -Wall -W
|
||||||
POPT = -O2
|
POPT = -O2
|
||||||
BIN.SUFFIX = .exe
|
BIN.SUFFIX = .exe
|
||||||
|
@ -1,17 +1,19 @@
|
|||||||
# For cross-compiling from Linux to Windows 64-bit using mingw64
|
# For cross-compiling from Linux to Windows 64-bit using mingw64
|
||||||
# http://mingw-w64.org/
|
# http://mingw-w64.org/
|
||||||
#
|
#
|
||||||
|
# Ubuntu/Debian:
|
||||||
# $ sudo apt install mingw-w64
|
# $ sudo apt install mingw-w64
|
||||||
# $ make SYSTEM=linux-mingw64
|
# $ make SYSTEM=linux-mingw64
|
||||||
|
|
||||||
NAME := glew32
|
NAME := glew32
|
||||||
HOST := x86_64-w64-mingw32
|
HOST := x86_64-w64-mingw32
|
||||||
|
GLEW_DEST ?= /usr/local/$(HOST)
|
||||||
CC := $(HOST)-gcc
|
CC := $(HOST)-gcc
|
||||||
LD := $(HOST)-ld
|
LD := $(HOST)-ld
|
||||||
LN :=
|
LN :=
|
||||||
STRIP :=
|
STRIP :=
|
||||||
LDFLAGS.GL = -L/usr/$(HOST)/lib -lopengl32 -lgdi32 -luser32 -lkernel32
|
LDFLAGS.GL = -L/usr/$(HOST)/lib -lopengl32 -lgdi32 -luser32 -lkernel32
|
||||||
CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
|
CFLAGS.EXTRA += -fno-builtin -fno-stack-protector -Wno-cast-function-type
|
||||||
WARN = -Wall -W
|
WARN = -Wall -W
|
||||||
POPT = -O2
|
POPT = -O2
|
||||||
BIN.SUFFIX = .exe
|
BIN.SUFFIX = .exe
|
||||||
|
1491
config/config.guess
vendored
1491
config/config.guess
vendored
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
@ -186,7 +184,7 @@ terminated with a semicolon.
|
|||||||
<h3>Custom Code Generation</h3>
|
<h3>Custom Code Generation</h3>
|
||||||
<p>
|
<p>
|
||||||
Starting from GLEW 1.3.0, it is possible to control which extensions
|
Starting from GLEW 1.3.0, it is possible to control which extensions
|
||||||
to include in the libarary by specifying a list in
|
to include in the library by specifying a list in
|
||||||
<tt>auto/custom.txt</tt>. This is useful when you do not need all the
|
<tt>auto/custom.txt</tt>. This is useful when you do not need all the
|
||||||
extensions and would like to reduce the size of the source files.
|
extensions and would like to reduce the size of the source files.
|
||||||
Type <tt>make clean; make custom</tt> in the <tt>auto</tt> directory
|
Type <tt>make clean; make custom</tt> in the <tt>auto</tt> directory
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
1277
doc/glew.html
1277
doc/glew.html
File diff suppressed because it is too large
Load Diff
105
doc/glxew.html
105
doc/glxew.html
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
@ -125,63 +123,64 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td class="num">20</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_create_context_es_profile</a></td></tr>
|
<tr><td class="num">20</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_create_context_es_profile</a></td></tr>
|
||||||
<tr><td class="num">21</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_fbconfig_packed_float</a></td></tr>
|
<tr><td class="num">21</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_fbconfig_packed_float</a></td></tr>
|
||||||
<tr><td class="num">22</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_framebuffer_sRGB</a></td></tr>
|
<tr><td class="num">22</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_framebuffer_sRGB</a></td></tr>
|
||||||
<tr><td class="num">23</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_import_context</a></td></tr>
|
<tr><td class="num">23</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_get_drawable_type</a></td></tr>
|
||||||
<tr><td class="num">24</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_libglvnd</a></td></tr>
|
<tr><td class="num">24</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_import_context</a></td></tr>
|
||||||
<tr><td class="num">25</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_no_config_context</a></td></tr>
|
<tr><td class="num">25</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_libglvnd</a></td></tr>
|
||||||
<tr><td class="num">26</td><td> </td><td><a href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_scene_marker.txt">EXT_scene_marker</a></td></tr>
|
<tr><td class="num">26</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_no_config_context</a></td></tr>
|
||||||
<tr><td class="num">27</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_stereo_tree</a></td></tr>
|
<tr><td class="num">27</td><td> </td><td><a href="https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_scene_marker.txt">EXT_scene_marker</a></td></tr>
|
||||||
<tr><td class="num">28</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_swap_control</a></td></tr>
|
<tr><td class="num">28</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_stereo_tree</a></td></tr>
|
||||||
<tr><td class="num">29</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_swap_control_tear</a></td></tr>
|
<tr><td class="num">29</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_swap_control</a></td></tr>
|
||||||
<tr><td class="num">30</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_texture_from_pixmap</a></td></tr>
|
<tr><td class="num">30</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_swap_control_tear</a></td></tr>
|
||||||
<tr><td class="num">31</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_visual_info</a></td></tr>
|
<tr><td class="num">31</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_texture_from_pixmap</a></td></tr>
|
||||||
<tr><td class="num">32</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_visual_rating</a></td></tr>
|
<tr><td class="num">32</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_visual_info</a></td></tr>
|
||||||
|
<tr><td class="num">33</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">EXT_visual_rating</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">33</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">INTEL_swap_event</a></td></tr>
|
<tr><td class="num">34</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">INTEL_swap_event</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">34</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_agp_offset</a></td></tr>
|
<tr><td class="num">35</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_agp_offset</a></td></tr>
|
||||||
<tr><td class="num">35</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_copy_sub_buffer</a></td></tr>
|
<tr><td class="num">36</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_copy_sub_buffer</a></td></tr>
|
||||||
<tr><td class="num">36</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_pixmap_colormap</a></td></tr>
|
<tr><td class="num">37</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_pixmap_colormap</a></td></tr>
|
||||||
<tr><td class="num">37</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_query_renderer</a></td></tr>
|
<tr><td class="num">38</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_query_renderer</a></td></tr>
|
||||||
<tr><td class="num">38</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_release_buffers</a></td></tr>
|
<tr><td class="num">39</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_release_buffers</a></td></tr>
|
||||||
<tr><td class="num">39</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_set_3dfx_mode</a></td></tr>
|
<tr><td class="num">40</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_set_3dfx_mode</a></td></tr>
|
||||||
<tr><td class="num">40</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_swap_control</a></td></tr>
|
<tr><td class="num">41</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_swap_control</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">41</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_copy_buffer</a></td></tr>
|
<tr><td class="num">42</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_copy_buffer</a></td></tr>
|
||||||
<tr><td class="num">42</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_copy_image</a></td></tr>
|
<tr><td class="num">43</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_copy_image</a></td></tr>
|
||||||
<tr><td class="num">43</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_delay_before_swap</a></td></tr>
|
<tr><td class="num">44</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_delay_before_swap</a></td></tr>
|
||||||
<tr><td class="num">44</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_float_buffer</a></td></tr>
|
<tr><td class="num">45</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_float_buffer</a></td></tr>
|
||||||
<tr><td class="num">45</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_multigpu_context</a></td></tr>
|
<tr><td class="num">46</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_multigpu_context</a></td></tr>
|
||||||
<tr><td class="num">46</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_multisample_coverage</a></td></tr>
|
<tr><td class="num">47</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_multisample_coverage</a></td></tr>
|
||||||
<tr><td class="num">47</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_present_video</a></td></tr>
|
<tr><td class="num">48</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_present_video</a></td></tr>
|
||||||
<tr><td class="num">48</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_robustness_video_memory_purge</a></td></tr>
|
<tr><td class="num">49</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_robustness_video_memory_purge</a></td></tr>
|
||||||
<tr><td class="num">49</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_swap_group</a></td></tr>
|
<tr><td class="num">50</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_swap_group</a></td></tr>
|
||||||
<tr><td class="num">50</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt">NV_vertex_array_range</a></td></tr>
|
<tr><td class="num">51</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/NV/vertex_array_range.txt">NV_vertex_array_range</a></td></tr>
|
||||||
<tr><td class="num">51</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_video_capture</a></td></tr>
|
<tr><td class="num">52</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_video_capture</a></td></tr>
|
||||||
<tr><td class="num">52</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_video_out</a></td></tr>
|
<tr><td class="num">53</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_video_out</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">53</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">OML_swap_method</a></td></tr>
|
<tr><td class="num">54</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">OML_swap_method</a></td></tr>
|
||||||
<tr><td class="num">54</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">OML_sync_control</a></td></tr>
|
<tr><td class="num">55</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">OML_sync_control</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">55</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIS_blended_overlay</a></td></tr>
|
<tr><td class="num">56</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIS_blended_overlay</a></td></tr>
|
||||||
<tr><td class="num">56</td><td> </td><td><a href="https://www.khronos.org/registry/OpenGL/extensions/SGIS/GLX_SGIS_color_range.txt">SGIS_color_range</a></td></tr>
|
<tr><td class="num">57</td><td> </td><td><a href="https://www.khronos.org/registry/OpenGL/extensions/SGIS/GLX_SGIS_color_range.txt">SGIS_color_range</a></td></tr>
|
||||||
<tr><td class="num">57</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIS_multisample</a></td></tr>
|
<tr><td class="num">58</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIS_multisample</a></td></tr>
|
||||||
<tr><td class="num">58</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIS_shared_multisample</a></td></tr>
|
<tr><td class="num">59</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIS_shared_multisample</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">59</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_fbconfig</a></td></tr>
|
<tr><td class="num">60</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_fbconfig</a></td></tr>
|
||||||
<tr><td class="num">60</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt">SGIX_hyperpipe</a></td></tr>
|
<tr><td class="num">61</td><td> </td><td><a href="http://oss.sgi.com/projects/ogl-sample/registry/SGIX/hyperpipe_group.txt">SGIX_hyperpipe</a></td></tr>
|
||||||
<tr><td class="num">61</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_pbuffer</a></td></tr>
|
<tr><td class="num">62</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_pbuffer</a></td></tr>
|
||||||
<tr><td class="num">62</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_swap_barrier</a></td></tr>
|
<tr><td class="num">63</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_swap_barrier</a></td></tr>
|
||||||
<tr><td class="num">63</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_swap_group</a></td></tr>
|
<tr><td class="num">64</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_swap_group</a></td></tr>
|
||||||
<tr><td class="num">64</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_video_resize</a></td></tr>
|
<tr><td class="num">65</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_video_resize</a></td></tr>
|
||||||
<tr><td class="num">65</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_visual_select_group</a></td></tr>
|
<tr><td class="num">66</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGIX_visual_select_group</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">66</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_cushion</a></td></tr>
|
<tr><td class="num">67</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_cushion</a></td></tr>
|
||||||
<tr><td class="num">67</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_make_current_read</a></td></tr>
|
<tr><td class="num">68</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_make_current_read</a></td></tr>
|
||||||
<tr><td class="num">68</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_swap_control</a></td></tr>
|
<tr><td class="num">69</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_swap_control</a></td></tr>
|
||||||
<tr><td class="num">69</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_video_sync</a></td></tr>
|
<tr><td class="num">70</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SGI_video_sync</a></td></tr>
|
||||||
<tr><td><br></td><td></td><td></td></tr>
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
<tr><td class="num">70</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SUN_get_transparent_index</a></td></tr>
|
<tr><td class="num">71</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">SUN_get_transparent_index</a></td></tr>
|
||||||
<tr><td class="num">71</td><td> </td><td><a href="http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt">SUN_video_resize</a></td></tr>
|
<tr><td class="num">72</td><td> </td><td><a href="http://wwws.sun.com/software/graphics/opengl/extensions/glx_sun_video_resize.txt">SUN_video_resize</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
<!-- begin footer.html -->
|
<!-- begin footer.html -->
|
||||||
</td></tr></table></body>
|
</td></tr></table></body>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
@ -111,7 +109,7 @@ Mac OS X, FreeBSD, Irix, and Solaris.
|
|||||||
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
|
<a href="http://sourceforge.net/projects/glew/">GLEW</a> is distributed
|
||||||
as source and precompiled binaries.<br/>
|
as source and precompiled binaries.<br/>
|
||||||
The latest release is
|
The latest release is
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/">2.2.0</a>[03-15-20]:
|
<a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a>[03-15-20]:
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
</p>
|
</p>
|
||||||
@ -125,8 +123,8 @@ The latest release is
|
|||||||
<td align="right"><b>Source</b></td>
|
<td align="right"><b>Source</b></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0.zip/download">ZIP</a> |
|
<a href="https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.zip">ZIP</a> |
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0.tgz/download">TGZ</a></td>
|
<a href="https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.tgz">TGZ</a></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -134,7 +132,7 @@ The latest release is
|
|||||||
<td align="right"><b>Binaries</b></td>
|
<td align="right"><b>Binaries</b></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td align="left">
|
<td align="left">
|
||||||
<a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/glew-2.2.0-win32.zip/download">Windows 32-bit and 64-bit</a>
|
<a href="https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0-win32.zip">Windows 32-bit and 64-bit</a>
|
||||||
</td>
|
</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -163,9 +161,9 @@ The latest release contains support for OpenGL 4.6, compatibility and forward-co
|
|||||||
|
|
||||||
<h2>News</h2>
|
<h2>News</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>[03-15-20] <a href="https://sourceforge.net/projects/glew/files/glew/2.2.0/">GLEW 2.2.0</a> new extensions and minor bug fixes</li>
|
<li>[03-15-20] <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">GLEW 2.2.0</a> new extensions and minor bug fixes</li>
|
||||||
<li>[07-31-17] <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">GLEW 2.1.0</a> adds support for OpenGL 4.6, new extensions and minor bug fixes</li>
|
<li>[07-31-17] <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.1.0">GLEW 2.1.0</a> adds support for OpenGL 4.6, new extensions and minor bug fixes</li>
|
||||||
<li>[07-24-16] <a href="https://sourceforge.net/projects/glew/files/glew/2.0.0/">GLEW 2.0.0</a> adds support for forward-compatible contexts, adds new extensions, OSMesa and EGL support, MX discontinued and minor bug fixes</li>
|
<li>[07-24-16] <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.0.0">GLEW 2.0.0</a> adds support for forward-compatible contexts, adds new extensions, OSMesa and EGL support, MX discontinued and minor bug fixes</li>
|
||||||
<li>[08-10-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.13.0/">GLEW 1.13.0</a> adds support for new extensions, fixes minor bugs</li>
|
<li>[08-10-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.13.0/">GLEW 1.13.0</a> adds support for new extensions, fixes minor bugs</li>
|
||||||
<li>[26-01-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.12.0/">GLEW 1.12.0</a> fixes minor bugs and adds new extensions</li>
|
<li>[26-01-15] <a href="https://sourceforge.net/projects/glew/files/glew/1.12.0/">GLEW 1.12.0</a> fixes minor bugs and adds new extensions</li>
|
||||||
<li>[08-11-14] <a href="https://sourceforge.net/projects/glew/files/glew/1.11.0/">GLEW 1.11.0</a> adds support for OpenGL 4.5, new extensions</li>
|
<li>[08-11-14] <a href="https://sourceforge.net/projects/glew/files/glew/1.11.0/">GLEW 1.11.0</a> adds support for OpenGL 4.5, new extensions</li>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
12
doc/log.html
12
doc/log.html
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
@ -296,7 +294,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<ul>
|
<ul>
|
||||||
<li> Bug fixes:
|
<li> Bug fixes:
|
||||||
<ul>
|
<ul>
|
||||||
<li> Resovled crash when glXGetCurrentDisplay() is NULL
|
<li> Resolved crash when glXGetCurrentDisplay() is NULL
|
||||||
<li> CMake: only install PDB files with MSVC
|
<li> CMake: only install PDB files with MSVC
|
||||||
<li> wglGetProcAddress crash with NOGDI defined
|
<li> wglGetProcAddress crash with NOGDI defined
|
||||||
<li> Mac: using -Os rather than -O2
|
<li> Mac: using -Os rather than -O2
|
||||||
@ -1025,7 +1023,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
</ul>
|
</ul>
|
||||||
<li> Bug fixes:
|
<li> Bug fixes:
|
||||||
<ul>
|
<ul>
|
||||||
<li> Incorrent 64-bit type definitions
|
<li> Incorrect 64-bit type definitions
|
||||||
<li> Do not strip static library on install
|
<li> Do not strip static library on install
|
||||||
<li> Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read
|
<li> Missing tokens in GL_ATI_fragment_shader and WGL_{ARB,EXT}_make_current_read
|
||||||
<li> Missing tokens in GL_VERSION_2_1
|
<li> Missing tokens in GL_VERSION_2_1
|
||||||
@ -1073,7 +1071,7 @@ corruption of their values
|
|||||||
<li> Missing include guards in glxew.h
|
<li> Missing include guards in glxew.h
|
||||||
<li> Makefile and install problems for Cygwin builds
|
<li> Makefile and install problems for Cygwin builds
|
||||||
<li> Install problem for Linux AMD64 builds
|
<li> Install problem for Linux AMD64 builds
|
||||||
<li> Incorrent token in GL_ATI_texture_compression_3dc
|
<li> Incorrect token in GL_ATI_texture_compression_3dc
|
||||||
<li> Missing tokens from GL_ATIX_point_sprites
|
<li> Missing tokens from GL_ATIX_point_sprites
|
||||||
</ul>
|
</ul>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<!-- begin header.html -->
|
<!-- begin header.html -->
|
||||||
<!--
|
<!--
|
||||||
The OpenGL Extension Wrangler Library
|
The OpenGL Extension Wrangler Library
|
||||||
Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
Copyright (C) 2008-2024, Nigel Stewart <nigels[]nigels com>
|
||||||
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
Copyright (C) 2002, Lev Povalahev
|
Copyright (C) 2002, Lev Povalahev
|
||||||
@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<td valign="top">
|
<td valign="top">
|
||||||
|
|
||||||
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
<tr><td align="center"><i>Latest Release: <a href="https://sourceforge.net/projects/glew/files/glew/2.1.0/">2.1.0</a></i></td></tr>
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.2.0">2.2.0</a></i></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
<tr><td align="center"><img src="./glew.png" alt="GLEW Logo" width="97" height="75"></td></tr>
|
||||||
<tr><td align="center"><br></td></tr>
|
<tr><td align="center"><br></td></tr>
|
||||||
@ -62,8 +62,6 @@ THE POSSIBILITY OF SUCH DAMAGE.
|
|||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew">GitHub</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/issues">Issues</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/pulls">Pull Requests</a></td></tr>
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#authors">Authors</a></td></tr>
|
|
||||||
<tr><td align="center"><a href="https://github.com/nigels-com/glew#copyright-and-licensing">Licensing</a></td></tr>
|
|
||||||
<tr><td align="center"><br></tr>
|
<tr><td align="center"><br></tr>
|
||||||
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
<tr><td align="center"><a href="https://sourceforge.net/projects/glew">SourceForge Page</a></td></tr>
|
||||||
</table>
|
</table>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
** Copyright (C) Nate Robins, 1997
|
** Copyright (C) Nate Robins, 1997
|
||||||
** Michael Wimmer, 1999
|
** Michael Wimmer, 1999
|
||||||
** Milan Ikits, 2002-2008
|
** Milan Ikits, 2002-2008
|
||||||
** Nigel Stewart, 2008-2019
|
** Nigel Stewart, 2008-2021
|
||||||
**
|
**
|
||||||
** visualinfo is a small utility that displays all available visuals,
|
** visualinfo is a small utility that displays all available visuals,
|
||||||
** aka. pixelformats, in an OpenGL system along with renderer version
|
** aka. pixelformats, in an OpenGL system along with renderer version
|
||||||
@ -48,18 +48,6 @@
|
|||||||
#include <GL/glxew.h>
|
#include <GL/glxew.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef GLEW_MX
|
|
||||||
GLEWContext _glewctx;
|
|
||||||
# define glewGetContext() (&_glewctx)
|
|
||||||
# ifdef _WIN32
|
|
||||||
WGLEWContext _wglewctx;
|
|
||||||
# define wglewGetContext() (&_wglewctx)
|
|
||||||
# elif !defined(__APPLE__) && !defined(__HAIKU__) || defined(GLEW_APPLE_GLX)
|
|
||||||
GLXEWContext _glxewctx;
|
|
||||||
# define glxewGetContext() (&_glxewctx)
|
|
||||||
# endif
|
|
||||||
#endif /* GLEW_MX */
|
|
||||||
|
|
||||||
typedef struct GLContextStruct
|
typedef struct GLContextStruct
|
||||||
{
|
{
|
||||||
#if defined(GLEW_OSMESA)
|
#if defined(GLEW_OSMESA)
|
||||||
@ -123,6 +111,13 @@ main (int argc, char** argv)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(GLEW_EGL)
|
||||||
|
{
|
||||||
|
fprintf(stderr, "Error [main]: EGL not supported by visualinfo.\n");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
/* create OpenGL rendering context */
|
/* create OpenGL rendering context */
|
||||||
InitContext(&ctx);
|
InitContext(&ctx);
|
||||||
@ -136,16 +131,7 @@ main (int argc, char** argv)
|
|||||||
/* ---------------------------------------------------------------------- */
|
/* ---------------------------------------------------------------------- */
|
||||||
/* initialize GLEW */
|
/* initialize GLEW */
|
||||||
glewExperimental = GL_TRUE;
|
glewExperimental = GL_TRUE;
|
||||||
#ifdef GLEW_MX
|
|
||||||
err = glewContextInit(glewGetContext());
|
|
||||||
# ifdef _WIN32
|
|
||||||
err = err || wglewContextInit(wglewGetContext());
|
|
||||||
# elif !defined(__APPLE__) && !defined(__HAIKU__) || defined(GLEW_APPLE_GLX)
|
|
||||||
err = err || glxewContextInit(glxewGetContext());
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
err = glewInit();
|
err = glewInit();
|
||||||
#endif
|
|
||||||
if (GLEW_OK != err)
|
if (GLEW_OK != err)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Error [main]: glewInit failed: %s\n", glewGetErrorString(err));
|
fprintf(stderr, "Error [main]: glewInit failed: %s\n", glewGetErrorString(err));
|
||||||
|
Loading…
Reference in New Issue
Block a user