st/mesa: comments for st_draw.c
authorBrian Paul <brianp@vmware.com>
Fri, 13 Nov 2009 03:59:26 +0000 (20:59 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 15 Nov 2009 23:22:53 +0000 (16:22 -0700)
src/mesa/state_tracker/st_draw.c

index c76bff91819d7da2a978042ced88f04c3fdd4457..68bc76b572397ce0a758673f6613af113446b23d 100644 (file)
  * 
  **************************************************************************/
 
- /*
-  * Authors:
-  *   Keith Whitwell <keith@tungstengraphics.com>
-  */
+/*
+ * This file implements the st_draw_vbo() function which is called from
+ * Mesa's VBO module.  All point/line/triangle rendering is done through
+ * this function whether the user called glBegin/End, glDrawArrays,
+ * glDrawElements, glEvalMesh, or glCalList, etc.
+ *
+ * We basically convert the VBO's vertex attribute/array information into
+ * Gallium vertex state, bind the vertex buffer objects and call
+ * pipe->draw_elements(), pipe->draw_range_elements() or pipe->draw_arrays().
+ *
+ * Authors:
+ *   Keith Whitwell <keith@tungstengraphics.com>
+ */
+
 
 #include "main/imports.h"
 #include "main/image.h"