aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aatriangle.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: s/INLINE/inline/Brian Paul2011-10-011-7/+7
| | | | | | | INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <[email protected]>
* swrast: simplify assertion to silence warningBrian Paul2011-04-051-6/+1
|
* mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlinesBrian Paul2011-03-111-1/+2
| | | | and rename them.
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-3/+3
|
* swrast: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* swrast: remove unused compute_coveragei() functionBrian Paul2010-03-171-82/+0
|
* swrast: Remove support for rendering antialiased triangles into a ↵Ian Romanick2010-03-031-19/+1
| | | | | | color-index buffer Signed-off-by: Ian Romanick <[email protected]>
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-6/+6
| | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-65/+24
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* s/DO_TEXVAR/DO_ATTRIBS/Brian2007-04-241-2/+2
|
* Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-44/+8
| | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* remove unneeded #includeBrian Paul2005-11-051-1/+0
|
* Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul2004-12-181-2/+2
|
* Update NEED_SECONDARY_COLOR macro to test if either vertex/fragmentBrian Paul2003-12-091-0/+1
| | | | | programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian.
* Assorted casts to silence g++ warnings.Brian Paul2003-09-191-0/+1
|
* Add include for context.h to define NEED_SECONDARY_COLOR.Karl Schultz2003-09-191-0/+1
|
* Move away from using the ctx->_TriangleCaps bitfield.Brian Paul2003-09-181-1/+1
| | | | | New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING.
* Added ctx->Texture._EnabledCoordUnits bitfield.Brian Paul2003-04-081-5/+3
| | | | | | Fixed some vertex array / vertex program glitches with glDrawElements. Fixed some fragment program runtime bugs. Non-trivial Cg programs are running now.
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-2/+2
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+1
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* optimize compute_coveragef (Evgeny Kotsuba)Brian Paul2003-01-251-18/+28
|
* improved solve_plane_chan() (Evgeny Kotsuba)Brian Paul2003-01-221-6/+10
|
* use COPY_CHAN4 macroBrian Paul2003-01-201-3/+4
|
* Header file clean-up:Brian Paul2002-10-241-2/+3
| | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
* Add casts to quiet compiler warnings.Karl Schultz2002-10-181-3/+3
|
* Implemented GL_NV_texture_rectangle extension.Brian Paul2002-06-151-4/+4
| | | | | | | | | Replace struct gl_texure_object's Dimension w/ Target field. Added _EnabledUnits to struct gl_texture_attrib - the _ReallyEnabled field is obsolete, but still present for now. This effectively removes the 8-texture units limit, 32 units now possible, but unlikely! New TEXTURE_1D/2D/3D/CUBE/RECT_BIT tokens for unit->_ReallyEnabled field. Updated device drivers to use ctx->Texture._EnabledUnits.
* New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul2002-03-161-17/+29
| | | | | result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
* LOTS of changes, building upon Klaus's work.Brian Paul2002-01-271-1/+2
| | | | | struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
* first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul2001-12-171-5/+12
|
* improved AA subpixel sample positions (Ray Tice)Brian Paul2001-11-131-38/+51
|
* silence compiler warnings (last batch for src)Karl Schultz2001-09-191-2/+2
|
* removed unused varBrian Paul2001-05-291-2/+1
|
* Fix order of decomposition of quad.Keith Whitwell2001-05-171-3/+3
| | | | Remove 'swrast->_MultiTexEnabled' derived value.
* use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul2001-05-161-1/+2
|
* minor clean-ups and more commentsBrian Paul2001-05-151-1/+7
|
* fixed some divide by zero problems found w/ conformBrian Paul2001-05-101-2/+5
|
* fixed some divide by zero conformance problemsBrian Paul2001-04-101-4/+7
|
* Removed DD_Z_NEVER.Brian Paul2001-03-291-2/+2
| | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE.
* adjustment to coverage sample positionsBrian Paul2001-03-281-32/+33
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-2/+2
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-5/+5
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-2/+2
| | | | of potential problems
* Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR whenKeith Whitwell2001-02-161-10/+7
| | | | | | | | | | | | | texturing is not enabled, and without requiring the two colors be added externally. As a part of this, collapsed the decomposition of quads into triangles inside swrast to be hardwired into _swrast_Quad; removed s_quads.[ch]. Removed checks on texture state from t_vb_light.c, which was previously required by swrast. Moved the t_dd_ templates to a new directory.
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-3/+3
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Removed fixed.h (GLfixed now in mtypes.h, fixed-pt macros in mmath.h)Brian Paul2001-01-021-1/+2
| | | | | Clean-up of color conversion macros. New mmath.h macros (IROUND, IFLOOR, ICEIL, FRAC) used in various places.
* Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars.Brian Paul2000-11-191-19/+19
| | | | | | | 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.
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-3/+4
| | | | | | | | | | | | 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.
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-18/+39
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+413