summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_zoom.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'origin' into glsl-compiler-1Brian2007-02-221-6/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * silence C++ warningsBrian2007-01-231-8/+8
| |
* | New span attrStart/attrStepX/attrStepY fields to replace fog, specular, etc. ↵Brian2007-02-021-2/+3
| | | | | | | | fields. More to come.
* | New SWspanarrays attribs[] array.Brian2007-02-011-5/+5
|/ | | | | | | 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.
* use GLvoid * for _swrast_write_zoomed_rgb/rgba_span() functionsBrian Paul2006-10-111-7/+5
|
* support for runtime renderbuffer depthsBrian Paul2006-10-111-24/+81
|
* New SWspan and SWspanarrays typedefs.Brian Paul2006-10-011-7/+7
|
* Initial work for supporting different renderbuffer color depths at runtime.Brian Paul2006-09-251-0/+12
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-161-2/+1
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* Rewrite much of the pixel zoom code.Brian Paul2005-09-291-271/+218
| | | | Zoomed DrawPixels of packed depth/stencil works now.
* Initial work for GL_EXT_packed_depth_stencil extension.Brian Paul2005-09-281-5/+30
| | | | glReadPixels done, glDrawPixels mostly done.
* replace GLdepth with GLuint and remove GLdepthBrian Paul2005-09-211-4/+3
|
* glDrawPixels(GL_DEPTH_COMPONENT) with glPixelZoom didn't workBrian Paul2003-08-231-15/+74
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-1/+0
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-10/+10
|
* Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch]Brian Paul2003-03-011-2/+2
| | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h
* casts to silence g++ warningsBrian Paul2003-02-251-5/+5
|
* fix zoom/clipping bug 689964Brian Paul2003-02-211-1/+6
|
* fixed bad zoomed.zStep assignment (bug 687811)Brian Paul2003-02-171-3/+3
|
* properly handle very wide imagesBrian Paul2002-12-051-22/+41
|
* Header file clean-up:Brian Paul2002-10-241-2/+2
| | | | | | | | 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.
* struct sw_span is again allocated on the stack, but the arrays of spanBrian Paul2002-08-071-20/+23
| | | | | | | 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.
* Allocate a sw_span struct in the swrast context instead of allocating itBrian Paul2002-04-191-2/+2
| | | | | 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 mismatchesBrian Paul2002-04-191-11/+12
|
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-4/+5
| | | | type, width, interp mask and array mask.
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-1/+4
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* Clean-up and optimize alpha test code.Brian Paul2002-01-311-345/+165
| | | | Major clean-up of pixel zoom code.
* More span improvements. Removed _mesa_write_monocolor_span().Brian Paul2002-01-281-9/+3
| | | | | Removed last of span.filled* flags and Klaus's macros. More simplification of triangle functions.
* More span clean-up, mostly texture-related.Brian Paul2002-01-281-4/+3
| | | | | _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 Paul2002-01-271-66/+90
| | | | | 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-upBrian Paul2002-01-211-38/+86
|
* first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul2001-12-171-8/+8
|
* Apply antialiasing coverage factor to alpha after texture application,Brian Paul2001-05-151-5/+4
| | | | not before.
* interpolate fog valus as floats, not fixed - fixed the swrast fog problemBrian Paul2001-05-031-7/+7
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-9/+9
|
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-19/+19
|
* Reorganized software rasterizer as a module which manages its own state,Keith Whitwell2000-11-051-1/+2
| | | | | | with tighter interfaces with the rest of the world. Proper documentation to come.
* Moved software rasterizer functionality to new directory.Keith Whitwell2000-10-311-0/+453