Commit Graph

34 Commits

Author SHA1 Message Date
Nigel Stewart
a8df738667 FreeBSD using #!/usr/bin/env for portability 2019-02-02 09:23:01 +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
43a9299230 Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:41:11 +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
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
d33d3b5b0f [CoreSupport] Linux/GLX touch-ups for GL 3.0 + extension detection, GLX. 2015-12-06 12:49:15 +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
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
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
nigels
628edd3c0b Only check OpenGL extension string if there is a non-empty string to check for. GL_VERSION_* are detected from the version info.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@589 783a27ee-832a-0410-bc00-9f386506c6dd
2010-03-10 15:37:02 +00:00
nigels
4744f99070 The first three lines of each core or extension file is now: name, URL and GL extension string name. For example GL_NV_geometry_program4 is available iff GL_NV_gpu_program4 appears in the extension string.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@587 783a27ee-832a-0410-bc00-9f386506c6dd
2010-03-05 18:19:59 +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
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
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
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
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
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
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
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
527190f4be fixed problem with ARB_shader_objects and ARB_vertex_shader
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@246 783a27ee-832a-0410-bc00-9f386506c6dd
2004-03-19 00:53:01 +00:00
ikits
055a3884a7 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@237 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-19 09:43:14 +00:00
ikits
7214d0be63 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@233 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-19 07:49:16 +00:00
ikits
4d82054139 added binary compatibility for the single pipe version (through global variables) -- GLEW_MX is not a compilation switch
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@227 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-19 04:37:07 +00:00
ikits
f7a917ba23 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@223 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-02 03:03:13 +00:00
ikits
dbb7f8c798 updated copyright notices
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@207 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-01 20:03:26 +00:00
ikits
e21be8b86a added glew mx
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@202 783a27ee-832a-0410-bc00-9f386506c6dd
2004-02-01 18:13:05 +00:00
ikits
412814404b added Solaris support
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@154 783a27ee-832a-0410-bc00-9f386506c6dd
2003-10-27 05:28:55 +00:00
ikits
cd64fd9607 removed WGL_{ARB,EXT}_extensions_string dependency
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@120 783a27ee-832a-0410-bc00-9f386506c6dd
2003-09-15 15:35:32 +00:00
ikits
ef757f2529 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@118 783a27ee-832a-0410-bc00-9f386506c6dd
2003-09-12 04:46:10 +00:00
ikits
cac690ca3e *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@98 783a27ee-832a-0410-bc00-9f386506c6dd
2003-07-08 17:56:49 +00:00
ikits
e68c8d8886 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@96 783a27ee-832a-0410-bc00-9f386506c6dd
2003-07-08 16:43:30 +00:00
mem
2b9775d8d3 Merge Milan's 1.1.x
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@80 783a27ee-832a-0410-bc00-9f386506c6dd
2003-07-06 15:01:13 +00:00