Commit Graph

641 Commits

Author SHA1 Message Date
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
Nigel Stewart
53df89fe32 Append GLVULKANPROCNV to GL_NV_draw_vulkan_image 2016-04-09 09:56:14 +10:00
Nigel Stewart
957109be4e New snapshot available for download, including EGL support 2016-04-02 14:41:10 +10:00
Nigel Stewart
f1a40e2fea Direct linking of glGetString and glGetIntegerv is necessary for Windows/WGL 2016-04-02 13:27:32 +10:00
Nigel Stewart
c4bade8726 Resolve some gcc compilation warnings 2016-02-19 22:30:48 +10:00
Wes Tarro
9548431bd0 Moved DLL entry-point for GCC into glew.c rather than a standalone file
included using CMake.
2016-02-15 15:15:33 -05:00
Wes Tarro
02fc17f511 Fix warnings and CMake issue. 2016-02-06 13:35:13 -05:00
Wes Tarro
32b2ea5266 Fixed building with GCC - needed different options and had to create a dummy
DLL entry to avoid crashes.
2016-02-06 13:13:04 -05:00
Wes Tarro
969faeafdf Merge branch 'master' of https://github.com/nigels-com/glew 2016-02-06 11:01:02 -05:00
Nigel Stewart
281e38de7d PYTHON make variable for using python2, optionally 2016-02-06 13:12:27 +10:00
Nigel Stewart
a288050b57 EGL glewinfo now working for both Nvidia and Mesa implementations 2016-02-06 12:41:20 +10:00
Nigel Stewart
23438663d6 For EGL purpose avoid using linked glGetString, load it via eglGetProcAddress instead. 2016-02-06 12:41:19 +10:00
Nigel Stewart
4d9010864e eglewInit takes EGLDisplay parameter, will do eglIntialize internally, for now 2016-02-06 12:41:18 +10:00
Nigel Stewart
15881f0421 EGL fixup for void parameter lists, additional defines 2016-02-06 12:41:17 +10:00
Nigel Stewart
a755351991 EGL fix: eglewInit and glewinfo need to manually load some EGL functions 2016-02-06 12:41:16 +10:00
Nigel Stewart
84b733d9bb EGL refinements and fixes 2016-02-06 12:41:15 +10:00
Nigel Stewart
20908a2182 Integrate the XML -> EGL specs step 2016-02-06 12:41:14 +10:00
Nigel Stewart
43a9299230 Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:41:11 +10:00
Nigel Stewart
5a6171078b GLEW EGL support touch-ups 2016-02-06 12:41:10 +10:00
Nigel Stewart
f4abb657b3 GLEW_EGL mode for loading functions via eglGetProcAddress 2016-02-06 12:41:09 +10:00
Nigel Stewart
4ee89ccb39 Build fix for GLEW_VAR_EXPORT, GLEW_FUN_EXPORT 2016-02-06 12:35:05 +10:00
Nigel Stewart
fe41bc3bdd Remove more #ifdef for GLEW_MX 2016-02-06 12:23:56 +10:00
Nigel Stewart
69b73ea446 Allow customisation of GLEW_GET_VAR, GLEW_GET_FUN 2016-02-06 12:19:47 +10:00
Wes Tarro
5efdbaefc8 Makes GLEW truly independent of C runtime library on Windows to prevent
any issues with mixing compilers and library versions. The Visual Studio
Projects need some touching up to get all of the settings synced up for all
of the build variants.
2016-02-05 02:53:25 -05:00
Nigel Stewart
0479706419 Fresh snapshot available for download - GLEW 2.0 release candidate 2016-01-31 14:54:29 +10:00
Nigel Stewart
6b8a2ab326 Add Travis-Cl logo to GLEW pages, clicks through to GLEW builds 2016-01-31 14:41:24 +10:00
Nigel Stewart
860af9f379 Fix regression with aliased extension detection, in second pass of make_list 2016-01-08 20:48:29 +10:00
Nigel Stewart
9617f35263 Fix regression in _glewExtensionCompare due to strcmp migration 2016-01-07 23:02:50 +10:00
Nigel Stewart
18ef5d021b Disable _glewSearchExtension for GLEW_OSMESA mode, it's not needed 2016-01-07 22:21:30 +10:00
Nigel Stewart
a2a4d937bf Eliminate strcmp dependency, introduced recently 2016-01-07 21:58:20 +10:00
Nigel Stewart
d96c978748 Eliminate malloc and free dependencies, recently introduced 2016-01-07 21:45:08 +10:00
Icy Defiance
b1c272b93a Replace int with ptrdiff_t to store the result of pointer subtraction 2016-01-06 19:39:48 -05:00
Nigel Stewart
a4aa9b2717 Remove MX support due to the complexity of supporting both MX and Core contexts 2015-12-06 12:49:24 +10:00
Nigel Stewart
6cea54733a [CoreSupport] Use 4th line of extension specification to reused extensions
Such as OpenGL 3.0 reusing ARB_vertex_array_object
Implement reused lists for OpenGL 3.0, 3.1 and 3.2 so far
2015-12-06 12:49:21 +10:00
Nigel Stewart
0fcb9a3061 Skip #ifdef block for extensions detected purely from extension string. 2015-12-06 12:49:19 +10:00
Nigel Stewart
c363cdb7c0 Fixup: stdlib.h and string.h needed for Linux gcc 4.8 build. 2015-12-06 12:49:18 +10:00
Nigel Stewart
928d629845 [CoreSupport] Resolve some Mac compilation warnings. 2015-12-06 12:49:17 +10:00
Nigel Stewart
41a40b01e9 [CoreSupport] Tab indentation for perl scripts 2015-12-06 12:49:16 +10:00
Nigel Stewart
d33d3b5b0f [CoreSupport] Linux/GLX touch-ups for GL 3.0 + extension detection, GLX. 2015-12-06 12:49:15 +10:00
Nigel Stewart
d89a349a31 [CoreSupport] Linux/GLX touch-ups for ANSI-C with gcc -pedantic compilation flag 2015-12-06 12:49:14 +10:00
Nigel Stewart
e647f55311 [CoreSupport] Linux/GLX touch-ups for extension string parsing and enable lookup. 2015-12-06 12:49:13 +10:00
Nigel Stewart
c996c06b27 [CoreSupport] For OpenGL 3.0 onwards use glGetStringi rather than glGetString(GL_EXTENSIONS) 2015-12-06 12:49:12 +10:00
Nigel Stewart
731b1e6602 [CoreSupport] Represent the extension string(s) as an array of GLboolean - _glewGetExtensionString and _glewGetExtensionEnable
glewinfo output is identical.
TODO core context glGetStringi support.
TODO MX support.
2015-12-06 12:49:11 +10:00
Nigel Stewart
1da7dd6e0a [CoreSupport] Add code generation for sorted array of extension strings, which can index into array of pointers of extension enable flags. 2015-12-06 12:49:10 +10:00
Nigel Stewart
ea763af989 [CoreSupport] Add make_initd.pl code generator for declaring all the _glewInit functions
This allows the initializers to call each other according to the interdependencies.
2015-12-06 12:49:09 +10:00
Nigel Stewart
5ce6248594 Update GLEW website with link to glew-20151117.tgz 2015-12-06 11:47:55 +10:00
Nigel Stewart
06891ebb35 OSMesaMakeCurrent for glewCreateContext in GLEW_OSMESA mode. 2015-10-12 20:31:51 +10:00
Nigel Stewart
fd49b2baff Touch-ups for GLEW_OSMESA build support 2015-10-10 11:33:40 +10:00
Julian Squires
11e24d4a9b Hack in crude OSMesa support
Mostly this is quick, "do nothing" ifdefs when built with
SYSTEM=linux-osmesa, to support the off-screen rendering mode of Mesa in
headless tests.  Support in glewinfo and visualinfo is enough to get
them compile, but insufficient for them to run successfully.
2015-10-10 11:26:03 +10:00
Nigel Stewart
cbd0dce3c5 GLEW 1.13.0 fixup for log.html 2015-08-10 22:25:34 +10:00
Nigel Stewart
f0067bb115 Bump version to 1.13.0, updated documentation. 2015-08-10 21:46:09 +10:00
Nigel Stewart
9e3e40d974 glxewInit and wglewInit fixup. 2015-08-07 17:10:09 +10:00
Nigel Stewart
470652935c glxewInit and wglewInit for non-MX mode. 2015-08-07 17:04:27 +10:00
Nigel Stewart
d4a0a8401c Refactoring glxewIsSupported and wglewIsSupported for backwards compatibility. 2015-08-07 16:53:47 +10:00
Nigel Stewart
08806061a4 Refactoring wglewInit, glxewInit for better consistency. 2015-08-07 16:41:04 +10:00
yy-yyaa
e1815b2729 OpenGL 4.5 omissions - GetnUniformdv, GetnCompressedTexImage, CONTEXT_FLAG_ROBUST_ACCESS_BIT 2015-08-06 12:13:50 +10:00
yy-yyaa
0cc7dd8cc5 OpenGL 4.2 adds TRANSFORM_FEEDBACK_ACTIVE, TRANSFORM_FEEDBACK_PAUSED 2015-08-06 12:04:16 +10:00
Nigel Stewart
754e051049 Specification filtering refinement - omit contacts, include contacts and notice 2015-08-06 10:43:12 +10:00
Nigel Stewart
d80fd5514f Specification filtering refinement - no overview or issues sections 2015-08-06 10:33:23 +10:00
Lauri Nurmi
816c19c321 For GLEW Bug 201 - Resolve Visual Studio 2012 resource compiler problem also in the other two .rc files.
The resource compiler in VS2012 and newer does not accept excessively long string literals on one line.
2015-08-04 08:58:06 +03:00
Nigel Stewart
ba410e12e2 glxewContextInit fixup - require GLX_ARB_create_context. 2015-07-24 12:16:39 +10:00
Nigel Stewart
d367215cde Windows glewinfo fixup - check for WGL_ARB_create_context 2015-07-24 11:52:16 +10:00
Nigel Stewart
4c009908e2 Windows glewinfo fixup - expose wglewContextInit and wglewIsSupported. 2015-07-24 11:37:01 +10:00
Nigel Stewart
4c40805809 Sourceforge Bug 277 - OpenGL 4.5 glGetnTexImage is missing 2015-07-17 10:53:18 +10:00
Nigel Stewart
d932bc3eca Fixup: glxewContextInit now needed for glewinfo purposes. 2015-06-18 20:45:29 +10:00
Nigel Stewart
fda28dbfb0 [CoreSupport] Tab indentation for perl scripts 2015-06-13 19:44:35 +10:00
Nigel Stewart
fc84055808 Merge pull request #43 from nigels-com/glewinfo-core
glewinfo command-line support for GL context version, profile and flags
2015-06-13 10:57:38 +10:00
Nigel Stewart
0c19148d6a glew_utils is no longer used, removing. 2015-06-13 10:36:07 +10:00
Nigel Stewart
0e88d39f4a Leave extraneous #ifdef blocks 2015-06-13 10:18:41 +10:00
Nigel Stewart
9580ab4226 [CoreSupport] Whitespace fixup for make_def_var.pl 2015-06-13 09:59:38 +10:00
Nigel Stewart
211bf29181 [CoreSupport] glewinfo profiles/flags refinement - commandline profile and flags as strings. 2015-05-29 20:45:19 +10:00
Nigel Stewart
0720521034 [CoreSupport] glewinfo profiles/flags documentation breadcrumbs. 2015-05-29 20:29:08 +10:00
Nigel Stewart
60b0fc5c05 [CoreSupport] Mac OS X support for glewinfo GL version/profiles/flags. 2015-05-29 20:18:22 +10:00
Matthias Bentrup
2d0899283f Extend glewinfo to request specific GL versions/profiles/flags. 2015-05-29 20:18:16 +10:00
Nigel Stewart
7c046e2307 For github pull request #33 - GLEW version in glew.h
Allow for tools to extract the GLEW version from glew.h directly.
No functional change for C API.
See: https://github.com/nigels-com/glew/pull/33/files
2015-03-29 11:43:56 +10:00
Nigel Stewart
573eeabd8e [Mac] Migrate glewinfo on Mac from AGL to CGL, with the possibility of running in (core) OpenGL 3.2 mode. 2015-03-20 20:23:04 +10:00
Nigel Stewart
9fedd9e053 Bump version to 1.12.0, updated documentation. 2015-01-24 22:45:29 +10:00
Nigel Stewart
b52fa4654d Bump copyright year to 2015 2015-01-24 17:21:59 +10:00
Carsten Neumann
e6a117de9b add missing glGetGraphicsResetStatus function to VERSION_4_5
This function is in OpenGL 4.5, but not part of GL_KHR_robustness
extension - it is in GL_ARB_robustness, but there it has the ARB suffix.
2015-01-07 19:54:05 +10:00
Nigel Stewart
f1eae16bb8 Sourceforge bug 260 Missing defines: GL_COPY_{READ|WRITE}_BUFFER_BINDING 2014-12-11 19:34:52 +10:00
Nigel Stewart
06db711223 Merge pull request #19 from omniavinco/master
Sort the enums in a stable manner
2014-10-24 21:05:45 +10:00
Nigel Stewart
d32f4278e2 Tidy-up for .gitattributes and update_ext.sh 2014-10-24 21:03:11 +10:00
Frank Park
a790eb8129 Fixed a bug with shell script and added .gitattributes
Update_ext.sh does not utilize the blacklist correctly with cygwin due
to the argument -name in find is not quoted. Argument *.txt has been
changed to "*.txt" to fix the issue.

Also, it is currently possible for windows users to pull the repo in
CRLF format which destroys the scripts and source files. .gitattributes
were added to prevent this issue.
2014-10-19 01:59:48 -04:00