Commit Graph

638 Commits

Author SHA1 Message Date
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
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
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 9580ab4226 [CoreSupport] Whitespace fixup for make_def_var.pl 2015-06-13 09:59:38 +10:00
Nigel Stewart 211bf29181 [CoreSupport] glewinfo profiles/flags refinement - commandline profile and flags as strings. 2015-05-29 20:45:19 +10:00
Nigel Stewart 0720521034 [CoreSupport] glewinfo profiles/flags documentation breadcrumbs. 2015-05-29 20:29:08 +10:00
Nigel Stewart 60b0fc5c05 [CoreSupport] Mac OS X support for glewinfo GL version/profiles/flags. 2015-05-29 20:18:22 +10:00
Matthias Bentrup 2d0899283f Extend glewinfo to request specific GL versions/profiles/flags. 2015-05-29 20:18:16 +10:00
Nigel Stewart 7c046e2307 For github pull request #33 - GLEW version in glew.h
Allow for tools to extract the GLEW version from glew.h directly.
No functional change for C API.
See: https://github.com/nigels-com/glew/pull/33/files
2015-03-29 11:43:56 +10:00
Nigel Stewart 573eeabd8e [Mac] Migrate glewinfo on Mac from AGL to CGL, with the possibility of running in (core) OpenGL 3.2 mode. 2015-03-20 20:23:04 +10:00
Nigel Stewart 9fedd9e053 Bump version to 1.12.0, updated documentation. 2015-01-24 22:45:29 +10:00
Nigel Stewart b52fa4654d Bump copyright year to 2015 2015-01-24 17:21:59 +10:00
Carsten Neumann e6a117de9b add missing glGetGraphicsResetStatus function to VERSION_4_5
This function is in OpenGL 4.5, but not part of GL_KHR_robustness
extension - it is in GL_ARB_robustness, but there it has the ARB suffix.
2015-01-07 19:54:05 +10:00
Nigel Stewart f1eae16bb8 Sourceforge bug 260 Missing defines: GL_COPY_{READ|WRITE}_BUFFER_BINDING 2014-12-11 19:34:52 +10:00
Nigel Stewart 06db711223 Merge pull request #19 from omniavinco/master
Sort the enums in a stable manner
2014-10-24 21:05:45 +10:00
Nigel Stewart d32f4278e2 Tidy-up for .gitattributes and update_ext.sh 2014-10-24 21:03:11 +10:00
Frank Park a790eb8129 Fixed a bug with shell script and added .gitattributes
Update_ext.sh does not utilize the blacklist correctly with cygwin due
to the argument -name in find is not quoted. Argument *.txt has been
changed to "*.txt" to fix the issue.

