Commit Graph

319 Commits

Author SHA1 Message Date
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
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
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
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
d932bc3eca Fixup: glxewContextInit now needed for glewinfo purposes. 2015-06-18 20:45:29 +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
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
Nigel Stewart
3f48639825 Linux gcc 4.8 now builds clean with -Wcast-qual flag. 2014-10-14 19:24:49 +10:00
Nigel Stewart
0ab85a792d For Pelles C compiler, _GL_H check
https://sourceforge.net/p/glew/bugs/254/
2014-09-18 21:12:32 +10:00
Nigel Stewart
9b5567b4eb Add initial OpenGL 4.5 support and relevant extensions, version bump to 1.11.0 2014-08-12 00:06:56 +10:00
Nigel Stewart
cf67153325 Bump copyright notice to 2014. 2014-07-26 09:26:08 +10:00
Nigel Stewart
4fc4327945 Eliminate the internal use of CONST_CAST, to avoid gcc warnings with -Wcast-qual flag.
https://github.com/nigels-com/glew/issues/5
2014-07-14 17:53:21 +10:00
Nigel Stewart
4b78dc4b68 Resolve C++ mode warnings about int vs size_t with gcc -Wconversion flag enabled.
https://github.com/nigels-com/glew/issues/6
2014-07-14 17:02:27 +10:00
Nigel Stewart
5f0a96150e GLEW Patch #64 - disable GLU on iOS 2014-07-13 23:49:00 +10:00
Nigel Stewart
c5a3681eae For GLEW Bug 201 - Resolve Visual Studio 2012 resource compiler problem. 2014-02-19 18:15:37 -06:00
Nigel Stewart
1aff81c823 For GLEW Bug #227 - Use GLAPIENTRY for GLDEBUGPROC* and leave GLAPIENTRY for application code to use. 2014-02-19 18:04:47 -06:00
Nigel Stewart
6718b2ccd6 Windows fixup for glGetProcAddressREGAL 2014-01-22 12:23:05 -06:00
Nigel Stewart
0aeace842f GLEW_REGAL touch-ups for using glGetProcAddressREGAL. 2014-01-14 15:33:06 -06:00
Nigel Stewart
1e90d10f17 Use glGetProcAddressREGAL for GLEW_REGAL purposes. 2014-01-14 14:16:04 -06:00
Nigel Stewart
37e8ec611d Fixup: glewinfo on Mac needs to call RegalMakeCurrent with the appropriate context. 2014-01-13 18:58:43 -06:00
Nigel Stewart
b96cf5f05e It appears that upstream are preferring void over GLvoid. 2014-01-08 17:22:37 -06:00
Nigel Stewart
4cc11753fb Updated copyright notice to mention 2008-2013 maintainership. 2013-12-09 17:05:52 -06:00
Nigel Stewart
0d810d52f1 For GLEW Patch #42 - Patch for _CRT_SECURE_NO_WARNINGS 2013-12-09 16:16:17 -06:00
Nigel Stewart
59de259605 For patch #49 Add Haiku platform support
Adpated from patch, infrastructure for Haiku OS support, not yet complete.
2013-12-09 15:20:56 -06:00
Nigel Stewart
4853c8effe Documentation updates for GLEW 1.10.0 release. 2013-07-21 21:01:37 -05:00
Nigel Stewart
87ce8715b2 Add support for OpenGL 4.4 2013-07-21 21:00:30 -05:00
Nigel Stewart
b56f8e70e8 Revert "Use git instead of clone to download OpenGL registry."
This reverts commit 974679c6d8.
2013-07-20 22:08:50 -05:00
Nigel Stewart
35d2affdb8 Project web update for 07-15-13 including updated source snapshot. 2013-07-15 11:39:28 -05:00
Nigel Stewart
974679c6d8 Use git instead of clone to download OpenGL registry.
Core-profile extension query patch by Carsten Neumann
https://sourceforge.net/p/glew/bugs/174/
2013-07-14 13:02:16 -05:00
Nigel Stewart
1cbe650d27 Documentation updates - new project links, snapshot files, github repo. 2013-03-18 22:51:07 -05:00
Nigel Stewart
14854b4ae6 Revert commit b7b516bf88.
Can't leave APIENTRY defined, it conflicts with windef.h definition of APIENTRY.
2013-03-18 22:23:02 -05:00
Nigel Stewart
b7b516bf88 Leave APIENTRY defined at the conclusion of glew.h, since APIENTRY is part of the GL interface for GL_ARB_debug_output purposes, etc. 2013-02-15 20:18:56 -06:00
Nigel Stewart
38b7f7d09f In glew.h, check for __gltypes_h_ and define it avoid glew.h conflicts with Mac OpenGL.framework/Headers/gltypes.h
#206 Different definitions of GLhandleARB in GLEW and OS X headers
2012-11-11 11:53:21 -06:00
Nigel Stewart
6ceace91e7 Detect ES 2.0 __gl2_h_ header too. 2012-08-27 22:20:33 -05:00
Nigel Stewart
287c58f930 Add build support for NaCL - Google Native Client. 2012-08-16 14:26:32 -05:00
Nigel Stewart
2de0716a46 Initial NaCL support for GLEW - it's not Windows or Linux/X11. 2012-08-16 14:01:11 -05:00
Nigel Stewart
6d14805de5 MX-mode glxew export fix, as recommended by Stefan Eilemann. 2012-08-07 23:51:27 -05:00
Nigel Stewart
855f98aa17 Documentation updates for GLEW 1.9.0 2012-08-06 10:56:17 -05:00
Nigel Stewart
4c1a2460f3 Add OpenGL 4.3 support, and new extensions. 2012-08-06 09:17:50 -05:00
Nigel Stewart
4b07c93946 Fixup: glewinfo on Mac needs to call RegalMakeCurrent manually. 2012-07-23 16:19:50 -05:00
Nigel Stewart
5f346a3ef3 Fixup: GLEWAPIENTRY for glewContextIsSupported in MX mode. 2012-07-17 22:37:43 -05:00
Nigel Stewart
69233bf7f3 Bump GLEW 1.8.0 release date to 07-17-2012. 2012-07-17 21:36:10 -05:00
Nigel Stewart
b357b2534f Documentation added for upcoming GLEW 1.8.0 release. 2012-07-09 16:07:34 -05:00
Nigel Stewart
38f6a950a9 More GLEWAPIENTRY fixups for Windows build 2012-05-07 10:42:10 -05:00
Nigel Stewart
4d2f756f74 More GLEWAPIENTRY fixups for Windows build 2012-05-07 09:05:12 -05:00
Nigel Stewart
439fc9dd91 GLXEW_EXPORT an WGLEW_EXPORT replaced with WGLEW_FUN_EXPORT, WGLEW_VAR_EXPORT 2012-05-04 23:36:14 -05:00
Nigel Stewart
fb23996802 Move the GLXEW_EXPORT and WGLEW_EXPORT logic into src/glxew_mid.h and src/wglew_mid.h 2012-05-04 23:25:23 -05:00
Nigel Stewart
5ab68cca34 Leave GLEWAPIENTRY defined, rather than cleaning it up. glxew.h and wglew.h depend on it. 2012-05-04 16:09:59 -05:00
Nigel Stewart
d779443f86 Fixups for GLEWAPIENTRY on Linux and Windows 2012-05-04 16:05:07 -05:00
Nigel Stewart
126f14f960 Check for __REGAL_H__ in addition to __GL_H__ etc 2012-05-04 15:24:02 -05:00
Nigel Stewart
b850a88492 Fixup for Windows build concerning GLEWAPIENTRY 2012-05-04 14:54:08 -05:00
Nigel Stewart
a6423f4d98 More #ifdef __ANDROID__ support for the GLEW build. 2012-05-04 14:45:49 -05:00
Nigel Stewart
e81e12ded0 Initial #ifdef __ANDROID__ support for the GLEW build. 2012-05-04 14:15:10 -05:00
Nigel Stewart
1728006b5d Resolve ID: 3454462 - glewInit assignment in conditional warning 2012-05-04 11:03:37 -05:00
Nigel Stewart
da591ff48c Resolve ID: 3480806 - Fix GCC warning on Mac OS X 2012-05-04 10:53:27 -05:00
Nigel Stewart
e5dca9f5e4 Resolve ID: 3394594 - No calling convention for glewFunctions 2012-05-04 10:31:47 -05:00
Nigel Stewart
950c81ab76 Resolve ID: 3519818 - glewInit should have ANSI prototype 2012-05-04 09:39:49 -05:00
Nigel Stewart
4a5f85e490 Documentation updates for GLEW 1.7.0 release 2011-08-26 21:11:20 -05:00
Nigel Stewart
898f22082d Add a build.html documentation page for describing some of the make targets and variables. 2011-08-02 17:21:12 -04:00
Nigel Stewart
2d17ae18b3 Resolve ID: 3376260 Solaris also needs inttypes.h 2011-08-02 13:23:50 -04:00
Nigel Stewart
802bac4e68 Add GL_VERSION_4_2 2011-08-02 10:21:40 -04:00
Nigel Stewart
2e7fd1cef2 Bump version to 1.6.0, documentation updates for GLEW release. 2011-04-27 10:47:39 -05:00
Nigel Stewart
e2dffd8dd7 Ooops, subset patch is supposed to be in subset branch only. 2011-04-23 15:24:04 -05:00
Nigel Stewart
aee2c56008 Subset patch/branch for GLEW as used for NVIDIA Cg Toolkit purposes 2011-04-23 14:51:10 -05:00
Nigel Stewart
48e4e82de0 Clarify name of extension string begin and end 2011-03-31 07:49:53 -05:00
Nigel Stewart
1b38b41837 Patch ID: 3260500 - Query extension string only once 2011-03-30 11:38:25 -05:00
Nigel Stewart
29b1af417a Add support for #define GLEW_NO_GLU, contributed by Stefan Eilemann 2011-02-15 10:24:33 -06:00
Nigel Stewart
8b64761d8d Updated version to 1.5.8, updated web pages 2011-01-31 21:51:16 -06:00
nigels-com
7e22f71ef7 gcc4/SunPro symbol visibility fixup 2011-01-07 10:49:20 -06:00
nigels-com
b8892a63b9 SCI/Utah GLEW branch visibility attribute for GLEWAPI - gcc 4 and SunPro compiler 2011-01-07 10:43:42 -06:00
Nigel Stewart
eede5f7c29 Reorder OpenGL 1.1 enumerants according to SCI-branch core/GL_VERSION_1_1 -> code generation. This helps with diffing GLEW 1.5 with 2.0. 2011-01-01 10:53:07 -06:00
Nigel Stewart
6acc3d0e85 Support function pointer typedefs in the extension files, rather than hard-coding those directly into the header. Enables support for AMD_debug_output, ARB_debug_output and ARB_cl_event in SCI GLEW branch. 2011-01-01 09:30:11 -06:00
nigels
17dd9d8fa5 Merge whitespace fixups from SCI fork
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@638 783a27ee-832a-0410-bc00-9f386506c6dd
2010-12-30 19:34:06 +00:00
nigels
bdc94ea4c2 Fix for ID: 3107864 - __int64 problem with bcc32
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@637 783a27ee-832a-0410-bc00-9f386506c6dd
2010-12-29 21:42:21 +00:00
nigels
97b6a17cad Apple OSX GLX support via glXGetProcAddress by Stefan Eilemann
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@636 783a27ee-832a-0410-bc00-9f386506c6dd
2010-12-27 17:31:48 +00:00
nigels
7d2446061a Comment clarifications by Stefan Eilemann
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@635 783a27ee-832a-0410-bc00-9f386506c6dd
2010-12-27 17:21:19 +00:00
nigels
2642bccfca const correctness fix for glewContextIsSupported, glxewContextIsSupported wglewContextIsSupported
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@634 783a27ee-832a-0410-bc00-9f386506c6dd
2010-12-08 18:46:40 +00:00
nigels
e80137e244 GLEW 1.5.7 release - documentation updates, version increment
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@629 783a27ee-832a-0410-bc00-9f386506c6dd
2010-11-03 23:33:28 +00:00
nigels
735f157d62 Resolve ID: 3028111 - GLEW_VERSION_1_2_1 implementation
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@628 783a27ee-832a-0410-bc00-9f386506c6dd
2010-10-30 01:13:55 +00:00
nigels
bdfbf18f14 Improved mingw32 support, including cross-compile from Linux
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@622 783a27ee-832a-0410-bc00-9f386506c6dd
2010-09-22 19:38:25 +00:00
nigels
8f580bd5b8 web/doc updates and version number bump for GLEW 1.5.6 release
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@620 783a27ee-832a-0410-bc00-9f386506c6dd
2010-09-09 04:19:24 +00:00
nigels
ef4156e01e GLEW_VERSION_4_1 and related version detection, no API yet
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@614 783a27ee-832a-0410-bc00-9f386506c6dd
2010-08-06 14:31:38 +00:00
nigels
043de344c2 Blacklist ARB/separate_shader_objects and ARB/viewport_array for now, fix build breaks.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@613 783a27ee-832a-0410-bc00-9f386506c6dd
2010-07-29 13:33:05 +00:00