Commit Graph

1036 Commits

Author SHA1 Message Date
Nigel Stewart
84b733d9bb EGL refinements and fixes 2016-02-06 12:41:15 +10:00
Nigel Stewart
20908a2182 Integrate the XML -> EGL specs step 2016-02-06 12:41:14 +10:00
Nigel Stewart
97bba61a10 Add GLEW_EGL builds to Travis 2016-02-06 12:41:13 +10:00
Nigel Stewart
c3ea366c9d Add SYSTEM=Linux-clang-egl config 2016-02-06 12:41:12 +10: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
5a6171078b GLEW EGL support touch-ups 2016-02-06 12:41:10 +10:00
Nigel Stewart
f4abb657b3 GLEW_EGL mode for loading functions via eglGetProcAddress 2016-02-06 12:41:09 +10:00
Nigel Stewart
4ee89ccb39 Build fix for GLEW_VAR_EXPORT, GLEW_FUN_EXPORT 2016-02-06 12:35:05 +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
c45763d790 Add make toolchains for msys, msys-win32 and msys-win64 2016-02-06 06:46:18 +10:00
Nigel Stewart
f65df11fa7 GNU make MSYS2 toolchain configuration added 2016-02-05 22:34:16 +10:00
Nigel Stewart
107c23d970 Update config.guess from upstream 2016-02-05 22:32:22 +10:00
Wes Tarro
5efdbaefc8 Makes GLEW truly independent of C runtime library on Windows to prevent
any issues with mixing compilers and library versions. The Visual Studio
Projects need some touching up to get all of the settings synced up for all
of the build variants.
2016-02-05 02:53:25 -05:00
Nigel Stewart
b3440c0979 Add SYSTEM=mingw-win32 configuration for 32-bit MinGW variant 2016-02-04 22:33:41 +10:00
Nigel Stewart
e82b76f719 README.md fixup 2016-01-31 14:55:39 +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
954b1d5947 Migrating more website information to README.md 2016-01-31 13:57:29 +10:00
Nigel Stewart
9ef6bfb7a6 Add gitter chat room link to README.md 2016-01-10 22:15:34 +10:00
Nigel Stewart
9297c604ca For cmake 3.4 - link X11 libs for glewinfo and visualinfo unless not available, or GLEW_OSMESA mode. 2016-01-08 23:25:46 +10:00
Nigel Stewart
5811916f32 Update .gitignore for cmake generated .rc files in build/ 2016-01-08 22:58:42 +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
b5e16ca938 Disable stack protector for Linux builds, to avoid runtime dependency 2016-01-07 22:07:00 +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
dd6e034cba Bump GLEW to version 2.0.0, with Core context support, but no MX, for now. 2015-12-06 12:50:41 +10:00
Nigel Stewart
9e66fc86a3 More cmake migrate for removal of MX 2015-12-06 12:49:28 +10:00
Nigel Stewart
be2688de70 For mingw32 cross-builds, link msvcrt library for malloc, free, etc 2015-12-06 12:49:27 +10:00
Nigel Stewart
8b0b5db90c Re-enable Travis build for Core Context mode 2015-12-06 12:49:26 +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
01b33567e5 Workaround for core-context4 MX build break, for now 2015-12-06 12:49:23 +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
99421ea9fe Migrate Travis GLEW build to container-based infrastructure 2015-12-06 12:08:58 +10:00
Nigel Stewart
5ce6248594 Update GLEW website with link to glew-20151117.tgz 2015-12-06 11:47:55 +10:00
Tamas Kenez
66c5229ec2 cmake: allow calling find_package(GLEW) multiple times 2015-11-17 21:27:49 +10:00