fixed conformance problems in min/max and histogram result packing
[mesa.git] / src / mesa / main / api_noop.h
1
2 #ifndef _API_NOOP_H
3 #define _API_NOOP_H
4
5
6 #include "glheader.h"
7 #include "mtypes.h"
8 #include "context.h"
9
10 /* In states where certain vertex components are required for t&l or
11 * rasterization, we still need to keep track of the current values.
12 * These functions provide this service by keeping uptodate the
13 * 'ctx->Current' struct for all data elements not included in the
14 * currently enabled hardware vertex.
15 *
16 */
17 extern void _mesa_noop_EdgeFlag( GLboolean b );
18
19 extern void _mesa_noop_EdgeFlagv( const GLboolean *b );
20
21 extern void _mesa_noop_FogCoordfEXT( GLfloat a );
22
23 extern void _mesa_noop_FogCoordfvEXT( const GLfloat *v );
24
25 extern void _mesa_noop_Indexi( GLint i );
26
27 extern void _mesa_noop_Indexiv( const GLint *v );
28
29 extern void _mesa_noop_Normal3f( GLfloat a, GLfloat b, GLfloat c );
30
31 extern void _mesa_noop_Normal3fv( const GLfloat *v );
32
33 extern void _mesa_noop_Materialfv( GLenum face, GLenum pname, const GLfloat *param );
34
35 extern void _mesa_noop_Color4ub( GLubyte a, GLubyte b, GLubyte c, GLubyte d );
36
37 extern void _mesa_noop_Color4ubv( const GLubyte *v );
38
39 extern void _mesa_noop_Color4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d );
40
41 extern void _mesa_noop_Color4fv( const GLfloat *v );
42
43 extern void _mesa_noop_Color3ub( GLubyte a, GLubyte b, GLubyte c );
44
45 extern void _mesa_noop_Color3ubv( const GLubyte *v );
46
47 extern void _mesa_noop_Color3f( GLfloat a, GLfloat b, GLfloat c );
48
49 extern void _mesa_noop_Color3fv( const GLfloat *v );
50
51 extern void _mesa_noop_MultiTexCoord1fARB( GLenum target, GLfloat a );
52
53 extern void _mesa_noop_MultiTexCoord1fvARB( GLenum target, GLfloat *v );
54
55 extern void _mesa_noop_MultiTexCoord2fARB( GLenum target, GLfloat a,
56 GLfloat b );
57
58 extern void _mesa_noop_MultiTexCoord2fvARB( GLenum target, GLfloat *v );
59
60 extern void _mesa_noop_MultiTexCoord3fARB( GLenum target, GLfloat a,
61 GLfloat b, GLfloat c);
62
63 extern void _mesa_noop_MultiTexCoord3fvARB( GLenum target, GLfloat *v );
64
65 extern void _mesa_noop_MultiTexCoord4fARB( GLenum target, GLfloat a,
66 GLfloat b, GLfloat c, GLfloat d );
67
68 extern void _mesa_noop_MultiTexCoord4fvARB( GLenum target, GLfloat *v );
69
70 extern void _mesa_noop_SecondaryColor3ubEXT( GLubyte a, GLubyte b, GLubyte c );
71
72 extern void _mesa_noop_SecondaryColor3ubvEXT( const GLubyte *v );
73
74 extern void _mesa_noop_SecondaryColor3fEXT( GLfloat a, GLfloat b, GLfloat c );
75
76 extern void _mesa_noop_SecondaryColor3fvEXT( const GLfloat *v );
77
78 extern void _mesa_noop_TexCoord1f( GLfloat a );
79
80 extern void _mesa_noop_TexCoord1fv( GLfloat *v );
81
82 extern void _mesa_noop_TexCoord2f( GLfloat a, GLfloat b );
83
84 extern void _mesa_noop_TexCoord2fv( GLfloat *v );
85
86 extern void _mesa_noop_TexCoord3f( GLfloat a, GLfloat b, GLfloat c );
87
88 extern void _mesa_noop_TexCoord3fv( GLfloat *v );
89
90 extern void _mesa_noop_TexCoord4f( GLfloat a, GLfloat b, GLfloat c, GLfloat d );
91
92 extern void _mesa_noop_TexCoord4fv( GLfloat *v );
93
94
95 /* Not strictly a noop -- translate Rectf down to Begin/End and
96 * vertices. Closer to the loopback operations, but doesn't meet the
97 * criteria for inclusion there (cannot be used in the Save table).
98 */
99 extern void _mesa_noop_Rectf( GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2 );
100
101 #endif