summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_tritemp.h
AgeCommit message (Collapse)Author
2002-04-19Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
2002-04-12Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul
type, width, interp mask and array mask.
2002-03-16New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul
result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
2002-03-01silence gcc warnings (Marc La France)Brian Paul
2002-01-28Still more texture/span simplification and clean-up.Brian Paul
Updated comments, fixed indentation, etc.
2002-01-28More span improvements. Removed _mesa_write_monocolor_span().Brian Paul
Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
2002-01-27LOTS of changes, building upon Klaus's work.Brian Paul
struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
2001-12-17added some debug printfs (disabled)Brian Paul
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul
2001-12-05add inf and nan tests to swrast functionsKeith Whitwell
2001-09-19silence compiler warnings (last batch for src)Karl Schultz
2001-09-13minor optimizations for flat shading (Klaus Niederkrueger)Brian Paul
2001-09-13replaced some tabs with spacesBrian Paul
2001-08-14Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now.Brian Paul
2001-07-26Applied Klaus Niederkrueger's latest flat-shading clean-ups and some of my own.Brian Paul
2001-07-14more work on float colors (still not finished)Brian Paul
2001-07-14removed unused tiny triangle test codeBrian Paul
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-06-13fixed a +/- typo in the Y coord setupBrian Paul
2001-06-12Snap triangle x,y vertices to 1/16 subpixel positions.Brian Paul
Disabled tiny triangle threshold test.
2001-05-16use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul
2001-05-14New triangle rasterization code. Store per-span initial/step values in theBrian Paul
new triangle_span struct. Much cleaner code and possibilities for future optimizations.
2001-05-03interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-08do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is definedBrian Paul
2001-03-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03optimized lambda calculation (Klaus Niederkrueger)Brian Paul
2001-02-12fixed RGB over/underflow bug for tiny triangles (bug 128969)Brian Paul
2001-02-06Overhaul of texture image handling.Brian Paul
1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet.
2001-01-29optimized lambda computation (Klaus Niederkrueger)Brian Paul
2001-01-23Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul
Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
2000-12-08minor comments, clean-upBrian Paul
2000-11-21minor clean-ups (Klaus Niederkrueger)Brian Paul
2000-11-19Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul
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.
2000-11-13Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell
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.
2000-11-05Reorganized software rasterizer as a module which manages its own state,Keith Whitwell
with tighter interfaces with the rest of the world. Proper documentation to come.
2000-10-31Moved software rasterizer functionality to new directory.Keith Whitwell