Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | don't use rgba_line() if CHAN_BITS==32 | Brian | 2007-07-26 | 1 | -1/+5 |
| | |||||
* | Remove ctx->Point._Size and ctx->Line._Width. | Brian | 2007-07-21 | 1 | -7/+9 |
| | | | | | | The clamping for these values depends on whether we're drawing AA or non-AA points, lines. Defer clamping until drawing time. Drivers could compute and keep clamped AA and clamped non-AA values if desired. | ||||
* | Overhaul/simplify SWvertex and SWspan attribute handling. | Brian | 2007-05-20 | 1 | -60/+52 |
| | | | | | Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions. | ||||
* | trim down the number of line drawing functions, special cases | Brian | 2007-04-24 | 1 | -36/+5 |
| | |||||
* | fix varying interpolation | Brian | 2007-01-24 | 1 | -2/+5 |
| | |||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -1/+1 |
| | |||||
* | remove unneeded #include | Brian Paul | 2005-11-05 | 1 | -1/+0 |
| | |||||
* | check swrast->_FogEnabled instead of ctx->Fog.Enabled | Brian Paul | 2005-10-31 | 1 | -3/+3 |
| | |||||
* | use clamped Line._Width in calculations | Keith Whitwell | 2004-12-29 | 1 | -6/+6 |
| | |||||
* | Consolidate _swrast_write_texture_span() into _swrast_write_rgba_span(). | Brian Paul | 2004-12-18 | 1 | -10/+6 |
| | |||||
* | Change the dispatch offsets for the VertexAttrib*NV functions so they don't | Brian Paul | 2004-11-27 | 1 | -1/+1 |
| | | | | | | | alias with the corresponding ARB functions. GL_ARB_vertex_shader (and OpenGL 2.0's) VertexAttrib functions don't alias with conventional vertex attributes, as GL_NV_vertex_program does. So, the ARB and NV version of VertexAttrib need to be distinct. | ||||
* | Update NEED_SECONDARY_COLOR macro to test if either vertex/fragment | Brian Paul | 2003-12-09 | 1 | -0/+1 |
| | | | | | programs are enabled and if they need secondary color input register. Patch by Karl Rasche, with tweaks by Brian. | ||||
* | Move away from using the ctx->_TriangleCaps bitfield. | Brian Paul | 2003-09-18 | 1 | -1/+2 |
| | | | | | New macros in context.h for testing state: NEED_SECONDARY_COLOR and NEED_TWO_SIDED_LIGHTING. | ||||
* | Silence compiler warnings about implicit casts or conversions by supplying ↵ | Karl Schultz | 2003-08-30 | 1 | -7/+5 |
| | | | | explicit casts and/or tweaking constant and variable definitions. | ||||
* | Added ctx->Texture._EnabledCoordUnits bitfield. | Brian Paul | 2003-04-08 | 1 | -4/+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 Paul | 2003-03-25 | 1 | -15/+15 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -2/+1 |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | ||||
* | fix an assertion | Brian Paul | 2003-01-20 | 1 | -3/+3 |
| | |||||
* | Overhaul of line drawing template code. Make better use of sw_span mechanism. | Brian Paul | 2002-11-14 | 1 | -646/+106 |
| | |||||
* | s/printf/_mesa_printf/ | Brian Paul | 2002-10-30 | 1 | -17/+17 |
| | |||||
* | struct sw_span is again allocated on the stack, but the arrays of span | Brian Paul | 2002-08-07 | 1 | -206/+256 |
| | | | | | | | 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. | ||||
* | Implemented GL_NV_texture_rectangle extension. | Brian Paul | 2002-06-15 | 1 | -3/+3 |
| | | | | | | | | | 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 | -205/+187 |
| | | | | | on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows. | ||||
* | casts to fix GLint/GLuint mismatches | Brian Paul | 2002-04-19 | 1 | -3/+5 |
| | |||||
* | Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive | Brian Paul | 2002-04-12 | 1 | -49/+57 |
| | | | | type, width, interp mask and array mask. | ||||
* | added SPAN_SPEC flag in smooth_multitextured_line() | Brian Paul | 2002-02-15 | 1 | -2/+2 |
| | |||||
* | Converted line drawing over to new span code, pb no longer used. | Brian Paul | 2002-02-02 | 1 | -726/+453 |
| | | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions. | ||||
* | changed PB (pixel buffer) to use texcoord[4] array | Brian Paul | 2002-01-16 | 1 | -47/+43 |
| | |||||
* | set PB->haveSpec in line functions that emit specular color | Brian Paul | 2002-01-16 | 1 | -1/+3 |
| | |||||
* | casts to silence warnings from gcc 2.96 | Brian Paul | 2001-11-06 | 1 | -2/+2 |
| | |||||
* | removed a semicolon in the USE() macro | Brian Paul | 2001-08-20 | 1 | -2/+2 |
| | |||||
* | new debugging code | Brian Paul | 2001-08-20 | 1 | -19/+39 |
| | |||||
* | check for PB overflow in general_flat_rgba_line() | Brian Paul | 2001-06-11 | 1 | -3/+10 |
| | |||||
* | fixed a number of multi-texture line bugs | Brian Paul | 2001-05-21 | 1 | -17/+13 |
| | |||||
* | Fix order of decomposition of quad. | Keith Whitwell | 2001-05-17 | 1 | -2/+2 |
| | | | | Remove 'swrast->_MultiTexEnabled' derived value. | ||||
* | interpolate fog valus as floats, not fixed - fixed the swrast fog problem | Brian Paul | 2001-05-03 | 1 | -9/+9 |
| | |||||
* | Removed DD_Z_NEVER. | Brian Paul | 2001-03-29 | 1 | -2/+2 |
| | | | | | | Replaced SEPERATE with SEPARATE. Renumbered _NEW_ flags. Removed _NEW_COLORTABLE. | ||||
* | Consistent copyright info (version number, date) across all files. | Gareth Hughes | 2001-03-12 | 1 | -6/+6 |
| | |||||
* | do fog interpolation if INTERP_FOG is defined, not when INTERP_Z is defined | Brian Paul | 2001-03-08 | 1 | -2/+25 |
| | |||||
* | lots of gl_*() to _mesa_*() namespace clean-up | Brian Paul | 2001-03-03 | 1 | -20/+20 |
| | |||||
* | Allow swrast to cope (fairly) cleanly with GL_SEPERATE_SPECULAR when | Keith Whitwell | 2001-02-16 | 1 | -4/+20 |
| | | | | | | | | | | | | | 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 Paul | 2001-01-23 | 1 | -3/+3 |
| | | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups. | ||||
* | Use correct pv in swrast lines routines | Keith Whitwell | 2001-01-13 | 1 | -9/+9 |
| | |||||
* | Modified Files: | Jouk Jansen | 2000-11-22 | 1 | -3/+3 |
| | | | | | | | | Mesa/src/descrip.mms Mesa/src/swrast/s_lines.c VMS compile support Added some Type casts to avoid warnings ---------------------------------------------------------------------- | ||||
* | Replaced Texture.CurrentD[] with separate Texture.Current1/2/3D vars. | Brian Paul | 2000-11-19 | 1 | -33/+33 |
| | | | | | | | 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. | ||||
* | Move the transform and lighting code to two new directories | Keith Whitwell | 2000-11-16 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | math: Provides basic matrix and vector functionality that might be useful to multiple software t&l implementations, and is used by core mesa to manage the Model, Project, etc matrices. tnl: The real transform & lighting code from core mesa, including everything from glVertex3f through vertex buffer handling, transformation, clipping, lighting and handoff to a driver for rasterization. The interfaces of these can be further tightened up, but the basic splitting up of state and code move is done. | ||||
* | Cleanup of derived state calculation prior to seperating software T&L | Keith Whitwell | 2000-11-13 | 1 | -2/+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. | ||||
* | minor changes to silence compiler warnings | Brian Paul | 2000-11-10 | 1 | -1/+3 |
| | |||||
* | hooked in new AA line code, minor clean-up | Brian Paul | 2000-11-05 | 1 | -181/+53 |
| | |||||
* | Reorganized software rasterizer as a module which manages its own state, | Keith Whitwell | 2000-11-05 | 1 | -242/+251 |
| | | | | | | with tighter interfaces with the rest of the world. Proper documentation to come. |