summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aatritemp.h
AgeCommit message (Collapse)Author
2007-06-29simplify INIT_SPAN codeBrian
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-04-28additional checks that attr is a texcoordKeith Packard
2007-04-24s/DO_TEXVAR/DO_ATTRIBS/Brian
2007-04-23remove SWvertex->fog field, use attrib fieldBrian
2007-04-23Improve the code for interpolating fragment attributes a little. More to ↵Brian
come...
2007-02-05Merge SWvertex texcoord and varying fields into attrib[] array field.Brian
Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
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-01New SWspan and SWspanarrays typedefs.Brian Paul
2005-09-20compute z[i] as GLuintBrian Paul
2005-08-25removed GL_HP_occlusion_test extensionBrian Paul
2004-12-18Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul
2004-03-09remove unneeded castsBrian Paul
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2003-09-18s/_backface_sign/_BackfaceSign/Brian Paul
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-02-21use IROUND to convert depth values from float to int (bug 690728)Brian Paul
2003-01-28move ltor computationBrian Paul
2003-01-20use COPY_CHAN4 macroBrian Paul
2003-01-20use R/G/B/ACOMP indexes (Evgeny Kotsuba)Brian Paul
2003-01-14First batch of code for GL_NV_fragment_program.Brian Paul
Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
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-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-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.
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-07-13undo previous check-in (unfinished code)Brian Paul
2001-07-13assorted changes for supporting GLfloat color channels (not done)Brian Paul
2001-06-05minor clean-upsBrian Paul
2001-05-30GLubyte -> GLchan fixBrian Paul
2001-05-16use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul
2001-05-15Apply antialiasing coverage factor to alpha after texture application,Brian Paul
not before.
2001-05-15minor clean-ups and more commentsBrian Paul
2001-05-10redo previous change in a more defensive wayBrian Paul
2001-05-10added check for zero-length spans, avoids potential problems laterBrian Paul
2001-05-07sample plane equations at fragment centers, not lower-left cornerBrian Paul
2001-05-03interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul
2001-03-28check for startX off the right edge of the windowBrian 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-05Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell
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.
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.