diff options
author | Adam Jackson <ajax@freedesktop.org> | 2004-12-16 19:26:23 +0000 |
---|---|---|
committer | Adam Jackson <ajax@freedesktop.org> | 2004-12-16 19:26:23 +0000 |
commit | c403bcb8a7be437976d5adce41189fff1e7f690f (patch) | |
tree | fcd53d612d1725eb2609c49031e04da54a52370b /src/mesa/drivers/dri/s3v/s3v_vb.h | |
parent | 8662c5d98febd8efaf5f8ee47d34c7fcfd597ce3 (diff) |
Import s3virge and trident drivers. Not functional yet; no Makefile, no DRI-aware DDX.
Diffstat (limited to 'src/mesa/drivers/dri/s3v/s3v_vb.h')
-rw-r--r-- | src/mesa/drivers/dri/s3v/s3v_vb.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/s3v/s3v_vb.h b/src/mesa/drivers/dri/s3v/s3v_vb.h new file mode 100644 index 0000000000..b35d804e62 --- /dev/null +++ b/src/mesa/drivers/dri/s3v/s3v_vb.h @@ -0,0 +1,39 @@ +/* + * Author: Max Lingua <sunmax@libero.it> + */ + +#ifndef S3VVB_INC +#define S3VVB_INC + +#include "mtypes.h" +#include "swrast/swrast.h" + +#define _S3V_NEW_VERTEX (_NEW_TEXTURE | \ + _DD_NEW_TRI_UNFILLED | \ + _DD_NEW_TRI_LIGHT_TWOSIDE) + + +extern void s3vChooseVertexState( GLcontext *ctx ); +extern void s3vCheckTexSizes( GLcontext *ctx ); +extern void s3vBuildVertices( GLcontext *ctx, + GLuint start, + GLuint count, + GLuint newinputs ); + + +extern void s3v_import_float_colors( GLcontext *ctx ); +extern void s3v_import_float_spec_colors( GLcontext *ctx ); + +extern void s3v_translate_vertex( GLcontext *ctx, + const s3vVertex *src, + SWvertex *dst ); + +extern void s3vInitVB( GLcontext *ctx ); +extern void s3vFreeVB( GLcontext *ctx ); + +extern void s3v_print_vertex( GLcontext *ctx, const s3vVertex *v ); +#if 0 +extern void s3vPrintSetupFlags(char *msg, GLuint flags ); +#endif + +#endif |