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
Brian Paul
fbd8f212c3
first big check-in of new Mesa 3.3 code
1999-11-11 01:22:25 +00:00
Ted Jump
f7190d4b1f
turned off 'conditional expression is constant' warning for win32
1999-11-05 18:20:31 +00:00
Ted Jump
38136ec3dd
Changed over to maximal warnings on Win32 builds.
1999-10-30 18:39:06 +00:00
Ted Jump
b19ba7827c
Added pragma to disable warning about unk pragmas for MSVC5
1999-10-21 06:04:20 +00:00
Ted Jump
3f17dfb8ba
Minor patches to cleanup some compiler warnings in MSVC
1999-10-20 06:56:40 +00:00
Brian Paul
52880f85b5
GL_MAX_ELEMENTS_VERTICES/INDICES enums had wrong values
1999-10-17 23:24:49 +00:00
Brian Paul
c782c911e9
more ARB_imaging colortable functions
1999-10-17 21:42:32 +00:00
Brian Paul
053f2020ca
added missing GL_ARB_imaging color table functions
1999-10-17 20:18:15 +00:00
Brian Paul
b80429e49e
removed GL_EXT_get_proc_address
1999-10-16 11:27:02 +00:00
Brian Paul
251ba69ffc
replaced glGetMinMax() with glGetMinmax()
1999-10-15 21:59:23 +00:00
Ted Jump
725ec81ae8
More Win32 build compliance fixups
1999-09-19 02:03:18 +00:00
Brian Paul
56b58668e8
disabled GL_EXT_get_proc_address for the time being
1999-09-18 01:06:52 +00:00
Brian Paul
1bf28c46c2
glGetProcAddressEXT changes to accomodate Win32 and non-Win32
1999-09-17 12:21:36 +00:00
Ted Jump
6799ecb675
Relocated wgl function prototypes to separate .h for easier work with fxwgl & glut
1999-09-17 04:25:56 +00:00
Ted Jump
3849b44d66
I changed the xxxGetProcAddressEXT function declarations to be more
...
MSVC friendly. Brianp - could you verify that they describe and operate
as intended on Linux/ETC platforms?
1999-09-17 02:44:19 +00:00
Brian Paul
dd4f708894
GL_EXT_get_proc_address clean-up
1999-09-16 16:47:35 +00:00
Brian Paul
ed3453350a
added GL_EXT_get_proc_address
1999-09-11 11:26:34 +00:00
jtg
afb833d4e8
Initial revision
1999-08-19 00:55:39 +00:00