Commit Graph

1112 Commits

Author SHA1 Message Date
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
ea30c83d92 linux-clang: -std=c89 rather than -ansi 2019-08-19 22:46:06 +10:00
Nigel Stewart
9170611428 Travis: Use Xenial for build coverage 2019-08-19 22:43:44 +10:00
Nigel Stewart
47588720ee Extend GLEW_INCLUDE support to eglew.h and glxew.h 2019-06-13 09:28:51 +10:00
Stefan Zabka
154f83e024 Made build description a bit clearer
I hope this version is more understandable for people just reading the Readme
I had to go read #13 first to understand what this meant.
2019-04-23 23:03:53 +10:00
Nigel Stewart
61d167422c Elbrus 2000 architecture support added for Linux make build 2019-04-07 19:39:22 +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
Nigel Stewart
f5feecd46e Extend glew.pc output to mention GL linking (-framework on OSX) 2019-03-17 09:05:27 +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
44049b7de2 FreeBSD cmake fixup for locating X11 include and lib 2019-02-02 09:23:01 +10:00
Nigel Stewart
899d47a2f3 FreeBSD build fixup to use X11 from /usr/local 2019-02-02 09:23:01 +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
79ca96a53e FreeBSD pkg install for README.md 2019-02-02 09:23:01 +10:00
Nigel Stewart
ce7bb5a8f0 Whitespace tidy-up for README.md 2019-01-31 08:31:31 +10:00
Nigel Stewart
8368ad1c3e Travis: variable-driven artifacts (again) 2019-01-30 20:55:26 +10:00
Nigel Stewart
0cb090a1a9 Travis: variable-driven artifacts 2019-01-30 20:43:20 +10:00
Nigel Stewart
fb66d74d14 Travis: S3 credentials 2019-01-30 08:05:53 +10:00
Nigel Stewart
70fb6195ae Travis: disable EGL for now to workaround build failures 2019-01-30 07:46:03 +10:00
Nigel Stewart
180ac698f7 Travis build coverage updates 2019-01-30 07:46:03 +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
Danilo Spinella
c63cdf976d Add GLEW_EGL in cmake build 2018-12-29 20:21:23 +10:00
Nigel Stewart
8b2d34956c Conditional cmake policy CMP0003 and CMP0042 2018-10-13 14:07:01 +10:00
Nigel Stewart
40fbbe826c Snapshot tidy-up in README 2018-10-10 17:30:51 +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
bc3c5d4992 glew-20181010.tgz GLEW 2.2.0 RC1 snapshot available 2018-10-10 14:09:18 +10:00
Nigel Stewart
4234f46208 Add a contributions section to README.md 2018-10-10 14:00:00 +10:00
Nigel Stewart
03afadd4f2 Using EGL-Registry for EGL support 2018-10-10 13:59:11 +10:00
Nigel Stewart
d547ee1556 Updated config.guess from http://git.savannah.gnu.org/ 2018-10-10 12:32:11 +10:00
Nigel Stewart
9964f51119 Linux info for EGL, OSMesa and Mingw-64 builds 2018-10-10 12:29:39 +10:00
Nigel Stewart
a8ebd2819e Linux info for EGL, OSMesa and Mingw-64 builds 2018-10-10 12:29:15 +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
66144ae686 GLEW 2.2.0 version bump 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