Commit Graph

168 Commits

Author SHA1 Message Date
Brian Paul 1b5d3d647e added GL_EXT_packed_depth_stencil 2005-09-28 02:28:00 +00:00
Brian Paul c799e9ec24 added GL_EXT_timer_query token 2005-09-02 13:43:26 +00:00
Brian Paul 2c7336af4e put full prototype on one line to fix gl_mangle.h generation (Dave Reveman) 2005-06-08 13:35:07 +00:00
Brian Paul 5d5100aabc remove temporary GL_EXT_framebuffer_object info 2005-05-31 23:54:44 +00:00
Karl Schultz db21f1c84f The "P" suffix on APIENTRY and GLAPIENTRY is to be used for pointers to
functions, not for functions that return pointers.  Restore protoype
for glGetString back to its correct form.
2005-05-11 22:01:20 +00:00
Adam Jackson d084982240 Bug #2477: Make GLU/GLw/glut build properly even with -fvisibility=hidden. 2005-02-08 05:46:53 +00:00
Brian Paul cf69e051ce added GL_EXT_framebuffer_object enums/funcs. Remove when glext.h is updated 2005-02-08 03:45:08 +00:00
Ian Romanick 5b0dd89370 remove a bunch of temporary #defines, now that glext.h was updated 2005-01-26 19:19:06 +00:00
Brian Paul 14dee36fa7 glext.h version 26 2005-01-20 15:07:42 +00:00
Brian Paul 5255044c00 added a few OpenGL 2.0 tokens (temporary) 2005-01-16 19:40:15 +00:00
Brian Paul d7b837ad4a temporary prototypes for OpenGL 2.0 2005-01-12 04:06:55 +00:00
Brian Paul bf4c23d00f no need to include stddef.h anymore 2004-11-29 17:31:03 +00:00
Brian Paul b653aaede5 minor APIENTRY clean-ups 2004-11-25 23:20:07 +00:00
Brian Paul 83889ffd97 Remove need for defining _MSC_VER when building Mesa for windows with
a non MS C compiler (MinGW).  (Gregor Anich)
2004-11-08 15:08:48 +00:00
Ian Romanick 33899b7c35 Add support for OES_read_format. As soon as glext.h is updated with the
enums for this extension, the changes to gl.h can be removed.
2004-10-16 01:16:54 +00:00
Brian Paul be91a0be58 version bump 2004-09-27 22:40:31 +00:00
Brian Paul 6b869d4fe1 Alexander Gottwald's patch for cygwin 2004-06-22 17:16:02 +00:00
Brian Paul 199972cef0 move #define for GL_DOUBLE, to put enums in right order 2004-04-23 18:00:00 +00:00
Brian Paul c2f739169e update function mangling and add comment about it to gl.h 2004-02-05 15:23:12 +00:00
Ian Romanick 74cf25b081 Missed this commit as part of the addition of
GL_EXT_blend_equation_separate / GL_ATI_blend_equation_separate.
2004-01-27 21:40:35 +00:00
Brian Paul cdde03efe2 remove stuff that's now in glext.h 2004-01-13 02:04:57 +00:00
Brian Paul c3fb2558f0 replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall) 2003-12-11 23:55:55 +00:00
Alan Hourihane 18343db1d8 reverse Keith's 'XFree86Server' glue. 2003-12-08 16:57:21 +00:00
Keith Whitwell 3abad78e26 Can't include <stddef.h> when building XFree86 server - define
ptrdiff_t to int instead
2003-12-08 15:00:24 +00:00
Brian Paul 78c5841364 s/APIENTRY/GLAPIENTRY/ for 1.5 functions 2003-12-06 01:49:54 +00:00
Alan Hourihane faf4059aa8 check if GLAPIENTRYP is already set 2003-12-04 15:59:41 +00:00
Alan Hourihane f82c775fff #define GLAPIENTRYP GLAPIENTRY * 2003-12-04 15:59:03 +00:00
Brian Paul 91b6a4aa90 include malloc.h to get ptrdiff_t for vertex buffer object's GLintptr 2003-11-23 16:22:54 +00:00
Brian Paul 67f8a1d4ad added OpenGL 1.5 tokens and functions not yet put into glext.h 2003-11-22 18:44:10 +00:00
Brian Paul 3eb0edb31f added GL_ARB_point_sprite tokens 2003-10-16 16:33:05 +00:00
Kendall Bennett d6643331ab Updates required for building the SciTech SNAP version of Mesa. This includes:
1. Changes to the main header files to exclude some stuff is __SCITECH_SNAP__
   is defined. The main GL/gl.h header file in SciTech SNAP is actually a wrapper
   that defines a bunch of necessary stuff and then included GL/gl_mesa.h which
   is the normal Mesa GL/gl.h header file renamed.

