summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast
Commit message (Collapse)AuthorAgeFilesLines
* swrast: fix choose_depth_texture_level() to respect mipmap filtering stateBrian Paul2010-10-041-5/+10
| | | | NOTE: this is a candidate for the 7.9 branch.
* ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODEIan Romanick2010-10-011-0/+3
|
* swrast: remove duplicated includeNicolas Kaiser2010-09-301-1/+0
| | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]>
* swrast: update comments for REMAINDER() macroBrian Paul2010-09-251-2/+5
|
* mesa: Remove EXT_convolution.Eric Anholt2010-09-233-217/+2
| | | | More optional code.
* mesa: Remove EXT_histogram.Eric Anholt2010-09-232-42/+33
| | | | This has always been optional, and not useful.
* mesa: Set the base format of GL_ALPHA FBOs and teach swrast about it.Eric Anholt2010-09-072-3/+6
| | | | | Fixes assertion failures in fbo-alpha with a debug build of Mesa. Bug #29781.
* mesa: Fix many printf-like warnings.Eric Anholt2010-09-011-1/+1
| | | | | | | | Most of these are just typecasting to long to match the arg type. I don't really care too much about getting a GLsizei or whatever appropriate type in. However, there were a number of real bugs, like missing arguments or passing floats to integer format specifiers. My favorite: printflike("%s, argument") is missing an argument.
* swrast: fix span color array pointer assignment for 32-bit/channel rendering[email protected]2010-08-101-0/+17
| | | | | | | | See fd.o bug 29487. NOTE: This is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <[email protected]>
* swrast: Remove unnecessary header.Vinson Lee2010-08-101-1/+0
|
* swrast: Reduce header file inclusion in s_zoom.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Fix header file inclusion in s_texfilter.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_context.h for texture_sample_func symbol.
* swrast: Reduce header file inclusion in s_texcombine.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext sybmol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_stencil.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_masking.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_logic.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_fragprog.h.Vinson Lee2010-08-072-1/+3
| | | | | | | | | s_fragprog.h Include mtype.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_fragprog.c Include s_context.h now that it is removed from s_fragprog.h.
* swrast: Reduce header file inclusion in s_fog.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Clean up header file inclusion in s_depth.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Include missing header in s_context.h.Vinson Lee2010-08-071-0/+1
| | | | Include compiler.h for _ASMAPIP symbol.
* swrast: Clean up header file inclusion in s_blend.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee2010-08-072-1/+3
| | | | | | | | | s_atifragshader.h Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol. s_atifragshader.c Include s_context.h for SWcontext symbol.
* swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee2010-08-071-1/+2
| | | | | Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
* swrast: Reduce header file inclusion in s_aatriangle.h.Vinson Lee2010-08-061-1/+1
| | | | Include mtypes.h for GLcontext symbol.
* swrast: Reduce header file inclusion in s_aaline.h.Vinson Lee2010-08-061-1/+1
| | | | Include mtypes.h for GLcontext symbol.
* swrast: Remove unnecessary headers.Vinson Lee2010-07-316-6/+0
|
* mesa: Remove unnecessary headers.Vinson Lee2010-07-302-2/+0
|
* mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul2010-06-105-6/+6
|
* mesa: move atifragshader.[ch] to main/Brian Paul2010-06-101-1/+1
|
* swrast: When reading from a 0-bits r,g,b channel, return 0 not 1.Eric Anholt2010-06-101-3/+11
| | | | | | | It looks like we were reading a fractional value, multiplying by an enormous negative value, then stuffing that value into a bitfield assuming it was already clamped. This becomes relevant for GL_ALPHA or R/RG FBOs.
* swrast: Remove unnecessary header.Vinson Lee2010-03-281-1/+0
|
* swrast: improve depth texture mipmap selectionBrian Paul2010-03-231-11/+30
| | | | | | | We still don't do proper min/mag filtering but this is better than just sampling the base mipmap level all the time. Fixes piglit depth-level-clamp test. Fixes fd.o bug 27256.
* swrast: remove unused compute_coveragei() functionBrian Paul2010-03-171-82/+0
|
* Grammar and spelling fixesJeff Smith2010-03-121-1/+1
| | | | | Signed-off-by: Jeff Smith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* windows: fix compilation errors and warningsKarl Schultz2010-03-101-1/+1
|
* swrast: Remove redundant test of the visual's accumulation buffer sizeIan Romanick2010-03-051-5/+1
| | | | | | | | | | If the visual doesn't have an accumulation buffer, the renderbuffer passed into _swrast_clear_accum_buffer will be NULL anyway. There is no reason the check the visual. Moreover, the test erroneously checks the context's visual instead of the visual of the current DrawBuffer. With FBOs these may be different. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Adjust colors based on ReadBuffer visual, not context visualIan Romanick2010-03-051-9/+9
| | | | | | | | In the presence of FBOs, the visual of the context may not match the, possibly fake, visual of the current ReadBuffer. Note that the caller of adjust_colors correctly uses the visual of the ReadBuffer. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove stray comment that mentions ctx->VisualIan Romanick2010-03-051-1/+0
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick2010-03-031-1/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_logicop_ci_spanIan Romanick2010-03-032-33/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_logicop_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove color-index rendering support from s_spantemp.hIan Romanick2010-03-031-15/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove SPAN_INDEXIan Romanick2010-03-031-7/+6
| | | | | | Also adjust the bits that appear after it to fill in the gap. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_read_index_spanIan Romanick2010-03-032-72/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_read_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_mask_ci_spanIan Romanick2010-03-032-36/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_mask_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_fog_ci_span and associated codeIan Romanick2010-03-032-89/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_fog_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove _swrast_write_index_span and associated codeIan Romanick2010-03-032-278/+0
| | | | | | | After all the recent color-index rendering removal, _swrast_write_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove remaining color-index state tracking infrastructureIan Romanick2010-03-032-63/+39
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove support for ReadPixels from a color-index bufferIan Romanick2010-03-031-65/+2
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove support for Clear into a color-index bufferIan Romanick2010-03-031-103/+6
| | | | Signed-off-by: Ian Romanick <[email protected]>
* swrast: Remove support for rendering antialiased lines into a color-index bufferIan Romanick2010-03-032-73/+9
| | | | Signed-off-by: Ian Romanick <[email protected]>