summaryrefslogtreecommitdiff
path: root/src/mesa/main/mipmap.c
AgeCommit message (Collapse)Author
2009-01-06mesa: Fix the size per pixel for packed pixel format data type.Xiang, Haihao
2008-12-19Add do_row_3d for mipmapping 3D texturesIan Romanick
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.
2008-12-19Fix typeo in mipmap filter for GL_UNSIGNED_SHORT_1_5_5_5_REVIan Romanick
2008-09-23mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca
2008-09-21code refactoring, new next_mipmap_level_size() functionBrian
(cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44)
2008-09-21refactor code, export _mesa_generate_mipmap_level()Brian
2008-09-21move _mesa_format_to_type_and_comps() to texformat.cBrian
(cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
2008-09-21mesa: pull in mipmap.c changes from gallium-0.2Keith Whitwell
2008-05-09Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian
(cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
2007-12-20[intel] Fix and reenable (software) SGIS_generate_mipmapEric Anholt
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.
2007-08-18some fixes for compressed cube maps (bug 11986)Brian
2007-05-17make srcPtr param to make_1d_stack_mipmap() constBrian
2007-05-16Initial implementation of MESA_texture_arrayIan Romanick
Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
2007-02-05fix mem leakPanagiotis Papadakos
2006-11-01update _mesa_select_tex_image() and _mesa_get_tex_image()Brian Paul
2006-09-29Move mipmap generation functions, texture scaling functions into newBrian Paul
mipmap.c file.