diff options
author | Brian Paul <[email protected]> | 2004-04-22 00:27:31 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-04-22 00:27:31 +0000 |
commit | f959f6e1dc27c71fc0ccc56e09b29101b3bf3b97 (patch) | |
tree | 15b4171c2b3396e3a05f2776cc24d90cb37c8f84 /src/mesa/main/imports.h | |
parent | 05a6f2fd484bab59c6e6a381f58808adc26619f1 (diff) |
New glTexImage code.
The gl_texture_format struct now has a StoreTexImageFunc that's called
by glTex[Sub]Image[123]D to convert the user's texture data into the
specific texture format layout. Now it's much easier to add new texture
formats (like the 16/32-bit floating point formats).
The texutil.[ch] and texutil_tmp.h files are obsolete.
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r-- | src/mesa/main/imports.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index bee7d8aad12..f26907eeb72 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,11 +1,3 @@ -/** - * \file imports.h - * Standard C library function wrappers. - * - * This file provides wrappers for all the standard C library functions - * like malloc(), free(), printf(), getenv(), etc. - */ - /* * Mesa 3-D graphics library * Version: 6.1 @@ -31,6 +23,15 @@ */ +/** + * \file imports.h + * Standard C library function wrappers. + * + * This file provides wrappers for all the standard C library functions + * like malloc(), free(), printf(), getenv(), etc. + */ + + #ifndef IMPORTS_H #define IMPORTS_H @@ -705,11 +706,11 @@ _mesa_log2(float x); extern unsigned int _mesa_bitcount(unsigned int n); -extern GLhalfNV +extern GLhalfARB _mesa_float_to_half(float f); extern float -_mesa_half_to_float(GLhalfNV h); +_mesa_half_to_float(GLhalfARB h); extern char * |