Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | swrast: BlitFramebuffer should not be killed by conditional rendering | Marek Olšák | 2011-05-30 | 1 | -3/+0 |
| | | | | | | NOTE: This is a candidate for the 7.10 branch. Reviewed-by: Brian Paul <[email protected]> | ||||
* | swrast: anisotropic filtering extension | Andreas Faenger | 2011-05-18 | 3 | -0/+414 |
| | | | | | | | | | Anisotropic filtering extension for swrast intended to be used by osmesa to create high quality renderings. Based on Higher Quality Elliptical Weighted Avarage Filter (EWA). A 2nd implementation using footprint assembly is also provided. Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: Remove SWcontext::_FogMode, use gl_context::gl_fog_attrib::Mode everywhere | Ian Romanick | 2011-04-25 | 3 | -3/+1 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | swrast: Disable glAccum drawing during conditional rendering. | Eric Anholt | 2011-04-23 | 1 | -0/+4 |
| | |||||
* | swrast: fix readpix clamping | Marek Olšák | 2011-04-22 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | Broken with e5c6a92a12b5cd7db205d72039f58d302b0be9d5. (ARB_color_buffer_float) Clamping should occur if type != float, otherwise the MSBs of the resulting pixels are killed off. For example, reading back LUMINANCE = R+G+B can be greater than 0xff, but the result is naturally masked by 0xff for UNSIGNED_BYTE, leading to bogus results. The following bug report seems to want clamping to occur if type == half_float too. Not sure what's correct. Bug: [bisected pineview] oglc case pxconv-read failed https://bugs.freedesktop.org/show_bug.cgi?id=35852 Tested by: Fang Xun <[email protected]> Reviewed-and-tested-by: Ian Romanick <[email protected]> | ||||
* | mesa: gl_fragment_program::FogOption is always GL_NONE so don't check it | Ian Romanick | 2011-04-21 | 1 | -11/+4 |
| | | | | | | Reviewed-by: Eric Anholt <[email protected]> Acked-by: Corbin Simpson <[email protected]> Acked-by: Alex Deucher <[email protected]> | ||||
* | swrast: Add LUMINANCE, INTENSITY, LUMINANCE_ALPHA to span asserts. | Eric Anholt | 2011-04-20 | 2 | -0/+6 |
| | | | | | | Fixes ARB_texture_float/fbo-alphatest-formats. Reviewed-by: Brian Paul <[email protected]> | ||||
* | swrast: Don't try to adjust_colors for <8bpc when handling R16, RG1616. | Eric Anholt | 2011-04-18 | 1 | -3/+3 |
| | | | | | | | | | The GL_RED and GL_RG were tricking this code into executing, but it's totally unprepared for a 16-bit channel and just rescaled the values down to 0. We don't have anything with <8bit channels alongside >8bit channels, so disabling it should be safe. Reviewed-by: Brian Paul <[email protected]> | ||||
* | swrast: Don't assert against glReadPixels of GL_RED and GL_RG. | Eric Anholt | 2011-04-18 | 2 | -2/+8 |
| | | | | | | | | Everything appears to already be in place for this. Fixes aborts in: ARB_texture_rg/fbo-alphatest-formats-float ARB_texture_rg/fbo-blending-formats-float. Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: move sampler state into new gl_sampler_object type | Brian Paul | 2011-04-10 | 5 | -147/+150 |
| | | | | | | gl_texture_object contains an instance of this type for the regular texture object sampling state. glGenSamplers() generates new instances of gl_sampler_object which can override that state with glBindSampler(). | ||||
* | swrast: simplify assertion to silence warning | Brian Paul | 2011-04-05 | 1 | -6/+1 |
| | |||||
* | swrast: report data type in error message | Brian Paul | 2011-03-17 | 1 | -1/+2 |
| | |||||
* | mesa: replace NEED_SECONDARY_COLOR(), RGBA_LOGICOP_ENABLED() with inlines | Brian Paul | 2011-03-11 | 2 | -3/+5 |
| | | | | and rename them. | ||||
* | swrast: flip the conditionals in shadow_compare4() for readability | Brian Paul | 2011-03-08 | 1 | -24/+24 |
| | |||||
* | swrast: add coord clamping, fix comparisons for shadow testing | Philip Taylor | 2011-03-08 | 1 | -27/+30 |
| | | | | | | | | | This fixes https://bugs.freedesktop.org/show_bug.cgi?id=31159 for swrast and piglit depth-tex-compare. NOTE: This is a candidate for the 7.10 branch. Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: move PBO-related functions into a new file | Brian Paul | 2011-02-28 | 3 | -1/+3 |
| | |||||
* | mesa: remove GL_SGI_texture_color_table support | Brian Paul | 2011-02-28 | 1 | -5/+0 |
| | | | | | | It was only implemented in the swrast driver and probably not used by any applications. A modern app would use a dependent/chained texture lookup in the fragment shader. | ||||
* | mesa: Remove empty header file s_trispan.h. | Kenneth Graunke | 2011-02-10 | 1 | -31/+0 |
| | |||||
* | mesa: begin implementation of GL_ARB_draw_buffers_blend | Brian Paul | 2011-01-15 | 1 | -46/+46 |
| | |||||
* | swrast: Include mtypes.h in s_triangle.c. | Vinson Lee | 2011-01-05 | 1 | -0/+1 |
| | | | | Include mtypes.h for gl_context symbol. | ||||
* | swrast: Remove unnecessary headers. | Vinson Lee | 2011-01-05 | 2 | -2/+0 |
| | |||||
* | swrast: Clean up header file inclusion in s_texfilter.h. | Vinson Lee | 2010-12-25 | 1 | -1/+3 |
| | |||||
* | swrast: Clean up header file inclusion in s_texcombine.h. | Vinson Lee | 2010-12-25 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_masking.h. | Vinson Lee | 2010-12-25 | 1 | -1/+4 |
| | |||||
* | swrast: Clean up header file inclusion in s_logic.h. | Vinson Lee | 2010-12-24 | 1 | -1/+3 |
| | |||||
* | swrast: Clean up header file inclusion in s_fragprog.h. | Vinson Lee | 2010-12-24 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_span.h. | Vinson Lee | 2010-12-24 | 1 | -1/+6 |
| | |||||
* | swrast: Clean up header file inclusion in s_fog.h. | Vinson Lee | 2010-12-24 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_depth.h. | Vinson Lee | 2010-12-24 | 1 | -1/+4 |
| | |||||
* | swrast: Clean up header file inclusion in s_blend.h. | Vinson Lee | 2010-12-24 | 1 | -1/+4 |
| | |||||
* | swrast: Clean up header file inclusion in s_atifragshader.h. | Vinson Lee | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | swrast: Clean up header file inclusion in s_alpha.h. | Vinson Lee | 2010-12-24 | 1 | -2/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_accum.h. | Vinson Lee | 2010-12-24 | 1 | -1/+2 |
| | |||||
* | swrast: Clean up header file inclusion in s_aatriangle.h. | Vinson Lee | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | swrast: Clean up header file inclusion in s_aaline.h. | Vinson Lee | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | swrast: restructure some glReadPixels() code | Brian Paul | 2010-12-03 | 1 | -28/+25 |
| | |||||
* | swrast: accept GL_RG in glReadPixels() | Brian Paul | 2010-12-03 | 1 | -16/+3 |
| | | | | Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32088 | ||||
* | swrast: fix indentation | Brian Paul | 2010-12-03 | 1 | -6/+6 |
| | |||||
* | swrast: allow GL_RG format in glDrawPixels() | Brian Paul | 2010-12-03 | 1 | -18/+6 |
| | | | | | | | 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 | ||||
* | swrast: avoid large stack allocations in tex combine code | Brian Paul | 2010-12-02 | 1 | -6/+39 |
| | |||||
* | swrast: avoid large stack allocations in blend code | Brian Paul | 2010-12-02 | 1 | -1/+13 |
| | |||||
* | swrast: init alpha value to 1.0 in opt_sample_rgb_2d() | Brian Paul | 2010-11-22 | 1 | -0/+1 |
| | |||||
* | Track separate programs for each stage | Ian Romanick | 2010-10-27 | 1 | -1/+1 |
| | | | | | The assumption is that all stages are the same program or that varyings are passed between stages using built-in varyings. | ||||
* | swrast: Print out format on unexpected failure in _swrast_ReadPixels. | Vinson Lee | 2010-10-27 | 1 | -1/+1 |
| | |||||
* | mesa: split up the image.c file | Brian Paul | 2010-10-23 | 4 | -4/+7 |
| | | | | | | New files: pack.c - image/row packing/unpacking functions pixeltransfer.c - pixel scale/bias/lookup functions | ||||
* | swrast: Print out format on unexpected failure in _swrast_DrawPixels. | Vinson Lee | 2010-10-20 | 1 | -1/+1 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 55 | -355/+355 |
| | |||||
* | swrast: fix choose_depth_texture_level() to respect mipmap filtering state | Brian Paul | 2010-10-04 | 1 | -5/+10 |
| | | | | NOTE: this is a candidate for the 7.9 branch. | ||||
* | ARB_texture_rg: Add GL_RED as a valid GL_DEPTH_TEXTURE_MODE | Ian Romanick | 2010-10-01 | 1 | -0/+3 |
| | |||||
* | swrast: remove duplicated include | Nicolas Kaiser | 2010-09-30 | 1 | -1/+0 |
| | | | | | | Remove duplicated include. Signed-off-by: Brian Paul <[email protected]> |