ecc889b67eea6204beb4ca898fa2778e46722f99
3 * Mesa 3-D graphics library
6 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * copy of this software and associated documentation files (the "Software"),
10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
15 * The above copyright notice and this permission notice shall be included
16 * in all copies or substantial portions of the Software.
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
22 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
23 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 /* In states where certain vertex components are required for t&l or
35 * rasterization, we still need to keep track of the current values.
36 * These functions provide this service by keeping uptodate the
37 * 'ctx->Current' struct for all data elements not included in the
38 * currently enabled hardware vertex.
41 extern void _mesa_noop_EdgeFlag( GLboolean b
);
43 extern void _mesa_noop_EdgeFlagv( const GLboolean
*b
);
45 extern void _mesa_noop_FogCoordfEXT( GLfloat a
);
47 extern void _mesa_noop_FogCoordfvEXT( const GLfloat
*v
);
49 extern void _mesa_noop_Indexf( GLfloat i
);
51 extern void _mesa_noop_Indexfv( const GLfloat
*v
);
53 extern void _mesa_noop_Normal3f( GLfloat a
, GLfloat b
, GLfloat c
);
55 extern void _mesa_noop_Normal3fv( const GLfloat
*v
);
57 extern void _mesa_noop_Materialfv( GLenum face
, GLenum pname
, const GLfloat
*param
);
59 extern void _mesa_noop_Color4ub( GLubyte a
, GLubyte b
, GLubyte c
, GLubyte d
);
61 extern void _mesa_noop_Color4ubv( const GLubyte
*v
);
63 extern void _mesa_noop_Color4f( GLfloat a
, GLfloat b
, GLfloat c
, GLfloat d
);
65 extern void _mesa_noop_Color4fv( const GLfloat
*v
);
67 extern void _mesa_noop_Color3ub( GLubyte a
, GLubyte b
, GLubyte c
);
69 extern void _mesa_noop_Color3ubv( const GLubyte
*v
);
71 extern void _mesa_noop_Color3f( GLfloat a
, GLfloat b
, GLfloat c
);
73 extern void _mesa_noop_Color3fv( const GLfloat
*v
);
75 extern void _mesa_noop_MultiTexCoord1fARB( GLenum target
, GLfloat a
);
77 extern void _mesa_noop_MultiTexCoord1fvARB( GLenum target
, const GLfloat
*v
);
79 extern void _mesa_noop_MultiTexCoord2fARB( GLenum target
, GLfloat a
,
82 extern void _mesa_noop_MultiTexCoord2fvARB( GLenum target
, const GLfloat
*v
);
84 extern void _mesa_noop_MultiTexCoord3fARB( GLenum target
, GLfloat a
,
85 GLfloat b
, GLfloat c
);
87 extern void _mesa_noop_MultiTexCoord3fvARB( GLenum target
, const GLfloat
*v
);
89 extern void _mesa_noop_MultiTexCoord4fARB( GLenum target
, GLfloat a
,
90 GLfloat b
, GLfloat c
, GLfloat d
);
92 extern void _mesa_noop_MultiTexCoord4fvARB( GLenum target
, const GLfloat
*v
);
94 extern void _mesa_noop_SecondaryColor3ubEXT( GLubyte a
, GLubyte b
, GLubyte c
);
96 extern void _mesa_noop_SecondaryColor3ubvEXT( const GLubyte
*v
);
98 extern void _mesa_noop_SecondaryColor3fEXT( GLfloat a
, GLfloat b
, GLfloat c
);
100 extern void _mesa_noop_SecondaryColor3fvEXT( const GLfloat
*v
);
102 extern void _mesa_noop_TexCoord1f( GLfloat a
);
104 extern void _mesa_noop_TexCoord1fv( const GLfloat
*v
);
106 extern void _mesa_noop_TexCoord2f( GLfloat a
, GLfloat b
);
108 extern void _mesa_noop_TexCoord2fv( const GLfloat
*v
);
110 extern void _mesa_noop_TexCoord3f( GLfloat a
, GLfloat b
, GLfloat c
);
112 extern void _mesa_noop_TexCoord3fv( const GLfloat
*v
);
114 extern void _mesa_noop_TexCoord4f( GLfloat a
, GLfloat b
, GLfloat c
, GLfloat d
);
116 extern void _mesa_noop_TexCoord4fv( const GLfloat
*v
);
118 extern void _mesa_noop_Vertex2fv( const GLfloat
*v
);
120 extern void _mesa_noop_Vertex3fv( const GLfloat
*v
);
122 extern void _mesa_noop_Vertex4fv( const GLfloat
*v
);
124 extern void _mesa_noop_Vertex2f( GLfloat a
, GLfloat b
);
126 extern void _mesa_noop_Vertex3f( GLfloat a
, GLfloat b
, GLfloat c
);
128 extern void _mesa_noop_Vertex4f( GLfloat a
, GLfloat b
, GLfloat c
, GLfloat d
);
130 extern void _mesa_noop_VertexAttrib1fNV( GLuint index
, GLfloat x
);
132 extern void _mesa_noop_VertexAttrib1fvNV( GLuint index
, const GLfloat
*v
);
134 extern void _mesa_noop_VertexAttrib2fNV( GLuint index
, GLfloat x
, GLfloat y
);
135 extern void _mesa_noop_VertexAttrib2fvNV( GLuint index
, const GLfloat
*v
);
137 extern void _mesa_noop_VertexAttrib3fNV( GLuint index
, GLfloat x
,
138 GLfloat y
, GLfloat z
);
139 extern void _mesa_noop_VertexAttrib3fvNV( GLuint index
, const GLfloat
*v
);
141 extern void _mesa_noop_VertexAttrib4fNV( GLuint index
, GLfloat x
,
142 GLfloat y
, GLfloat z
, GLfloat w
);
144 extern void _mesa_noop_VertexAttrib4fvNV( GLuint index
, const GLfloat
*v
);
146 extern void _mesa_noop_End( void );
147 extern void _mesa_noop_Begin( GLenum mode
);
148 extern void _mesa_noop_EvalPoint2( GLint a
, GLint b
);
149 extern void _mesa_noop_EvalPoint1( GLint a
);
150 extern void _mesa_noop_EvalCoord2fv( const GLfloat
*v
);
151 extern void _mesa_noop_EvalCoord2f( GLfloat a
, GLfloat b
);
152 extern void _mesa_noop_EvalCoord1fv( const GLfloat
*v
);
153 extern void _mesa_noop_EvalCoord1f( GLfloat a
);
155 extern void _mesa_noop_vtxfmt_init( GLvertexformat
*vfmt
);
157 extern void _mesa_noop_EvalMesh2( GLenum mode
, GLint i1
, GLint i2
,
158 GLint j1
, GLint j2
);
160 extern void _mesa_noop_EvalMesh1( GLenum mode
, GLint i1
, GLint i2
);
163 /* Not strictly a noop -- translate Rectf down to Begin/End and
164 * vertices. Closer to the loopback operations, but doesn't meet the
165 * criteria for inclusion there (cannot be used in the Save table).
167 extern void _mesa_noop_Rectf( GLfloat x1
, GLfloat y1
, GLfloat x2
, GLfloat y2
);
170 extern void _mesa_noop_DrawArrays(GLenum mode
, GLint start
, GLsizei count
);
171 extern void _mesa_noop_DrawElements(GLenum mode
, GLsizei count
, GLenum type
,
172 const GLvoid
*indices
);
173 extern void _mesa_noop_DrawRangeElements(GLenum mode
,
174 GLuint start
, GLuint end
,
175 GLsizei count
, GLenum type
,
176 const GLvoid
*indices
);