summaryrefslogtreecommitdiff
path: root/src/mesa/state_tracker/st_gen_mipmap.c
AgeCommit message (Collapse)Author
2008-02-12gallium: clean-up, simplification of mipmapped texturesBrian
Remove pipe_texture->first_level (always implicitly zero). This means there's never any unused mipmap levels at the top. In the state tracker, we no longer re-layout mipmapped textures if the MinLod/MaxLod texture parameters change. It's up to the driver to obey the pipe_sampler->min/max_lod clamps.
2008-02-11gallium: take pitch/stride into account in mipmap generationBrian
2008-02-11gallium: comments about mipmap genBrian
2008-02-11gallium: implement software fallback for mipmap generationBrian
This is used when we can't render to the surface type of the texture (such as luminance/alpha).
2008-02-08gallium: include st_cb_drawpixels.hBrian
2008-02-08gallium: initial implemenation of auto mipmap generation in state trackerBrian
Use hardware rendering to compute/render mipmap levels. The fallback path (which will be used for non-renderable texture formats) isn't working yet.