Mesa (master): Add a comment about _tnl_emit_indexed_vertices_to_buffer.

Thomas Hellstrom thomash at kemper.freedesktop.org
Tue Jan 20 10:41:35 UTC 2009


Module: Mesa
Branch: master
Commit: 437fa85ba3611606ae8a8ac4aa4d634c91d2966d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=437fa85ba3611606ae8a8ac4aa4d634c91d2966d

Author: Thomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Date:   Tue Jan 20 11:40:51 2009 +0100

Add a comment about _tnl_emit_indexed_vertices_to_buffer.

---

 src/mesa/tnl/t_vertex.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/src/mesa/tnl/t_vertex.h b/src/mesa/tnl/t_vertex.h
index 16071fb..2dfd7b5 100644
--- a/src/mesa/tnl/t_vertex.h
+++ b/src/mesa/tnl/t_vertex.h
@@ -118,6 +118,12 @@ extern void *_tnl_emit_vertices_to_buffer( GLcontext *ctx,
 					   GLuint start,
 					   GLuint end,
 					   void *dest );
+
+/* This function isn't optimal. Check out 
+ * gallium/auxilary/translate for a more comprehensive implementation of
+ * the same functionality.
+ */
+  
 extern void *_tnl_emit_indexed_vertices_to_buffer( GLcontext *ctx,
 						   const GLuint *elts,
 						   GLuint start,




More information about the mesa-commit mailing list