mirror of
https://github.com/nigels-com/glew.git
synced 2025-12-19 13:41:47 +00:00
Compare commits
19 Commits
b488e89304
...
4a19eec390
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a19eec390 | ||
|
|
4822c582b6 | ||
|
|
8b13498d6d | ||
|
|
a6bd834ce1 | ||
|
|
42a8e208f6 | ||
|
|
e1e8480902 | ||
|
|
aa8d664143 | ||
|
|
68710dd920 | ||
|
|
c1e0fc488d | ||
|
|
3da315c23a | ||
|
|
1236a81d70 | ||
|
|
b323ebf9ad | ||
|
|
c050e33aa0 | ||
|
|
e1a80a9f12 | ||
|
|
4c6cb2f56d | ||
|
|
7fb9693bd8 | ||
|
|
c1985bb954 | ||
|
|
f064fbfcb6 | ||
|
|
f8023b362d |
27
.travis.yml
27
.travis.yml
@ -1,27 +0,0 @@
|
|||||||
language: cpp
|
|
||||||
dist: trusty
|
|
||||||
install:
|
|
||||||
script:
|
|
||||||
- make -C auto clobber
|
|
||||||
- make extensions
|
|
||||||
- make dist-src
|
|
||||||
- make clean && SYSTEM=linux make
|
|
||||||
- make clean && SYSTEM=linux-osmesa make
|
|
||||||
- make clean && SYSTEM=linux-egl make
|
|
||||||
- make clean && SYSTEM=linux-clang 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' -DGLEW_OSMESA=ON . && make && popd
|
|
||||||
- pushd build/cmake && git clean -xdf . && cmake -G 'Unix Makefiles' -DGLEW_EGL=ON -DGLEW_X11=OFF . && make && popd
|
|
||||||
addons:
|
|
||||||
apt:
|
|
||||||
packages:
|
|
||||||
- git
|
|
||||||
- cmake
|
|
||||||
- dos2unix
|
|
||||||
- libosmesa6-dev
|
|
||||||
- libegl1-mesa-dev
|
|
||||||
artifacts:
|
|
||||||
paths:
|
|
||||||
- $(ls *.zip *.tgz | tr "\n" ":")
|
|
||||||
- $(find doc -type f | tr "\n" ":")
|
|
||||||
2
Makefile
2
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)
|
||||||
|
|||||||
10
README.md
10
README.md
@ -8,8 +8,8 @@ http://glew.sourceforge.net/
|
|||||||
|
|
||||||
https://github.com/nigels-com/glew
|
https://github.com/nigels-com/glew
|
||||||
|
|
||||||
[](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
|
||||||
|
|
||||||
@ -38,14 +38,14 @@ https://github.com/nigels-com/glew
|
|||||||
|
|
||||||
## Downloads
|
## Downloads
|
||||||
|
|
||||||
Current release is [2.2.0](https://github.com/nigels-com/glew/releases/tag/glew-2.2.0).
|
Current release is [2.3.0](https://github.com/nigels-com/glew/releases/tag/glew-2.3.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://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.zip) or
|
[ZIP](https://github.com/nigels-com/glew/releases/download/glew-2.3.0/glew-2.3.0.zip) or
|
||||||
[TGZ](https://github.com/nigels-com/glew/releases/download/glew-2.2.0/glew-2.2.0.tgz).
|
[TGZ](https://github.com/nigels-com/glew/releases/download/glew-2.3.0/glew-2.3.0.tgz).
|
||||||
|
|
||||||
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).
|
Windows binaries for [32-bit and 64-bit](https://github.com/nigels-com/glew/releases/download/glew-2.3.0/glew-2.3.0-win32.zip).
|
||||||
|
|
||||||
### Recent snapshots
|
### Recent snapshots
|
||||||
|
|
||||||
|
|||||||
@ -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-2025, 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 bash
|
#!/usr/bin/env bash
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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>
|
||||||
##
|
##
|
||||||
@ -51,7 +51,7 @@ if (@ARGV)
|
|||||||
if (keys %$functions or keys @$reuse)
|
if (keys %$functions or keys @$reuse)
|
||||||
{
|
{
|
||||||
print "#ifdef $extname\n\n";
|
print "#ifdef $extname\n\n";
|
||||||
print "static GLboolean _glewInit_$extname ()\n{\n GLboolean r = GL_FALSE;\n";
|
print "static GLboolean _glewInit_$extname (void)\n{\n GLboolean r = GL_FALSE;\n";
|
||||||
output_reuse($reuse, \&make_reuse_call);
|
output_reuse($reuse, \&make_reuse_call);
|
||||||
output_decls($functions, \&make_pfn_def_init);
|
output_decls($functions, \&make_pfn_def_init);
|
||||||
print "\n return r;\n}\n\n";
|
print "\n return r;\n}\n\n";
|
||||||
|
|||||||
@ -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-2025, 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>
|
||||||
##
|
##
|
||||||
@ -38,7 +38,7 @@ if (@ARGV)
|
|||||||
#print "#ifdef $extname\n\n";
|
#print "#ifdef $extname\n\n";
|
||||||
if (keys %$functions)
|
if (keys %$functions)
|
||||||
{
|
{
|
||||||
print "static GLboolean _glewInit_$extname ();\n";
|
print "static GLboolean _glewInit_$extname (void);\n";
|
||||||
}
|
}
|
||||||
#print "#endif /* $extname */\n\n";
|
#print "#endif /* $extname */\n\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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-2025, 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 bash
|
#!/usr/bin/env bash
|
||||||
##
|
##
|
||||||
## Copyright (C) 2008-2019, Nigel Stewart <nigels[]users sourceforge net>
|
## Copyright (C) 2008-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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"
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
@ -12,7 +12,7 @@ GLboolean glxewGetExtension (const char* name)
|
|||||||
return _glewSearchExtension(name, start, end);
|
return _glewSearchExtension(name, start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLenum glxewInit ()
|
GLenum glxewInit (void)
|
||||||
{
|
{
|
||||||
Display* display;
|
Display* display;
|
||||||
int major, minor;
|
int major, minor;
|
||||||
|
|||||||
@ -20,7 +20,7 @@ GLboolean GLEWAPIENTRY wglewGetExtension (const char* name)
|
|||||||
return _glewSearchExtension(name, start, end);
|
return _glewSearchExtension(name, start, end);
|
||||||
}
|
}
|
||||||
|
|
||||||
GLenum GLEWAPIENTRY wglewInit ()
|
GLenum GLEWAPIENTRY wglewInit (void)
|
||||||
{
|
{
|
||||||
GLboolean crippled;
|
GLboolean crippled;
|
||||||
const GLubyte* extStart;
|
const GLubyte* extStart;
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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"
|
||||||
|
|||||||
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
#elif defined(GLEW_EGL)
|
#elif defined(GLEW_EGL)
|
||||||
|
|
||||||
static void eglewInfo ()
|
static void eglewInfo (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
#elif !defined(GLEW_EGL) && !defined(GLEW_OSMESA) /* _UNIX */
|
#elif !defined(GLEW_EGL) && !defined(GLEW_OSMESA) /* _UNIX */
|
||||||
|
|
||||||
static void glxewInfo ()
|
static void glxewInfo (void)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -5,7 +5,12 @@
|
|||||||
#if defined(GLEW_EGL)
|
#if defined(GLEW_EGL)
|
||||||
#include <GL/eglew.h>
|
#include <GL/eglew.h>
|
||||||
#elif defined(GLEW_OSMESA)
|
#elif defined(GLEW_OSMESA)
|
||||||
|
#ifndef GLAPI
|
||||||
#define GLAPI extern
|
#define GLAPI extern
|
||||||
|
#endif
|
||||||
|
#ifndef APIENTRY
|
||||||
|
#define APIENTRY
|
||||||
|
#endif
|
||||||
#include <GL/osmesa.h>
|
#include <GL/osmesa.h>
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
#include <GL/wglew.h>
|
#include <GL/wglew.h>
|
||||||
@ -49,7 +54,7 @@ GLboolean glewCreateContext (struct createParams *params);
|
|||||||
|
|
||||||
GLboolean glewParseArgs (int argc, char** argv, struct createParams *);
|
GLboolean glewParseArgs (int argc, char** argv, struct createParams *);
|
||||||
|
|
||||||
void glewDestroyContext ();
|
void glewDestroyContext (void);
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|||||||
@ -195,7 +195,6 @@ GLboolean glewCreateContext (struct createParams *params)
|
|||||||
EGLDeviceEXT devices[1];
|
EGLDeviceEXT devices[1];
|
||||||
EGLint numDevices;
|
EGLint numDevices;
|
||||||
EGLSurface surface;
|
EGLSurface surface;
|
||||||
EGLint majorVersion, minorVersion;
|
|
||||||
EGLint configAttribs[] = {
|
EGLint configAttribs[] = {
|
||||||
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
|
EGL_SURFACE_TYPE, EGL_WINDOW_BIT,
|
||||||
EGL_RED_SIZE, 1,
|
EGL_RED_SIZE, 1,
|
||||||
@ -229,6 +228,8 @@ GLboolean glewCreateContext (struct createParams *params)
|
|||||||
PFNEGLMAKECURRENTPROC makeCurrent = NULL;
|
PFNEGLMAKECURRENTPROC makeCurrent = NULL;
|
||||||
PFNEGLCREATEPBUFFERSURFACEPROC createPbufferSurface = NULL;
|
PFNEGLCREATEPBUFFERSURFACEPROC createPbufferSurface = NULL;
|
||||||
|
|
||||||
|
(void) params; /* not used */
|
||||||
|
|
||||||
/* Load necessary entry points */
|
/* Load necessary entry points */
|
||||||
queryDevices = (PFNEGLQUERYDEVICESEXTPROC) eglGetProcAddress("eglQueryDevicesEXT");
|
queryDevices = (PFNEGLQUERYDEVICESEXTPROC) eglGetProcAddress("eglQueryDevicesEXT");
|
||||||
getPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYEXTPROC) eglGetProcAddress("eglGetPlatformDisplayEXT");
|
getPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYEXTPROC) eglGetProcAddress("eglGetPlatformDisplayEXT");
|
||||||
@ -299,7 +300,7 @@ GLboolean glewCreateContext (struct createParams *params)
|
|||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void glewDestroyContext ()
|
void glewDestroyContext (void)
|
||||||
{
|
{
|
||||||
if (NULL != ctx) eglDestroyContext(display, ctx);
|
if (NULL != ctx) eglDestroyContext(display, ctx);
|
||||||
}
|
}
|
||||||
@ -314,20 +315,22 @@ static GLubyte *osmPixels = NULL;
|
|||||||
|
|
||||||
GLboolean glewCreateContext (struct createParams *params)
|
GLboolean glewCreateContext (struct createParams *params)
|
||||||
{
|
{
|
||||||
|
(void) params; /* not used */
|
||||||
|
|
||||||
ctx = OSMesaCreateContext(OSMESA_RGBA, NULL);
|
ctx = OSMesaCreateContext(OSMESA_RGBA, NULL);
|
||||||
if (NULL == ctx) return GL_TRUE;
|
if (NULL == ctx) return GL_TRUE;
|
||||||
if (NULL == osmPixels)
|
if (NULL == osmPixels)
|
||||||
{
|
{
|
||||||
osmPixels = (GLubyte *) calloc(osmWidth*osmHeight*4, 1);
|
osmPixels = (GLubyte *) calloc(osmWidth*osmHeight*4, 1);
|
||||||
}
|
}
|
||||||
if (!OSMesaMakeCurrent(ctx, osmPixels, GL_UNSIGNED_BYTE, osmWidth, osmHeight))
|
if (!OSMesaMakeCurrent(ctx, osmPixels, osmFormat, osmWidth, osmHeight))
|
||||||
{
|
{
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void glewDestroyContext ()
|
void glewDestroyContext (void)
|
||||||
{
|
{
|
||||||
if (NULL != ctx) OSMesaDestroyContext(ctx);
|
if (NULL != ctx) OSMesaDestroyContext(ctx);
|
||||||
}
|
}
|
||||||
@ -412,7 +415,7 @@ GLboolean glewCreateContext (struct createParams* params)
|
|||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void glewDestroyContext ()
|
void glewDestroyContext (void)
|
||||||
{
|
{
|
||||||
if (NULL != rc) wglMakeCurrent(NULL, NULL);
|
if (NULL != rc) wglMakeCurrent(NULL, NULL);
|
||||||
if (NULL != rc) wglDeleteContext(rc);
|
if (NULL != rc) wglDeleteContext(rc);
|
||||||
@ -470,7 +473,7 @@ GLboolean glewCreateContext (struct createParams *params)
|
|||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void glewDestroyContext ()
|
void glewDestroyContext (void)
|
||||||
{
|
{
|
||||||
CGLSetCurrentContext(octx);
|
CGLSetCurrentContext(octx);
|
||||||
CGLReleaseContext(ctx);
|
CGLReleaseContext(ctx);
|
||||||
@ -483,10 +486,11 @@ void glewDestroyContext ()
|
|||||||
GLboolean glewCreateContext (struct createParams *params)
|
GLboolean glewCreateContext (struct createParams *params)
|
||||||
{
|
{
|
||||||
/* TODO: Haiku: We need to call C++ code here */
|
/* TODO: Haiku: We need to call C++ code here */
|
||||||
|
(void) params; /* not used */
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void glewDestroyContext ()
|
void glewDestroyContext (void)
|
||||||
{
|
{
|
||||||
/* TODO: Haiku: We need to call C++ code here */
|
/* TODO: Haiku: We need to call C++ code here */
|
||||||
}
|
}
|
||||||
@ -594,7 +598,7 @@ GLboolean glewCreateContext (struct createParams *params)
|
|||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void glewDestroyContext ()
|
void glewDestroyContext (void)
|
||||||
{
|
{
|
||||||
if (NULL != dpy && NULL != ctx) glXDestroyContext(dpy, ctx);
|
if (NULL != dpy && NULL != ctx) glXDestroyContext(dpy, ctx);
|
||||||
if (NULL != dpy && 0 != wnd) XDestroyWindow(dpy, wnd);
|
if (NULL != dpy && 0 != wnd) XDestroyWindow(dpy, wnd);
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
|
|
||||||
GLEWAPI GLenum GLEWAPIENTRY glxewInit ();
|
GLEWAPI GLenum GLEWAPIENTRY glxewInit (void);
|
||||||
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name);
|
GLEWAPI GLboolean GLEWAPIENTRY glxewIsSupported (const char *name);
|
||||||
|
|
||||||
#ifndef GLXEW_GET_VAR
|
#ifndef GLXEW_GET_VAR
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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"
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
/* ------------------------------------------------------------------------- */
|
/* ------------------------------------------------------------------------- */
|
||||||
|
|
||||||
GLEWAPI GLenum GLEWAPIENTRY wglewInit ();
|
GLEWAPI GLenum GLEWAPIENTRY wglewInit (void);
|
||||||
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
|
GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
|
||||||
|
|
||||||
#ifndef WGLEW_GET_VAR
|
#ifndef WGLEW_GET_VAR
|
||||||
|
|||||||
@ -1,25 +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 3.16)
|
|
||||||
|
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
|
||||||
if(POLICY CMP0003)
|
|
||||||
cmake_policy (SET CMP0003 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(POLICY CMP0042)
|
|
||||||
cmake_policy (SET CMP0042 NEW)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (POLICY CMP0072)
|
|
||||||
cmake_policy (SET CMP0072 NEW)
|
|
||||||
endif(POLICY CMP0072)
|
|
||||||
|
|
||||||
set(CMAKE_DEBUG_POSTFIX d)
|
set(CMAKE_DEBUG_POSTFIX d)
|
||||||
|
|
||||||
option (BUILD_UTILS "utilities" ON)
|
option (BUILD_UTILS "utilities" ON)
|
||||||
@ -51,14 +38,6 @@ endif()
|
|||||||
|
|
||||||
find_package (OpenGL REQUIRED)
|
find_package (OpenGL REQUIRED)
|
||||||
|
|
||||||
# cmake<3.10 doesn't detect EGL/GLX
|
|
||||||
if (CMAKE_VERSION VERSION_LESS 3.10)
|
|
||||||
find_library(OPENGL_egl_LIBRARY NAMES EGL)
|
|
||||||
if (OPENGL_egl_LIBRARY)
|
|
||||||
set (OpenGL_EGL_FOUND TRUE)
|
|
||||||
endif ()
|
|
||||||
endif ()
|
|
||||||
|
|
||||||
# prefer GLVND
|
# prefer GLVND
|
||||||
if (OPENGL_opengl_LIBRARY)
|
if (OPENGL_opengl_LIBRARY)
|
||||||
set (GLEW_LIBRARIES ${OPENGL_opengl_LIBRARY})
|
set (GLEW_LIBRARIES ${OPENGL_opengl_LIBRARY})
|
||||||
@ -178,15 +157,10 @@ 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)
|
target_compile_definitions(glew_s INTERFACE "GLEW_STATIC")
|
||||||
set(MAYBE_EXPORT "")
|
foreach(t glew glew_s)
|
||||||
else()
|
|
||||||
target_compile_definitions(glew_s INTERFACE "GLEW_STATIC")
|
|
||||||
foreach(t glew glew_s)
|
|
||||||
target_include_directories(${t} PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>)
|
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(BUILD_SHARED_LIBS)
|
if(BUILD_SHARED_LIBS)
|
||||||
@ -196,7 +170,7 @@ else ()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
install ( TARGETS ${targets_to_install}
|
install ( TARGETS ${targets_to_install}
|
||||||
${MAYBE_EXPORT}
|
EXPORT glew-targets
|
||||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT Runtime
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Runtime
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} COMPONENT Development
|
||||||
@ -258,7 +232,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glew.pc
|
|||||||
COMPONENT Development
|
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}
|
||||||
@ -272,16 +246,14 @@ install (
|
|||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL
|
||||||
COMPONENT Development)
|
COMPONENT Development)
|
||||||
|
|
||||||
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
|
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
|
||||||
COMPONENT Development)
|
COMPONENT Development)
|
||||||
endif()
|
|
||||||
|
|
||||||
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,14 +10,8 @@ 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>
|
||||||
)
|
)
|
||||||
|
|||||||
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,4 +1,4 @@
|
|||||||
include config/Makefile.linux
|
include config/Makefile.linux
|
||||||
|
|
||||||
LDFLAGS.GL = -lOSMesa
|
LDFLAGS.GL = -lOSMesa
|
||||||
CFLAGS.EXTRA += -DGLEW_OSMESA
|
CFLAGS.EXTRA += -DGLEW_OSMESA -Wno-cast-function-type
|
||||||
|
|||||||
1331
config/config.guess
vendored
1331
config/config.guess
vendored
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
|||||||
GLEW_MAJOR = 2
|
GLEW_MAJOR = 2
|
||||||
GLEW_MINOR = 2
|
GLEW_MINOR = 3
|
||||||
GLEW_MICRO = 0
|
GLEW_MICRO = 0
|
||||||
GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO)
|
GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO)
|
||||||
GLEW_NAME = GLEW
|
GLEW_NAME = GLEW
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
268
doc/eglew.html
Normal file
268
doc/eglew.html
Normal file
@ -0,0 +1,268 @@
|
|||||||
|
<!-- begin header.html -->
|
||||||
|
<!--
|
||||||
|
The OpenGL Extension Wrangler Library
|
||||||
|
Copyright (C) 2008-2023, Nigel Stewart <nigels[]nigels.com>
|
||||||
|
Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
|
||||||
|
Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
|
||||||
|
Copyright (C) 2002, Lev Povalahev
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation
|
||||||
|
and/or other materials provided with the distribution.
|
||||||
|
* The name of the author may be used to endorse or promote products
|
||||||
|
derived from this software without specific prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||||
|
THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html/4/loose.dtd">
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>GLEW: The OpenGL Extension Wrangler Library</title>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||||||
|
<link href="glew.css" type="text/css" rel="stylesheet">
|
||||||
|
</head>
|
||||||
|
<body bgcolor="#fff0d0">
|
||||||
|
<table border="0" width="100%" cellpadding="12" cellspacing="8" style="height:100%">
|
||||||
|
<tr>
|
||||||
|
<td bgcolor="#ffffff" align="left" valign="top" width="200">
|
||||||
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
|
<tr>
|
||||||
|
<td valign="top">
|
||||||
|
|
||||||
|
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
|
||||||
|
<tr><td align="center"><i>Latest Release: <a href="https://github.com/nigels-com/glew/releases/tag/glew-2.3.0">2.3.0</a></i></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"><br></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<table border="0" cellpadding="0" cellspacing="0" align="center">
|
||||||
|
<tr><td align="center"><a href="index.html">Download</a></td></tr>
|
||||||
|
<tr><td align="center"><a href="basic.html">Usage</a></td></tr>
|
||||||
|
<tr><td align="center"><a href="build.html">Building</a></td></tr>
|
||||||
|
<tr><td align="center"><a href="install.html">Installation</a></td></tr>
|
||||||
|
<tr><td align="center"><a href="advanced.html">Source Generation</a></td></tr>
|
||||||
|
<tr><td align="center"><br></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/pulls">Pull Requests</a></td></tr>
|
||||||
|
<tr><td align="center"><a href="https://github.com/nigels-com/glew/releases">Releases</a></td></tr>
|
||||||
|
<tr><td align="center"><br></tr>
|
||||||
|
<tr><td align="center"><br>Also</tr>
|
||||||
|
<tr><td align="center"><a href="https://github.com/Perlmint/glew-cmake">Perlmint/glew-cmake</a></td></tr>
|
||||||
|
<tr><td align="center"><br></tr>
|
||||||
|
</table>
|
||||||
|
<tr><td align="center"><br></tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
|
||||||
|
<td valign="bottom">
|
||||||
|
<table border="0" width="100%" cellpadding="5" cellspacing="0" align="left">
|
||||||
|
<tr><td align="center"><i>Last Update: 10-10-23</i></td></tr>
|
||||||
|
<tr><td align="center">
|
||||||
|
<a href="http://www.opengl.org"><img src="./ogl_sm.jpg" width="68" height="35" border="0" alt="OpenGL Logo"></a><br/>
|
||||||
|
<a href="https://github.com/nigels-com/glew"><img src="github.png" width="70" height="29" border="0" alt="GitHub Logo"></a><br/>
|
||||||
|
<a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=67586&type=1" width="88" height="31" border="0" alt="SourceForge Logo"></a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
|
|
||||||
|
<td bgcolor="#ffffff" align="left" valign="top">
|
||||||
|
|
||||||
|
<h1>The OpenGL Extension Wrangler Library</h1>
|
||||||
|
|
||||||
|
<!-- end header.html -->
|
||||||
|
|
||||||
|
|
||||||
|
<h2>Supported EGL Extensions</h2>
|
||||||
|
|
||||||
|
<table border="0" width="100%" cellpadding="1" cellspacing="0" align="center">
|
||||||
|
<tr><td class="num">1</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_GLES_layers</a></td></tr>
|
||||||
|
<tr><td class="num">2</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_blob_cache</a></td></tr>
|
||||||
|
<tr><td class="num">3</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_create_native_client_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">4</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_framebuffer_target</a></td></tr>
|
||||||
|
<tr><td class="num">5</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_front_buffer_auto_refresh</a></td></tr>
|
||||||
|
<tr><td class="num">6</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_get_frame_timestamps</a></td></tr>
|
||||||
|
<tr><td class="num">7</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_get_native_client_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">8</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_image_native_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">9</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_native_fence_sync</a></td></tr>
|
||||||
|
<tr><td class="num">10</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_presentation_time</a></td></tr>
|
||||||
|
<tr><td class="num">11</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANDROID_recordable</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">12</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANGLE_d3d_share_handle_client_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">13</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANGLE_device_d3d</a></td></tr>
|
||||||
|
<tr><td class="num">14</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANGLE_query_surface_pointer</a></td></tr>
|
||||||
|
<tr><td class="num">15</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANGLE_surface_d3d_texture_2d_share_handle</a></td></tr>
|
||||||
|
<tr><td class="num">16</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ANGLE_window_fixed_size</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">17</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ARM_image_format</a></td></tr>
|
||||||
|
<tr><td class="num">18</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ARM_implicit_external_sync</a></td></tr>
|
||||||
|
<tr><td class="num">19</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">ARM_pixmap_multisample_discard</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></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_bind_to_front</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_buffer_age</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_client_extensions</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_client_sync</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_compositor</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_create_context_robustness</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_device_base</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_device_drm</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_device_enumeration</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_device_openwf</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_device_query</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_device_query_name</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_gl_colorspace_bt2020_linear</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_gl_colorspace_bt2020_pq</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">EXT_gl_colorspace_display_p3</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">EXT_gl_colorspace_display_p3_linear</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">EXT_gl_colorspace_display_p3_passthrough</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">EXT_gl_colorspace_scrgb</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">EXT_gl_colorspace_scrgb_linear</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">EXT_image_dma_buf_import</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">EXT_image_dma_buf_import_modifiers</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">EXT_image_gl_colorspace</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">EXT_image_implicit_sync_control</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">EXT_multiview_window</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">EXT_output_base</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">EXT_output_drm</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">EXT_output_openwf</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">EXT_pixel_format_float</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">EXT_platform_base</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">EXT_platform_device</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">EXT_platform_wayland</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">EXT_platform_x11</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">EXT_platform_xcb</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">EXT_protected_content</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">EXT_protected_surface</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">EXT_stream_consumer_egloutput</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">EXT_surface_CTA861_3_metadata</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">EXT_surface_SMPTE2086_metadata</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">EXT_swap_buffers_with_damage</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">EXT_sync_reuse</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">EXT_yuv_surface</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">61</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">HI_clientpixmap</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">HI_colorformats</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">63</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">IMG_context_priority</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">IMG_image_plane_attribs</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">65</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_cl_event</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">KHR_cl_event2</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">KHR_client_get_all_proc_addresses</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">KHR_config_attribs</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">KHR_context_flush_control</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">KHR_create_context</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">KHR_create_context_no_error</a></td></tr>
|
||||||
|
<tr><td class="num">72</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_debug</a></td></tr>
|
||||||
|
<tr><td class="num">73</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_display_reference</a></td></tr>
|
||||||
|
<tr><td class="num">74</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_fence_sync</a></td></tr>
|
||||||
|
<tr><td class="num">75</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_get_all_proc_addresses</a></td></tr>
|
||||||
|
<tr><td class="num">76</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_gl_colorspace</a></td></tr>
|
||||||
|
<tr><td class="num">77</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_gl_renderbuffer_image</a></td></tr>
|
||||||
|
<tr><td class="num">78</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_gl_texture_2D_image</a></td></tr>
|
||||||
|
<tr><td class="num">79</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_gl_texture_3D_image</a></td></tr>
|
||||||
|
<tr><td class="num">80</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_gl_texture_cubemap_image</a></td></tr>
|
||||||
|
<tr><td class="num">81</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_image</a></td></tr>
|
||||||
|
<tr><td class="num">82</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_image_base</a></td></tr>
|
||||||
|
<tr><td class="num">83</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_image_pixmap</a></td></tr>
|
||||||
|
<tr><td class="num">84</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_lock_surface</a></td></tr>
|
||||||
|
<tr><td class="num">85</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_lock_surface2</a></td></tr>
|
||||||
|
<tr><td class="num">86</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_lock_surface3</a></td></tr>
|
||||||
|
<tr><td class="num">87</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_mutable_render_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">88</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_no_config_context</a></td></tr>
|
||||||
|
<tr><td class="num">89</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_partial_update</a></td></tr>
|
||||||
|
<tr><td class="num">90</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_platform_android</a></td></tr>
|
||||||
|
<tr><td class="num">91</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_platform_gbm</a></td></tr>
|
||||||
|
<tr><td class="num">92</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_platform_wayland</a></td></tr>
|
||||||
|
<tr><td class="num">93</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_platform_x11</a></td></tr>
|
||||||
|
<tr><td class="num">94</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_reusable_sync</a></td></tr>
|
||||||
|
<tr><td class="num">95</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream</a></td></tr>
|
||||||
|
<tr><td class="num">96</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream_attrib</a></td></tr>
|
||||||
|
<tr><td class="num">97</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream_consumer_gltexture</a></td></tr>
|
||||||
|
<tr><td class="num">98</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream_cross_process_fd</a></td></tr>
|
||||||
|
<tr><td class="num">99</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream_fifo</a></td></tr>
|
||||||
|
<tr><td class="num">100</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream_producer_aldatalocator</a></td></tr>
|
||||||
|
<tr><td class="num">101</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_stream_producer_eglsurface</a></td></tr>
|
||||||
|
<tr><td class="num">102</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_surfaceless_context</a></td></tr>
|
||||||
|
<tr><td class="num">103</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_swap_buffers_with_damage</a></td></tr>
|
||||||
|
<tr><td class="num">104</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_vg_parent_image</a></td></tr>
|
||||||
|
<tr><td class="num">105</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">KHR_wait_sync</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">106</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_drm_image</a></td></tr>
|
||||||
|
<tr><td class="num">107</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_image_dma_buf_export</a></td></tr>
|
||||||
|
<tr><td class="num">108</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_platform_gbm</a></td></tr>
|
||||||
|
<tr><td class="num">109</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_platform_surfaceless</a></td></tr>
|
||||||
|
<tr><td class="num">110</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">MESA_query_driver</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">111</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NOK_swap_region</a></td></tr>
|
||||||
|
<tr><td class="num">112</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NOK_swap_region2</a></td></tr>
|
||||||
|
<tr><td class="num">113</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NOK_texture_from_pixmap</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">114</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_3dvision_surface</a></td></tr>
|
||||||
|
<tr><td class="num">115</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_context_priority_realtime</a></td></tr>
|
||||||
|
<tr><td class="num">116</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_coverage_sample</a></td></tr>
|
||||||
|
<tr><td class="num">117</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_coverage_sample_resolve</a></td></tr>
|
||||||
|
<tr><td class="num">118</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_cuda_event</a></td></tr>
|
||||||
|
<tr><td class="num">119</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_depth_nonlinear</a></td></tr>
|
||||||
|
<tr><td class="num">120</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_device_cuda</a></td></tr>
|
||||||
|
<tr><td class="num">121</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_native_query</a></td></tr>
|
||||||
|
<tr><td class="num">122</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_post_convert_rounding</a></td></tr>
|
||||||
|
<tr><td class="num">123</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_post_sub_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">124</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_quadruple_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">125</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">126</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_consumer_eglimage</a></td></tr>
|
||||||
|
<tr><td class="num">127</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_consumer_gltexture_yuv</a></td></tr>
|
||||||
|
<tr><td class="num">128</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_cross_display</a></td></tr>
|
||||||
|
<tr><td class="num">129</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_cross_object</a></td></tr>
|
||||||
|
<tr><td class="num">130</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_cross_partition</a></td></tr>
|
||||||
|
<tr><td class="num">131</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_cross_process</a></td></tr>
|
||||||
|
<tr><td class="num">132</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_cross_system</a></td></tr>
|
||||||
|
<tr><td class="num">133</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_dma</a></td></tr>
|
||||||
|
<tr><td class="num">134</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_fifo_next</a></td></tr>
|
||||||
|
<tr><td class="num">135</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_fifo_synchronous</a></td></tr>
|
||||||
|
<tr><td class="num">136</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_flush</a></td></tr>
|
||||||
|
<tr><td class="num">137</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_frame_limits</a></td></tr>
|
||||||
|
<tr><td class="num">138</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_metadata</a></td></tr>
|
||||||
|
<tr><td class="num">139</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_origin</a></td></tr>
|
||||||
|
<tr><td class="num">140</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_remote</a></td></tr>
|
||||||
|
<tr><td class="num">141</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_reset</a></td></tr>
|
||||||
|
<tr><td class="num">142</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_socket</a></td></tr>
|
||||||
|
<tr><td class="num">143</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_socket_inet</a></td></tr>
|
||||||
|
<tr><td class="num">144</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_socket_unix</a></td></tr>
|
||||||
|
<tr><td class="num">145</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_stream_sync</a></td></tr>
|
||||||
|
<tr><td class="num">146</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_sync</a></td></tr>
|
||||||
|
<tr><td class="num">147</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_system_time</a></td></tr>
|
||||||
|
<tr><td class="num">148</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">NV_triple_buffer</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">149</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">TIZEN_image_native_buffer</a></td></tr>
|
||||||
|
<tr><td class="num">150</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">TIZEN_image_native_surface</a></td></tr>
|
||||||
|
<tr><td><br></td><td></td><td></td></tr>
|
||||||
|
<tr><td class="num">151</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">WL_bind_wayland_display</a></td></tr>
|
||||||
|
<tr><td class="num">152</td><td> </td><td><a href="https://www.khronos.org/registry/egl/specs/eglspec.1.5.pdf">WL_create_wayland_buffer_from_image</a></td></tr>
|
||||||
|
</table>
|
||||||
|
<!-- begin footer.html -->
|
||||||
|
</td></tr></table></body>
|
||||||
|
<!-- end footer.html -->
|
||||||
|
|
||||||
1348
doc/glew.html
1348
doc/glew.html
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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2025, 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
|
||||||
|
|||||||
@ -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-2021
|
** Nigel Stewart, 2008-2025
|
||||||
**
|
**
|
||||||
** 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
|
||||||
@ -36,6 +36,9 @@
|
|||||||
#include <GL/glew.h>
|
#include <GL/glew.h>
|
||||||
#if defined(GLEW_OSMESA)
|
#if defined(GLEW_OSMESA)
|
||||||
#define GLAPI extern
|
#define GLAPI extern
|
||||||
|
#ifndef APIENTRY
|
||||||
|
#define APIENTRY
|
||||||
|
#endif
|
||||||
#include <GL/osmesa.h>
|
#include <GL/osmesa.h>
|
||||||
#elif defined(GLEW_EGL)
|
#elif defined(GLEW_EGL)
|
||||||
#include <GL/eglew.h>
|
#include <GL/eglew.h>
|
||||||
@ -260,6 +263,7 @@ void PrintExtensions (const char* s)
|
|||||||
void
|
void
|
||||||
VisualInfo (GLContext* ctx)
|
VisualInfo (GLContext* ctx)
|
||||||
{
|
{
|
||||||
|
(void) ctx; /* not used */
|
||||||
}
|
}
|
||||||
|
|
||||||
#elif defined(_WIN32)
|
#elif defined(_WIN32)
|
||||||
@ -1027,7 +1031,7 @@ GLboolean CreateContext (GLContext* ctx)
|
|||||||
{
|
{
|
||||||
osmPixels = (GLubyte *) calloc(osmWidth*osmHeight*4, 1);
|
osmPixels = (GLubyte *) calloc(osmWidth*osmHeight*4, 1);
|
||||||
}
|
}
|
||||||
if (!OSMesaMakeCurrent(ctx->ctx, osmPixels, GL_UNSIGNED_BYTE, osmWidth, osmHeight))
|
if (!OSMesaMakeCurrent(ctx->ctx, osmPixels, osmFormat, osmWidth, osmHeight))
|
||||||
{
|
{
|
||||||
return GL_TRUE;
|
return GL_TRUE;
|
||||||
}
|
}
|
||||||
@ -1049,13 +1053,13 @@ void InitContext (GLContext* ctx)
|
|||||||
|
|
||||||
GLboolean CreateContext (GLContext* ctx)
|
GLboolean CreateContext (GLContext* ctx)
|
||||||
{
|
{
|
||||||
|
(void) ctx; /* not used */
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DestroyContext (GLContext* ctx)
|
void DestroyContext (GLContext* ctx)
|
||||||
{
|
{
|
||||||
if (NULL == ctx) return;
|
(void) ctx; /* not used */
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ------------------------------------------------------------------------ */
|
/* ------------------------------------------------------------------------ */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user