summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_span.c
AgeCommit message (Collapse)Author
2002-11-09fix float->int Z calculation in _mesa_span_default_z()Brian Paul
2002-10-30s/BZERO/_mesa_bzero/Brian Paul
2002-10-24Header file clean-up:Brian Paul
1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc.
2002-10-11Another round of glRead/DrawBuffer() clean-ups and simplifications.Brian Paul
Replaced ctx->Color._DriverDrawBuffer with swrast->CurrentBuffer. Replaced ctx->Pixel._DriverReadBuffer with ctx->Pixel._ReadSrcMask. swrast->Driver.SetBuffer() takes FRONT/BACK_LEFT/RIGHT_BIT values now. Added tokens and code for GL_AUX buffers, for completeness.
2002-10-02finished up GL_EXT_stencil_two_sideBrian Paul
2002-09-06GL_EXT_stencil_two_side extension, not 100% complete yet.Brian Paul
2002-08-07struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul
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.
2002-07-09Overhaul of glRead/DrawBuffer() code. Now, swrast->Driver.SetBuffer()Brian Paul
indicates the read AND draw color buffer for all software rasterization. Lots of related clean-ups. See RELNOTES-4.1 for details.
2002-06-15Implemented GL_NV_texture_rectangle extension.Brian Paul
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.
2002-06-15Added ctx parameter to _mesa_debug()Brian Paul
Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes.
2002-05-02Implemented GL_ARB_texture_env_crossbar.Brian Paul
Simplification of some of the texture application code.
2002-04-20fixed Width/Height cut&paste typoBrian Paul
2002-04-19removed a stray debug printfBrian Paul
2002-04-19casts to fix GLint/GLuint mismatchesBrian Paul
2002-04-12Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul
type, width, interp mask and array mask.
2002-03-16New mipmap lambda calculation. Previously, trilinear filtering couldBrian Paul
result in _very_ blurry textures. Still need to do some optimization of the new code in s_span.c
2002-02-17Simplified fog code.Brian Paul
2002-02-17Optimized the interpolate_texcoords() function:Brian Paul
Use fast approximation to log(). Check for dq==0 to avoid a per-pixel divide.
2002-02-15GL_ARB_window_pos fog fixBrian Paul
2002-02-14minor clean-upBrian Paul
2002-02-06added an assertion, fix typoBrian Paul
2002-02-04Clean-up and remove dead code related to depth/stecil testing.Brian Paul
2002-02-02Converted line drawing over to new span code, pb no longer used.Brian Paul
Big clean-up of line drawing code. Removed many obsolete span processing functions.
2002-02-02sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul
ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
2002-01-31Clean-up and optimize alpha test code.Brian Paul
Major clean-up of pixel zoom code.
2002-01-28Still more texture/span simplification and clean-up.Brian Paul
Updated comments, fixed indentation, etc.
2002-01-28More span improvements. Removed _mesa_write_monocolor_span().Brian Paul
Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
2002-01-28More span clean-up, mostly texture-related.Brian Paul
_mesa_rasterize_span() is gone, replaced by new _mesa_write_textured_span(). Removed some unneeded triangle functions - more simplification possible.
2002-01-27LOTS of changes, building upon Klaus's work.Brian Paul
struct sw_span is used throughout span/fragment processing. This is leading to less code and more chances for optimization.
2002-01-21Klaus's latest patches and some clean-upBrian Paul
2002-01-16latest changes from KlausBrian Paul
2002-01-10Klaus's latest patches: change texcoord[3] to texcoord[4] everywhereBrian Paul
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul
2001-11-19More span rendering optimizations from Klaus NiederkruegerBrian Paul
2001-10-17added a few commentsBrian Paul
2001-08-14Fixes for 32-bit GLchans: smooth/flat/textured triangles seem to work now.Brian Paul
2001-07-23don't clamp colors if GLchan==GLfloat in add_colors()Brian Paul
2001-06-18fix glDraw/CopyPixels w/ fog bug. minor fog code clean-ups.Brian Paul
2001-05-15Apply antialiasing coverage factor to alpha after texture application,Brian Paul
not before.
2001-05-03interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul
2001-03-19Split driver struct into swrast/tnl/core components.Keith Whitwell
2001-03-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2001-02-20Implemented GL_SGIX_shadow and GL_SGIX_shadow_texture.Brian Paul
Added some const keywords in the s/w texturing code.
2001-02-15minor scissor optimizations (Klaus Niederkrueger)Brian Paul
2001-02-14removed a misplaced _mesa_logicop_ci_span() callBrian Paul
2001-01-05Fixed bug in MinMagThresh computation.Brian Paul
Renamed gl_texture_pixels() to _swrast_texture_fragments()
2000-12-12clipping, fog, texture optimizations (Klaus Niederkrueger)Brian Paul
2000-11-14Removed Driver.Color() and Driver.Index() functions.Brian Paul
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.
2000-11-13Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell
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.