summaryrefslogtreecommitdiff
path: root/src/mesa/main/glheader.h
AgeCommit message (Collapse)Author
2004-04-22New glTexImage code.Brian Paul
The gl_texture_format struct now has a StoreTexImageFunc that's called by glTex[Sub]Image[123]D to convert the user's texture data into the specific texture format layout. Now it's much easier to add new texture formats (like the 16/32-bit floating point formats). The texutil.[ch] and texutil_tmp.h files are obsolete.
2004-03-13Implementation of GL_EXT_pixel_buffer_object extension.Brian Paul
Note: extension may not be finalized yet - subject to change! Note: implementation not fully suitable for h/w implementation yet.
2004-01-28tweak the #if test for defining _ASMAPI (fixes IRIX problem)Brian Paul
2003-12-11replace gl/mesa_wgl.h with GL/mesa_wgl.h (Simon Goodall)Brian Paul
2003-12-09Fix definitions for Intel compiler.Eric Anholt
Submitted by: Mikhail Teterin <mi@FreeBSD.org>
2003-12-06conditionally define GLAPIENTRYP to prevent some warnings in linux-soloBrian Paul
2003-12-04ChangeKarl Schultz
#define GLAPIENTRYP __stdcall * to #define GLAPIENTRYP GLAPIENTRY * These two defs end up doing the same thing, but the compiler can squawk because they look different. Also matches the way it is declared in gl.h. Do same for GLCALLBACKP.
2003-11-25remove __FUNCTION__ hackBrian Paul
2003-10-08More SciTech SNAP specific changes to glheader.h. Also modified the macrosKendall Bennett
in swrast/s_spantemp.h to allow dithering to be used in the SNAP drivers.
2003-10-02Fixed bugs in Mesa software span rendering for color index modesKendall Bennett
2003-09-30Updates required for building the SciTech SNAP version of Mesa. This includes:Kendall Bennett
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-12Updates to fix problems building with the Open Watcom compiler.Kendall Bennett
2003-08-05Updates from Daniel Borca.Brian Paul
2003-07-17Merge Jose's documentation and core Mesa changes from embedded branchKeith Whitwell
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-10-30test both XFree86LOADER and IN_MODULE to see if we're being built as the glx ↵Brian Paul
module
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-06-13New _mesa_debug() function to replace fprintf() calls.Brian Paul
Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c)
2002-06-12Moved big/little endian code to glheader.h.Brian Paul
Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN.
2002-03-23removed temporary GL_ARB_texture_mirrored_repeat enumsBrian Paul
2001-12-20Define finite as _finite for Windows.Karl Schultz
2001-10-17added GL_ARB_texture_mirrored_repeatBrian Paul
2001-07-16Various 16-bit GLchan fixes and Win32 fixes (Gerk Huisma)Brian Paul
2001-06-15Added fi_type union typedef to glheader.h.Brian Paul
Replace various float/int casts with the fi_type union cast. Fixes -fstrict-aliasing problems.
2001-05-14New IFLOOR, ICEIL macros from Josh Vanderhoof. Fixes problems withBrian Paul
IFLOOR(1.99999)==2, for example. Moved some macros from config.h to glheader.h
2001-03-29Removed DD_Z_NEVER.Brian Paul
Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-02-09minor updates to sync w/ XFree86 changesBrian Paul
2001-01-08Add a 'RenderPrimitive' callback to t_vb_render.c. Helps out driversKeith Whitwell
that used to require a 'ReducedPrimitiveChange' callback. Various compilation fixes for XFree86. Reverted to the older version of glcore.h used internally in XFree86, and moved it to 'Mesa/include/GL/internal/glcore.h', for compatibility with XFree86.
2000-09-26First batch of OpenGL SI related changes:Brian Paul
Renamed struct gl_context to struct __GLcontextRec. Include glcore.h, setup GL imports/exports. Replaced gl_ prefix with _mesa_ prefix in context.[ch] functions. GLcontext's Visual field is no longer a pointer.
2000-09-15use cpml.h on Alpha (AlanH)Brian Paul
2000-09-12Win32 update (Chris Morley)Brian Paul
2000-08-02define GL_GLEXT_PROTOTYPES before including mesa_wgl.hBrian Paul
2000-06-12define GL_GLEXT_PROTOTYPES for glext.hBrian Paul
2000-05-26applied Eero Pajarre's patch for WindowsBrian Paul
2000-05-22replaced __CYGWIN32__ with __CYGWIN__, misc clean-upBrian Paul
2000-05-22added Window-isms previously in gl.hBrian Paul
2000-03-22added code to die on FP exceptions if DEBEG env var set to FPBrian Paul
2000-02-24use quotes for gl.h and glext.h includesBrian Paul
2000-02-23include GL/glext.hBrian Paul
2000-02-12always include <float.h>Brian Paul
1999-11-12moved assembly-related macros from types.h to glheader.hBrian Paul
1999-11-12 . More Watcom C++ warnings fixed in Mesa.Kendall Bennett
1999-11-11first big check-in of new Mesa 3.3 codeBrian Paul