diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2008-12-19 13:03:51 -0800 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2008-12-19 13:06:53 -0800 |
commit | f83f5ec8f5f1159cfd0ec2596ceab725c073266e (patch) | |
tree | 770f0fe2fcaa75d2920519ff1ed3ba5c87809fb1 /src/glut/glx/glut_glxext.c | |
parent | a330933bb75c38148668637cd22b90d75d39506f (diff) |
Add do_row_3d for mipmapping 3D textures
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.
Diffstat (limited to 'src/glut/glx/glut_glxext.c')
0 files changed, 0 insertions, 0 deletions