summaryrefslogtreecommitdiff
path: root/src/mesa/swrast
AgeCommit message (Collapse)Author
2010-12-03swrast: restructure some glReadPixels() codeBrian Paul
2010-12-03swrast: accept GL_RG in glReadPixels()Brian Paul
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32088
2010-12-03swrast: fix indentationBrian Paul
2010-12-03swrast: allow GL_RG format in glDrawPixels()Brian Paul
Restructure the switch statement to avoid having to add additional color formats in the future. Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32086
2010-12-02swrast: avoid large stack allocations in tex combine codeBrian Paul
2010-12-02swrast: avoid large stack allocations in blend codeBrian Paul
2010-11-22swrast: init alpha value to 1.0 in opt_sample_rgb_2d()Brian Paul
2010-10-27Track separate programs for each stageIan Romanick
The assumption is that all stages are the same program or that varyings are passed between stages using built-in varyings.
2010-10-27swrast: Print out format on unexpected failure in _swrast_ReadPixels.Vinson Lee
2010-10-23mesa: split up the image.c fileBrian Paul
New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions
2010-10-20swrast: Print out format on unexpected failure in _swrast_DrawPixels.Vinson Lee
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-04swrast: fix choose_depth_texture_level() to respect mipmap filtering stateBrian Paul
NOTE: this is a candidate for the 7.9 branch.
2010-10-01ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODEIan Romanick
2010-09-30swrast: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-25swrast: update comments for REMAINDER() macroBrian Paul
2010-09-23mesa: Remove EXT_convolution.Eric Anholt
More optional code.
2010-09-23mesa: Remove EXT_histogram.Eric Anholt
This has always been optional, and not useful.
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>