Commit Graph

562 Commits

Author SHA1 Message Date
Nigel Stewart
06f66b2915 EGL glewinfo now working for both Nvidia and Mesa implementations 2016-02-06 12:28:04 +10:00
Nigel Stewart
4c5472555a For EGL purpose avoid using linked glGetString, load it via eglGetProcAddress instead. 2016-02-06 12:28:03 +10:00
Nigel Stewart
3be106a263 eglewInit takes EGLDisplay parameter, will do eglIntialize internally, for now 2016-02-06 12:28:02 +10:00
Nigel Stewart
710b313d5e EGL fixup for void parameter lists, additional defines 2016-02-06 12:28:01 +10:00
Nigel Stewart
d6c95b689d EGL fix: eglewInit and glewinfo need to manually load some EGL functions 2016-02-06 12:28:00 +10:00
Nigel Stewart
db99bbcee3 EGL refinements and fixes 2016-02-06 12:27:59 +10:00
Nigel Stewart
d49c323cba Integrate the XML -> EGL specs step 2016-02-06 12:27:58 +10:00
Nigel Stewart
cb8e5f5943 Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:27:55 +10:00
Nigel Stewart
8a8b6468bc GLEW EGL support touch-ups 2016-02-06 12:26:32 +10:00
Nigel Stewart
2cea9e2719 GLEW_EGL mode for loading functions via eglGetProcAddress 2016-02-06 12:26:31 +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
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