c80179d29300a1a2ac9accdfa2998982574ef5f7
1 /* $Id: api_noop.h,v 1.3 2001/03/12 00:48:37 gareth Exp $ */
4 * Mesa 3-D graphics library
7 * Copyright (C) 1999-2001 Brian Paul All Rights Reserved.
9 * Permission is hereby granted, free of charge, to any person obtaining a
10 * copy of this software and associated documentation files (the "Software"),
11 * to deal in the Software without restriction, including without limitation
12 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
13 * and/or sell copies of the Software, and to permit persons to whom the
14 * Software is furnished to do so, subject to the following conditions:
16 * The above copyright notice and this permission notice shall be included
17 * in all copies or substantial portions of the Software.
19 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
20 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
22 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
23 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
35 /* In states where certain vertex components are required for t&l or
36 * rasterization, we still need to keep track of the current values.
37 * These functions provide this service by keeping uptodate the
38 * 'ctx->Current' struct for all data elements not included in the
39 * currently enabled hardware vertex.
42 extern void _mesa_noop_EdgeFlag( GLboolean b
);
44 extern void _mesa_noop_EdgeFlagv( const GLboolean
*b
);
46 extern void _mesa_noop_FogCoordfEXT( GLfloat a
);
48 extern void _mesa_noop_FogCoordfvEXT( const GLfloat
*v
);
50 extern void _mesa_noop_Indexi( GLint i
);
52 extern void _mesa_noop_Indexiv( const GLint
*v
);
54 extern void _mesa_noop_Normal3f( GLfloat a
, GLfloat b
, GLfloat c
);
56 extern void _mesa_noop_Normal3fv( const GLfloat
*v
);
58 extern void _mesa_noop_Materialfv( GLenum face
, GLenum pname
, const GLfloat
*param
);
60 extern void _mesa_noop_Color4ub( GLubyte a
, GLubyte b
, GLubyte c
, GLubyte d
);
62 extern void _mesa_noop_Color4ubv( const GLubyte
*v
);
64 extern void _mesa_noop_Color4f( GLfloat a
, GLfloat b
, GLfloat c
, GLfloat d
);
66 extern void _mesa_noop_Color4fv( const GLfloat
*v
);
68 extern void _mesa_noop_Color3ub( GLubyte a
, GLubyte b
, GLubyte c
);
70 extern void _mesa_noop_Color3ubv( const GLubyte
*v
);
72 extern void _mesa_noop_Color3f( GLfloat a
, GLfloat b
, GLfloat c
);
74 extern void _mesa_noop_Color3fv( const GLfloat
*v
);
76 extern void _mesa_noop_MultiTexCoord1fARB( GLenum target
, GLfloat a
);
78 extern void _mesa_noop_MultiTexCoord1fvARB( GLenum target
, GLfloat
*v
);
80 extern void _mesa_noop_MultiTexCoord2fARB( GLenum target
, GLfloat a
,
83 extern void _mesa_noop_MultiTexCoord2fvARB( GLenum target
, GLfloat
*v
);
85 extern void _mesa_noop_MultiTexCoord3fARB( GLenum target
, GLfloat a
,
86 GLfloat b
, GLfloat c
);
88 extern void _mesa_noop_MultiTexCoord3fvARB( GLenum target
, GLfloat
*v
);
90 extern void _mesa_noop_MultiTexCoord4fARB( GLenum target
, GLfloat a
,
91 GLfloat b
, GLfloat c
, GLfloat d
);
93 extern void _mesa_noop_MultiTexCoord4fvARB( GLenum target
, GLfloat
*v
);
95 extern void _mesa_noop_SecondaryColor3ubEXT( GLubyte a
, GLubyte b
, GLubyte c
);
97 extern void _mesa_noop_SecondaryColor3ubvEXT( const GLubyte
*v
);
99 extern void _mesa_noop_SecondaryColor3fEXT( GLfloat a
, GLfloat b
, GLfloat c
);
101 extern void _mesa_noop_SecondaryColor3fvEXT( const GLfloat
*v
);
103 extern void _mesa_noop_TexCoord1f( GLfloat a
);
105 extern void _mesa_noop_TexCoord1fv( GLfloat
*v
);
107 extern void _mesa_noop_TexCoord2f( GLfloat a
, GLfloat b
);
109 extern void _mesa_noop_TexCoord2fv( GLfloat
*v
);
111 extern void _mesa_noop_TexCoord3f( GLfloat a
, GLfloat b
, GLfloat c
);
113 extern void _mesa_noop_TexCoord3fv( GLfloat
*v
);
115 extern void _mesa_noop_TexCoord4f( GLfloat a
, GLfloat b
, GLfloat c
, GLfloat d
);
117 extern void _mesa_noop_TexCoord4fv( GLfloat
*v
);
120 /* Not strictly a noop -- translate Rectf down to Begin/End and
121 * vertices. Closer to the loopback operations, but doesn't meet the
122 * criteria for inclusion there (cannot be used in the Save table).
124 extern void _mesa_noop_Rectf( GLfloat x1
, GLfloat y1
, GLfloat x2
, GLfloat y2
);
127 extern void _mesa_noop_DrawArrays(GLenum mode
, GLint start
, GLsizei count
);
128 extern void _mesa_noop_DrawElements(GLenum mode
, GLsizei count
, GLenum type
,
129 const GLvoid
*indices
);
130 extern void _mesa_noop_DrawRangeElements(GLenum mode
,
131 GLuint start
, GLuint end
,
132 GLsizei count
, GLenum type
,
133 const GLvoid
*indices
);