summaryrefslogtreecommitdiff
path: root/src/mesa/main/imports.h
AgeCommit message (Collapse)Author
2008-06-24mesa: Use standard integer types.José Fonseca
Especially get rid of the non-portable long long.
2008-06-24mesa: Replace deprecated __MSC__ macro.José Fonseca
2007-07-21Fix a number of MINGW32 issuesZhang
2007-04-04Remove the never-used SI-style imports/exports code.Brian
2007-02-09optimize generated vertex programs a bitRoland Scheidegger
Use new internal state to avoid per-vertex normalization of static spot direction vector. Use internal state for simpler per-vertex fog computations (MAD instead of SUB/MUL for linear fog, EX2 instead of POW for EXP/EXP2 fog). Simplify point size calc (2 MADs instead of MOV, MUL, MUL, DP3), and while there fix it up (RSQ instead of RCP). All untested...
2007-01-26Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.Eric Anholt
2006-12-21Drop mesa wrappers for XFree86.George Sapountzis
2006-11-15#define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul
warnings about long string literals.
2006-09-21added _mesa_little_endian()Brian Paul
2006-07-13define FLT_MAX_EXP to 128 if undefinedBrian Paul
2006-06-20Add M32R architecture to test for USE_IEEE and friends (Kazuhiro Inaoka,Michel Dänzer
from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374608).
2006-05-24added _mesa_align_realloc()Brian Paul
2006-03-17 Committing in .Jouk Jansen
Mesa/src/mesa/main/imports.h : removed <CR> Mesa/src/mesa/shader/slang/descrip.mms : added new sources Modified Files: Mesa/src/mesa/main/imports.h Mesa/src/mesa/shader/slang/descrip.mms ----------------------------------------------------------------------
2006-02-27More GLSL code:Michal Krol
- add x86 code generator; - add full support for uniforms in ARB_shader_objects; - add assembly instruction: global_addr; - reorganize #includes; - built-in uniforms accessed by index, rather than by name; - add some entries to x86sse rtasm; - add configurations to VC6 projects: 'Release x86' and 'Debug x86'; - #define SLANG_X86 active only on VC6 x86 builds; - introduce code export table for a shader; - remove GNU license from the noise library;
2006-02-13Add _mesa_atanf and _mesa_asinf functions.Michal Krol
2006-02-11Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.Eric Anholt
If it's true that libcwrapper usage isn't necessary ever in the DllLoader world, then this code should probbaly all go away.
2005-11-09Move COPY_FLOAT() macro down into glide driver.Brian Paul
Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
2005-10-18move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul
2005-10-18Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell
executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
2005-10-12remove unused _mesa_log2() (bug 4468)Brian Paul
2005-10-03Bug #1155: Define IEEE_ONE on Super-H as well.Adam Jackson
2005-09-19additional wrapper updates, bug 4468Brian Paul
2005-09-16use mesa import wrappers, bug 4468Brian Paul
2005-09-06remove DEFARRAY, CHECKARRAY stuffBrian Paul
2005-08-12added FREXPF() macro (bug 4060)Brian Paul
2005-07-13Add a LDEXPF wrapper macro.Keith Whitwell
2005-06-27remove unused MEMSET16 macroBrian Paul
2005-06-27Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.Brian Paul
If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
2005-05-16define M_E if neededBrian Paul
2005-05-05Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz
use 64-bit pointers and 32-bit longs. So, operations like casting pointers to unsigned long and back to pointer won't work. glheader.h now includes files to define uintptr_t, which should instead be used for this sort of operation. It is an integer type that is the same size as a pointer.
2005-01-11applied Keith's patch for "safe" type-punning.Daniel Borca
made IS_NEGATIVE produce a boolean (useful when xoring with other booleans).
2004-11-25Started some assorted clean-ups in #defines, typedefs, etc.Brian Paul
Next: move all the Windows/WGL stuff into the drivers/windows/ directory.
2004-10-31added a cast to ADD_POINTERS macroBrian Paul
2004-10-28Use the generic __amd64__, instead of __AMD64__ which has to be defined by hand.Eric Anholt
2004-09-01also test for __arm__ for setting USE_IEEE (X bug 1155)Brian Paul
2004-08-25Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul
1015696)
2004-08-24Disable x86 iround() version on BeOS with gcc < 2.95.x, as it choke GAS.Philippe Houdoin
BTW, that's remove the requirement to build Mesa on BeOS with gcc 2.95.3. Still recommanded for performance, thought ;-)
2004-08-22check if __mips or _MIPS_ARCH is defined to set IEEE_ONE (bug 1003026)Brian Paul
2004-08-22also check for __hppa__ and hpux for IEEE support (bug 1003026)Brian Paul
2004-04-30AMD64 changes from Ronny V. Vindenes.Keith Whitwell
2004-04-26bring over build fixes from stable branchAlan Hourihane
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-04-18check for __ia64__ when setting USE_IEEEBrian Paul
2004-04-13check for __AMD64__ when setting USE_IEEE (Ronnny Vindenes)Brian Paul
2004-04-11build fix for VMSAlan Hourihane
2003-12-23the optimized UNCLAMPED_FLOAT_TO_UBYTE macro was brokenBrian Paul
2003-11-18Some groundwork for supporting GLhalf datatype.Brian Paul
2003-10-03Removed bogus OS/2 floating point->integer conversion routineKendall Bennett
2003-10-03Fixed incorrect Watcom assembler macrosKendall Bennett
2003-09-18Remove FLT_MIN definition to imports.hBrian Paul
Assorted code clean-ups in light.c