summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/mipmap.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-241-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änzer2009-06-191-3/+0
| | | | | | | | Fixes leak running compiz with direct rendering.
* | Merge branch 'mesa_7_5_branch'Brian Paul2009-05-181-0/+3
|\| | | | | | | | | | | | | Conflicts: Makefile src/mesa/main/version.h
| * mesa: comments for _mesa_generate_mipmap_level()Brian Paul2009-05-181-0/+3
| |
* | mesa: updated comments for _mesa_generate_mipmap()Brian Paul2009-05-111-2/+5
|/
* fix ugly copy/paste error in mipmap generation codeRoland Scheidegger2009-03-311-1/+1
|
* mesa: add new signed rgba texture formatRoland Scheidegger2009-03-281-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 commentsVinson Lee2009-03-171-1/+1
|
* mesa: add support for ATI_envmap_bumpmapRoland Scheidegger2009-03-121-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, Haihao2009-01-061-1/+5
|
* Add do_row_3d for mipmapping 3D texturesIan Romanick2008-12-191-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_REVIan Romanick2008-12-191-1/+1
|
* mesa: Apply MSVC portability fixes from Alan Hourihane.José Fonseca2008-09-231-1/+1
|
* code refactoring, new next_mipmap_level_size() functionBrian2008-09-211-26/+51
| | | | (cherry picked from commit c22d9152e33792ea58426c53bc9b96bf552b0b44)
* refactor code, export _mesa_generate_mipmap_level()Brian2008-09-211-47/+70
|
* move _mesa_format_to_type_and_comps() to texformat.cBrian2008-09-211-167/+1
| | | | (cherry picked from commit 42eac65da45fb58bffdf94ab8f9860d8cee5b256)
* mesa: pull in mipmap.c changes from gallium-0.2Keith Whitwell2008-09-211-438/+523
|
* Remove unused texunit parameter to ctx->Driver.GenerateMipmap()Brian2008-05-091-1/+0
| | | | (cherry picked from commit c3395f4473c8fdf75d04c0dd72e687bc8d8127a7)
* [intel] Fix and reenable (software) SGIS_generate_mipmapEric Anholt2007-12-201-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)Brian2007-08-181-3/+4
|
* make srcPtr param to make_1d_stack_mipmap() constBrian2007-05-171-1/+1
|
* Initial implementation of MESA_texture_arrayIan Romanick2007-05-161-3/+145
| | | | | Shadow sampling from texture arrays is still not implemented. Everything else should be there, though.
* fix mem leakPanagiotis Papadakos2007-02-051-0/+3
|
* update _mesa_select_tex_image() and _mesa_get_tex_image()Brian Paul2006-11-011-2/+2
|
* Move mipmap generation functions, texture scaling functions into newBrian Paul2006-09-291-0/+1147
mipmap.c file.