Commit Graph

85 Commits

Author SHA1 Message Date
Matthias Bentrup
e935fcad83 Load core function pointers before checking the extension string.
For GL versions since 3.0 the glGetString() function is deprecated or removed,
and the right way to query extensions is glGetStringi(), but that has to be
loaded first.

Also instead of searching the whole extension string n times lookup the
known extensions in a static hash table. The hash table is built with
the gperf utility.
2015-12-16 21:10:52 +10: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
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
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
0c19148d6a glew_utils is no longer used, removing. 2015-06-13 10:36:07 +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
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
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
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
e2036b5afd Add experimental OpenGL ES extension support, disabled by default.
Move registry into registry/gl, move extensions into extensions/gl.
This allows room for registry/gles and extensions/gles.
Extension filtering moved from update_ext.sh to filter_gl_ext.sh, different logic for OpenGL ES.
2012-10-24 21:49:42 -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
cad03beb35 For Windows VC builds, share the .rc files moved into build directory. 2012-07-17 22:06:18 -05:00
Nigel Stewart
246650641b Fixup: GLXEW_VAR_EXPORT changeover broke GLXEW_VERSION_1_0 and GLXEW_VERSION_1_1 variables. 2012-05-29 21:02:35 -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
cb7c643fab Fixups for GLEWAPIENTRY on Apple 2012-05-04 15:58:44 -05:00
Nigel Stewart
a6423f4d98 More #ifdef __ANDROID__ support for the GLEW build. 2012-05-04 14:45:49 -05:00
Nigel Stewart
af5a34cb76 Resolve ID: 3399322 - Custom code generation broken 2012-02-12 18:36:53 -06: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
5be9820df8 Fixup for .html generation 2011-04-27 10:42:44 -05:00
Nigel Stewart
507bcf7256 Fixup for .html generation - perl needs -pe instead of just -e 2011-04-27 10:14:50 -05:00
Nigel Stewart
bb3e797929 For ID: 3287530 - Fix auto/ build for BSD platforms 2011-04-23 15:32:06 -05:00
Nigel Stewart
158090aab5 GLX_OML_sync_control is always needlessly disabled on many platforms without C99. Patch by Martin Lambers 2011-04-01 11:09:18 -05:00
nigels
e9f2eb00f2 Templated documentation generation Makefile integration.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@567 783a27ee-832a-0410-bc00-9f386506c6dd
2009-12-31 00:05:15 +00:00
ikits
3f63c6224c Year change
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@521 783a27ee-832a-0410-bc00-9f386506c6dd
2007-12-28 01:47:25 +00:00
ikits
2a3114f78f Added major, minor, and micro version strings
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@519 783a27ee-832a-0410-bc00-9f386506c6dd
2007-12-28 00:24:07 +00:00
ikits
36fa404a4d switch to new opengl registry
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@513 783a27ee-832a-0410-bc00-9f386506c6dd
2007-12-27 18:25:25 +00:00
ikits
c5f864a6aa License change
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@509 783a27ee-832a-0410-bc00-9f386506c6dd
2007-11-14 04:31:28 +00:00
ikits
7e708af2be version & year bump
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@469 783a27ee-832a-0410-bc00-9f386506c6dd
2007-03-01 05:11:36 +00:00
ikits
c8839d58e7 delete .bak when finished
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@467 783a27ee-832a-0410-bc00-9f386506c6dd
2007-03-01 04:11:47 +00:00
ikits
385ad31ec4 final fix for glBlendColor problem
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@428 783a27ee-832a-0410-bc00-9f386506c6dd
2006-03-02 06:51:14 +00:00
ikits
89ad8ec389 bug fixes and copyright year changes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@427 783a27ee-832a-0410-bc00-9f386506c6dd
2006-02-26 16:45:12 +00:00
ikits
161091bc61 Added option for splitting the source into multiple files
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@419 783a27ee-832a-0410-bc00-9f386506c6dd
2005-05-16 04:14:15 +00:00
ikits
19ea78c5e9 prepare for release
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@382 783a27ee-832a-0410-bc00-9f386506c6dd
2005-02-03 03:34:16 +00:00
ikits
1b4338e07a added resource files for win32 versioning
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@377 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-30 01:48:06 +00:00
mem
60177ef22f Fix soname, ABI broke
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@361 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-05 20:19:03 +00:00
ikits
7d2fe795e9 bug fixes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@337 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-04 03:29:39 +00:00
ikits
f85ff37abc bug fixes
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@336 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-04 03:05:50 +00:00
ikits
d50db91bd0 Year bump in copyright message. Removed obsolete files from auto/src.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@333 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-03 07:32:34 +00:00
ikits
661431ee70 Single file now compiles with VC71. Kept multi-file split for future use.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@331 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-03 07:05:38 +00:00
ikits
254737d17b added customized subset selection
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@326 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-31 08:50:04 +00:00
ikits
eea055caa2 fixed problems with mx builds; update project files
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@321 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-29 07:24:50 +00:00
ikits
6e35a3c7a5 fixed problems with mx builds; update project files
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@320 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-29 07:24:49 +00:00
ikits
a576f04909 Version bump; added glewIsSupported; split source file, it is too big for VC7.1
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@319 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-29 05:43:35 +00:00
ikits
a6eb9cb70d version bump
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@313 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-06 08:39:50 +00:00
ikits
8e767fa466 version bump
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@296 783a27ee-832a-0410-bc00-9f386506c6dd
2004-09-06 21:07:31 +00:00
mem
9681fa96cf Whitespace change
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@277 783a27ee-832a-0410-bc00-9f386506c6dd
2004-06-27 22:36:35 +00:00