ReactOS 0.4.15-dev-5664-g3bf4ef6
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
59extern void gl_Normal3fv( GLcontext *ctx, const GLfloat *normal );
60
61
62extern void gl_Indexf( GLcontext *ctx, GLfloat c );
63
64extern void gl_Indexi( GLcontext *ctx, GLint c );
65
66
67extern void gl_Color3f( GLcontext *ctx,
69
70extern void gl_Color3fv( GLcontext *ctx, const GLfloat *c );
71
72extern void gl_Color4f( GLcontext *ctx,
75
76extern void gl_Color4fv( GLcontext *ctx, const GLfloat *c );
77
78extern void gl_Color4ub( GLcontext *ctx,
81
82extern void gl_Color4ub8bit( GLcontext *ctx,
85
86extern void gl_Color4ubv( GLcontext *ctx, const GLubyte *c );
87
88extern void gl_Color4ubv8bit( GLcontext *ctx, const GLubyte *c );
89
90
91extern void gl_ColorMat3f( GLcontext *ctx,
93
94extern void gl_ColorMat3fv( GLcontext *ctx, const GLfloat *c );
95
98
99extern void gl_ColorMat4f( GLcontext *ctx,
102
103extern void gl_ColorMat4fv( GLcontext *ctx, const GLfloat *c );
104
105extern void gl_ColorMat4ub( GLcontext *ctx,
108
109
110extern void gl_TexCoord2f( GLcontext *ctx, GLfloat s, GLfloat t );
111
112extern void gl_TexCoord4f( GLcontext *ctx,
114
115
116extern void gl_EdgeFlag( GLcontext *ctx, GLboolean flag );
117
118
119
120extern void gl_vertex2f_nop( GLcontext *ctx, GLfloat x, GLfloat y );
121
123
124extern void gl_vertex4f_nop( GLcontext *ctx,
126
127extern void gl_vertex3fv_nop( GLcontext *ctx, const GLfloat *v );
128
129
130
131extern void gl_set_vertex_function( GLcontext *ctx );
132
133extern void gl_set_color_function( GLcontext *ctx );
134
135
136
137extern 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
143extern void gl_Begin( GLcontext *ctx, GLenum p );
144
145extern void gl_End( GLcontext *ctx );
146
147
148#endif
149
unsigned char GLubyte
Definition: gl.h:157
float GLfloat
Definition: gl.h:161
GLclampf green
Definition: gl.h:1740
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
const GLdouble * v
Definition: gl.h:2040
GLclampf GLclampf GLclampf alpha
Definition: gl.h:1740
unsigned int GLenum
Definition: gl.h:150
GLdouble s
Definition: gl.h:2039
unsigned int GLuint
Definition: gl.h:159
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
GLdouble GLdouble GLdouble r
Definition: gl.h:2055
GLclampf GLclampf blue
Definition: gl.h:1740
GLdouble GLdouble t
Definition: gl.h:2047
int GLint
Definition: gl.h:156
unsigned char GLboolean
Definition: gl.h:151
GLdouble GLdouble GLdouble GLdouble q
Definition: gl.h:2063
GLfloat GLfloat nz
Definition: glext.h:8896
GLuint color
Definition: glext.h:6243
const GLubyte * c
Definition: glext.h:8905
GLuint index
Definition: glext.h:6031
GLfloat ny
Definition: glext.h:8896
GLfloat GLfloat GLfloat GLfloat nx
Definition: glext.h:8898
GLfloat GLfloat p
Definition: glext.h:8902
GLubyte GLubyte GLubyte GLubyte w
Definition: glext.h:6102
GLdouble GLdouble z
Definition: glext.h:5874
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
#define red
Definition: linetest.c:67
@ normal
Definition: optimize.h:166
Definition: mesh.c:4558
void gl_ColorMat4fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:454
void gl_End(GLcontext *ctx)
Definition: vbfill.c:1424
void gl_Color4f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Definition: vbfill.c:277
void gl_set_color_function(GLcontext *ctx)
Definition: vbfill.c:1236
void gl_vertex4f_nop(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
Definition: vbfill.c:1078
void gl_vertex3fv_nop(GLcontext *ctx, const GLfloat *v)
void gl_vertex3f_nop(GLcontext *ctx, GLfloat x, GLfloat y, GLfloat z)
Definition: vbfill.c:1084
void gl_Normal3fv(GLcontext *ctx, const GLfloat *normal)
Definition: vbfill.c:142
void gl_Indexi(GLcontext *ctx, GLint c)
Definition: vbfill.c:169
void gl_ColorMat3ub(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue)
void gl_Begin(GLcontext *ctx, GLenum p)
Definition: vbfill.c:1341
void gl_Normal3f(GLcontext *ctx, GLfloat nx, GLfloat ny, GLfloat nz)
Definition: vbfill.c:130
void gl_Color4ubv8bit(GLcontext *ctx, const GLubyte *c)
Definition: vbfill.c:384
void gl_ColorMat3fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:415
void gl_Color4ubv(GLcontext *ctx, const GLubyte *c)
Definition: vbfill.c:368
void gl_ColorMat3f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue)
Definition: vbfill.c:396
void gl_Indexf(GLcontext *ctx, GLfloat c)
Definition: vbfill.c:159
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
void gl_Color4ub(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
Definition: vbfill.c:339
void gl_TexCoord2f(GLcontext *ctx, GLfloat s, GLfloat t)
Definition: vbfill.c:1109
void gl_ColorMat4f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
Definition: vbfill.c:434
void gl_Color4ub8bit(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
Definition: vbfill.c:355
void gl_TexCoord4f(GLcontext *ctx, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
Definition: vbfill.c:1132
void gl_EdgeFlag(GLcontext *ctx, GLboolean flag)
Definition: vbfill.c:515
void gl_Color3fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:246
void gl_Color4fv(GLcontext *ctx, const GLfloat *c)
Definition: vbfill.c:309
void gl_vertex2f_nop(GLcontext *ctx, GLfloat x, GLfloat y)
Definition: vbfill.c:1089
void gl_set_vertex_function(GLcontext *ctx)
Definition: vbfill.c:1154
void gl_Color3f(GLcontext *ctx, GLfloat red, GLfloat green, GLfloat blue)
Definition: vbfill.c:216
void gl_ColorMat4ub(GLcontext *ctx, GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
Definition: vbfill.c:473