r300g: better describe another flush and move it closer to the real problem
[mesa.git] / src / mesa / main / texobj.h
index ec7cf8cd86e80430d2ba52c82d1fc7a1ba8b073b..9bfebd45c818fdafad609ed041699ac50b38b18b 100644 (file)
@@ -57,15 +57,31 @@ extern void
 _mesa_copy_texture_object( struct gl_texture_object *dest,
                            const struct gl_texture_object *src );
 
+extern void
+_mesa_clear_texture_object(GLcontext *ctx, struct gl_texture_object *obj);
+
+extern void
+_mesa_reference_texobj(struct gl_texture_object **ptr,
+                       struct gl_texture_object *tex);
+
 extern void
 _mesa_test_texobj_completeness( const GLcontext *ctx,
                                 struct gl_texture_object *obj );
 
-extern void _mesa_unlock_context_textures( GLcontext *ctx );
-extern void _mesa_lock_context_textures( GLcontext *ctx );
+extern void
+_mesa_dirty_texobj(GLcontext *ctx, struct gl_texture_object *texObj,
+                   GLboolean invalidate_state);
 
-/*@}*/
+extern struct gl_texture_object *
+_mesa_get_fallback_texture(GLcontext *ctx);
+
+extern void
+_mesa_unlock_context_textures( GLcontext *ctx );
 
+extern void
+_mesa_lock_context_textures( GLcontext *ctx );
+
+/*@}*/
 
 /**
  * \name API functions