summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_aalinetemp.h
AgeCommit message (Collapse)Author
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-03-03swrast: Remove support for rendering antialiased lines into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-01-07mesa: Remove _Active and _UseTexEnvProgram flags from fragment programs.Eric Anholt
There was a note in state.c about _Active deserving to die, and there were potential issues with it due to i965 forgetting to set _UseTexEnvProgram. Removing both simplifies things. Reviewed-by: Brian Paul <brianp@vmware.com>
2007-11-30fix broken two-sided stencilBrian
2007-07-21Remove ctx->Point._Size and ctx->Line._Width.Brian
The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired.
2007-06-29simplify INIT_SPAN codeBrian
2007-05-29check for flat/smooth interp for generic/specular attribBrian
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-03-27Restore the UseTexEnvProgram logic.Brian
Was removed during glsl-compiler work. Still need to go back and revisit this because of the interaction with fragment shaders...
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-12-13Checkpoint for GLSL compiler changes.Brian
In brief: Check for enabled fragment program by looking at ctx->FragmentProgram._Current. New code for varying variables.
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.