Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer() | Brian Paul | 2002-07-09 | 1 | -6/+6 | |
| | | | | | indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details. | |||||
* | Implemented GL_NV_texture_rectangle extension. | Brian Paul | 2002-06-15 | 1 | -7/+8 | |
| | | | | | | | | | 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. | |||||
* | Allocate a sw_span struct in the swrast context instead of allocating it | Brian Paul | 2002-04-19 | 1 | -57/+57 | |
| | | | | | 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 primitive | Brian Paul | 2002-04-12 | 1 | -9/+9 | |
| | | | | type, width, interp mask and array mask. | |||||
* | removed a bad assertion | Brian Paul | 2002-03-25 | 1 | -2/+1 | |
| | ||||||
* | New mipmap lambda calculation. Previously, trilinear filtering could | Brian Paul | 2002-03-16 | 1 | -56/+15 | |
| | | | | | result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c | |||||
* | sw_span can now hold x/y arrays of fragment positions - getting ready to | Brian Paul | 2002-02-02 | 1 | -7/+11 | |
| | | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions. | |||||
* | don't use affine/persp_textured_triangle funcs when CHAN_BITS > 8 | Brian Paul | 2002-01-30 | 1 | -3/+3 | |
| | ||||||
* | 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. |