Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-16 | android: Fix build with bionic. | Chia-I Wu | |
2011-02-22 | mesa: Avoid undeclared ffs function warning on mingw. | José Fonseca | |
2011-02-21 | i965: Use compiler builtins when available | Chris Wilson | |
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> | |||
2010-11-15 | mesa: Add definitions for inverse hyperbolic function on MSVC. | Vinson Lee | |
2010-11-15 | mesa: add more work-arounds for acoshf(), asinhf(), atahf() | Brian Paul | |
2010-10-13 | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | |
2010-10-13 | Get rid of GL/internal/glcore.h | Kristian Høgsberg | |
__GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly. | |||
2010-09-01 | mesa: Add __printf__ attribute to printf-like functions to get warnings. | Eric Anholt | |
2010-08-25 | glsl/mesa: fixes for MSVC | Aras Pranckevicius | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-08-24 | mesa: added isblank() for MSVC | Brian Paul | |
2010-08-23 | glsl2: Include imports.h to get snprintf wrapper for MSVC | Ian Romanick | |
Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-08-23 | mesa: Fix msvc build of glsl. | Aras Pranckevicius | |
Signed-off-by: José Fonseca <jfonseca@vmware.com> | |||
2010-08-15 | mesa: Check that _XOPEN_SOURCE is defined before using it. | Vinson Lee | |
2010-08-14 | mesa: Recent versions of MSVC define the single precision functions already. | José Fonseca | |
2010-08-14 | mesa: atan2f and powf need two args. | José Fonseca | |
2010-08-13 | mesa: Work-arounds for platforms that lack C99 math functions | Ian Romanick | |
2010-07-09 | mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. | Vinson Lee | |
The other similar integer/float conversion macros are in macros.h. | |||
2010-05-13 | mesa: Remove no-op wrappers around trig functions. | Eric Anholt | |
2010-05-13 | mesa: Remove _mesa_pow(), which is always just pow(). | Eric Anholt | |
2010-04-19 | mesa: Fix build with gcc 3.3. | Matthieu Herrb | |
Signed-off-by: Brian Paul <brianp@vmware.com> | |||
2010-03-15 | Replace _mesa_strtod with _mesa_strtof. | Marcin Baczyński | |
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-03-03 | Remove support for GCC older than 3.3.0 | Ian Romanick | |
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> | |||
2010-02-19 | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | |
This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | |||
2010-02-19 | Drop macro wrappers for the aligned memory functions | Kristian Høgsberg | |
2010-02-19 | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | |
2010-02-19 | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | |
2010-02-19 | mesa: replace _mesa_bzero() with memset() | Brian Paul | |
2010-02-19 | mesa: replace old MEMSET macro with memset | Brian Paul | |
2010-02-19 | mesa: replace old MEMCPY macro with memcpy | Brian Paul | |
2010-02-19 | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-19 | Remove _mesa_memset in favor of plain memset. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-19 | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | |
This may break the SUNOS4 build, but it's no longer relevant. | |||
2010-02-19 | Remove _mesa_atoi in favor of plain atoi. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strncmp in favor of plain strncmp. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strncpy in favor of plain strncpy. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strcpy in favor of plain strcpy. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strncat in favor of plain strncat. | Kenneth Graunke | |
2010-02-19 | Remove _mesa_strstr in favor of plain strstr. | Kenneth Graunke | |
2010-02-14 | mesa: Don't pass paramter to __builtin_clz which would hve undefined result. | Pauli Nieminen | |
__builtin_clz with parameter 0 has undefined value. When using -O3 optimizing this would result to too large next power of two value. Fix is to check if passed value is 1 and modify formula for that case. | |||
2010-02-07 | mesa: Fix mesa_next_pow_two to return same value if parameter is pow2. | Pauli Nieminen | |
Without subtracting one pow2 value would be rounded up to next pow2 which is not correct behaviour for the function. | |||
2010-02-06 | mesa/main: Add function to find next higher power of two. | Pauli Nieminen | |
With gcc implementation uses __builtin_clr which counts number of leading zeros. Fallback implementation uses bit manipulation. First it duplicates the highest bit to all lower bits and then adds one to get the power of two number. | |||
2009-12-22 | mesa: Remove _mesa_exit wrapper for exit(). | Eric Anholt | |
It does nothing else while being less useful than exit() because it lacks attributes that real exit() has. | |||
2009-09-03 | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | |
2009-08-04 | mesa: added _mesa_str_checksum() | Brian Paul | |
2009-02-28 | mesa: Sparc's IROUND() optimization is invalid. | David Miller | |
We can't use the "fstoi" instruction like this. Unlike other floating point instructions, "fstoi" always rounds towards zero no matter what rounding mode the FPU has been set to. This was validated using the following test program: -------------------- static inline int iround(float f) { int r; __asm__ ("fstoi %1, %0" : "=f" (r) : "f" (f)); return r; } #define IROUND(x) iround(x) #define IROUND_REF(f) ((int) (((f) >= 0.0F) ? ((f) + 0.5F) : ((f) - 0.5F))) int main(void) { float f = -2.0; while (f < 3.0f) { int sparc_val = IROUND(f); int ref_val = IROUND_REF(f); if (sparc_val != ref_val) printf("DIFFERENT[%f]: REF==%d SPARC==%d\n", f, ref_val, sparc_val); f += 0.1f; } return 0; } -------------------- which prints out things like: -------------------- DIFFERENT[-1.900000]: REF==-2 SPARC==-1 DIFFERENT[-1.800000]: REF==-2 SPARC==-1 DIFFERENT[-1.700000]: REF==-2 SPARC==-1 DIFFERENT[-1.600000]: REF==-2 SPARC==-1 DIFFERENT[-1.000000]: REF==-1 SPARC==0 DIFFERENT[-0.900000]: REF==-1 SPARC==0 DIFFERENT[-0.800000]: REF==-1 SPARC==0 DIFFERENT[-0.700000]: REF==-1 SPARC==0 DIFFERENT[-0.600000]: REF==-1 SPARC==0 DIFFERENT[0.500000]: REF==1 SPARC==0 DIFFERENT[0.600000]: REF==1 SPARC==0 ... -------------------- So we have to remove Sparc's IROUND() definition, it's wrong. Signed-off-by: David S. Miller <davem@davemloft.net> | |||
2009-02-23 | mesa: fixes for building on Haiku | Tomas Wilhelmsson | |
2009-02-22 | mesa: move a bunch of compiler-related stuff into new compiler.h header | Brian Paul | |
This trims down and cleans up imports.h and glheader.h quite a bit. | |||
2009-02-09 | mesa: merge gallium-0.2 into gallium-master-merge | Brian Paul | |
Merge commit 'origin/gallium-0.2' into gallium-master-merge Conflicts: Makefile docs/relnotes-7.4.html docs/relnotes.html src/mesa/drivers/dri/i965/brw_wm.h src/mesa/main/imports.c src/mesa/main/mtypes.h src/mesa/main/texcompress.c src/mesa/main/texenvprogram.c src/mesa/main/version.h src/mesa/vbo/vbo_exec_api.c src/mesa/vbo/vbo_save_draw.c |