Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Avoid undeclared ffs function warning on mingw. | José Fonseca | 2011-02-22 | 1 | -0/+6 |
| | |||||
* | i965: Use compiler builtins when available | Chris Wilson | 2011-02-21 | 1 | -0/+13 |
| | | | | Signed-off-by: Chris Wilson <[email protected]> | ||||
* | mesa: Add definitions for inverse hyperbolic function on MSVC. | Vinson Lee | 2010-11-15 | 1 | -0/+3 |
| | |||||
* | mesa: add more work-arounds for acoshf(), asinhf(), atahf() | Brian Paul | 2010-11-15 | 1 | -0/+3 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -5/+5 |
| | |||||
* | Get rid of GL/internal/glcore.h | Kristian Høgsberg | 2010-10-13 | 1 | -4/+6 |
| | | | | | | | __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. | ||||
* | mesa: Add __printf__ attribute to printf-like functions to get warnings. | Eric Anholt | 2010-09-01 | 1 | -5/+5 |
| | |||||
* | glsl/mesa: fixes for MSVC | Aras Pranckevicius | 2010-08-25 | 1 | -0/+1 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: added isblank() for MSVC | Brian Paul | 2010-08-24 | 1 | -0/+1 |
| | |||||
* | glsl2: Include imports.h to get snprintf wrapper for MSVC | Ian Romanick | 2010-08-23 | 1 | -0/+6 |
| | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | mesa: Fix msvc build of glsl. | Aras Pranckevicius | 2010-08-23 | 1 | -2/+7 |
| | | | | Signed-off-by: José Fonseca <[email protected]> | ||||
* | mesa: Check that _XOPEN_SOURCE is defined before using it. | Vinson Lee | 2010-08-15 | 1 | -1/+1 |
| | |||||
* | mesa: Recent versions of MSVC define the single precision functions already. | José Fonseca | 2010-08-14 | 1 | -1/+2 |
| | |||||
* | mesa: atan2f and powf need two args. | José Fonseca | 2010-08-14 | 1 | -2/+2 |
| | |||||
* | mesa: Work-arounds for platforms that lack C99 math functions | Ian Romanick | 2010-08-13 | 1 | -0/+28 |
| | |||||
* | mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. | Vinson Lee | 2010-07-09 | 1 | -36/+0 |
| | | | | The other similar integer/float conversion macros are in macros.h. | ||||
* | mesa: Remove no-op wrappers around trig functions. | Eric Anholt | 2010-05-13 | 1 | -15/+0 |
| | |||||
* | mesa: Remove _mesa_pow(), which is always just pow(). | Eric Anholt | 2010-05-13 | 1 | -3/+0 |
| | |||||
* | mesa: Fix build with gcc 3.3. | Matthieu Herrb | 2010-04-19 | 1 | -2/+4 |
| | | | | Signed-off-by: Brian Paul <[email protected]> | ||||
* | Replace _mesa_strtod with _mesa_strtof. | Marcin Baczyński | 2010-03-15 | 1 | -2/+2 |
| | | | | Reviewed-by: Ian Romanick <[email protected]> | ||||
* | Remove support for GCC older than 3.3.0 | Ian Romanick | 2010-03-03 | 1 | -3/+1 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | mesa: restore _mesa_snprintf() - it's needed for Windows | Brian Paul | 2010-02-19 | 1 | -0/+3 |
| | | | | This reverts part of commit 298be2b028263b2c343a707662c6fbfa18293cb2 | ||||
* | Drop macro wrappers for the aligned memory functions | Kristian Høgsberg | 2010-02-19 | 1 | -11/+0 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -16/+0 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -14/+5 |
| | |||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | mesa: replace old MEMSET macro with memset | Brian Paul | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 1 | -2/+0 |
| | |||||
* | Remove _mesa_memcmp in favor of plain memcmp. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_memset in favor of plain memset. | Kenneth Graunke | 2010-02-19 | 1 | -4/+1 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 1 | -4/+1 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | Remove _mesa_atoi in favor of plain atoi. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strncmp in favor of plain strncmp. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strcmp in favor of plain strcmp. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strlen in favor of plain strlen. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strncpy in favor of plain strncpy. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strcpy in favor of plain strcpy. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strncat in favor of plain strncat. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | Remove _mesa_strstr in favor of plain strstr. | Kenneth Graunke | 2010-02-19 | 1 | -3/+0 |
| | |||||
* | mesa: Don't pass paramter to __builtin_clz which would hve undefined result. | Pauli Nieminen | 2010-02-14 | 1 | -5/+11 |
| | | | | | | | | | __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. | ||||
* | mesa: Fix mesa_next_pow_two to return same value if parameter is pow2. | Pauli Nieminen | 2010-02-07 | 1 | -3/+5 |
| | | | | | Without subtracting one pow2 value would be rounded up to next pow2 which is not correct behaviour for the function. | ||||
* | mesa/main: Add function to find next higher power of two. | Pauli Nieminen | 2010-02-06 | 1 | -0/+46 |
| | | | | | | | | | 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. | ||||
* | mesa: Remove _mesa_exit wrapper for exit(). | Eric Anholt | 2009-12-22 | 1 | -4/+0 |
| | | | | | It does nothing else while being less useful than exit() because it lacks attributes that real exit() has. | ||||
* | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | 2009-09-03 | 1 | -0/+1 |
| | |||||
* | mesa: added _mesa_str_checksum() | Brian Paul | 2009-08-04 | 1 | -0/+3 |
| | |||||
* | mesa: Sparc's IROUND() optimization is invalid. | David Miller | 2009-02-28 | 1 | -9/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <[email protected]> | ||||
* | mesa: fixes for building on Haiku | Tomas Wilhelmsson | 2009-02-23 | 1 | -1/+2 |
| | |||||
* | mesa: move a bunch of compiler-related stuff into new compiler.h header | Brian Paul | 2009-02-22 | 1 | -169/+2 |
| | | | | This trims down and cleans up imports.h and glheader.h quite a bit. | ||||
* | mesa: merge gallium-0.2 into gallium-master-merge | Brian Paul | 2009-02-09 | 1 | -6/+2 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | mesa: Add _mesa_snprintf. | José Fonseca | 2009-01-08 | 1 | -0/+3 |
| | | | | | | | | On Windows snprintf is renamed as _snprintf. |