Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix DIFFERENT_SIGNS() function | Brian Paul | 2012-09-04 | 1 | -1/+1 |
| | | | | | | | | | | Looks like converting this to a macro, returning bool, caused us to lose the high (31st) bit result. Fixes piglit fbo-1d test. Strange that none of the other tests I ran caught this. Fixes https://bugs.freedesktop.org/show_bug.cgi?id=54365 Tested-by: Vinson Lee <[email protected]> | ||||
* | mesa: remove SQRTF, use sqrtf. Convert INV_SQRT() to inline function. | Brian Paul | 2012-09-03 | 1 | -2/+2 |
| | | | | | | | We were already defining sqrtf where we don't have the C99 version. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> | ||||
* | mesa: move IS_NEGATIVE() and DIFFERENT_SIGNS() to macros.h | Brian Paul | 2012-09-01 | 1 | -0/+32 |
| | |||||
* | mesa: convert a few more macros to inline functions | Brian Paul | 2012-08-29 | 1 | -22/+21 |
| | |||||
* | mesa: remove COPY_4V_CAST() macro | Brian Paul | 2012-08-29 | 1 | -9/+0 |
| | | | | Only used in one place, and not really needed. | ||||
* | mesa: convert a bunch of math macros to inline functions | Brian Paul | 2012-08-29 | 1 | -56/+86 |
| | |||||
* | mesa: use F_TO_I() instead of IROUND() | Brian Paul | 2012-05-19 | 1 | -5/+5 |
| | | | | | | | | Use it where performance matters more and the exact method of float->int conversion/rounding isn't terribly important. There should no net change here since F_TO_I() is the new name of the old IROUND() function. Reviewed-by: José Fonseca <[email protected]> | ||||
* | mesa: new BYTE/SHORT_TO_FLOATZ() macros | Brian Paul | 2011-11-15 | 1 | -0/+7 |
| | | | | | | | Rather than redefining the BYTE/SHORT_TO_FLOAT macros, just define new ones with different names. These macros preserve zero when converting. Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: move CEILING() macro into macros.h | Brian Paul | 2011-11-15 | 1 | -0/+4 |
| | | | | Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: remove unused macros in macros.h | Brian Paul | 2011-11-15 | 1 | -26/+0 |
| | | | | Reviewed-by: Eric Anholt <[email protected]> | ||||
* | mesa: remove unused interp/stride chan macros | Brian Paul | 2011-09-20 | 1 | -27/+0 |
| | |||||
* | mesa: add macros MIN3 and MAX3 | Marek Olšák | 2011-04-27 | 1 | -0/+4 |
| | |||||
* | mesa: initial EXT_texture_snorm support | Marek Olšák | 2011-03-29 | 1 | -2/+1 |
| | | | | | The component ordering of some formats has been been reversed to match Gallium types. | ||||
* | mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h. | Vinson Lee | 2010-07-09 | 1 | -0/+35 |
| | | | | The other similar integer/float conversion macros are in macros.h. | ||||
* | mesa: added UNCLAMPED_FLOAT_TO_SHORT macro | Brian Paul | 2010-05-09 | 1 | -0/+3 |
| | |||||
* | Remove _mesa_memcpy in favor of plain memcpy. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | mesa: Fix compiler warnings | Karl Schultz | 2010-02-13 | 1 | -2/+2 |
| | | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio. | ||||
* | mesa: Replace CLAMP_SELF() macro with more obvious CLAMP() usage. | Eric Anholt | 2009-12-22 | 1 | -6/+0 |
| | | | | | The same code is generated, and readers and static analyzers are happier. | ||||
* | mesa: use _mesa_memcpy for COPY_4FV macro | Roland Scheidegger | 2009-12-03 | 1 | -8/+3 |
| | | | | | | | Gets rid of one of the worst strict-aliasing offenders, and actually produces faster code (at least in some cases, when compiler can use for instance 64bit moves for memcpy). (note _mesa_memcpy should get inlined) | ||||
* | ARB sync: Add infrastructure for glGetInteger64v | Ian Romanick | 2009-09-03 | 1 | -0/+3 |
| | |||||
* | mesa: From float type modifier from values to large for singles | Ian Romanick | 2009-06-22 | 1 | -7/+7 |
| | | | | | | | | The values 2147483648.0 and 4294967294.0 are too larget to be stored in single precision floats. Forcing these to be singles causes bits to be lost, which results in errors in some pixel transfer tests. This fixes bug #22344. | ||||
* | mesa: Use type modifier for float constants. | José Fonseca | 2009-06-15 | 1 | -7/+7 |
| | |||||
* | mesa: add new signed rgba texture format | Roland Scheidegger | 2009-03-28 | 1 | -0/+22 |
| | | | | | This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own. | ||||
* | mesa: add support for ATI_envmap_bumpmap | Roland Scheidegger | 2009-03-12 | 1 | -2/+5 |
| | | | | | | | | add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly) | ||||
* | mesa: refactor: move various ENUM_TO_x macros into macros.h | Brian Paul | 2008-09-21 | 1 | -0/+7 |
| | |||||
* | minor re-org, doxygen comments | Brian Paul | 2006-10-18 | 1 | -11/+13 |
| | |||||
* | Bug 4996. | Brian Paul | 2005-11-09 | 1 | -3/+0 |
| | | | | | Replace use of FLOAT_TO_USHORT with either CLAMPED_FLOAT_TO_USHORT or UNCLAMPED_FLOAT_TO_USHORT. Same should be done for UBYTE, UINT, etc. | ||||
* | Move COPY_FLOAT() macro down into glide driver. | Brian Paul | 2005-11-09 | 1 | -10/+14 |
| | | | | | Rewrite COPY_4FV() macro to not use COPY_FLOAT(), and use integer moves as originally intended. | ||||
* | Update the doxygen configuration file. | Jose Fonseca | 2004-09-09 | 1 | -3/+0 |
| | | | | Minor updates/fixes to the source documentation. | ||||
* | minor doxygen updates | Brian Paul | 2004-05-14 | 1 | -0/+2 |
| | |||||
* | whitespace changes and new comments | Brian Paul | 2004-01-01 | 1 | -86/+87 |
| | |||||
* | Merge vtx-0-2-branch | Keith Whitwell | 2003-11-24 | 1 | -0/+2 |
| | |||||
* | Added GLAPIENTRY decorations for all first level OpenGL API function entry | Kendall Bennett | 2003-10-21 | 1 | -301/+300 |
| | | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler. | ||||
* | Silence compiler warnings about implicit casts or conversions by supplying ↵ | Karl Schultz | 2003-08-30 | 1 | -0/+9 |
| | | | | explicit casts and/or tweaking constant and variable definitions. | ||||
* | Re-org of register files for vertex/fragment programs. Will be easier to | Brian Paul | 2003-08-17 | 1 | -9/+0 |
| | | | | hook in global state references, etc. for ARB programs. | ||||
* | Merge Jose's documentation and core Mesa changes from embedded branch | Keith Whitwell | 2003-07-17 | 1 | -105/+172 |
| | |||||
* | Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything. | Ian Romanick | 2003-06-05 | 1 | -1/+0 |
| | |||||
* | added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof) | Brian Paul | 2003-03-04 | 1 | -2/+2 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -86/+149 |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | ||||
* | Add casts to quiet compiler warnings. | Karl Schultz | 2002-10-18 | 1 | -1/+22 |
| | |||||
* | Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() | Brian Paul | 2002-07-09 | 1 | -10/+1 |
| | | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details. | ||||
* | Moved big/little endian code to glheader.h. | Brian Paul | 2002-06-12 | 1 | -15/+3 |
| | | | | Define either MESA_BIG_ENDIAN or MESA_LITTLE_ENDIAN. | ||||
* | more big-endian tweaks | Brian Paul | 2002-06-05 | 1 | -4/+5 |
| | |||||
* | bring over Michel Daenzer's DRI changes | Brian Paul | 2002-06-03 | 1 | -1/+44 |
| | |||||
* | More suport for t&l drivers | Keith Whitwell | 2002-02-13 | 1 | -1/+8 |
| | | | | | Fix GLuint compare bugs Fix RESET_STIPPLE calls | ||||
* | Committing in . | Jouk Jansen | 2001-06-11 | 1 | -1/+2 |
| | | | | | | | | | | Modified Files: Mesa/src/macros.h Added #define COPY_4UBV() for non i386 machines ---------------------------------------------------------------------- | ||||
* | only copy GLubyte[4] as a GLuint on x86 | Brian Paul | 2001-06-08 | 1 | -16/+8 |
| | |||||
* | use unoptimized COPY_4UBV code on SPARC to avoid memory alignment problems ↵ | Brian Paul | 2001-06-08 | 1 | -2/+11 |
| | | | | (bug 430689) | ||||
* | Fix striding of color material inputs. (Fixes glean colorLitPerf) | Keith Whitwell | 2001-04-19 | 1 | -2/+3 |
| | |||||
* | - Port 3.4 texture utils, texture format work to 3.5 (including new | Gareth Hughes | 2001-03-18 | 1 | -1/+28 |
| | | | | | FetchTexel routines). - Initial hooks for GL_EXT_texture_filter_anisotropic. |