summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-08 16:25:17 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-08 16:25:17 -0700
commit03484d0aaefce84bc304c9d87f28edd77e10844a (patch)
tree8bbea1fb09925b6cc8683d5bcf50831064916099
parentf66fed57e65c518c751dc71ca26439ac76313ce9 (diff)
comments, remove unneeded #includes
-rw-r--r--src/mesa/pipe/draw/draw_prim.c16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/mesa/pipe/draw/draw_prim.c b/src/mesa/pipe/draw/draw_prim.c
index cf8943b40d..94f6df56df 100644
--- a/src/mesa/pipe/draw/draw_prim.c
+++ b/src/mesa/pipe/draw/draw_prim.c
@@ -30,12 +30,9 @@
* Keith Whitwell <keith@tungstengraphics.com>
*/
-#include "pipe/p_util.h"
#include "draw_private.h"
#include "draw_context.h"
-#include "draw_prim.h"
-#include "pipe/tgsi/exec/tgsi_core.h"
#define RP_NONE 0
@@ -150,7 +147,10 @@ static struct prim_header *get_queued_prim( struct draw_context *draw,
-
+/**
+ * Add a point to the primitive queue.
+ * \param i0 index into user's vertex arrays
+ */
static void do_point( struct draw_context *draw,
unsigned i0 )
{
@@ -163,6 +163,11 @@ static void do_point( struct draw_context *draw,
}
+/**
+ * Add a line to the primitive queue.
+ * \param i0 index into user's vertex arrays
+ * \param i1 index into user's vertex arrays
+ */
static void do_line( struct draw_context *draw,
boolean reset_stipple,
unsigned i0,
@@ -177,6 +182,9 @@ static void do_line( struct draw_context *draw,
prim->v[1] = draw->vcache.get_vertex( draw, i1 );
}
+/**
+ * Add a triangle to the primitive queue.
+ */
static void do_triangle( struct draw_context *draw,
unsigned i0,
unsigned i1,