aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_alpha.c
Commit message (Collapse)AuthorAgeFilesLines
* mesa: prefix a bunch of #include lines with "main/".Brian Paul2008-09-181-4/+4
| | | | | 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-2/+2
| | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
* New SWspanarrays attribs[] array.Brian2007-02-011-1/+1
| | | | | | | 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.
* fixed Fixed/Int bugBrian Paul2006-10-191-2/+2
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-1/+1
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-167/+103
|
* 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-4/+4
|
* 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
* Changed a number of context fields from GLchan to GLfloat (such as ClearColor).Brian Paul2002-10-041-2/+4
| | | | | | Also changed parameter types for some driver functions (like ctx->Driver.Clear- Color). Updated all the device drivers. Someday, we want to support 8, 16 and 32-bit channels dynamically at runtime.
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-3/+3
| | | | | | | 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-7/+11
| | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
* Converted line drawing over to new span code, pb no longer used.Brian Paul2002-02-021-62/+1
| | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions.
* Clean-up and optimize alpha test code.Brian Paul2002-01-311-49/+157
| | | | Major clean-up of pixel zoom code.
* More span clean-up, mostly texture-related.Brian Paul2002-01-281-2/+2
| | | | | _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-7/+5
| | | | | struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
* Klaus's latest patches and some clean-upBrian Paul2002-01-211-6/+83
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-8/+8
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-2/+2
|
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-3/+2
| | | | | | | | | | | | 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.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+99