summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_fog.c
AgeCommit message (Collapse)Author
2010-03-03swrast: Remove _swrast_fog_ci_span and associated codeIan Romanick
After all the recent color-index rendering removal, _swrast_fog_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-01-27swrast: silence double->float assignment warningsBrian Paul
Reported by Karl Schultz.
2009-01-30swrast: replace macro with inline functionBrian Paul
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2007-10-24Implement gl_PointCoord attribute for GLSL fragment shaders.Brian
Contains the normalized fragment position within a point sprite.
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-02-02Replace color, z, w, texture interpolants with new generic attrib interpolants.Brian
2007-02-02New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian
fields. More to come.
2007-02-01New SWspanarrays attribs[] array.Brian
Replace texcoord[], varying[], etc. arrays with single attribs[] array, indexed by FRAG_ATTRIB_* values. Eliminates need to copy data into fragment program machine input registers. Will lead to future clean-ups.
2006-10-19remove temp codeBrian Paul
2006-10-17fix fog color bugBrian Paul
2006-10-01New SWspan and SWspanarrays typedefs.Brian Paul
2006-09-25Initial work for supporting different renderbuffer color depths at runtime.Brian Paul
2005-09-19additional wrapper updates, bug 4468Brian Paul
2005-01-17use FABSF(fogCoord) to fix fog calculation problem (Soju Matsumoto)Brian Paul
2004-10-13Fix minor fog / fragment program state bug.Brian Paul
Don't add diffuse and specular colors when using fragment program.
2004-02-17A few more tweaks to fog code.Brian Paul
Remove unneeded FABSF() macros. Added blend factor clamping in a few spots.
2004-02-17A bit of an overhaul of the fog code.Brian Paul
glFogCoord didn't always work reliably. ARB fragment program fog options work now. Per-fragment fog computations are now perspective corrected.
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul
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.
2002-02-17Simplified fog code.Brian Paul
2002-02-02Converted line drawing over to new span code, pb no longer used.Brian Paul
Big clean-up of line drawing code. Removed many obsolete span processing functions.
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-28More span clean-up, mostly texture-related.Brian Paul
_mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
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.
2002-01-21Klaus's latest patches and some clean-upBrian Paul
2001-12-18Replace old matrix stacks with new code based on struct matrix_stack.Brian Paul
Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates).
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul
2001-09-19silence compiler warnings (last batch for src)Karl Schultz
2001-06-18fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.Brian Paul
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-07fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul
of potential problems
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-01-03added divide by zero checksBrian Paul
2001-01-03More color macro clean-ups.Brian Paul
FLOAT_TO_CHAN() macro removed.
2001-01-02minor GLchan-related changesBrian Paul
2000-12-15minor fog clean-ups (Klaus Niederkrueger)Brian Paul
2000-12-13replaced GLfixed with GLfloat in _mesa_fog_ci_pixels() (Klaus Niederkrueger)Brian Paul
2000-11-15rewrite of _mesa_win_fog_coords_from_z() so that both perspective and ↵Brian Paul
orthographic projection are handled correctly
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