ReactOS  0.4.15-dev-1201-gb2cf5a4
vbfill.h
Go to the documentation of this file.
1 /* $Id: vbfill.h,v 1.7 1997/06/20 02:30:56 brianp Exp $ */
2 
3 /*
4  * Mesa 3-D graphics library
5  * Version: 2.3
6  * Copyright (C) 1995-1996 Brian Paul
7  *
8  * This library is free software; you can redistribute it and/or
9  * modify it under the terms of the GNU Library General Public
10  * License as published by the Free Software Foundation; either
11  * version 2 of the License, or (at your option) any later version.
12  *
13  * This library is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16  * Library General Public License for more details.
17  *
18  * You should have received a copy of the GNU Library General Public
19  * License along with this library; if not, write to the Free
20  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21  */
22 
23 
24 /*
25  * $Log: vbfill.h,v $
26  * Revision 1.7 1997/06/20 02:30:56 brianp
27  * added Color4ubv API pointer
28  *
29  * Revision 1.6 1997/06/20 02:30:22 brianp
30  * changed color components from GLfixed to GLubyte
31  *
32  * Revision 1.5 1997/04/24 01:50:53 brianp
33  * optimized glColor3f, glColor3fv, glColor4fv
34  *
35  * Revision 1.4 1997/04/16 23:55:33 brianp
36  * added optimized glTexCoord2f code
37  *
38  * Revision 1.3 1997/04/14 22:18:23 brianp
39  * added optimized glVertex3fv code
40  *
41  * Revision 1.2 1997/04/07 03:00:19 brianp
42  * added vertex[23] functions
43  *
44  * Revision 1.1 1997/04/02 03:13:56 brianp
45  * Initial revision
46  *
47  */
48 
49 
50 #ifndef VBFILL_H
51 #define VBFILL_H
52 
53 
54 #include "types.h"
55 
56 
58 
59 extern void gl_Normal3fv( GLcontext *ctx, const GLfloat *normal );
60 
61 
62 extern void gl_Indexf( GLcontext *ctx, GLfloat c );
63 
64 extern void gl_Indexi( GLcontext *ctx, GLint c );
65 
66 
67 extern void gl_Color3f( GLcontext *ctx,
69 
70 extern void gl_Color3fv( GLcontext *ctx, const GLfloat *c );
71 
72 extern void gl_Color4f( GLcontext *ctx,
75 
76 extern void gl_Color4fv( GLcontext *ctx, const GLfloat *c );
77 
78 extern void gl_Color4ub( GLcontext *ctx,
81 
82 extern void gl_Color4ub8bit( GLcontext *ctx,
85 
86 extern void gl_Color4ubv( GLcontext *ctx, const GLubyte *c );
87 
88 extern void gl_Color4ubv8bit( GLcontext *ctx, const GLubyte *c );
89 
90 
91 extern void gl_ColorMat3f( GLcontext *ctx,
93 
94 extern void gl_ColorMat3fv( GLcontext *ctx, const GLfloat *c );
95 
96 extern void gl_ColorMat3ub( GLcontext *ctx,
98 
99 extern void gl_ColorMat4f( GLcontext *ctx,
102 
103 extern void gl_ColorMat4fv( GLcontext *ctx, const GLfloat *c );
104 
105 extern void gl_ColorMat4ub( GLcontext *ctx,
108 
109 
110 extern void gl_TexCoord2f( GLcontext *ctx, GLfloat s, GLfloat t );
111 
112 extern void gl_TexCoord4f( GLcontext *ctx,
114 
115 
116 extern void gl_EdgeFlag( GLcontext *ctx, GLboolean flag );
117 
118 
119 
120 extern void gl_vertex2f_nop( GLcontext *ctx, GLfloat x, GLfloat y );
121 
122 extern void gl_vertex3f_nop( GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z );
123 
124 extern void gl_vertex4f_nop( GLcontext *ctx,
126 
127 extern void gl_vertex3fv_nop( GLcontext *ctx, const GLfloat *v );
128 
129 
130 
131 extern void gl_set_vertex_function( GLcontext *ctx );
132 
133 extern void gl_set_color_function( GLcontext *ctx );
134 
135 
136 
137 extern void gl_eval_vertex( GLcontext *ctx,
138  const GLfloat vertex[4], const GLfloat normal[3],
139  const GLubyte color[4], GLuint index,
140  const GLfloat texcoord[4] );
141 
142 
143 extern void gl_Begin( GLcontext *ctx, GLenum p );
144 
145 extern void gl_End( GLcontext *ctx );
146 
147 
148 #endif
149 
void gl_Begin(GLcontext *ctx, GLenum p)
Definition: vbfill.c:1341
void gl_set_vertex_function(GLcontext *ctx)
Definition: vbfill.c:1154
void gl_TexCoord2f(GLcontext *ctx, GLfloat s, GLfloat t)
Definition: vbfill.c:1109
void gl_Color4ub8bit(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
Definition: vbfill.c:355
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6102
Definition: mesh.c:4557
void gl_Color4fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:309
void gl_Color4ubv(GLcontext *ctx, const GLubyte *c)
Definition: vbfill.c:368
unsigned char GLubyte
Definition: gl.h:157
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
void gl_Indexf(GLcontext *ctx, GLfloat c)
Definition: vbfill.c:159
void gl_ColorMat3f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue)
Definition: vbfill.c:396
void gl_ColorMat4ub(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
Definition: vbfill.c:473
GLdouble GLdouble t
Definition: gl.h:2047
void gl_Color3f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue)
Definition: vbfill.c:216
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
void gl_ColorMat4fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:454
void gl_Color4f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Definition: vbfill.c:277
GLfloat GLfloat nz
Definition: glext.h:8896
void gl_vertex4f_nop(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
Definition: vbfill.c:1078
void gl_eval_vertex(GLcontext *ctx, const GLfloat vertex[4], const GLfloat normal[3], const GLubyte color[4], GLuint index, const GLfloat texcoord[4])
Definition: vbfill.c:1290
GLuint color
Definition: glext.h:6243
unsigned char GLboolean
Definition: gl.h:151
GLdouble GLdouble z
Definition: glext.h:5874
void gl_Color4ubv8bit(GLcontext *ctx, const GLubyte *c)
Definition: vbfill.c:384
void gl_vertex3f_nop(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z)
Definition: vbfill.c:1084
GLuint index
Definition: glext.h:6031
GLclampf GLclampf blue
Definition: gl.h:1740
void gl_Color4ub(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
Definition: vbfill.c:339
void gl_set_color_function(GLcontext *ctx)
Definition: vbfill.c:1236
void gl_Normal3fv(GLcontext *ctx, const GLfloat *normal)
Definition: vbfill.c:142
void gl_Normal3f(GLcontext *ctx, GLfloat nx, GLfloat ny, GLfloat nz)
Definition: vbfill.c:130
const GLubyte * c
Definition: glext.h:8905
GLclampf green
Definition: gl.h:1740
void gl_Color3fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:246
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063
#define red
Definition: linetest.c:67
void gl_Indexi(GLcontext *ctx, GLint c)
Definition: vbfill.c:169
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean flag
Definition: glfuncs.h:52
GLdouble s
Definition: gl.h:2039
unsigned int GLenum
Definition: gl.h:150
GLfloat GLfloat GLfloat GLfloat nx
Definition: glext.h:8898
void gl_End(GLcontext *ctx)
Definition: vbfill.c:1424
void gl_EdgeFlag(GLcontext *ctx, GLboolean flag)
Definition: vbfill.c:515
const GLdouble * v
Definition: gl.h:2040
unsigned int GLuint
Definition: gl.h:159
void gl_ColorMat3ub(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue)
void gl_vertex2f_nop(GLcontext *ctx, GLfloat x, GLfloat y)
Definition: vbfill.c:1089
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
float GLfloat
Definition: gl.h:161
void gl_ColorMat3fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:415
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
GLfloat ny
Definition: glext.h:8896
int GLint
Definition: gl.h:156
void gl_vertex3fv_nop(GLcontext *ctx, const GLfloat *v)
GLfloat GLfloat p
Definition: glext.h:8902
void gl_TexCoord4f(GLcontext *ctx, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
Definition: vbfill.c:1132
void gl_ColorMat4f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Definition: vbfill.c:434