* 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:
#include "imports.h"
#if 0
#include "s_tri_public.h"
-#endif
#include "s_context.h"
+#endif
-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? */
#ifdef SETUP_PRIVATE
-
-
-
-
-
GLboolean tri_setup( struct tri_context *tri,
const struct vertex *v0,
const struct vertex *v1,
void tri_rasterize( struct tri_context *tri );
void tri_rasterize_spans( struct tri_context *tri );
+#endif
-
-
-
-#endif
-#endif
#endif
+
+#endif /* SP_PRIM_SETUP_H */