summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aatritemp.h
Commit message (Collapse)AuthorAgeFilesLines
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-75/+79
| | | | | | | data are broken out into a new struct span_arrays which is allocated per-context (to avoid huge stack allocations - a problem on Windows). This lets us use span.redStep instead of span->redStep (for example) to hopefully get slightly better performance in the triangle functions.
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-76/+75
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-9/+9
| | | | type, width, interp mask and array mask.
* New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul2002-03-161-10/+13
| | | | | result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
* More span improvements. Removed _mesa_write_monocolor_span().Brian Paul2002-01-281-2/+1
| | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
* More span clean-up, mostly texture-related.Brian Paul2002-01-281-91/+39
| | | | | _mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
* LOTS of changes, building upon Klaus's work.Brian Paul2002-01-271-70/+106
| | | | | struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
* first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul2001-12-171-137/+107
|
* add inf and nan tests to swrast functionsKeith Whitwell2001-12-051-2/+2
|
* silence compiler warnings (last batch for src)Karl Schultz2001-09-191-4/+4
|
* undo previous check-in (unfinished code)Brian Paul2001-07-131-274/+246
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-246/+274
|
* minor clean-upsBrian Paul2001-06-051-11/+10
|
* GLubyte -> GLchan fixBrian Paul2001-05-301-3/+3
|
* use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul2001-05-161-13/+41
|
* Apply antialiasing coverage factor to alpha after texture application,Brian Paul2001-05-151-49/+62
| | | | not before.
* minor clean-ups and more commentsBrian Paul2001-05-151-10/+31
|
* redo previous change in a more defensive wayBrian Paul2001-05-101-5/+7
|
* added check for zero-length spans, avoids potential problems laterBrian Paul2001-05-101-1/+7
|
* sample plane equations at fragment centers, not lower-left cornerBrian Paul2001-05-071-37/+41
|
* interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul2001-05-031-4/+4
|
* check for startX off the right edge of the windowBrian Paul2001-03-281-1/+7
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-13/+13
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-2/+2
| | | | of potential problems
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-13/+13
|
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-7/+13
| | | | | | | | | | | | | | is always the last vertex parameter. Modify clipping to preserve pv colors. Modify swrast and X11 driver to expect the pv in the last vertex (was looking in the first vertex previously). Remove all handling of flatshading from swrast_setup. Allow drivers to override the unclipped render tabs in tnl_render_stage directly. (Like in 3.4). Removed fxsimplerender stage. Modified t_vb_rendertmp.h to remove the need for 'parity' arguments in RENDER_TRI macros.
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-2/+2
| | | | | | | Completely removed the dirty texture object list. Set texObj->Complete to GL_FALSE to indicate dirty. Made point/line/triangle/quad SWvertex parameters const. Minor code clean-ups.
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-2/+2
| | | | | | | | | | | | into a new directory. Specifically the handling of changes to lighting lighting space (light in model vs. light in eye) have been revamped. Moved several derived values used only by swrast into that directory. Removed direct calls to swrast_flush() from vbrender.c -- pushed into ctx->Driver.RenderFinish. Optimized flat-shading case in swrast_setup.
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-83/+76
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+517