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
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
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
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
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
3f48639825
Linux gcc 4.8 now builds clean with -Wcast-qual flag.
2014-10-14 19:24:49 +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
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
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
2de0716a46
Initial NaCL support for GLEW - it's not Windows or Linux/X11.
2012-08-16 14:01:11 -05:00
Nigel Stewart
e81e12ded0
Initial #ifdef __ANDROID__ support for the GLEW build.
2012-05-04 14:15:10 -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
1b38b41837
Patch ID: 3260500 - Query extension string only once
2011-03-30 11:38:25 -05: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
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
a8ddad81de
Resolve bugs 2237657, 2272725, 2544715, 2237650 and apply patches 2489303, 2320783.
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@548 783a27ee-832a-0410-bc00-9f386506c6dd
2009-03-23 18:43:36 +00:00
ikits
2cb3a94ea7
Bug fix (1966659)
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@534 783a27ee-832a-0410-bc00-9f386506c6dd
2008-10-27 01:00:33 +00:00
ikits
c9a40e3cee
const correctness change
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@498 783a27ee-832a-0410-bc00-9f386506c6dd
2007-03-19 13:33:36 +00:00
ikits
75d5713694
minor change in osx fix
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@433 783a27ee-832a-0410-bc00-9f386506c6dd
2006-03-08 03:40:18 +00:00
ikits
e5a1cd226a
version bump + added osx fix
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@432 783a27ee-832a-0410-bc00-9f386506c6dd
2006-03-08 03:25:22 +00:00
ikits
9fae23bbfd
fix for OGL 2.0 problem
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@416 783a27ee-832a-0410-bc00-9f386506c6dd
2005-04-05 03:49:48 +00:00
ikits
b9b78fe983
bug fixes
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@347 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-04 15:02:30 +00:00
ikits
471af2c0d6
extended glewIsSupported
...
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@343 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-04 05:31:44 +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
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