2. Changed APIENTRY * to APIENTRYP macros in the GL/gl.h and GL/glext.h header
   files. This will better support other compilers like IBM VisualAge C++. I
   added a basic macro for APIENTRYP to GL/gl.h (inside the !SNAP block), so
   existing code will compile the same, but when the SNAP version is being
   built we will use the correc definitions for the target compiler.

3. Changed a few more void * declarations to GLvoid *'s to avoid Open Watcom
   compiler complaints.

4. Updates the OPENGL_VERSION macro to include a patch number (set to 0 for
   now). Probably not necessary, but the original macro was wrong and we use
   that macro in our code.

5. Changed _tnl_end() to _tnl_end_ctx() to avoid conflicts with _tnl_End when
   using a compiler that has a case insensitive link.
2003-09-30 20:02:27 +00:00
Brian Paul d7dabacfa3 new enum values for GL_MESA_program_debug 2003-09-23 14:44:33 +00:00
Ian Romanick c8363a31cf Added support for EXT_texture_mirror_clamp and the single wrap mode
that it addes to ATI_texture_mirror_once.  This includes updating the
texwrap test to exercise the new mode.
2003-09-02 19:25:17 +00:00
Brian Paul 58c5df87be remove a bunch of the extension definitions from the legacy section 2003-08-28 03:08:40 +00:00
Brian Paul 9d73b81068 Fix glPixelMap: s/GLint/GLsizei/ 2003-08-19 01:08:24 +00:00
Brian Paul 389858ee7b tokens, functions for GL_MESA_program_debug 2003-07-21 04:30:25 +00:00
Brian Paul b17a722ca3 Implemented GL_ARB_occlusion_query (not 100% finalized). 2003-06-13 02:37:27 +00:00
Brian Paul b93df0af47 remove temporary stuff 2003-05-10 04:38:24 +00:00
Brian Paul e78f823724 fix function prototypes for manging (Bill Hoffman) 2003-04-23 17:42:07 +00:00
Brian Paul 2780bb824f added GL_EXT_depth_bounds_test 2003-04-21 14:57:07 +00:00
Brian Paul 9b14e0fbfd more GL_ARB_fragment_program tokens 2003-04-18 01:56:44 +00:00
Brian Paul af0c247021 temporary GL_ARB_fragment_program tokens 2003-04-17 01:48:56 +00:00
Brian Paul 4c928471c1 Added function pointer typedefs for GL_NV_fragment_program 2003-04-09 02:32:56 +00:00
Brian Paul 001a3012ac updated version 2003-02-28 16:31:32 +00:00
Alan Hourihane 615991ac66 fix fragment_program for Windows 2003-02-10 20:22:08 +00:00
Brian Paul cf01d97dc3 GL_NV_fragment_program 2003-01-14 04:50:14 +00:00
Karl Schultz 3e2fa3fd5c Change for Windows only: Make demos and examples build again.
Move the inclusion of windows.h from glext.h to gl.h.  There are a few
good reasons for this:
- Including it in gl.h is more strightforward and makes it easier to
troubleshoot include file problems.  It was sometimes hard to find it
in glext.h.
- Needed to define APIENTRY correctly.  APIENTRY is used in gl.h.
- glut.h needs windows.h but does not include it, expecting the app to
include it.  Including it in gl.h if not already included by the app
makes glut.h happy.  This allows one to write a gl/glut app without
explictly including windows.h, which may only be really important for
toy apps like our samples and demos.  But a "real" app can still
include windows.h if it wants.
2002-10-17 19:39:31 +00:00
Brian Paul c62aeed003 merge updates from 4.0.4 2002-09-21 16:47:09 +00:00
Brian Paul 473e51f2fb Updated BeOS support (Philippe Houdoin) 2002-09-19 16:19:43 +00:00
Brian Paul a2ae6faf1a removed glext.h fix-ups corrected in glext.h version 17 2002-09-06 02:52:23 +00:00
Brian Paul 391876e5e6 fix up stuff accidentaly checked in a few days ago 2002-08-29 14:02:27 +00:00
Brian Paul fb657ef91d added glXAllocate/FreeMemoryNV() 2002-08-22 21:10:37 +00:00
Brian Paul f105bc4095 removed experiemental GL_MESA_sprite_point extension 2002-05-27 17:05:19 +00:00
Brian Paul 491e573c38 removed glSamplePass() 2002-03-20 22:07:17 +00:00
Brian Paul aa24e9171a use official enum values for GL_ARB_depth_texture and GL_ARB_shadow 2002-02-25 22:18:14 +00:00
Brian Paul 78a21f96b5 added new depth_texture/shadow tokens (temporary) 2002-02-15 16:41:36 +00:00
Brian Paul 74df2ef732 added enums for GL_ARB_depth_texture/shadow/shadow_ambient (temporary) 2001-12-05 22:01:13 +00:00
Brian Paul 50c31d6861 added test implementation of GL_ARB_window_pos 2001-11-19 00:13:45 +00:00
Brian Paul fe9b705a2c define GL_VERSION_1_3 (doh!) 2001-11-09 21:54:30 +00:00
Brian Paul 78a03d3c45 bump versions to 4.0 2001-09-23 16:06:13 +00:00
Brian Paul a8b07a539b added OpenGL 1.3 tokens and prototypes 2001-08-28 22:49:32 +00:00
Brian Paul 03d6c4c2db define both GL_ALL_CLIENT_ATTRIB_BITS and GL_CLIENT_ALL_ATTRIB_BITS (spec and SI don't agree) 2001-06-14 21:37:43 +00:00
Brian Paul 645c1cef13 s/void */GLvoid */ 2001-05-29 15:44:06 +00:00
Brian Paul df4fd765d5 reordered a few blend enums 2001-04-24 16:12:48 +00:00
Brian Paul 5535aca5df change glTexImage3D() internalFormat to GLenum to match other OpenGLs 2001-03-26 20:02:38 +00:00
Brian Paul a13df148df minor comment update 2001-03-22 04:56:50 +00:00
Brian Paul 2743def830 sync'd with the latest changes in XFree86 (cygwin stuff) 2001-03-21 16:00:17 +00:00
Brian Paul e5dfe384ad updates to the trace extension 2001-01-29 16:18:37 +00:00
Gareth Hughes ba8f6172bd Implementation of GL_EXT_texture_env_dot3. 2001-01-06 22:46:13 +00:00
Brian Paul 2f911cdf17 define GL_ARB_imaging 2000-12-09 20:36:18 +00:00
Brian Paul 1c6701e1e1 added LL_MESA_sprite_point extension 2000-12-08 00:28:59 +00:00
Brian Paul a190221f70 update to GL_MESA_trace extension enums 2000-11-03 15:14:18 +00:00
Brian Paul 44bd53f259 added GL_MESA_packed_depth_stencil extension 2000-11-03 15:01:38 +00:00
Brian Paul 98b3dd40f7 Added GL_MESA_trace extension (Loki) 2000-09-15 19:45:00 +00:00
Brian Paul 4bb651306c replaced GL_CLIENT_ALL_ATTRIB_BITS with GL_ALL_CLIENT_ATTRIB_BITS 2000-07-13 17:45:13 +00:00
Brian Paul f658ab0e2e always define GL_ARB_multitexture (OpenGL 1.2.1 feature) 2000-05-24 15:04:01 +00:00
Brian Paul 90fbef490e changed glext.h include 2000-05-23 22:41:51 +00:00
Brian Paul 8da58f3184 replaced __CYGWIN32__ with __CYGWIN__ 2000-05-22 19:40:43 +00:00
Brian Paul 0890ed3148 include glext.h if GL_GLEXT_LEGACY not defined 2000-05-22 16:22:47 +00:00
Brian Paul 08f0374bfa moved a lot of Window-isms out of gl.h into other files 2000-05-22 16:21:27 +00:00
Brian Paul e2f66e40df added glPointParameterf[v]SGIS() 2000-05-18 18:09:38 +00:00
Brian Paul a14d28c2bd removed GL_HAS_GLEXT 2000-05-04 14:12:28 +00:00
Randy Frank 23ee049401 Implemented support for the HP occlusion test extension (osmesa and X) 2000-03-28 16:59:39 +00:00
Brian Paul 0862721958 removed some unpopular extensions (now in glext.h) 2000-03-23 16:54:50 +00:00
Brian Paul 1ea2d444fa Cygwin changes, removed two ARB extensions, now in glext.h 2000-03-20 19:26:51 +00:00
Brian Paul f5d36aefd1 added GL_HAS_GLEXT 2000-02-25 21:01:41 +00:00
Brian Paul 8814124f35 bunch of extension clean-up 2000-02-24 22:03:21 +00:00
Brian Paul ae773f612c clean-up 2000-02-11 20:44:22 +00:00
Brian Paul 3d41d5ade7 added GLCALLBACKPCAST for Cygnus (Sven Panne) 2000-02-10 17:27:55 +00:00
Brian Paul e69f1f54f9 GL_ARRAY_ELEMENT_LOCK_FIRST/COUNT_SGI changed to _EXT suffix 2000-02-05 01:51:54 +00:00
Brian Paul 3db088f7d7 added missing POINT/LINE RANGE/GRANULARITY tokens 2000-01-17 18:05:24 +00:00
Brian Paul e8dad9dbe4 fixed prototype typo in glHintPGI ( ) 2000-01-08 10:51:20 +00:00
Brian Paul 3c3533c5c8 added missing glHintPGI() function 2000-01-07 07:42:33 +00:00
Brian Paul 0a654a5d5a assigned official GL_ARB_transpose_matrix enums 2000-01-07 05:35:37 +00:00
Brian Paul 0056c5e40d added GL_ARB_transpose_matrix 1999-12-10 19:54:50 +00:00
Brian Paul a65efe4b75 reordered the extensions and numbered them 1999-11-18 20:23:31 +00:00
Brian Paul e23e2759fc changed multi-include guard symbol 1999-11-15 14:26:07 +00:00
Brian Paul b95d252c34 added GL_EXT_texture_env_add extension 1999-11-12 02:07:56 +00:00
Brian Paul 9ad72cd9b1 removed redundant extension prototypes 1999-11-11 17:48:32 +00:00
Kendall Bennett a73119234c . Updated GL/gl.h with GLCALLACKP and GLAPIENTRYP macros for compatibility
with the IBM VisualAge C++ compiler. Eventually some more code will be
   needed in the headers to enable the reversal of (__stdcall*) to (*__stdcall)
   for the IBM compilers, however we currently build using our own header files
   that already handle this.

 . Changed instances of (GLCALLBACK*) to GLCALLBACKP for compatibility
   with the IBM VisualAge C++ compiler in src-glu.

 . Misc cleanups for warnings generated with Watcom C++ in src-glu. Compiles
   with 0 warnings now.

 . tess_hash.c: line 244 - Why is this function stubbed out? I removed the
   code with a #if 0 to avoid a compiler warning, but it looks dangerous.
1999-11-11 03:21:43 +00:00