summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_zoom.c
AgeCommit message (Collapse)Author
2008-09-18mesa: prefix a bunch of #include lines with "main/".Brian Paul
This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code...
2008-06-16mesa: allocate pixel zoom arrays on heap, not stackBrian Paul
Fixes stack overflow on Windows.
2007-06-29simplify INIT_SPAN codeBrian
2007-06-29Undo some prev glDraw/CopyPixel changes which fixed a bug in which colors ↵Brian
were overwritten by interpolating attributes. Now just set the span->arrayAttribs mask in glDraw/CopyPixels and be sure we don't overwrite the values in interpolate_active_attribs().
2007-06-21fix rgba pointer bug hit on zoomed+fogged glDrawPixelsBrian
2007-06-20copy wpos attrib info into zoomed span (fixes fog perspective correction ↵Brian
problem)
2007-05-20Overhaul/simplify SWvertex and SWspan attribute handling.Brian
Instead of separate fog/specular/texcoord/varying code, just treat all of them as generic attributes. Simplifies the point/line/triangle functions.
2007-04-14fix negative zoom factor bug (10636), more commentsBrian
2007-04-07fix references to non-existant sz4 fieldRichard Hughes
2007-02-22Merge branch 'origin' into glsl-compiler-1Brian
Conflicts: src/mesa/main/state.c src/mesa/shader/program.c src/mesa/shader/program.h src/mesa/shader/programopt.c src/mesa/shader/slang/slang_execute.c src/mesa/sources src/mesa/swrast/s_arbshader.c src/mesa/swrast/s_context.c src/mesa/swrast/s_span.c src/mesa/swrast/s_zoom.c src/mesa/tnl/t_context.c src/mesa/tnl/t_save_api.c src/mesa/tnl/t_vb_arbprogram.c src/mesa/tnl/t_vp_build.c src/mesa/tnl/t_vtx_eval.c
2007-02-02New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian
fields. More to come.
2007-02-01New SWspanarrays attribs[] array.Brian
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.
2007-01-23silence C++ warningsBrian
2006-10-11use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functionsBrian Paul
2006-10-11support for runtime renderbuffer depthsBrian Paul
2006-10-01New SWspan and SWspanarrays typedefs.Brian Paul
2006-09-25Initial work for supporting different renderbuffer color depths at runtime.Brian Paul
2005-11-16Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul
Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
2005-09-29Rewrite much of the pixel zoom code.Brian Paul
Zoomed DrawPixels of packed depth/stencil works now.
2005-09-28Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul
glReadPixels done, glDrawPixels mostly done.
2005-09-21replace GLdepth with GLuint and remove GLdepthBrian Paul
2003-08-23glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't workBrian Paul
2003-06-05Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick
2003-03-25replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul
2003-03-01Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul
Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
2003-02-25casts to silence g++ warningsBrian Paul
2003-02-21fix zoom/clipping bug 689964Brian Paul
2003-02-17fixed bad zoomed.zStep assignment (bug 687811)Brian Paul
2002-12-05properly handle very wide imagesBrian 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-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-04-19Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul
on the stack frame in the point/line/triangle functions. (Klaus Niederkrueger) This should solve the performance problem Karl found on Windows.
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-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-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
2001-12-17first checkpoint commit of Klaus's new span code (struct sw_span)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-12Consistent copyright info (version number, date) across all files.Gareth Hughes
2001-03-03lots of gl_*() to _mesa_*() namespace clean-upBrian Paul
2000-11-05Reorganized software rasterizer as a module which manages its own state,Keith Whitwell
with tighter interfaces with the rest of the world. Proper documentation to come.
2000-10-31Moved software rasterizer functionality to new directory.Keith Whitwell