summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_tritemp.h
AgeCommit message (Collapse)Author
2004-03-09Fix color index mode rendering.Brian Paul
Changed SWvertex's index field to GLfloat and fix a few other bits.
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.
2004-02-17Added TRIANGLE_WALK_DOUBLE to optionally walk triangle edges with GLdoublesBrian Paul
instead of GLfixed. (Justin Novosad)
2004-02-15some code clean-upsBrian Paul
2004-02-15Minor clean-ups of variable scopes, initializations, etc.Brian Paul
New comments discussing FIXED_FRAC_BITS, SUB_PIXEL_BITS, max viewport size and rasterization accuracy.
2003-12-13init vars to silence warningsBrian Paul
2003-09-18s/_backface_sign/_BackfaceSign/Brian Paul
2003-08-30Silence compiler warnings about implicit casts or conversions by supplying ↵Karl Schultz
explicit casts and/or tweaking constant and variable definitions.
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-04-08Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul
Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul
2003-03-16Store partial derivative values in sw_span structure.Brian Paul
Implemented DDX and DDY fragment program instructions (whew!) Not fully tested yet.
2003-03-16use TEX_UNIT_LOOP macro to coalesce some codeBrian Paul
2003-03-16clean-ups, re-org in preparation for fragment program workBrian Paul
2003-03-04fix GLchan=GLfloat problemsBrian Paul
2003-01-20fix IBM CPP warning (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-11-13moved function declaration into the template, define the NAME to specify the ↵Brian Paul
function names
2002-10-17patches from Gerk Huisma for float-channel renderingBrian Paul
2002-10-02finished up GL_EXT_stencil_two_sideBrian Paul
2002-08-07re-check-in - something didn't work on the previous check-inBrian Paul
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.