Martin Storsjo
cadb4e815a
Blacklist GL_SGIX_fragment_specular_lighting
...
This extension conflicts with GL_SGIX_fragment_lighting from
the upstream glext.h. (That extension doesn't seem to be
documented in any extension registry, but only seems present
in glext.h.)
These two extensions have overlapping function names, but
GL_SGIX_fragment_specular_lighting has got incorrect use of
const on pointer arguments, causing compiler errors about
typedef redefinition with different types, if both glew.h
and glext.h are included.
E.g. the function glGetFragmentMaterialivSGIX is declared as
glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
in glext.h, but is described as
void GetFragmentMaterialivSGIX(enum face, enum pname, const int *data);
in SGIX_fragment_specular_lighting.txt.
Out of these two, SGIX_fragment_specular_lighting.txt clearly is
wrong (incomplete and probably never got used as such) as a getter
can't use a const pointer for writing the output parameters.
2019-09-23 11:40:27 +03:00
Nigel Stewart
47588720ee
Extend GLEW_INCLUDE support to eglew.h and glxew.h
2019-06-13 09:28:51 +10:00
Nigel Stewart
3565eacf87
Include cstddef and cstdint (rather than C versions) for C++ compiler on macOS and Linux
2019-03-19 20:08:48 +10:00
TheVice
1f833c032f
[parse_xml] resolved "TypeError: a bytes-like object is required, not 'str'"
...
after commit 10f2d76c62
was applied.
2019-03-17 22:48:22 +10:00
TheVice
1b17b0b210
[parse_xml] replaced OptionParser with ArgumentParser according
...
to depreciation of first one starting from Python version 3.2.
2019-03-17 22:48:22 +10:00
Valentin Sarthou
10f2d76c62
Write files in binary format in parse_xml.py
...
Issue:
On Windows platforms, when writing files with python in text-mode, LF
characters get converted to CRLF.
This behavior leads to incorrect code generation in the steps following
parse_xml.py
Fix:
Replace file access mode by 'wb' to avoid any platform-dependent behavior
regarding newlines.
2019-03-17 09:03:24 +10:00
Nigel Stewart
565caae5ad
Prune auto/core for GLX code generation from XML
2019-02-05 06:37:36 +10:00
Nigel Stewart
521fa58c63
Use parse_xml.py for GLX code generation
2019-02-05 06:37:36 +10:00
Nigel Stewart
3e6dfc4414
Prune auto/core for WGL code generation from XML
2019-02-04 07:58:55 +10:00
Nigel Stewart
dcff76b0d1
Type-mapping isn't needed for parse_xml.py WGL purposes, after all
2019-02-04 07:58:55 +10:00
Nigel Stewart
62b9213b44
Use parse_xml.py for WGL code generation
2019-02-04 07:58:55 +10:00
Nigel Stewart
278a314d99
Improved robustness for EGL-Registry download
2019-02-03 18:45:46 +10:00
Nigel Stewart
6f31e134f6
Extend glewinfo to support optional -experimental mode, default to normal mode of operation
2019-02-02 15:03:57 +10:00
TheVice
e304e73230
[filter_gl_ext] removed command that currently not applicable.
2019-02-02 15:03:27 +10:00
Nigel Stewart
103b3d156e
Update copyright information for 2019
2019-02-02 14:19:42 +10:00
Nigel Stewart
fbcb13d274
FreeBSD xargs fixup for auto/Makefile
2019-02-02 09:23:01 +10:00
Nigel Stewart
a8df738667
FreeBSD using #!/usr/bin/env for portability
2019-02-02 09:23:01 +10:00
Nigel Stewart
c49798062d
Optional override of OpenGL-Registry, EGL-Registry amd glfixes git repos
2019-01-28 21:05:21 +10:00
TheVice
b48ded757e
[glewinfo] added using of 'sscanf_s' function for some build environment.
2019-01-28 21:04:41 +10:00
Deve
7f65a36866
Fixed compilation with current mesa versions.
...
As you can see in
https://cgit.freedesktop.org/mesa/mesa/tree/include/GL/glext.h
now the file uses __gl_glext_h_ instead of __glext_h_
It's precisely caused by commit f7d42ee7d319256608ad60778f6787c140badada
2018-12-29 20:22:04 +10:00
Nigel Stewart
3e033b9db5
Fix Issue #189 - GL_NV_sample_locations glResolveDepthValuesNV
2018-10-10 16:49:12 +10:00
Nigel Stewart
6d5dabf870
Fix Issue #194 - KHR_context_flush_control enums
2018-10-10 16:38:56 +10:00
Nigel Stewart
14e212406c
Fix Issue #195 - need to sort extensions by name, rather than path
2018-10-10 16:12:24 +10:00
Nigel Stewart
03afadd4f2
Using EGL-Registry for EGL support
2018-10-10 13:59:11 +10:00
Nigel Stewart
d73ad7eeb2
Blacklist more GLX SGIX extensions = fixup
2018-10-10 11:19:01 +10:00
Nigel Stewart
08ca29e604
Blacklist more GLX SGIX extensions
2018-10-10 11:08:45 +10:00
Nigel Stewart
be4e0eb102
Using KhronosGroup/OpenGL-Registry git repository for extension specifications
2018-10-10 11:08:45 +10:00
Nigel Stewart
2af38d87be
Fixup for GLEW_VERSION_4_5 version detection
2017-12-02 09:16:46 +10:00
Nigel Stewart
3a8eff77da
glewinfo fixup for MacOS core context mode with version>4.0+
2017-07-31 21:11:51 +10:00
Nigel Stewart
1fe2ca4f37
Bump GLEW version to 2.1.0
2017-07-31 20:24:29 +10:00
Nigel Stewart
4b40314cc0
Initial OpenGL 4.6 support
2017-07-31 20:24:29 +10:00
Nigel Stewart
f678171b69
Fix for glxewInit - we need GLX 1.2 for calling glXGetCurrentDisplay
2017-04-27 20:43:33 +10:00
Nigel Stewart
60139a6cfb
Initial draft of release notes for upcoming GLEW 2.0.1
2017-04-23 12:16:50 +10:00
Nigel Stewart
a82b984534
Add support for GLEW_INCLUDE to allow including glew.h from a custom location
2017-04-23 11:51:09 +10:00
Julian Squires
7f510379f6
Fix perl @INC for scripts which include make.pl
...
In perl 5.26, and some earlier perls that have been proactively
patched (Debian's perl 5.24, for example), '.' was removed from @INC
for security reasons. For details, see:
http://blogs.perl.org/users/todd_rinaldo/2016/11/how-removing-from-inc-is-about-to-break-cpan.html
https://www.masteringperl.org/2017/01/perl-v5-26-removes-from-inc-but-dont-think-youre-safe/
et cetera.
This breaks the generation scripts which source make.pl with
do 'bin/make.pl'
Although this might be indicative that it's time to refactor these
scripts, I opted for the simplest possible fix for now: restoring '.'
to @INC in each script that depends on make.pl.
2017-03-26 15:44:59 -04:00
Nigel Stewart
239fde0a43
Update copyright notice to 2017
2017-01-08 10:30:28 +10:00
Nigel Stewart
b79702c6b7
Bump the copyright notice to 2016
2016-11-13 14:33:55 +10:00
Nigel Stewart
2c6ad763af
glxewInit check for current X11 display rather than crashing
2016-11-13 12:08:32 +10:00
Nigel Stewart
cdc3aeacde
Filter out GL_NONE enum from GL_EGL_KHR_context_flush_control
2016-10-01 10:20:57 +10:00
Dillon Cower
2ca0184814
Move #undef NOGDI from wglew_head.h to glew_head.c
2016-08-27 22:59:50 -07:00
Dillon Cower
4a0d48fc7c
Fix wglGetProcAddress-related crash on Windows with NOGDI defined
2016-08-27 16:52:16 -07:00
Nigel Stewart
55b8951c96
Update documentation for GLEW 2.0.0 release
2016-07-24 10:39:11 +10:00
Nigel Stewart
26d8275c61
Sourceforge Patch #67 Fix build failure on OS X < 10.7
2016-07-09 14:23:57 +10:00
Nigel Stewart
2e5443a5a2
New snapshot available, GLEW 2.0.0 RC
2016-07-08 22:28:40 +10:00
Nigel Stewart
243531f398
Remove obsolete script
2016-07-08 22:09:50 +10:00
Nigel Stewart
b3ff4606be
Tolerate u or ull suffixes on tokens - GL_INVALID_INDEX, GL_TIMEOUT_IGNORED
2016-07-08 21:55:09 +10:00
Nigel Stewart
65f1b67ba3
Khronos PDF not needed for GLEW purposes
2016-07-08 20:25:40 +10:00
Nigel Stewart
3c83effd40
Tolerate lowercase hex digits in enumerants, in addition to 0-9, A-F
2016-06-18 00:09:43 +10:00
Nigel Stewart
54ce3fb039
EGLnsecsANDROID typedef for eglew.h
2016-06-17 23:37:13 +10:00
Nigel Stewart
8047ef41fa
parse_xml.py touch-up for Python 3 (or Python 2)
2016-05-21 07:59:11 +10:00