summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_draw.h
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-20 16:21:08 -0600
committerBrian <[email protected]>2007-08-20 16:21:08 -0600
commit51da8ee85eccf0df3721cbd863cd174382d1ddfd (patch)
tree5fc9d29313fb9d8e1344434b6b0adf5116d277d5 /src/mesa/state_tracker/st_draw.h
parent0a262998ef2813d19e9fee01d3e5808416e9cb04 (diff)
Start to remove the temporary draw_vb() and draw_vertices() code.
new st_draw_vertices() utility used by glClear and glDrawPixels
Diffstat (limited to 'src/mesa/state_tracker/st_draw.h')
-rw-r--r--src/mesa/state_tracker/st_draw.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_draw.h b/src/mesa/state_tracker/st_draw.h
index 0afadab5779..0005fbc51f3 100644
--- a/src/mesa/state_tracker/st_draw.h
+++ b/src/mesa/state_tracker/st_draw.h
@@ -1,6 +1,6 @@
/**************************************************************************
*
- * Copyright 2003 Tungsten Graphics, Inc., Cedar Park, Texas.
+ * Copyright 2004 Tungsten Graphics, Inc., Cedar Park, Texas.
* All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
@@ -34,11 +34,15 @@
#ifndef ST_DRAW_H
#define ST_DRAW_H
+
void st_init_draw( struct st_context *st );
+
void st_destroy_draw( struct st_context *st );
-/** XXX temporary here */
-void st_clear(struct st_context *st, GLboolean color, GLboolean depth,
- GLboolean stencil);
+void
+st_draw_vertices(GLcontext *ctx, unsigned prim,
+ unsigned numVertex, float *verts,
+ unsigned numAttribs, const unsigned attribs[]);
+
#endif