summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/softpipe/sp_prim_setup.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-07-12 13:43:33 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-07-12 13:43:33 -0600
commitc78f372b1720cf17b0112d7c3296020044bef97b (patch)
tree0bb14488099ca0a464361f8d060fdd7049828425 /src/mesa/pipe/softpipe/sp_prim_setup.h
parent4f218958cc0bc57196a748cb005f94aeeace037c (diff)
s/prim_setup/sp_draw_render_stage/, new comments
Diffstat (limited to 'src/mesa/pipe/softpipe/sp_prim_setup.h')
-rw-r--r--src/mesa/pipe/softpipe/sp_prim_setup.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/mesa/pipe/softpipe/sp_prim_setup.h b/src/mesa/pipe/softpipe/sp_prim_setup.h
index be00b0182b..e5abefcd49 100644
--- a/src/mesa/pipe/softpipe/sp_prim_setup.h
+++ b/src/mesa/pipe/softpipe/sp_prim_setup.h
@@ -22,8 +22,10 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
-#ifndef S_TRI_H
-#define S_TRI_H
+
+#ifndef SP_PRIM_SETUP_H
+#define SP_PRIM_SETUP_H
+
/* Vertices are just an array of floats, with all the attributes
* packed. We currently assume a layout like:
@@ -43,7 +45,7 @@
#include "s_context.h"
-extern struct draw_stage *prim_setup( struct softpipe_context *softpipe );
+extern struct draw_stage *sp_draw_render_stage( struct softpipe_context *softpipe );
#if 0 /* UNUSED? */
@@ -104,11 +106,6 @@ void tri_triangle( struct tri_context *tri,
#ifdef SETUP_PRIVATE
-
-
-
-
-
GLboolean tri_setup( struct tri_context *tri,
const struct vertex *v0,
const struct vertex *v1,
@@ -117,11 +114,9 @@ GLboolean tri_setup( struct tri_context *tri,
void tri_rasterize( struct tri_context *tri );
void tri_rasterize_spans( struct tri_context *tri );
-
-
-
+#endif
#endif
-#endif
-#endif
+
+#endif /* SP_PRIM_SETUP_H */