From 6dc85575000127630489b407c50a4b3ea87c9acb Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Thu, 17 Jul 2003 13:43:59 +0000 Subject: Merge Jose's documentation and core Mesa changes from embedded branch --- src/mesa/main/texstate.h | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/texstate.h') diff --git a/src/mesa/main/texstate.h b/src/mesa/main/texstate.h index de4678665d..d2cde7b326 100644 --- a/src/mesa/main/texstate.h +++ b/src/mesa/main/texstate.h @@ -1,3 +1,7 @@ +/** + * \file texstate.h + * Texture state management. + */ /* * Mesa 3-D graphics library @@ -38,7 +42,10 @@ extern void _mesa_print_texunit_state( GLcontext *ctx, GLuint unit ); -/*** Called from API ***/ +/** + * \name Called from API + */ +/*@{*/ extern void _mesa_GetTexEnvfv( GLenum target, GLenum pname, GLfloat *params ); @@ -116,8 +123,6 @@ extern void _mesa_TexGeniv( GLenum coord, GLenum pname, const GLint *params ); - - /* * GL_ARB_multitexture */ @@ -165,5 +170,23 @@ _mesa_GetPixelTexGenParameterfvSGIS(GLenum target, GLfloat *value); extern void _mesa_GetPixelTexGenParameterivSGIS(GLenum target, GLint *value); +/*@}*/ + + +/** + * \name Initialization, state maintenance + */ +/*@{*/ + +extern void +_mesa_update_texture( GLcontext *ctx, GLuint new_state ); + +extern GLboolean +_mesa_init_texture( GLcontext *ctx ); + +extern void +_mesa_free_texture_data( GLcontext *ctx ); + +/*@}*/ #endif -- cgit v1.2.3