summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aalinetemp.h
AgeCommit message (Collapse)Author
2005-09-21replace GLdepth with GLuint and remove GLdepthBrian Paul
2005-05-04Add a facility to route all rasterization through a fragment programKeith Whitwell
which is automatically generated to match the current texture environment state. Introduces a new value ctx->FragmentProgram._Active which is true when either _Enabled is true or there is such a fragment program ready to run. To test out on a driver running the software rasterizer, set MESA_TEX_PROG=t in the environment. It goes without saying that performance is lower for the software rasterizer in this mode.
2004-12-29use clamped Line._Width in calculationsKeith Whitwell
2004-12-18Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul
2004-12-16fix typos in texcoord setup - fixes perspective correction bugBrian Paul
2004-03-09Fix color index mode rendering.Brian Paul
Changed SWvertex's index field to GLfloat and fix a few other bits.
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
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-04added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)Brian Paul
2003-02-21use IROUND to convert depth values from float to int (bug 690728)Brian Paul
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-28reset span.end to zero after rendering the spanBrian 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-02-02sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul
ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
2001-12-05add inf and nan tests to swrast functionsKeith Whitwell
2001-09-19silence compiler warnings (last batch for src)Karl Schultz
2001-09-18more compiler warning fixesKarl Schultz
2001-05-21fixed a number of multi-texture line bugsBrian Paul
2001-05-17removed (void) index; statementBrian Paul
2001-05-15Apply antialiasing coverage factor to alpha after texture application,Brian Paul
not before.
2001-05-10fixed some divide by zero problems found w/ conformBrian 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-01-29last segment of AA stippled lines wasn't drawnBrian 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.
2001-01-04added divide by zero checkBrian 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-05New implementation of antialiased lines. Mesa should now pass the remainingBrian Paul
GL conformance tests for AA lines (but not tried yet). TODO: improve code sharing with the AA triangle code.