Also, it is currently possible for windows users to pull the repo in
CRLF format which destroys the scripts and source files. .gitattributes
were added to prevent this issue.
2014-10-19 01:59:48 -04:00
omniavinco 933e322dd5 Sort the enums in a stable manner 2014-10-16 23:46:52 +09: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 d99211a9d3 Filtering for GL_NV_framebuffer_mixed_samples extension added. 2014-10-06 21:53:58 +10:00
Nigel Stewart d04fd20cec Touch-up: Sort the enums (tokens) in a stable manner for consistency in include files. 2014-09-27 11:34:59 +10:00
Nigel Stewart 6b5f533a7a Update snapshots available for download 2014-09-18 21:31:24 +10:00
Nigel Stewart 0ab85a792d For Pelles C compiler, _GL_H check
https://sourceforge.net/p/glew/bugs/254/
2014-09-18 21:12:32 +10:00
Nigel Stewart 26be54cb1a Fixups for GL_KHR_robustness support. 2014-09-18 20:51:56 +10:00
Nigel Stewart 0ab71ffb6f Use GL_NV_path_rendering spec (including version 1.3) rather than hard-coded override. 2014-08-20 09:29:06 +10:00
Nigel Stewart 83a2bae026 Fixup for GLEW 1.11.0 log.html 2014-08-12 11:06:04 +10:00
Nigel Stewart 9b5567b4eb Add initial OpenGL 4.5 support and relevant extensions, version bump to 1.11.0 2014-08-12 00:06:56 +10:00
Nigel Stewart 7d03ac811c Merge remote-tracking branch 'rconde01/CompletingSignatures' 2014-08-10 12:06:22 +10:00
Nigel Stewart 9c5bc25386 Fixups for specifiation URLs. 2014-08-07 22:33:18 +10:00
Nigel Stewart 1ffc37c384 Link to fresh snapshots for download 2014-07-26 11:20:21 +10:00
Nigel Stewart 3739be33b0 Sort the enums (tokens) in a stable manner for consistency in include files. 2014-07-26 09:26:17 +10:00
Nigel Stewart cf67153325 Bump copyright notice to 2014. 2014-07-26 09:26:08 +10:00
Nigel Stewart a062a5f0d2 Add filter_spec Python script for filtering OpenGL specification files. 2014-07-26 09:25:52 +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 5f0a96150e GLEW Patch #64 - disable GLU on iOS 2014-07-13 23:49:00 +10:00
Nigel Stewart 6c34d03260 Fixup: GL_AMD_gpu_shader_int64 reuses NV_gpu_shader5 interface. 2014-07-12 15:13:47 +10:00
rconde 3b63c4c456 - fixed signatures to contain parameter names 2014-03-15 18:56:14 -04:00
Nigel Stewart c5a3681eae For GLEW Bug 201 - Resolve Visual Studio 2012 resource compiler problem. 2014-02-19 18:15:37 -06:00
Nigel Stewart 1aff81c823 For GLEW Bug #227 - Use GLAPIENTRY for GLDEBUGPROC* and leave GLAPIENTRY for application code to use. 2014-02-19 18:04:47 -06:00
Nigel Stewart ab39de8d7e Document recommended Fedora packages too. 2014-02-11 17:39:32 -06:00
Nigel Stewart 5224e88ca9 For GLEW Bug #242 - glVertexArrayVertexAttribDivisorEXT missing 2014-02-06 11:55:52 -06: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 37e8ec611d Fixup: glewinfo on Mac needs to call RegalMakeCurrent with the appropriate context. 2014-01-13 18:58:43 -06:00
Nigel Stewart 09680d9129 Add new snapshot links. 2014-01-10 16:12:58 -06:00
Nigel Stewart b96cf5f05e It appears that upstream are preferring void over GLvoid. 2014-01-08 17:22:37 -06:00
Nigel Stewart 8c7447addb Ubuntu also needs libgl-dev and dos2unix 2014-01-08 16:46:17 -06:00
Nigel Stewart 5d332c7ff7 Fixup typos for Ubuntu build dependencies. 2014-01-07 19:08:45 -06:00
Nigel Stewart 4cc11753fb Updated copyright notice to mention 2008-2013 maintainership. 2013-12-09 17:05:52 -06:00
Nigel Stewart 86cb03dd3d For GLEW Bug #233 - GL_KHR_debug: GLDEBUGPROC incorrectly defined 2013-12-09 16:48:12 -06:00
Nigel Stewart 0d810d52f1 For GLEW Patch #42 - Patch for _CRT_SECURE_NO_WARNINGS 2013-12-09 16:16:17 -06:00
Nigel Stewart 1da137a949 For GLEW Patch #43 - const correctness with the OGL 4.4 specs 2013-12-09 15:53:00 -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 d59a3108e3 Add GL_TEXTURE_BUFFER_BINDING for GL 4.4 2013-09-26 11:55:35 -05:00
Nigel Stewart 8206b443d1 Add GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED for GL 4.4 2013-09-26 11:52:56 -05:00
Nigel Stewart 4853c8effe Documentation updates for GLEW 1.10.0 release. 2013-07-21 21:01:37 -05:00
Nigel Stewart 87ce8715b2 Add support for OpenGL 4.4 2013-07-21 21:00:30 -05:00
Nigel Stewart 7b433cd402 auto/bin/update_registry.sh isn't used anymore. 2013-07-21 01:40:05 -05: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 18ae6909fe Fixup URLs for ANGLE and REGAL extensions. 2013-07-16 11:00:52 -05:00
Nigel Stewart 91d0292a03 Add support for parsing ANGLE and REGAL specs from glew branch of git repo. 2013-07-16 10:54:11 -05:00
Nigel Stewart 35d2affdb8 Project web update for 07-15-13 including updated source snapshot. 2013-07-15 11:39:28 -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 477c99177a Filter out DSA fp64 functions - not widely available. 2013-04-02 12:27:52 -05:00
Nigel Stewart 40c5ac7d3f GL 1.2 enumerants: GL_MAX_ELEMENTS_VERTICES GL_MAX_ELEMENTS_INDICES 2013-04-02 11:35:42 -05:00
Nigel Stewart 1cbe650d27 Documentation updates - new project links, snapshot files, github repo. 2013-03-18 22:51:07 -05:00
Nigel Stewart 14854b4ae6 Revert commit b7b516bf88.
Can't leave APIENTRY defined, it conflicts with windef.h definition of APIENTRY.
2013-03-18 22:23:02 -05:00
Nigel Stewart db6dbecb7a For #212 BaseVertex family: invalid type of "indices" parameter
Convert void* to GLvoid * in function parameters.
TODO - const and void**
2013-03-18 22:22:53 -05:00
Nigel Stewart b7b516bf88 Leave APIENTRY defined at the conclusion of glew.h, since APIENTRY is part of the GL interface for GL_ARB_debug_output purposes, etc. 2013-02-15 20:18:56 -06:00
Nigel Stewart 38b7f7d09f In glew.h, check for __gltypes_h_ and define it avoid glew.h conflicts with Mac OpenGL.framework/Headers/gltypes.h
#206 Different definitions of GLhandleARB in GLEW and OS X headers
2012-11-11 11:53:21 -06:00
Nigel Stewart de35ee0215 Fixup for filter_gl_ext.sh 2012-10-24 21:49:57 -05:00
Nigel Stewart e2036b5afd Add experimental OpenGL ES extension support, disabled by default.
Move registry into registry/gl, move extensions into extensions/gl.
This allows room for registry/gles and extensions/gles.
Extension filtering moved from update_ext.sh to filter_gl_ext.sh, different logic for OpenGL ES.
2012-10-24 21:49:42 -05:00
Nigel Stewart 7563efa7e3 Update documentation to point at new git repository. 2012-10-24 21:49:29 -05:00
Nigel Stewart 81b477d877 Remove various duplicate enums. 2012-10-24 21:49:09 -05:00
Nigel Stewart 025cdbe1e9 GL_KHR_debug can be parsed from upstream, now. 2012-09-20 13:10:55 -05:00
Nigel Stewart 8e4d04a53b Workaround for bug #199 glPopDebugGroup() missing.
Need to upstream fix to http://www.opengl.org/registry/specs/KHR/debug.txt too.
2012-09-17 18:46:19 -05:00
Nigel Stewart 027efdea2a Resolve bug #200 glGetPointerv of GL_KHR_debug hides OpenGL 1.1. 2012-09-17 18:32:31 -05:00
Nigel Stewart 0580fdd09b For Bug #202 GLX_AMD_gpu_association entry points are missing 2012-09-17 18:21:01 -05:00
Nigel Stewart 6ceace91e7 Detect ES 2.0 __gl2_h_ header too. 2012-08-27 22:20:33 -05:00
Nigel Stewart 57eeedef9c Rename GL_REGAL_enable GL_LOADER_REGAL to GL_DRIVER_REGAL 2012-08-22 23:03:20 -05:00
Nigel Stewart 31f9a387e2 Fixup for GLfixed as part of ES2_compatibility. 2012-08-19 12:07:58 -05:00
Nigel Stewart d93aee1bbd Add GL_REGAL_ES1_0_compatibility and GL_REGAL_ES1_1_compatibility 2012-08-18 21:58:57 -05:00
Nigel Stewart 287c58f930 Add build support for NaCL - Google Native Client. 2012-08-16 14:26:32 -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 62d2c87d5a Fixup for deleting extensions that disappeared from opengl.org 2012-08-14 18:43:08 -05:00
Nigel Stewart 35f724ebee Add GL_REGAL_enable extension, point to github for Regal extensions. 2012-08-14 18:42:34 -05:00
Nigel Stewart 19a563a6fd Add OpenGL 4.3 links. 2012-08-13 12:01:41 -05:00
Nigel Stewart 62616c381a Update GL_REGAL_log to support a callback function. 2012-08-12 20:21:27 -05:00
Nigel Stewart 6d14805de5 MX-mode glxew export fix, as recommended by Stefan Eilemann. 2012-08-07 23:51:27 -05:00
Nigel Stewart 38a3d85754 Ignore enums that end in ? - these values are not specified or known. 2012-08-07 22:06:41 -05:00
Nigel Stewart 60e85a9815 Remove more duplicates from core/GL_ARB_internalformat_query2 2012-08-06 13:57:38 -05:00
Nigel Stewart a25abc0c20 Remove duplicate of NUM_SAMPLE_COUNTS - belongs to GL_ARB_internalformat_query 2012-08-06 13:39:19 -05:00
Nigel Stewart e2f62ea821 Fixup for log.html - 1.9.0 supports GL 4.3 2012-08-06 11:51:23 -05:00
Nigel Stewart 855f98aa17 Documentation updates for GLEW 1.9.0 2012-08-06 10:56:17 -05:00
Nigel Stewart 4c1a2460f3 Add OpenGL 4.3 support, and new extensions. 2012-08-06 09:17:50 -05:00
Nigel Stewart 064f87e7b6 Add Regal-supported ES related GL_EXT_debug_marker. 2012-07-29 12:48:18 -05:00
Nigel Stewart 5b0724197a Updated GL_REGAL_log enums 2012-07-26 10:08:07 -05:00
Nigel Stewart f2bbb3163c Permanent enum values for GL_REGAL_log 2012-07-23 18:43:58 -05:00
Nigel Stewart 8b89f17a16 Fixup: REGAL_CALL isn't relevant. 2012-07-23 16:30:49 -05:00
Nigel Stewart 4cbc97cdc1 Regal-related extension specifications added. 2012-07-23 16:25:52 -05:00
Nigel Stewart 4b07c93946 Fixup: glewinfo on Mac needs to call RegalMakeCurrent manually. 2012-07-23 16:19:50 -05:00
Nigel Stewart 5f346a3ef3 Fixup: GLEWAPIENTRY for glewContextIsSupported in MX mode. 2012-07-17 22:37:43 -05:00
Nigel Stewart cad03beb35 For Windows VC builds, share the .rc files moved into build directory. 2012-07-17 22:06:18 -05:00
Nigel Stewart 3e2ee26c7e Update stale HTML links to extension specifications. 2012-07-17 21:38:41 -05:00
Nigel Stewart 69233bf7f3 Bump GLEW 1.8.0 release date to 07-17-2012. 2012-07-17 21:36:10 -05:00
Nigel Stewart b357b2534f Documentation added for upcoming GLEW 1.8.0 release. 2012-07-09 16:07:34 -05:00
Nigel Stewart d679f9bfc2 GL_NV_path_rendering with fixes in auto/core, for now. 2012-07-09 09:20:34 -05:00
Nigel Stewart 246650641b Fixup: GLXEW_VAR_EXPORT changeover broke GLXEW_VERSION_1_0 and GLXEW_VERSION_1_1 variables. 2012-05-29 21:02:35 -05:00
Nigel Stewart 05e1fba5f5 Treat Additions to Chapter as a section 2012-05-27 17:13:29 -05:00
Nigel Stewart 97e2cceb65 Fixup - scripts need space between "GLvoid *" and function name 2012-05-27 17:12:32 -05:00
Nigel Stewart e76dc8df5f Filter more duplicate enums in auto/bin/update_ext.sh 2012-05-27 16:39:47 -05:00
Nigel Stewart 14c5a1401c char -> GLchar fixups for GL_ARB_separate_shader_objects 2012-05-27 16:39:07 -05:00
Nigel Stewart 905f963f9e GLvoid * fixup for GL_ATI_map_object_buffer 2012-05-27 16:38:22 -05:00
Nigel Stewart a3297b8f1d Duplicate GL_UNSIGNED_NORMALIZED from GL_ARB_framebuffer_object. 2012-05-27 16:37:32 -05:00
Nigel Stewart 594fdd6a4e Filter enums for GL_APPLE_vertex_array_range, GL_ARB_texture_rg, GL_ARB_texture_storage, GL_EXT_paletted_texture - no need to duplicate. 2012-05-26 00:08:50 -05:00
Nigel Stewart 848ddb0c31 Fixup; char -> GLchar for function parameters. 2012-05-26 00:07:59 -05:00
Nigel Stewart 50944b4a88 Add VertexStream1{sifd}v? MIA from GL_ATI_vertex_streams. 2012-05-26 00:06:11 -05:00
Nigel Stewart 8eeb2d4d3a GL_ANY_SAMPLES_PASSED provided by GL_ARB_occlusion_query2, no need to duplicate in GL_VERSION_3_3 2012-05-26 00:03:37 -05:00