fix up radeon span functions using latest r200 code from Brian,
[mesa.git] / src / mesa / drivers / dri / s3v / s3v_vb.h
1 /*
2 * Author: Max Lingua <sunmax@libero.it>
3 */
4
5 #ifndef S3VVB_INC
6 #define S3VVB_INC
7
8 #include "mtypes.h"
9 #include "swrast/swrast.h"
10
11 #define _S3V_NEW_VERTEX (_NEW_TEXTURE | \
12 _DD_NEW_TRI_UNFILLED | \
13 _DD_NEW_TRI_LIGHT_TWOSIDE)
14
15
16 extern void s3vChooseVertexState( GLcontext *ctx );
17 extern void s3vCheckTexSizes( GLcontext *ctx );
18 extern void s3vBuildVertices( GLcontext *ctx,
19 GLuint start,
20 GLuint count,
21 GLuint newinputs );
22
23
24 extern void s3v_import_float_colors( GLcontext *ctx );
25 extern void s3v_import_float_spec_colors( GLcontext *ctx );
26
27 extern void s3v_translate_vertex( GLcontext *ctx,
28 const s3vVertex *src,
29 SWvertex *dst );
30
31 extern void s3vInitVB( GLcontext *ctx );
32 extern void s3vFreeVB( GLcontext *ctx );
33
34 extern void s3v_print_vertex( GLcontext *ctx, const s3vVertex *v );
35 #if 0
36 extern void s3vPrintSetupFlags(char *msg, GLuint flags );
37 #endif
38
39 #endif