Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Still more texture/span simplification and clean-up. | Brian Paul | 2002-01-28 | 1 | -37/+6 |
| | | | | Updated comments, fixed indentation, etc. | ||||
* | More span improvements. Removed _mesa_write_monocolor_span(). | Brian Paul | 2002-01-28 | 1 | -37/+9 |
| | | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions. | ||||
* | More span clean-up, mostly texture-related. | Brian Paul | 2002-01-28 | 1 | -105/+16 |
| | | | | | _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 Paul | 2002-01-27 | 1 | -14/+31 |
| | | | | | 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-up | Brian Paul | 2002-01-21 | 1 | -27/+27 |
| | |||||
* | latest changes from Klaus | Brian Paul | 2002-01-16 | 1 | -10/+3 |
| | |||||
* | fixed GL_REPLACE / GL_RGB bug | Brian Paul | 2002-01-09 | 1 | -2/+7 |
| | |||||
* | texture env color wasn't used correctly in GL_BLEND mode | Brian Paul | 2002-01-09 | 1 | -15/+15 |
| | |||||
* | fix a comment typo | Brian Paul | 2001-12-19 | 1 | -2/+2 |
| | |||||
* | have to clamp color+specular in _swrast_add_spec_terms_triangle()! (fixes ↵ | Brian Paul | 2001-12-19 | 1 | -5/+38 |
| | | | | Chimera bug) | ||||
* | first checkpoint commit of Klaus's new span code (struct sw_span) | Brian Paul | 2001-12-17 | 1 | -141/+63 |
| | |||||
* | use v2 color, not v0 in flat_ci_triangle() | Brian Paul | 2001-11-28 | 1 | -2/+2 |
| | |||||
* | More span rendering optimizations from Klaus Niederkrueger | Brian Paul | 2001-11-19 | 1 | -336/+7 |
| | |||||
* | GL_ADD texture mode was incorrect, renamed some vars | Brian Paul | 2001-09-19 | 1 | -48/+49 |
| | |||||
* | silence compiler warnings (last batch for src) | Karl Schultz | 2001-09-19 | 1 | -14/+16 |
| | |||||
* | minor optimizations for flat shading (Klaus Niederkrueger) | Brian Paul | 2001-09-13 | 1 | -38/+79 |
| | |||||
* | Applied Klaus Niederkrueger's latest flat-shading clean-ups and some of my own. | Brian Paul | 2001-07-26 | 1 | -123/+7 |
| | |||||
* | GLchan and GL_ADD clamping changes (Klaus Niederkrueger) | Brian Paul | 2001-07-23 | 1 | -67/+68 |
| | |||||
* | more work on float colors (still not finished) | Brian Paul | 2001-07-14 | 1 | -31/+40 |
| | |||||
* | assorted changes for supporting GLfloat color channels (not done) | Brian Paul | 2001-07-13 | 1 | -40/+44 |
| | |||||
* | fixed flat shading bug in affine_ and persp_textured_triangle() functions | Brian Paul | 2001-07-09 | 1 | -12/+27 |
| | |||||
* | added missing \'s | Brian Paul | 2001-07-09 | 1 | -5/+5 |
| | |||||
* | optimized texture triangle updates (Klaus Niederkrueger) | Brian Paul | 2001-06-26 | 1 | -920/+289 |
| | |||||
* | Fix order of decomposition of quad. | Keith Whitwell | 2001-05-17 | 1 | -2/+2 |
| | | | | Remove 'swrast->_MultiTexEnabled' derived value. | ||||
* | use DEFARRAY, etc macros to work around 32k data limit on Macs (Tom Goon) | Brian Paul | 2001-05-16 | 1 | -13/+53 |
| | |||||
* | Apply antialiasing coverage factor to alpha after texture application, | Brian Paul | 2001-05-15 | 1 | -17/+17 |
| | | | | not before. | ||||
* | New triangle rasterization code. Store per-span initial/step values in the | Brian Paul | 2001-05-14 | 1 | -986/+944 |
| | | | | | new triangle_span struct. Much cleaner code and possibilities for future optimizations. | ||||
* | interpolate fog valus as floats, not fixed - fixed the swrast fog problem | Brian Paul | 2001-05-03 | 1 | -62/+57 |
| | |||||
* | Removed DD_Z_NEVER. | Brian Paul | 2001-03-29 | 1 | -2/+2 |
| | | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE. | ||||
* | simplify test for specific texture formats | Brian Paul | 2001-03-28 | 1 | -5/+6 |
| | |||||
* | More texture format updates. Drivers now need only plug an appropriate | Gareth Hughes | 2001-03-28 | 1 | -4/+4 |
| | | | | format into texImage->TexFormat, the rest is handled by core Mesa. | ||||
* | clean-up in _swrast_choose_triangle() | Brian Paul | 2001-03-22 | 1 | -68/+64 |
| | |||||
* | Split driver struct into swrast/tnl/core components. | Keith Whitwell | 2001-03-19 | 1 | -7/+8 |
| | |||||
* | Remove dead #define. | Keith Whitwell | 2001-03-17 | 1 | -2/+17 |
| | | | | | Add case for triangles culled front and back -- not handled by the culling code inside swrast triangle routines. | ||||
* | Consistent copyright info (version number, date) across all files. | Gareth Hughes | 2001-03-12 | 1 | -31/+31 |
| | |||||
* | do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined | Brian Paul | 2001-03-08 | 1 | -1/+16 |
| | |||||
* | More g++ warning fixes. Fixes for CHAN_BITS==16, it seems to work. | Brian Paul | 2001-03-08 | 1 | -2/+2 |
| | |||||
* | lots of gl_*() to _mesa_*() namespace clean-up | Brian Paul | 2001-03-03 | 1 | -53/+48 |
| | |||||
* | optimized lambda calculation (Klaus Niederkrueger) | Brian Paul | 2001-03-03 | 1 | -187/+164 |
| | |||||
* | Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when | Keith Whitwell | 2001-02-16 | 1 | -8/+28 |
| | | | | | | | | | | | | | 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. | ||||
* | added divide by zero checks | Brian Paul | 2001-02-07 | 1 | -9/+9 |
| | |||||
* | Overhaul of texture image handling. | Brian Paul | 2001-02-06 | 1 | -30/+20 |
| | | | | | | | | | | 1. gl_texture_image struct's Data pointer points to images in driver's format. 2. Added FetchTexel() function pointer to struct gl_texture_image. 3. Changed Driver Tex[Sub]Image functions, return void now. 4. Texture storage/fetch code in new texstore.c file. 5. Removed texture.[ch] - functions moved to state.c Note: FX driver updates not finished yet. | ||||
* | optimized lambda computation (Klaus Niederkrueger) | Brian Paul | 2001-01-29 | 1 | -10/+9 |
| | |||||
* | Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h. | Brian Paul | 2001-01-23 | 1 | -3/+3 |
| | | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups. | ||||
* | Remove 'pv' parameter from Line/Tri/Point funcs. The provoking vertex | Keith Whitwell | 2001-01-05 | 1 | -28/+28 |
| | | | | | | | | | | | | | | 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. | ||||
* | disabled two optimized textured triangle functions because of texcoord ↵ | Brian Paul | 2000-12-12 | 1 | -4/+8 |
| | | | | interpolation errors | ||||
* | minor clean-ups | Brian Paul | 2000-11-21 | 1 | -30/+27 |
| | |||||
* | Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars. | Brian Paul | 2000-11-19 | 1 | -67/+67 |
| | | | | | | | 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. | ||||
* | Removed Driver.Color() and Driver.Index() functions. | Brian Paul | 2000-11-14 | 1 | -19/+5 |
| | | | | | | Pass color or color index directly to WriteMono*() span functions. Updated current s/w drivers accordingly. Clean-up of X gc handling in XMesa driver. | ||||
* | Cleanup of derived state calculation prior to seperating software T&L | Keith Whitwell | 2000-11-13 | 1 | -3/+3 |
| | | | | | | | | | | | | 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. |