aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_depth.c
Commit message (Collapse)AuthorAgeFilesLines
...
* remove unused varBrian Paul2006-04-061-2/+0
|
* Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format.Brian Paul2006-04-061-2/+81
| | | | | | | This allows render to depth texture (we don't support floating pt. Z buffers). Rename MESA_FORMAT_DEPTH_COMPONENT16/32 as MESA_FORMAT_Z16/32. Software fallback for glCopyTexImage now uses integer temporary image instead of float, eliminates a lot of float/int conversions.
* fix a GLuint vs GLushort test, new assertionsBrian Paul2006-03-291-1/+4
|
* C++ fixes, mostly casts (Stephane Conversy)Brian Paul2005-12-061-2/+2
|
* Use new gl_framebuffer _Depth/_StencilBuffer fields instead ofBrian Paul2005-11-161-3/+3
| | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points.
* minor improvementsBrian Paul2005-09-301-1/+1
|
* fix a debug messageBrian Paul2005-09-221-1/+1
|
* add missing scale factor in _swrast_read_depth_span_float()Brian Paul2005-09-211-1/+1
|
* some improvements to _swrast_clear_depth_buffer()Brian Paul2005-09-201-16/+13
|
* Fix potential segfault when trying to read pixels outside renderbuffer bounds.Brian Paul2005-09-161-4/+7
| | | | Use _swrast_get_values() which does clipping.
* remove unused _swrast_read_depth_span()Brian Paul2005-09-161-44/+31
|
* fix precision problem in depth clearing (bug 4395)Brian Paul2005-09-081-4/+10
|
* fix GetRow parameters (Nicolai Haehnle)Brian Paul2005-05-151-1/+1
|
* Major check-in of changes for GL_EXT_framebuffer_object extension.Brian Paul2005-05-041-676/+236
| | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested.
* new comments and assertionsBrian Paul2004-11-271-2/+1
|
* patches for clearing hw depth buffers from software fallback (Nicolai Haehnle)Brian Paul2004-09-241-1/+21
|
* Implemented GL_EXT_depth_bounds_test.Brian Paul2003-04-211-4/+99
|
* replace _mesa_ prefix with _swrast_, remove s_histogram.[ch]Brian Paul2003-03-251-7/+7
|
* s/BZERO/_mesa_bzero/Brian Paul2002-10-301-10/+10
|
* 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-9/+11
| | | | | | | 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.
* casts to fix GLint/GLuint mismatchesBrian Paul2002-04-191-9/+9
|
* restored writeAll = GL_FALSE test/assignmentBrian Paul2002-04-181-2/+6
|
* Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitiveBrian Paul2002-04-121-3/+13
| | | | type, width, interp mask and array mask.
* Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and textureBrian Paul2002-03-191-3/+4
| | | | | | | memory. These can be overridden by applications which need to manage this memory specially. Contributed by Gerk Huisma. Also, new code for 8-bit -> 16-bit/channel texture image storage which fills in the least-significant bits properly.
* Lots of changes related to framebuffer/window buffer resizing. Basically,Brian Paul2002-03-161-20/+21
| | | | | | | instead of passing a GLcontext* to ResizeBuffers(), pass a GLframebuffer*. The idea is that a window can be resized without it being bound to a rendering context. This makes for a nice clean-up in the XFree86 server-side GLX code. Renamed ctx->Driver.ResizeBuffersMESA() to ctx->Driver.ResizeBuffers().
* fixed typo in depth_test_pixels(), should fix reported VTK failuresBrian Paul2002-02-061-2/+2
|
* Clean-up and remove dead code related to depth/stecil testing.Brian Paul2002-02-041-64/+36
|
* Converted line drawing over to new span code, pb no longer used.Brian Paul2002-02-021-8/+3
| | | | | Big clean-up of line drawing code. Removed many obsolete span processing functions.
* sw_span can now hold x/y arrays of fragment positions - getting ready toBrian Paul2002-02-021-13/+30
| | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions.
* More span clean-up, mostly texture-related.Brian Paul2002-01-281-3/+2
| | | | | _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-8/+6
| | | | | 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-5/+5
|
* first checkpoint commit of Klaus's new span code (struct sw_span)Brian Paul2001-12-171-3/+46
|
* Split driver struct into swrast/tnl/core components.Keith Whitwell2001-03-191-13/+18
|
* Consistent copyright info (version number, date) across all files.Gareth Hughes2001-03-121-7/+7
|
* fixed a bunch of g++ warnings/errors. Compiling with g++ can help find lots ↵Brian Paul2001-03-071-6/+6
| | | | of potential problems
* lots of gl_*() to _mesa_*() namespace clean-upBrian Paul2001-03-031-7/+7
|
* fixed bugs in _mesa_clear_depth_buffer(), bug #131366Brian Paul2001-02-081-9/+11
|
* Replaced struct gl_visual with struct __GLcontextModesRec from glcore.h.Brian Paul2001-01-231-15/+15
| | | | | Replace "RGBAMode" with "rgbMode", etc. Other minor clean-ups.
* Cleanup of derived state calculation prior to seperating software T&LKeith Whitwell2000-11-131-5/+5
| | | | | | | | | | | | 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.
* 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/+1632