diff options
author | Nanley Chery <[email protected]> | 2015-08-27 16:29:06 -0700 |
---|---|---|
committer | Nanley Chery <[email protected]> | 2015-09-19 13:27:15 -0700 |
commit | 99b1f4751f97631011b64fabcb57acf6beae01ac (patch) | |
tree | b9525ae1da0b49095de5f095f1cb41635a210a68 /docs/relnotes.html | |
parent | db2777091d70c7abd28e0a8aac16b4a416e42e81 (diff) |
mesa/teximage: reuse compressed format utility functions for base_format
Reuse utility functions instead of reimplementing the same logic.
* _mesa_is_compressed_format() performs the required checking to
determine format support in the current context.
* _mesa_gl_compressed_format_base_format() returns the base format.
As a side effect, we now check that we're in a desktop context when
determining support for the FXT1 and RGTC formats. This is in agreement
with our extension table and the glext headers.
Reviewed-by: Anuj Phogat <[email protected]>
Signed-off-by: Nanley Chery <[email protected]>
Diffstat (limited to 'docs/relnotes.html')
0 files changed, 0 insertions, 0 deletions