summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_aatritemp.h
Commit message (Collapse)AuthorAgeFilesLines
* swrast: define, use SWRAST_MAX_WIDTH/HEIGHTBrian Paul2012-02-241-1/+1
| | | | We'll get rid of MAX_WIDTH, MAX_HEIGHT soon.
* swrast: initial multi-threaded span renderingAndreas Fänger2011-08-111-30/+42
| | | | | | | | Optional parallel rendering of spans using OpenMP. Initial implementation for aa triangles. A new option for scons is also provided to activate the openmp support (off by default). Signed-off-by: Brian Paul <[email protected]>
* Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg2010-10-131-1/+1
|
* swrast: Remove support for rendering antialiased triangles into a ↵Ian Romanick2010-03-031-52/+0
| | | | | | color-index buffer Signed-off-by: Ian Romanick <[email protected]>
* mesa: Fix compiler warningsKarl Schultz2010-02-131-2/+2
| | | | | Add explicit casts, fix constant types, fix variable types. Fixes about 340 warnings in MSFT Visual Studio.
* swrast: silence double->float assignment warningsBrian Paul2010-01-271-4/+4
| | | | Reported by Karl Schultz.
* fix broken two-sided stencilBrian2007-11-301-1/+4
|
* fix out-of-bounds array index (ix=-1)Brian2007-11-191-2/+3
|
* simplify INIT_SPAN codeBrian2007-06-291-1/+2
|
* Overhaul/simplify SWvertex and SWspan attribute handling.Brian2007-05-201-181/+68
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* additional checks that attr is a texcoordKeith Packard2007-04-281-3/+3
|
* s/DO_TEXVAR/DO_ATTRIBS/Brian2007-04-241-9/+9
|
* remove SWvertex->fog field, use attrib fieldBrian2007-04-231-1/+5
|
* Improve the code for interpolating fragment attributes a little. More to ↵Brian2007-04-231-76/+60
| | | | come...
* Merge SWvertex texcoord and varying fields into attrib[] array field.Brian2007-02-051-130/+87
| | | | | Fragment texcoords and varying code is now unified in the point/line/triangle rasterization code. In the future, merge color, fog, etc. attribs.
* New SWspanarrays attribs[] array.Brian2007-02-011-19/+20
| | | | | | | 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.
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-5/+5
|
* compute z[i] as GLuintBrian Paul2005-09-201-2/+2
|
* removed GL_HP_occlusion_test extensionBrian Paul2005-08-251-6/+2
|
* Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span().Brian Paul2004-12-181-11/+6
|
* remove unneeded castsBrian Paul2004-03-091-2/+2
|
* Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell2004-01-271-2/+2
| | | | array, texObj->Image[face][level].
* s/_backface_sign/_BackfaceSign/Brian Paul2003-09-181-1/+1
|
* 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
|
* use IROUND to convert depth values from float to int (bug 690728)Brian Paul2003-02-211-3/+3
|
* move ltor computationBrian Paul2003-01-281-2/+2
|
* use COPY_CHAN4 macroBrian Paul2003-01-201-3/+3
|
* use R/G/B/ACOMP indexes (Evgeny Kotsuba)Brian Paul2003-01-201-9/+9
|
* First batch of code for GL_NV_fragment_program.Brian Paul2003-01-141-7/+8
| | | | | Re-org of some GL_NV_vertex_program code. Replace MAX_TEXTURE_UNITS with MAX_TEXTURE_COORD_UNITS and MAX_TEXTURE_IMAGE_UNITS.
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-75/+79
| | | | | | | 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-76/+75
| | | | | 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.
* New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul2002-03-161-10/+13
| | | | | result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
* More span improvements. Removed _mesa_write_monocolor_span().Brian Paul2002-01-281-2/+1
| | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
* More span clean-up, mostly texture-related.Brian Paul2002-01-281-91/+39
| | | | | _mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
* LOTS of changes, building upon Klaus's work.Brian Paul2002-01-271-70/+106
| | | | | 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-137/+107
|
* add inf and nan tests to swrast functionsKeith Whitwell2001-12-051-2/+2
|
* silence compiler warnings (last batch for src)Karl Schultz2001-09-191-4/+4
|
* undo previous check-in (unfinished code)Brian Paul2001-07-131-274/+246
|
* assorted changes for supporting GLfloat color channels (not done)Brian Paul2001-07-131-246/+274
|
* minor clean-upsBrian Paul2001-06-051-11/+10
|
* GLubyte -> GLchan fixBrian Paul2001-05-301-3/+3
|
* use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon)Brian Paul2001-05-161-13/+41
|
* Apply antialiasing coverage factor to alpha after texture application,Brian Paul2001-05-151-49/+62
| | | | not before.
* minor clean-ups and more commentsBrian Paul2001-05-151-10/+31
|
* redo previous change in a more defensive wayBrian Paul2001-05-101-5/+7
|
* added check for zero-length spans, avoids potential problems laterBrian Paul2001-05-101-1/+7
|
* sample plane equations at fragment centers, not lower-left cornerBrian Paul2001-05-071-37/+41
|