[Mesa-dev] [Bug 3165] texImage.IsCompressed and texImage.CompressedSize issues
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 1 09:19:00 PDT 2011
https://bugs.freedesktop.org/show_bug.cgi?id=3165
--- Comment #8 from Ian Romanick <idr at freedesktop.org> 2011-08-01 09:18:59 PDT ---
If I'm not mistaken, most of the issues from this bug have been fixed for some
time. The one remaining issue was returning the wrong format for
GL_TEXTURE_INTERNAL_FORMAT queries. That should be fixed by the following
series on Mesa master. If that's the case, I'll pick those patches to the 7.11
and 7.10 branches and close this old, old bug.
commit b189d1635d89cd7d900e8f9a5eed88d7dc0b46cb
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 22 16:45:50 2011 -0700
mesa: Make _mesa_get_compressed_formats match the texture compression specs
The implementation deviated slightly from the GL_EXT_texture_sRGB spec
and from other implementations. A giant comment block was added to
justify the somewhat odd behavior of this function.
In addition, the interface had unnecessary cruft. The 'all' parameter
was false at all callers, so it has been removed.
Reviewed-by: Brian Paul <brianp at vmware.com>
commit 143b65f7612c255f29d08392192098b1c2bf4b62
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 22 15:26:24 2011 -0700
mesa: Return the correct internal fmt when a generic compressed fmt was
used
If an application requests a generic compressed format for a texture
and the driver does not pick a specific compressed format, return the
generic base format (e.g., GL_RGBA) for the GL_TEXTURE_INTERNAL_FORMAT
query.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=3165
Reviewed-by: Brian Paul <brianp at vmware.com>
commit 09916e877fc14723d7950f892e181df9f7d7f36f
Author: Ian Romanick <ian.d.romanick at intel.com>
Date: Fri Jul 22 15:25:55 2011 -0700
mesa: Add utility function to get base format from a GL compressed format
Reviewed-by: Brian Paul <brianp at vmware.com>
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list