Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -12/+12 |
| | |||||
* | swrast: Remove unnecessary header. | Vinson Lee | 2010-08-10 | 1 | -1/+0 |
| | |||||
* | Grammar and spelling fixes | Jeff Smith | 2010-03-12 | 1 | -1/+1 |
| | | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: replace _mesa_bzero() with memset() | Brian Paul | 2010-02-19 | 1 | -8/+8 |
| | |||||
* | Remove _mesa_memset in favor of plain memset. | Kenneth Graunke | 2010-02-19 | 1 | -1/+1 |
| | | | | This may break the SUNOS4 build, but it's no longer relevant. | ||||
* | swrast: fix broken _swrast_depth_clamp_span() | Brian Paul | 2010-01-15 | 1 | -14/+27 |
| | | | | | | | | | | The integer Z clamping range depends on the number of bits in the Z buffer because that's the scale factor used when we transform NDC coords by the viewport/depth range. Fixes fd.o bug #25972 but only for Z buffers up to a depth of 30 bits. Beyond that we get into messy integer overflow issues and things fall apart. | ||||
* | swrast: Remove unnecessary header from s_depth.c. | Vinson Lee | 2010-01-13 | 1 | -1/+0 |
| | |||||
* | mesa: Mostly fix swrast's ARB_depth_clamp support. | Eric Anholt | 2009-10-29 | 1 | -9/+19 |
| | | | | | | | I'd written a testcase for the hard part of the extension enablement, so naturally the easy stuff was completely broken. There are still issues, as I'm seeing FLOAT_TO_UINT(max_f) == 0x0 when max_f == 1.0, but it gets piglit depth-clamp-range closer to success. | ||||
* | Merge branch 'texformat-rework' | Brian Paul | 2009-10-28 | 1 | -4/+9 |
|\ | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/radeon/radeon_fbo.c src/mesa/drivers/dri/s3v/s3v_tex.c src/mesa/drivers/dri/s3v/s3v_xmesa.c src/mesa/drivers/dri/trident/trident_context.c src/mesa/main/debug.c src/mesa/main/mipmap.c src/mesa/main/texformat.c src/mesa/main/texgetimage.c | ||||
| * | mesa: remove a bunch of gl_renderbuffer fields | Brian Paul | 2009-10-08 | 1 | -4/+9 |
| | | | | | | | | | | | | _ActualFormat is replaced by Format (MESA_FORMAT_x). ColorEncoding, ComponentType, RedBits, GreenBits, BlueBits, etc. are all replaced by MESA_FORMAT_x queries. | ||||
* | | Merge branch 'mesa_7_6_branch' | Nicolai Hähnle | 2009-10-07 | 1 | -1/+3 |
|\ \ | |/ |/| | |||||
| * | swrast: s/GLfloat/GLuint/ in bzero() | Brian Paul | 2009-10-07 | 1 | -1/+1 |
| | | |||||
| * | swrast: add missing returns | Brian Paul | 2009-10-07 | 1 | -0/+2 |
| | | |||||
* | | mesa: Add support for ARB_depth_clamp. | Eric Anholt | 2009-09-08 | 1 | -0/+27 |
|/ | | | | | This currently doesn't include fixing up the cliptests in the assembly paths to support ARB_depth_clamp, so enabling depth_clamp forces the C path. | ||||
* | mesa: pass 'mask', not NULL to renderbuffer->Put functions | Brian Paul | 2008-10-07 | 1 | -10/+10 |
| | | | | Fixes bug 17800. | ||||
* | mesa: prefix a bunch of #include lines with "main/". | Brian Paul | 2008-09-18 | 1 | -5/+5 |
| | | | | | This is another step toward removing a whole bunch of -I flags from the cc commands. Still need to address driver code... | ||||
* | Remove the !rb->Data check that was added a few months ago. | Brian | 2007-04-21 | 1 | -1/+1 |
| | | | | | Was changed while debugging #7205. Broke the shadowtext demo. Revisit this if the problem w/ bug 7205 returns... | ||||
* | add some rb->Data null ptr checks (bug 7205) | Brian | 2007-03-15 | 1 | -1/+1 |
| | |||||
* | fixes for C++ warnings/errors | Brian | 2007-01-23 | 1 | -2/+2 |
| | |||||
* | New SWspan and SWspanarrays typedefs. | Brian Paul | 2006-10-01 | 1 | -4/+4 |
| | |||||
* | remove unused var | Brian Paul | 2006-04-06 | 1 | -2/+0 |
| | |||||
* | Replace MESA_FORMAT_DEPTH_COMPONENT_FLOAT32 with 32-bit integer format. | Brian Paul | 2006-04-06 | 1 | -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 assertions | Brian Paul | 2006-03-29 | 1 | -1/+4 |
| | |||||
* | C++ fixes, mostly casts (Stephane Conversy) | Brian Paul | 2005-12-06 | 1 | -2/+2 |
| | |||||
* | Use new gl_framebuffer _Depth/_StencilBuffer fields instead of | Brian Paul | 2005-11-16 | 1 | -3/+3 |
| | | | | | Attachment[BUFFER_DEPTH/STENCIL].Renderbuffer. The former may be wrappers around combined depth/stencil renderbuffers attached at the later points. | ||||
* | minor improvements | Brian Paul | 2005-09-30 | 1 | -1/+1 |
| | |||||
* | fix a debug message | Brian Paul | 2005-09-22 | 1 | -1/+1 |
| | |||||
* | add missing scale factor in _swrast_read_depth_span_float() | Brian Paul | 2005-09-21 | 1 | -1/+1 |
| | |||||
* | some improvements to _swrast_clear_depth_buffer() | Brian Paul | 2005-09-20 | 1 | -16/+13 |
| | |||||
* | Fix potential segfault when trying to read pixels outside renderbuffer bounds. | Brian Paul | 2005-09-16 | 1 | -4/+7 |
| | | | | Use _swrast_get_values() which does clipping. | ||||
* | remove unused _swrast_read_depth_span() | Brian Paul | 2005-09-16 | 1 | -44/+31 |
| | |||||
* | fix precision problem in depth clearing (bug 4395) | Brian Paul | 2005-09-08 | 1 | -4/+10 |
| | |||||
* | fix GetRow parameters (Nicolai Haehnle) | Brian Paul | 2005-05-15 | 1 | -1/+1 |
| | |||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -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 assertions | Brian Paul | 2004-11-27 | 1 | -2/+1 |
| | |||||
* | patches for clearing hw depth buffers from software fallback (Nicolai Haehnle) | Brian Paul | 2004-09-24 | 1 | -1/+21 |
| | |||||
* | Implemented GL_EXT_depth_bounds_test. | Brian Paul | 2003-04-21 | 1 | -4/+99 |
| | |||||
* | replace _mesa_ prefix with _swrast_, remove s_histogram.[ch] | Brian Paul | 2003-03-25 | 1 | -7/+7 |
| | |||||
* | s/BZERO/_mesa_bzero/ | Brian Paul | 2002-10-30 | 1 | -10/+10 |
| | |||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -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 span | Brian Paul | 2002-08-07 | 1 | -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 mismatches | Brian Paul | 2002-04-19 | 1 | -9/+9 |
| | |||||
* | restored writeAll = GL_FALSE test/assignment | Brian Paul | 2002-04-18 | 1 | -2/+6 |
| | |||||
* | Klaus Niederkrueger's latest changes: use INIT_SPAN() to init span primitive | Brian Paul | 2002-04-12 | 1 | -3/+13 |
| | | | | type, width, interp mask and array mask. | ||||
* | Use MESA_PBUFFER_ALLOC/FREE macros to allocate all framebuffer and texture | Brian Paul | 2002-03-19 | 1 | -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 Paul | 2002-03-16 | 1 | -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 failures | Brian Paul | 2002-02-06 | 1 | -2/+2 |
| | |||||
* | Clean-up and remove dead code related to depth/stecil testing. | Brian Paul | 2002-02-04 | 1 | -64/+36 |
| | |||||
* | Converted line drawing over to new span code, pb no longer used. | Brian Paul | 2002-02-02 | 1 | -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 to | Brian Paul | 2002-02-02 | 1 | -13/+30 |
| | | | | | ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions. |