commit | 38858207a11819a3c68f14b589c0779fb82152ff | [log] [tgz] |
---|---|---|
author | Marek Olšák <marek.olsak@amd.com> | Sun Mar 16 03:45:27 2014 +0100 |
committer | Marek Olšák <marek.olsak@amd.com> | Thu Apr 10 20:50:16 2014 +0200 |
tree | b67aba5d2ccef8c3173d81b88ef04531c54ba71d | |
parent | 26c41398cc47c0f72259a34406831443238b7ba9 [diff] |
gallium/u_gen_mipmap: rewrite using pipe->blit (v2) This replaces u_gen_mipmap with an extremely simple implementation based on pipe->blit. st/mesa is also cleaned up. Pros: - less code - correct mipmap generation for NPOT 3D textures (u_blitter uses a better formula) - queries are not affected by mipmap generation if drivers disable them v2: add "first_layer", "last_layer" parameters, drop "face" v2.1: add format v2.2: document the format parameter