summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/imports.h
Commit message (Collapse)AuthorAgeFilesLines
* mesa: Add _mesa_snprintf.José Fonseca2009-01-081-0/+3
| | | | On Windows snprintf is renamed as _snprintf.
* Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-111-0/+10
|\ | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
| * mesa: new _mesa_is_pow_two() functionBrian2008-11-101-0/+10
| |
| * mesa: Replace deprecated __MSC__ macro.José Fonseca2008-09-211-1/+1
| |
* | Merge branch 'gallium-0.1' into gallium-0.2Keith Whitwell2008-09-111-7/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A first attempt at moving gallium onto a branch directly off master... It will be interesting to see how much work this takes to get running. Have resolved the conflicts semi-arbitarily, not compiled or tested. Conflicts: .gitignore Makefile configs/config.mgw configs/darwin configs/darwin-x86ppc configs/default configs/freebsd-dri configs/linux-dri configs/linux-dri-xcb configs/linux-fbdev configs/linux-static configs/linux-x86-64-static configs/linux-x86-static doxygen/Makefile include/GL/gl.h progs/demos/Makefile progs/demos/descrip.mms progs/demos/texenv.c progs/egl/.gitignore progs/egl/Makefile progs/glsl/.gitignore progs/glsl/Makefile progs/glsl/convolutions.c progs/samples/Makefile.mgw progs/tests/.gitignore progs/trivial/.gitignore progs/trivial/point-param.c progs/trivial/tri.c progs/xdemos/.gitignore progs/xdemos/glthreads.c src/egl/drivers/demo/Makefile src/egl/drivers/dri/Makefile src/egl/main/Makefile src/glu/Makefile src/glu/sgi/Makefile src/glu/sgi/Makefile.mgw src/glut/glx/Makefile.mgw src/glut/os2/WarpWin.cpp src/glut/os2/glut_cindex.cpp src/glut/os2/glut_gamemode.cpp src/glut/os2/glut_win.cpp src/glut/os2/glut_winmisc.cpp src/glut/os2/os2_glx.cpp src/glut/os2/os2_menu.cpp src/glut/os2/os2_winproc.cpp src/glw/Makefile src/glx/x11/dri_glx.c src/glx/x11/glxext.c src/mesa/Makefile src/mesa/Makefile.mgw src/mesa/descrip.mms src/mesa/drivers/beos/Makefile src/mesa/drivers/common/descrip.mms src/mesa/drivers/common/driverfuncs.c src/mesa/drivers/directfb/Makefile src/mesa/drivers/dri/Makefile.template src/mesa/drivers/dri/common/dri_bufmgr.c src/mesa/drivers/dri/common/dri_bufmgr.h src/mesa/drivers/dri/common/dri_util.c src/mesa/drivers/dri/common/extension_helper.h src/mesa/drivers/dri/common/mmio.h src/mesa/drivers/dri/common/utils.c src/mesa/drivers/dri/common/utils.h src/mesa/drivers/dri/glcore/Makefile src/mesa/drivers/dri/i810/i810screen.c src/mesa/drivers/dri/i915/intel_ioctl.c src/mesa/drivers/dri/i915/intel_ioctl.h src/mesa/drivers/dri/i915/intel_screen.c src/mesa/drivers/dri/i915/server/i830_common.h src/mesa/drivers/dri/i915/server/i830_dri.h src/mesa/drivers/dri/i965/intel_screen.c src/mesa/drivers/dri/i965/server/i830_common.h src/mesa/drivers/dri/i965/server/i830_dri.h src/mesa/drivers/dri/mach64/mach64_screen.c src/mesa/drivers/dri/nouveau/nouveau_context.h src/mesa/drivers/dri/nouveau/nouveau_fifo.c src/mesa/drivers/dri/nouveau/nouveau_fifo.h src/mesa/drivers/dri/nouveau/nouveau_screen.c src/mesa/drivers/dri/nouveau/nouveau_screen.h src/mesa/drivers/dri/r128/r128_tex.h src/mesa/drivers/dri/savage/savageioctl.h src/mesa/drivers/fbdev/Makefile src/mesa/drivers/osmesa/Makefile src/mesa/drivers/osmesa/descrip.mms src/mesa/drivers/x11/Makefile src/mesa/drivers/x11/descrip.mms src/mesa/drivers/x11/xm_dd.c src/mesa/glapi/glapi.c src/mesa/glapi/glthread.c src/mesa/main/api_validate.c src/mesa/main/attrib.c src/mesa/main/bufferobj.c src/mesa/main/bufferobj.h src/mesa/main/buffers.c src/mesa/main/config.h src/mesa/main/context.c src/mesa/main/descrip.mms src/mesa/main/drawpix.c src/mesa/main/enums.c src/mesa/main/fbobject.c src/mesa/main/glheader.h src/mesa/main/imports.c src/mesa/main/mipmap.c src/mesa/main/mm.c src/mesa/main/mm.h src/mesa/main/mtypes.h src/mesa/main/points.c src/mesa/main/sources src/mesa/main/state.c src/mesa/main/texcompress_fxt1.c src/mesa/main/texenvprogram.c src/mesa/main/texobj.c src/mesa/main/texstate.c src/mesa/main/texstore.c src/mesa/math/descrip.mms src/mesa/shader/arbprogram.c src/mesa/shader/descrip.mms src/mesa/shader/prog_execute.c src/mesa/shader/prog_statevars.c src/mesa/shader/prog_statevars.h src/mesa/shader/prog_uniform.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/shader_api.c src/mesa/shader/slang/descrip.mms src/mesa/shader/slang/library/slang_vertex_builtin_gc.h src/mesa/sources src/mesa/swrast/descrip.mms src/mesa/swrast/s_drawpix.c src/mesa/swrast/s_fragprog.c src/mesa/swrast/s_readpix.c src/mesa/swrast/s_span.c src/mesa/swrast_setup/descrip.mms src/mesa/tnl/descrip.mms src/mesa/tnl/t_context.h src/mesa/tnl/t_vp_build.c src/mesa/tnl/tnl.h src/mesa/vbo/descrip.mms src/mesa/vbo/vbo_context.c src/mesa/vbo/vbo_exec_array.c src/mesa/x86-64/xform4.S src/mesa/x86/rtasm/x86sse.c src/mesa/x86/rtasm/x86sse.h windows/VC6/progs/glut/glut.dsp windows/VC7/mesa/gdi/gdi.vcproj windows/VC7/mesa/glu/glu.vcproj windows/VC7/mesa/mesa.sln windows/VC7/mesa/mesa/mesa.vcproj windows/VC7/mesa/osmesa/osmesa.vcproj windows/VC7/progs/glut/glut.vcproj windows/VC8/mesa/gdi/gdi.vcproj windows/VC8/mesa/glu/glu.vcproj windows/VC8/mesa/mesa.sln windows/VC8/mesa/mesa/mesa.vcproj windows/VC8/progs/glut/glut.vcproj
| * mesa: Use standard integer types.José Fonseca2008-06-241-6/+2
| | | | | | | | Especially get rid of the non-portable long long.
| * mesa: Replace deprecated __MSC__ macro.José Fonseca2008-06-241-1/+1
| |
* | Solaris port of Mesa 7.1 with autoconf supportAlan Coopersmith2008-06-211-0/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
* | only use __x86_64__, not __amd64__ (bug 15503)Brian Paul2008-04-141-1/+1
| |
* | fix IEEE_ONE definition for ICC compiler (bug 15134)Brian2008-03-191-3/+3
|/
* Fix a number of MINGW32 issuesZhang2007-07-211-0/+4
|
* Remove the never-used SI-style imports/exports code.Brian2007-04-041-4/+3
|
* optimize generated vertex programs a bitRoland Scheidegger2007-02-091-0/+8
| | | | | | | | 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...
* Add _mesa_ffsll() for compatibility on OSes without ffsll(), and use it.Eric Anholt2007-01-261-0/+3
|
* Drop mesa wrappers for XFree86.George Sapountzis2006-12-211-18/+1
|
* #define LONGSTRING __extension__ in imports.h and use it to silence gccBrian Paul2006-11-151-0/+9
| | | | warnings about long string literals.
* added _mesa_little_endian()Brian Paul2006-09-211-1/+12
|
* define FLT_MAX_EXP to 128 if undefinedBrian Paul2006-07-131-1/+4
|
* Add M32R architecture to test for USE_IEEE and friends (Kazuhiro Inaoka,Michel Dänzer2006-06-201-1/+1
| | | | from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=374608).
* added _mesa_align_realloc()Brian Paul2006-05-241-0/+4
|
* Committing in .Jouk Jansen2006-03-171-25/+25
| | | | | | | | | | 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 ----------------------------------------------------------------------
* More GLSL code:Michal Krol2006-02-271-2/+27
| | | | | | | | | | | | | - 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;
* Add _mesa_atanf and _mesa_asinf functions.Michal Krol2006-02-131-1/+7
|
* Add the ability to define NO_LIBCWRAPPER to avoid libcwrapper brain damage.Eric Anholt2006-02-111-3/+3
| | | | | If it's true that libcwrapper usage isn't necessary ever in the DllLoader world, then this code should probbaly all go away.
* Move COPY_FLOAT() macro down into glide driver.Brian Paul2005-11-091-6/+0
| | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended.
* move _mesa_exec_malloc/free() up near other malloc/free prototypesBrian Paul2005-10-181-11/+8
|
* Add _mesa_exec_malloc() and _mesa_exec_free() for allocatingKeith Whitwell2005-10-181-0/+9
| | | | | executable memory. Based on Thomas Hellstrom's patch. TODO: glapi.c also needs this, but cannot access this code.
* remove unused _mesa_log2() (bug 4468)Brian Paul2005-10-121-3/+0
|
* Bug #1155: Define IEEE_ONE on Super-H as well.Adam Jackson2005-10-031-0/+1
|
* additional wrapper updates, bug 4468Brian Paul2005-09-191-0/+22
|
* use mesa import wrappers, bug 4468Brian Paul2005-09-161-0/+2
|
* remove DEFARRAY, CHECKARRAY stuffBrian Paul2005-09-061-57/+0
|
* added FREXPF() macro (bug 4060)Brian Paul2005-08-121-0/+5
|
* Add a LDEXPF wrapper macro.Keith Whitwell2005-07-131-0/+3
|
* remove unused MEMSET16 macroBrian Paul2005-06-271-2/+0
|
* Get rid of the MESA_PBUFFER_ALLOC/FREE() macros.Brian Paul2005-06-271-41/+0
| | | | | If that stuff is still needed, lots of other updates are needed anyway. Also, some misc MALLOC/FREE -> _mesa_malloc/free() changes.
* define M_E if neededBrian Paul2005-05-161-0/+5
|
* Port Mesa to build on a P64 platform (e.g., Win64). P64 platformsKarl Schultz2005-05-051-1/+1
| | | | | | | | 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.
* applied Keith's patch for "safe" type-punning.Daniel Borca2005-01-111-8/+8
| | | | made IS_NEGATIVE produce a boolean (useful when xoring with other booleans).
* Started some assorted clean-ups in #defines, typedefs, etc.Brian Paul2004-11-251-0/+14
| | | | Next: move all the Windows/WGL stuff into the drivers/windows/ directory.
* added a cast to ADD_POINTERS macroBrian Paul2004-10-311-1/+1
|
* Use the generic __amd64__, instead of __AMD64__ which has to be defined by hand.Eric Anholt2004-10-281-1/+1
|
* also test for __arm__ for setting USE_IEEE (X bug 1155)Brian Paul2004-09-011-0/+1
|
* Silence gcc 3.4 warnings on ReactOS. Mostly unused var warnings. (patch ↵Brian Paul2004-08-251-1/+1
| | | | 1015696)
* Disable x86 iround() version on BeOS with gcc < 2.95.x, as it choke GAS.Philippe Houdoin2004-08-241-1/+2
| | | | | BTW, that's remove the requirement to build Mesa on BeOS with gcc 2.95.3. Still recommanded for performance, thought ;-)
* check if __mips or _MIPS_ARCH is defined to set IEEE_ONE (bug 1003026)Brian Paul2004-08-221-0/+1
|
* also check for __hppa__ and hpux for IEEE support (bug 1003026)Brian Paul2004-08-221-1/+2
|
* AMD64 changes from Ronny V. Vindenes.Keith Whitwell2004-04-301-1/+1
|
* bring over build fixes from stable branchAlan Hourihane2004-04-261-3/+4
|
* New glTexImage code.Brian Paul2004-04-221-10/+11
| | | | | | | | 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.