summaryrefslogtreecommitdiff
path: root/src/mesa/main/texstate.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2003-07-17 13:43:59 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2003-07-17 13:43:59 +0000
commit6dc85575000127630489b407c50a4b3ea87c9acb (patch)
treec79b24b7059577caf8201eeb7a42a6890721f52b /src/mesa/main/texstate.h
parent44c699949ac09459771304a8aec8f2fc622057fb (diff)
Merge Jose's documentation and core Mesa changes from embedded branch
Diffstat (limited to 'src/mesa/main/texstate.h')
-rw-r--r--src/mesa/main/texstate.h29
1 files changed, 26 insertions, 3 deletions
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