summaryrefslogtreecommitdiffstats
path: root/include/GL/gl.h
Commit message (Collapse)AuthorAgeFilesLines
* gl.h: remove stale comment, trailing whitespaceBrian Paul2018-03-291-2/+2
| | | | Reviewed-by: Emil Velikov <[email protected]>
* mesa: remove unused #pragma export on/off linesBrian Paul2014-04-281-17/+0
| | | | | | | PRAGMA_EXPORT_SUPPORTED is never defined. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77749 Reviewed-by: Ian Romanick <[email protected]>
* mesa: change GL_ALL_ATTRIB_BITS to 0xFFFFFFFFBrian Paul2014-02-031-1/+1
| | | | | | | | | | | | | | This has been wrong for many years. It was originally 0x000FFFFF and long ago there was discussion about whether GL_ALL_ATTRIB_BITS should include the then-new GL_MULTISAMPLE_BIT bit. Eventually the ARB decided that glPushAttrib(GL_ALL_ATTRIB_BITS) should save all current and future attribute groups (hence ~0). Unfortunately, Mesa's gl.h was never updated. This was just recently spotted by Eric Anholt and reported as a bug to the ARB. Ian, Jon Leech and I discussed it at the ARB meeting and decided to change Mesa's value to reflect the ARB's decision. Acked-by: Eric Anholt <[email protected]>
* mesa: Remove GL_MESA_texture_array cruft from gl.hIan Romanick2013-12-041-33/+0
| | | | | | | | glext.h has had all the necessary bits for years. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa: Remove last BEOS checksAlexander von Gluck IV2013-11-051-8/+0
| | | | | | | | | * Goodbye BeOS, we hardly knew thee * As BeOS was gcc2 only, there was little chance of this being useful. * Doesn't effect Haiku in any meaningful way Reviewed-by: Brian Paul <[email protected]>
* mesa: remove OPENSTEP stuffBrian Paul2013-11-041-5/+1
| | | | Reviewed-by: Matt Turner <[email protected]>
* mesa: remove macintosh preprocessor stuffBrian Paul2013-11-041-7/+0
| | | | | | IIRC, this is MacOS 9.x stuff. Reviewed-by: Matt Turner <[email protected]>
* mesa: remove __QUICKDRAW__ testsBrian Paul2013-11-041-1/+1
| | | | Reviewed-by: Matt Turner <[email protected]>
* mesa: remove Centerline C support from gl.hBrian Paul2013-11-041-4/+0
| | | | Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove SciTech stuff from gl.hBrian Paul2013-11-041-5/+1
| | | | Reviewed-by: Eric Anholt <[email protected]>
* mesa: remove GL_MESA_program_debug bits from gl.hBrian Paul2013-10-221-21/+0
| | | | | | The code for this was removed from Mesa some time ago. Reviewed-by: Ian Romanick <[email protected]>
* mesa: remove remnants of GL_MESA_shader_debugBrian Paul2013-10-221-20/+0
| | | | | | | | This extension never saw any real use so remove it. v2: also update tests/num_strings.cpp for 'make check' Reviewed-by: Ian Romanick <[email protected]>
* mesa: remove PFNGLBLENDCOLORPROC, PFNGLBLENDEQUATIONPROC typedefs in gl.hBrian Paul2013-10-171-2/+0
| | | | | | | | Fixes error about duplicated typedefs (also in glext.h) reported on NetBSD 6.1 Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70546 Tested-by: Vinson Lee <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* mesa: remove old version comment from gl.hBrian Paul2013-02-151-1/+0
|
* mesa: fix compiler warnings when including GL/gl.h with other gl headersMatthew Waters2012-12-061-6/+6
| | | | | | | | | | | | GL/gl.h provides some definitions (GL_FALSE, GL_ONE, etc) that have the same value as other gl headers but are represented differently (0 vs 0x0 and 1 vs 0x1). This causes compiler warnings about redefining such definitions when including GL/gl.h with other gl headers. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=57802 Signed-off-by: Brian Paul <[email protected]>
* Only use gcc visibility support with gcc4+.Tom Fogal2011-10-241-1/+1
| | | | | | | | | I had a colleague hitting issues compiling with an old gcc3.2 system. These patches got them through. NOTE: This is a candidate for the 7.11 branch. Reviewed-by: Brian Paul <[email protected]>
* gdi: Remove mesa_wgl.hJosé Fonseca2011-08-301-6/+0
| | | | | | | | All commonly used windows toolchains define wgl entrypoints in the windows headers, and mesa_wgl.h not only is unnecessary but actually often stands in the waydue to slight inconsistencies. So remove it.
* gl.h: reorder some #definesBrian Paul2011-03-191-2/+2
|
* Remove support for GCC older than 3.3.0Ian Romanick2010-03-031-2/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* glapi: Add GL_OES_EGL_imageKristian Høgsberg2010-02-241-0/+15
|
* Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith2010-01-191-1/+2
| | | | | | | | | | | Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca2010-01-011-0/+2
|
* gl: restore some PFNGL typedefsBrian Paul2009-09-151-0/+15
| | | | | | | Commit d33c315d9e32584dea12cea683795b498a9f5eca removed a few too many typedefs. We need the typedefs in glext.h which are protected by #ifdef GL_VERSION_1_2 but we can exclude the ones protected by GL_VERSION_1_2_DEPRECATED.
* mesa: remove PFNGL typedefs that are in glext.hBrian Paul2009-06-041-85/+2
|
* mesa: upgrade glext.h to version 52Brian Paul2009-06-041-2/+4
| | | | | A number of the PFNGL* function typedefs are now in glext.h and must be omitted from the gl.h file. gl.h will be pruned in the next commit.
* mesa: bump gl.h version comment to 7.7 (bug 20170)Brian Paul2009-02-181-1/+1
|
* mesa: WinCE fixesJonathan White2008-07-161-1/+1
|
* mesa: WGL is not part of the WinCE API.José Fonseca2008-06-241-2/+3
| | | | | | Although it would be interesting having the GDI winsys running on WinCE several Windows GDI API functions and data structures are missing from WinCE headers, making this far from a trivial endeavor.
* Fix a number of MINGW32 issuesZhang2007-07-211-6/+11
|
* Disable (at least for now) PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC typedef.Brian2007-05-191-0/+5
| | | | | | If an app (like progs/samples/blendxor.c) includes both gl.h and glext.h this typedef will get hit in both headers, causing an error. Possibly work around by bringing GL_NV_geometry_program4 items into gl.h.
* Add enums and functions for GL_{MESA,EXT}_texture_array.Ian Romanick2007-05-161-0/+28
|
* remove obsolete GL_MESA_trace stuffBrian Paul2006-11-161-31/+0
|
* return void instead of GLvoid for glClearDebugLogMESA(), glGetDebugLogMESA()Brian Paul2006-10-091-2/+2
|
* remove extension defines/protos that are now in glext.hBrian Paul2006-08-301-101/+0
|
* Add support for GL_EXT_gpu_program_parameters. Any driver that enablesIan Romanick2006-08-151-0/+18
| | | | | either GL_ARB_vertex_program or GL_ARB_fragment_program should enable this extension as well.
* s/GLvoid/void/ to fix gcc 4.2 issue (bug 7875)Brian Paul2006-08-151-1/+1
|
* Fix white-space problem in the prototype for glBlitFramebufferEXT thatIan Romanick2006-08-121-2/+1
| | | | prevented gl_mangle.h from picking it up.
* added GL_EXT_texture_sRGBBrian Paul2006-08-031-0/+43
|
* reorder a few token definitionsBrian Paul2006-06-201-16/+16
|
* bump version/dateBrian Paul2006-03-311-2/+2
|
* GL_EXT_framebuffer_blit tokens/functionsBrian Paul2006-03-011-0/+22
|
* remove stray _ from GL[u]int64_EXTBrian Paul2005-12-081-2/+2
|
* handle 64-bit types for Windows.Karl Schultz2005-12-081-0/+3
|
* Updates for GL_EXT_timer_query:Brian Paul2005-12-071-0/+18
| | | | | New GLint64EXT and GLuint64EXT types (use C99's long long types). New glGetQueryObject[u]i64vEXT() functions.
* added GL_EXT_packed_depth_stencilBrian Paul2005-09-281-0/+10
|
* added GL_EXT_timer_query tokenBrian Paul2005-09-021-0/+9
|
* put full prototype on one line to fix gl_mangle.h generation (Dave Reveman)Brian Paul2005-06-081-6/+2
|