diff options
author | Marek Olšák <[email protected]> | 2014-03-16 03:45:27 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-04-10 20:50:16 +0200 |
commit | 38858207a11819a3c68f14b589c0779fb82152ff (patch) | |
tree | b67aba5d2ccef8c3173d81b88ef04531c54ba71d /include | |
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
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions