summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2010-09-07mesa: Set the base format of GL_ALPHA FBOs and teach swrast about it.Eric Anholt
Fixes assertion failures in fbo-alpha with a debug build of Mesa. Bug #29781.
2010-09-01mesa: Fix many printf-like warnings.Eric Anholt
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.
2010-08-10swrast: fix span color array pointer assignment for 32-bit/channel renderingM.Froehlich@science-computing.de
See fd.o bug 29487. NOTE: This is a candidate for the 7.8 branch. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-08-10swrast: Remove unnecessary header.Vinson Lee
2010-08-07swrast: Reduce header file inclusion in s_zoom.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Fix header file inclusion in s_texfilter.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_context.h for texture_sample_func symbol.
2010-08-07swrast: Reduce header file inclusion in s_texcombine.h.Vinson Lee
Include mtypes.h for GLcontext sybmol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Reduce header file inclusion in s_stencil.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Reduce header file inclusion in s_masking.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Reduce header file inclusion in s_logic.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Reduce header file inclusion in s_fragprog.h.Vinson Lee
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.
2010-08-07swrast: Reduce header file inclusion in s_fog.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Clean up header file inclusion in s_depth.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Include missing header in s_context.h.Vinson Lee
Include compiler.h for _ASMAPIP symbol.
2010-08-07swrast: Clean up header file inclusion in s_blend.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-07swrast: Clean up header file inclusion in s_atifragshader.h.Vinson Lee
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.
2010-08-07swrast: Clean up header file inclusion in s_alpha.h.Vinson Lee
Include mtypes.h for GLcontext symbol. Include s_span.h for SWspan symbol.
2010-08-06swrast: Reduce header file inclusion in s_aatriangle.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-08-06swrast: Reduce header file inclusion in s_aaline.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-31swrast: Remove unnecessary headers.Vinson Lee
2010-07-30mesa: Remove unnecessary headers.Vinson Lee
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move atifragshader.[ch] to main/Brian Paul
2010-06-10swrast: When reading from a 0-bits r,g,b channel, return 0 not 1.Eric Anholt
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.
2010-03-28swrast: Remove unnecessary header.Vinson Lee
2010-03-23swrast: improve depth texture mipmap selectionBrian Paul
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.
2010-03-17swrast: remove unused compute_coveragei() functionBrian Paul
2010-03-12Grammar and spelling fixesJeff Smith
Signed-off-by: Jeff Smith <whydoubt@yahoo.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-10windows: fix compilation errors and warningsKarl Schultz
2010-03-05swrast: Remove redundant test of the visual's accumulation buffer sizeIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-05swrast: Adjust colors based on ReadBuffer visual, not context visualIan Romanick
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 <ian.d.romanick@intel.com>
2010-03-05swrast: Remove stray comment that mentions ctx->VisualIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03mesa: Eliminate index parameter to _mesa_feedback_vertexIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_logicop_ci_spanIan Romanick
After all the recent color-index rendering removal, _swrast_logicop_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove color-index rendering support from s_spantemp.hIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove SPAN_INDEXIan Romanick
Also adjust the bits that appear after it to fill in the gap. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_read_index_spanIan Romanick
After all the recent color-index rendering removal, _swrast_read_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_mask_ci_spanIan Romanick
After all the recent color-index rendering removal, _swrast_mask_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_fog_ci_span and associated codeIan Romanick
After all the recent color-index rendering removal, _swrast_fog_ci_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_write_index_span and associated codeIan Romanick
After all the recent color-index rendering removal, _swrast_write_index_span is no longer used anywhere. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove remaining color-index state tracking infrastructureIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for ReadPixels from a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for Clear into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering antialiased lines into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering antialiased triangles into a ↵Ian Romanick
color-index buffer Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering lines into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering points into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for rendering triangles into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove support for Bitmap into a color-index bufferIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2010-03-03swrast: Remove _swrast_write_zoomed_index_span and associated codeIan Romanick
After removing support for CopyPixels and DrawPixels involving color-index buffers, _swrast_write_zoomed_index_span is no longer used. Removed it and all the support for COLOR_INDEX formats in zoom_span. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>