Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Add missing else in do_row_3D | Brian Rogers | 2010-10-18 | 1 | -1/+1 |
| | | | | | | This fixes erroneous "bad format in do_row()" messages Signed-off-by: Brian Paul <[email protected]> | ||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -1/+1 |
| | |||||
* | mesa/mipmap: fix warning since 1acadebd6270d3604b026842b8a21360968618a0 | Dave Airlie | 2010-09-25 | 1 | -1/+1 |
| | | | | 1acadebd6270d3604b026842b8a21360968618a0 fixed the pointer but not the cast. | ||||
* | mesa: Fix type typo in glGenerateMipmap handling of GL_UNSIGNED_INT data. | Eric Anholt | 2010-09-24 | 1 | -1/+1 |
| | | | | Fixes ARB_depth_texture/fbo-generatemipmap-formats. | ||||
* | mesa: fix out of bounds memory read in mipmap gen code | Brian Paul | 2010-09-01 | 1 | -5/+12 |
| | | | | | | | Out of bounds reads could happen for reducing WxH to WxH/2 or WxH to W/2xH. Fixes fd.o bug 29918. | ||||
* | mesa: simplify some code in _mesa_generate_mipmap() | Brian Paul | 2010-04-23 | 1 | -19/+10 |
| | |||||
* | mesa: Add asserts to check inputs to memcpy. | Vinson Lee | 2010-03-04 | 1 | -0/+2 |
| | |||||
* | mesa: Add asserts to check inputs to memcpy. | Vinson Lee | 2010-03-02 | 1 | -0/+2 |
| | |||||
* | mesa: Add asserts to check inputs to memcpy. | Vinson Lee | 2010-02-27 | 1 | -0/+3 |
| | |||||
* | mesa: Add assert to check input to memcpy is not null. | Vinson Lee | 2010-02-27 | 1 | -0/+1 |
| | |||||
* | Replace the _mesa_*printf() wrappers with the plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -1/+1 |
| | |||||
* | Replace _mesa_malloc, _mesa_calloc and _mesa_free with plain libc versions | Kristian Høgsberg | 2010-02-19 | 1 | -5/+5 |
| | |||||
* | mesa: replace old MEMCPY macro with memcpy | Brian Paul | 2010-02-19 | 1 | -20/+20 |
| | |||||
* | mesa: Remove unnecessary header from mipmap.c. | Vinson Lee | 2010-01-18 | 1 | -1/+0 |
| | |||||
* | Merge branch 'texformat-rework' | Brian Paul | 2009-10-28 | 1 | -40/+38 |
|\ | | | | | | | | | | | | | | | | | | | | | | | 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: begin removing _mesa_compressed_row_stride() calls | Brian Paul | 2009-10-25 | 1 | -1/+1 |
| | | | | | | | | Use equivalent _mesa_format_row_stride() function instead. | ||||
| * | mesa: change compressed texture size calls | Brian Paul | 2009-10-24 | 1 | -5/+3 |
| | | | | | | | | | | Replace calls to ctx->Driver.CompressedTextureSize with calls to _mesa_format_image_size. The former always called the later. | ||||
| * | mesa: move _mesa_format_to_type_and_comps() to formats.c | Brian Paul | 2009-10-05 | 1 | -1/+0 |
| | | |||||
| * | mesa: removed gl_texture_image::CompressedSize field | Brian Paul | 2009-10-01 | 1 | -12/+11 |
| | | | | | | | | | | Just call ctx->Driver.CompressedTextureSize() when we need to get the compressed image size. | ||||
| * | mesa: remove gl_texture_image::IsCompressed field | Brian Paul | 2009-10-01 | 1 | -6/+5 |
| | | | | | | | | Use _mesa_is_format_compressed() instead. | ||||
| * | mesa: remove GLchan-based formats; use hw 8-bit/channel formats instead | Brian Paul | 2009-09-30 | 1 | -2/+2 |
| | | | | | | | | Removed: MESA_FORMAT_RGBA, RGB, ALPHA, LUMINANCE, LUMINANCE_ALPHA, INTENSITY. | ||||
| * | mesa: replace gl_texture_format with gl_format | Brian Paul | 2009-09-30 | 1 | -4/+4 |
| | | | | | | | | | | | | Now gl_texture_image::TexFormat is a simple MESA_FORMAT_x enum. ctx->Driver.ChooseTexture format also returns a MESA_FORMAT_x. gl_texture_format will go away next. | ||||
| * | mesa: use _mesa_texstore() | Brian Paul | 2009-09-28 | 1 | -12/+9 |
| | | |||||
| * | mesa: change _mesa_format_to_type_and_comps() format parameter type | Brian Paul | 2009-09-27 | 1 | -5/+5 |
| | | |||||
| * | mesa: use _mesa_get_format_bytes() | Brian Paul | 2009-09-27 | 1 | -1/+2 |
| | | |||||
| * | mesa: use _mesa_get_texstore_func() | Brian Paul | 2009-09-27 | 1 | -9/+15 |
| | | |||||
* | | Use _mesa_select_tex_image() rather than hardcoding face 0. | Michel Dänzer | 2009-10-05 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | Fixes crash loading a map in sauerbraten with hwmipmap 1 in ~/.sauerbraten/config.cfg. | ||||
* | | mesa: fix memory leak when generating mipmaps for compressed textures | Brian Paul | 2009-10-01 | 1 | -6/+10 |
|/ | |||||
* | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-06-24 | 1 | -3/+0 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c | ||||
| * | Always free image offsets memory when re-initializing texture image fields. | Michel Dänzer | 2009-06-19 | 1 | -3/+0 |
| | | | | | | | | Fixes leak running compiz with direct rendering. | ||||
* | | Merge branch 'mesa_7_5_branch' | Brian Paul | 2009-05-18 | 1 | -0/+3 |
|\| | | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h | ||||
| * | mesa: comments for _mesa_generate_mipmap_level() | Brian Paul | 2009-05-18 | 1 | -0/+3 |
| | | |||||
* | | mesa: updated comments for _mesa_generate_mipmap() | Brian Paul | 2009-05-11 | 1 | -2/+5 |
|/ | |||||
* | fix ugly copy/paste error in mipmap generation code | Roland Scheidegger | 2009-03-31 | 1 | -1/+1 |
| | |||||
* | mesa: add new signed rgba texture format | Roland Scheidegger | 2009-03-28 | 1 | -11/+100 |
| | | | | | This is a (partial) backport of the signed texture format support in OGL 3.1. Since it wasn't promoted from an existing extension roll our own. | ||||
* | mesa: update/fix doxygen comments | Vinson Lee | 2009-03-17 | 1 | -1/+1 |
| | |||||
* | mesa: add support for ATI_envmap_bumpmap | Roland Scheidegger | 2009-03-12 | 1 | -2/+12 |
| | | | | | | | | add new entrypoints, new texture format, etc translate in texenvprogram.c for drivers using the mesa-generated tex env fragment program also handled in swrast, but not tested (cannot work due to negative texel results not handled correctly) | ||||
* | mesa: Fix the size per pixel for packed pixel format data type. | Xiang, Haihao | 2009-01-06 | 1 | -1/+5 |
| | |||||
* | Add do_row_3d for mipmapping 3D textures | Ian Romanick | 2008-12-19 | 1 | -21/+444 |
| | | | | | | | | | | | | Previously 3D textures were mipmapped using multiple passed through the 2D mipmap generation code. This had 3 disadvantages. First, the extra passes were slow. Second, this required the allocation of a temporary buffer to hold intermediate data. Third, and most important, the extra passes caused loss of additional bits due to integer division / bit-shifting. With this change, our mipmapgen conformance test passes for non-compressed texture formats. | ||||
* | Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REV | Ian Romanick | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | mesa: Apply MSVC portability fixes from Alan Hourihane. | José Fonseca | 2008-09-23 | 1 | -1/+1 |
| | |||||
* | code refactoring, new next_mipmap_level_size() function | Brian | 2008-09-21 | 1 | -26/+51 |
| | | | | (cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44) | ||||
* | refactor code, export _mesa_generate_mipmap_level() | Brian | 2008-09-21 | 1 | -47/+70 |
| | |||||
* | move _mesa_format_to_type_and_comps() to texformat.c | Brian | 2008-09-21 | 1 | -167/+1 |
| | | | | (cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256) | ||||
* | mesa: pull in mipmap.c changes from gallium-0.2 | Keith Whitwell | 2008-09-21 | 1 | -438/+523 |
| | |||||
* | Remove unused texunit parameter to ctx->Driver.GenerateMipmap() | Brian | 2008-05-09 | 1 | -1/+0 |
| | | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7) | ||||
* | [intel] Fix and reenable (software) SGIS_generate_mipmap | Eric Anholt | 2007-12-20 | 1 | -39/+45 |
| | | | | | | | The core problem was that _mesa_generate_mipmap was not respecting RowStride of the source image. Additionally, the intel private data associated with the images (level and face) was not being initialized for the _mesa_generate_mipmap-generated images. | ||||
* | some fixes for compressed cube maps (bug 11986) | Brian | 2007-08-18 | 1 | -3/+4 |
| | |||||
* | make srcPtr param to make_1d_stack_mipmap() const | Brian | 2007-05-17 | 1 | -1/+1 |
| | |||||
* | Initial implementation of MESA_texture_array | Ian Romanick | 2007-05-16 | 1 | -3/+145 |
| | | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though. |