Provide dummy definitions of __driConfig externs
[mesa.git] / src / mesa / drivers / dri / i830 / i830_vb.h
1 /*
2 * GLX Hardware Device Driver for Intel i810
3 * Copyright (C) 1999 Keith Whitwell
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included
13 * in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * KEITH WHITWELL, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
21 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 *
23 * Adapted for use in the I830M:
24 * Jeff Hartmann <jhartmann@2d3d.com>
25 */
26 /* $XFree86: xc/lib/GL/mesa/src/drv/i830/i830_vb.h,v 1.1 2002/09/09 19:18:49 dawes Exp $ */
27
28 #ifndef I830VB_INC
29 #define I830VB_INC
30
31 #include "mtypes.h"
32 #include "swrast/swrast.h"
33
34 #define _I830_NEW_VERTEX (_NEW_TEXTURE | \
35 _DD_NEW_SEPARATE_SPECULAR | \
36 _DD_NEW_TRI_UNFILLED | \
37 _DD_NEW_TRI_LIGHT_TWOSIDE | \
38 _NEW_FOG)
39
40
41 extern void i830ChooseVertexState( GLcontext *ctx );
42 extern void i830CheckTexSizes( GLcontext *ctx );
43 extern void i830BuildVertices( GLcontext *ctx,
44 GLuint start,
45 GLuint count,
46 GLuint newinputs );
47
48
49 extern void i830_emit_contiguous_verts( GLcontext *ctx,
50 GLuint start,
51 GLuint count );
52
53 extern void i830_translate_vertex( GLcontext *ctx,
54 const i830Vertex *src,
55 SWvertex *dst );
56
57 extern void i830InitVB( GLcontext *ctx );
58 extern void i830FreeVB( GLcontext *ctx );
59
60 extern void i830_print_vertex( GLcontext *ctx, const i830Vertex *v );
61 extern void i830PrintSetupFlags(char *msg, GLuint flags );
62
63 #endif