summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aalinetemp.h
Commit message (Collapse)AuthorAgeFilesLines
* Add a facility to route all rasterization through a fragment programKeith Whitwell2005-05-041-2/+2
| | | | | | | | | | | 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.
* use clamped Line._Width in calculationsKeith Whitwell2004-12-291-1/+1
|
* Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul2004-12-181-12/+24
|
* fix typos in texcoord setup - fixes perspective correction bugBrian Paul2004-12-161-7/+7
|
* Fix color index mode rendering.Brian Paul2004-03-091-5/+8
| | | | Changed SWvertex's index field to GLfloat and fix a few other bits.
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-2/+2
| | | | array, texObj->Image[face][level].
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-7/+7
|
* added _mesa_inv_sqrtf() and INV_SQRTF() (Josh Vanderhoof)Brian Paul2003-03-041-2/+2
|
* use IROUND to convert depth values from float to int (bug 690728)Brian Paul2003-02-211-4/+4
|
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-40/+39
| | | | | | | 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.
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-40/+40
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-9/+9
| | | | type, width, interp mask and array mask.
* reset span.end to zero after rendering the spanBrian Paul2002-03-281-1/+2
|
* Converted line drawing over to new span code, pb no longer used.Brian Paul2002-02-021-3/+3
| | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions.
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-71/+61
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* add inf and nan tests to swrast functionsKeith Whitwell2001-12-051-2/+2
|
* silence compiler warnings (last batch for src)Karl Schultz2001-09-191-3/+3
|
* more compiler warning fixesKarl Schultz2001-09-181-2/+2
|
* fixed a number of multi-texture line bugsBrian Paul2001-05-211-8/+7
|
* removed (void) index; statementBrian Paul2001-05-171-3/+1
|
* Apply antialiasing coverage factor to alpha after texture application,Brian Paul2001-05-151-13/+10
| | | | not before.
* fixed some divide by zero problems found w/ conformBrian Paul2001-05-101-9/+7
|
* interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul2001-05-031-4/+4
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-6/+6
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-4/+4
| | | | of potential problems
* last segment of AA stippled lines wasn't drawnBrian Paul2001-01-291-1/+6
|
* Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertexKeith Whitwell2001-01-051-9/+9
| | | | | | | | | | | | | | 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.
* added divide by zero checkBrian Paul2001-01-041-3/+9
|
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-2/+2
| | | | | | | 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.
* New implementation of antialiased lines. Mesa should now pass the remainingBrian Paul2000-11-051-0/+322
GL conformance tests for AA lines (but not tried yet). TODO: improve code sharing with the AA triangle code.