Commit Graph

897 Commits

Author SHA1 Message Date
Nigel Stewart
9a948f785b Fixup: stdlib.h and string.h needed for Linux gcc 4.8 build. 2015-11-18 06:10:53 +10:00
Nigel Stewart
0d57b2923c [CoreSupport] Resolve some Mac compilation warnings. 2015-11-18 06:10:52 +10:00
Nigel Stewart
101bdb9f2f [CoreSupport] Tab indentation for perl scripts 2015-11-18 06:10:51 +10:00
Nigel Stewart
0f3a888f61 [CoreSupport] Linux/GLX touch-ups for GL 3.0 + extension detection, GLX. 2015-11-18 06:10:50 +10:00
Nigel Stewart
512392f570 [CoreSupport] Linux/GLX touch-ups for ANSI-C with gcc -pedantic compilation flag 2015-11-18 06:10:49 +10:00
Nigel Stewart
8e50483848 [CoreSupport] Linux/GLX touch-ups for extension string parsing and enable lookup. 2015-11-18 06:10:48 +10:00
Nigel Stewart
0be36fe2ef [CoreSupport] For OpenGL 3.0 onwards use glGetStringi rather than glGetString(GL_EXTENSIONS) 2015-11-18 06:10:47 +10:00
Nigel Stewart
b64d99b2df [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-11-18 06:10:46 +10:00
Nigel Stewart
b406655729 [CoreSupport] Add code generation for sorted array of extension strings, which can index into array of pointers of extension enable flags. 2015-11-18 06:10:45 +10:00
Nigel Stewart
542044d306 [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-11-18 06:10:44 +10:00
Tamas Kenez
66c5229ec2 cmake: allow calling find_package(GLEW) multiple times 2015-11-17 21:27:49 +10:00
Nigel Stewart
c8c0c1e480 OSX install to /usr/local as required by 10.11 El Capitan 2015-11-17 21:23:51 +10:00
Mischa Spiegelmock
f9466c40f8 stick OSX install in /usr/local prefix; 10.11 does not allow writing to /usr/{include,lib} 2015-11-17 21:18:35 +10:00
Nigel Stewart
06891ebb35 OSMesaMakeCurrent for glewCreateContext in GLEW_OSMESA mode. 2015-10-12 20:31:51 +10:00
Gyusun Yeom
c5c60068f7 Add ".rc" files to each libraries and executables for Windows build 2015-10-10 11:40:47 +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
4718d42dde Regal-mode support for cmake build 2015-10-10 11:22:12 +10:00
Nigel Stewart
bf2cd13450 Travis and Makefile refinements - less logging, cmake build coverage in Travis 2015-10-10 11:18:35 +10:00
Nigel Stewart
ba913841ae Migrating README.txt to README.md 2015-10-05 20:12:39 +10:00
Nigel Stewart
c9ec523858 Travis build config added 2015-10-05 17:02:56 +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
Nigel Stewart
54b537afda No longer using deprecated AGL framework on Mac for visualinfo 2015-08-07 12:23:36 +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
Nigel Stewart
5ae027a8cd Merge pull request #53 from tamaskenez/master
build: cmake-testbuild to work on OS X and with CMake < 3.0
2015-08-05 10:26:52 +10:00
Nigel Stewart
4b75493364 VC12 - Use .rc files for glewinfo and visualinfo 2015-08-05 10:02:19 +10:00
Nigel Stewart
fd152a143b Merge pull request #54 from lanurmi/rc-line-split
Resolve Visual Studio 2012 resource compiler problem also in the other two .rc files.
2015-08-05 09:53:15 +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
Nigel Stewart
4c009908e2 Windows glewinfo fixup - expose wglewContextInit and wglewIsSupported. 2015-07-24 11:37:01 +10:00
Nigel Stewart
4c40805809 Sourceforge Bug 277 - OpenGL 4.5 glGetnTexImage is missing 2015-07-17 10:53:18 +10:00
Tamas Kenez
67b12efec7 build: cmake-testbuild to work on OS X and with CMake < 3.0 2015-07-12 23:12:36 +02:00
Nigel Stewart
0cbd8f648f Merge pull request #48 from tamaskenez/cmake-config-module-2
cmake: install config-module
2015-06-24 08:24:02 +10:00
Tamas Kenez
d2e6823451 cmake: install config-module
Installs a config module if CMake verion >= 2.8.12.
The config-module creates the import library targets
built in the project (glew, glew_s, glewmx, glewmx_s)
but in accordance with the FindGLEW module shipped with
CMake, it also creates GLEW::GLEW and GLEW::GLEWMX.

GLEW::GLEW and GLEW::GLEWMX will be simply copies of
glew/glewmx or glew_s/glewmx_s. If both versions are
available they alias the shared versions.

The default behaviour can be changed either when installing
or when using the package:

- Set BUILD_SHARED_LIBS to OFF or ON when building and
  installing GLEW. This controls which libraries
  (shared or static) will be installed (and not which
  will be built).
- Set GLEW_USE_STATIC_LIBS to OFF or ON before calling
  `find_package(GLEW CONFIG REQUIRED)` to force
  the config-module to create GLEW::GLEW and GLEWMX
  as aliases to glew/glewmx or glew_s/glewmx_s

The script ./cmake-testbuild.sh is added to test the
CMake build and config-module. See instructions there.
2015-06-22 14:06:50 +02:00
Nigel Stewart
a4a87f9466 Add clang Linux configuraiton. 2015-06-18 21:17:44 +10:00
Nigel Stewart
d932bc3eca Fixup: glxewContextInit now needed for glewinfo purposes. 2015-06-18 20:45:29 +10:00
Nigel Stewart
fda28dbfb0 [CoreSupport] Tab indentation for perl scripts 2015-06-13 19:44:35 +10:00
Nigel Stewart
fc84055808 Merge pull request #43 from nigels-com/glewinfo-core
glewinfo command-line support for GL context version, profile and flags
2015-06-13 10:57:38 +10:00
Nigel Stewart
0c19148d6a glew_utils is no longer used, removing. 2015-06-13 10:36:07 +10:00
Nigel Stewart
0e88d39f4a Leave extraneous #ifdef blocks 2015-06-13 10:18:41 +10:00
Nigel Stewart
49eafff105 Use -ansi -pedantic compilation flags for Linux build. 2015-06-13 10:00:42 +10:00