[3597] | 1 | /* $Id: vbfill.h,v 1.2 2000-05-23 20:34:59 jeroen Exp $ */
|
---|
[2938] | 2 |
|
---|
| 3 | /*
|
---|
| 4 | * Mesa 3-D graphics library
|
---|
[3597] | 5 | * Version: 3.3
|
---|
[2938] | 6 | *
|
---|
| 7 | * Copyright (C) 1999 Brian Paul All Rights Reserved.
|
---|
| 8 | *
|
---|
| 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:
|
---|
| 15 | *
|
---|
| 16 | * The above copyright notice and this permission notice shall be included
|
---|
| 17 | * in all copies or substantial portions of the Software.
|
---|
| 18 | *
|
---|
| 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.
|
---|
| 25 | */
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | #ifndef VBFILL_H
|
---|
| 32 | #define VBFILL_H
|
---|
| 33 |
|
---|
| 34 |
|
---|
| 35 | #include "types.h"
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | extern void gl_Begin( GLcontext *ctx, GLenum p );
|
---|
| 39 | extern void gl_End( GLcontext *ctx );
|
---|
[3597] | 40 | extern void gl_Vertex2f( GLcontext *ctx, GLfloat x, GLfloat y);
|
---|
[2938] | 41 |
|
---|
| 42 |
|
---|
[3597] | 43 | extern void
|
---|
| 44 | _mesa_Begin( GLenum p );
|
---|
| 45 |
|
---|
| 46 | extern void
|
---|
| 47 | _mesa_End( void );
|
---|
| 48 |
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | extern void _mesa_Color3b(GLbyte red, GLbyte green, GLbyte blue);
|
---|
| 52 |
|
---|
| 53 | extern void _mesa_Color3d(GLdouble red, GLdouble green, GLdouble blue);
|
---|
| 54 |
|
---|
| 55 | extern void _mesa_Color3f(GLfloat red, GLfloat green, GLfloat blue);
|
---|
| 56 |
|
---|
| 57 | extern void _mesa_Color3i(GLint red, GLint green, GLint blue);
|
---|
| 58 |
|
---|
| 59 | extern void _mesa_Color3s(GLshort red, GLshort green, GLshort blue);
|
---|
| 60 |
|
---|
| 61 | extern void _mesa_Color3ub(GLubyte red, GLubyte green, GLubyte blue);
|
---|
| 62 |
|
---|
| 63 | extern void _mesa_Color3ui(GLuint red, GLuint green, GLuint blue);
|
---|
| 64 |
|
---|
| 65 | extern void _mesa_Color3us(GLushort red, GLushort green, GLushort blue);
|
---|
| 66 |
|
---|
| 67 | extern void _mesa_Color4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
|
---|
| 68 |
|
---|
| 69 | extern void _mesa_Color4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
|
---|
| 70 |
|
---|
| 71 | extern void _mesa_Color4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
|
---|
| 72 |
|
---|
| 73 | extern void _mesa_Color4i(GLint red, GLint green, GLint blue, GLint alpha);
|
---|
| 74 |
|
---|
| 75 | extern void _mesa_Color4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
|
---|
| 76 |
|
---|
| 77 | extern void _mesa_Color4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
|
---|
| 78 |
|
---|
| 79 | extern void _mesa_Color4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
|
---|
| 80 |
|
---|
| 81 | extern void _mesa_Color4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
|
---|
| 82 |
|
---|
| 83 | extern void _mesa_Color3bv(const GLbyte *v);
|
---|
| 84 |
|
---|
| 85 | extern void _mesa_Color3dv(const GLdouble *v);
|
---|
| 86 |
|
---|
| 87 | extern void _mesa_Color3fv(const GLfloat *v);
|
---|
| 88 |
|
---|
| 89 | extern void _mesa_Color3iv(const GLint *v);
|
---|
| 90 |
|
---|
| 91 | extern void _mesa_Color3sv(const GLshort *v);
|
---|
| 92 |
|
---|
| 93 | extern void _mesa_Color3ubv(const GLubyte *v);
|
---|
| 94 |
|
---|
| 95 | extern void _mesa_Color3uiv(const GLuint *v);
|
---|
| 96 |
|
---|
| 97 | extern void _mesa_Color3usv(const GLushort *v);
|
---|
| 98 |
|
---|
| 99 | extern void _mesa_Color4bv(const GLbyte *v);
|
---|
| 100 |
|
---|
| 101 | extern void _mesa_Color4dv(const GLdouble *v);
|
---|
| 102 |
|
---|
| 103 | extern void _mesa_Color4fv(const GLfloat *v);
|
---|
| 104 |
|
---|
| 105 | extern void _mesa_Color4iv(const GLint *v);
|
---|
| 106 |
|
---|
| 107 | extern void _mesa_Color4sv(const GLshort *v);
|
---|
| 108 |
|
---|
| 109 | extern void _mesa_Color4ubv(const GLubyte *v);
|
---|
| 110 |
|
---|
| 111 | extern void _mesa_Color4uiv(const GLuint *v);
|
---|
| 112 |
|
---|
| 113 | extern void _mesa_Color4usv(const GLushort *v);
|
---|
| 114 |
|
---|
| 115 |
|
---|
| 116 |
|
---|
| 117 | extern void _mesa_EdgeFlag( GLboolean flag );
|
---|
| 118 |
|
---|
| 119 | extern void _mesa_EdgeFlagv( const GLboolean *flag );
|
---|
| 120 |
|
---|
| 121 |
|
---|
| 122 |
|
---|
| 123 | extern void _mesa_Indexd(GLdouble c);
|
---|
| 124 |
|
---|
| 125 | extern void _mesa_Indexdv(const GLdouble *c);
|
---|
| 126 |
|
---|
| 127 | extern void _mesa_Indexf(GLfloat c);
|
---|
| 128 |
|
---|
| 129 | extern void _mesa_Indexfv(const GLfloat *c);
|
---|
| 130 |
|
---|
| 131 | extern void _mesa_Indexi(GLint c);
|
---|
| 132 |
|
---|
| 133 | extern void _mesa_Indexiv(const GLint *c);
|
---|
| 134 |
|
---|
| 135 | extern void _mesa_Indexs(GLshort c);
|
---|
| 136 |
|
---|
| 137 | extern void _mesa_Indexsv(const GLshort *c);
|
---|
| 138 |
|
---|
| 139 | extern void _mesa_Indexub(GLubyte b);
|
---|
| 140 |
|
---|
| 141 | extern void _mesa_Indexubv(const GLubyte *b);
|
---|
| 142 |
|
---|
| 143 |
|
---|
| 144 |
|
---|
| 145 | extern void _mesa_Normal3b(GLbyte nx, GLbyte ny, GLbyte nz);
|
---|
| 146 |
|
---|
| 147 | extern void _mesa_Normal3bv(const GLbyte *v);
|
---|
| 148 |
|
---|
| 149 | extern void _mesa_Normal3d(GLdouble nx, GLdouble ny, GLdouble nz);
|
---|
| 150 |
|
---|
| 151 | extern void _mesa_Normal3dv(const GLdouble *v);
|
---|
| 152 |
|
---|
| 153 | extern void _mesa_Normal3f(GLfloat nx, GLfloat ny, GLfloat nz);
|
---|
| 154 |
|
---|
| 155 | extern void _mesa_Normal3fv(const GLfloat *v);
|
---|
| 156 |
|
---|
| 157 | extern void _mesa_Normal3i(GLint nx, GLint ny, GLint nz);
|
---|
| 158 |
|
---|
| 159 | extern void _mesa_Normal3iv(const GLint *v);
|
---|
| 160 |
|
---|
| 161 | extern void _mesa_Normal3s(GLshort nx, GLshort ny, GLshort nz);
|
---|
| 162 |
|
---|
| 163 | extern void _mesa_Normal3sv(const GLshort *v);
|
---|
| 164 |
|
---|
| 165 |
|
---|
| 166 |
|
---|
| 167 | extern void _mesa_TexCoord1d(GLdouble s);
|
---|
| 168 |
|
---|
| 169 | extern void _mesa_TexCoord1dv(const GLdouble *v);
|
---|
| 170 |
|
---|
| 171 | extern void _mesa_TexCoord1f(GLfloat s);
|
---|
| 172 |
|
---|
| 173 | extern void _mesa_TexCoord1fv(const GLfloat *v);
|
---|
| 174 |
|
---|
| 175 | extern void _mesa_TexCoord1i(GLint s);
|
---|
| 176 |
|
---|
| 177 | extern void _mesa_TexCoord1iv(const GLint *v);
|
---|
| 178 |
|
---|
| 179 | extern void _mesa_TexCoord1s(GLshort s);
|
---|
| 180 |
|
---|
| 181 | extern void _mesa_TexCoord1sv(const GLshort *v);
|
---|
| 182 |
|
---|
| 183 | extern void _mesa_TexCoord2d(GLdouble s, GLdouble t);
|
---|
| 184 |
|
---|
| 185 | extern void _mesa_TexCoord2dv(const GLdouble *v);
|
---|
| 186 |
|
---|
| 187 | extern void _mesa_TexCoord2f(GLfloat s, GLfloat t);
|
---|
| 188 |
|
---|
| 189 | extern void _mesa_TexCoord2fv(const GLfloat *v);
|
---|
| 190 |
|
---|
| 191 | extern void _mesa_TexCoord2s(GLshort s, GLshort t);
|
---|
| 192 |
|
---|
| 193 | extern void _mesa_TexCoord2sv(const GLshort *v);
|
---|
| 194 |
|
---|
| 195 | extern void _mesa_TexCoord2i(GLint s, GLint t);
|
---|
| 196 |
|
---|
| 197 | extern void _mesa_TexCoord2iv(const GLint *v);
|
---|
| 198 |
|
---|
| 199 | extern void _mesa_TexCoord3d(GLdouble s, GLdouble t, GLdouble r);
|
---|
| 200 |
|
---|
| 201 | extern void _mesa_TexCoord3dv(const GLdouble *v);
|
---|
| 202 |
|
---|
| 203 | extern void _mesa_TexCoord3f(GLfloat s, GLfloat t, GLfloat r);
|
---|
| 204 |
|
---|
| 205 | extern void _mesa_TexCoord3fv(const GLfloat *v);
|
---|
| 206 |
|
---|
| 207 | extern void _mesa_TexCoord3i(GLint s, GLint t, GLint r);
|
---|
| 208 |
|
---|
| 209 | extern void _mesa_TexCoord3iv(const GLint *v);
|
---|
| 210 |
|
---|
| 211 | extern void _mesa_TexCoord3s(GLshort s, GLshort t, GLshort r);
|
---|
| 212 |
|
---|
| 213 | extern void _mesa_TexCoord3sv(const GLshort *v);
|
---|
| 214 |
|
---|
| 215 | extern void _mesa_TexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
|
---|
| 216 |
|
---|
| 217 | extern void _mesa_TexCoord4dv(const GLdouble *v);
|
---|
| 218 |
|
---|
| 219 | extern void _mesa_TexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
|
---|
| 220 |
|
---|
| 221 | extern void _mesa_TexCoord4fv(const GLfloat *v);
|
---|
| 222 |
|
---|
| 223 | extern void _mesa_TexCoord4i(GLint s, GLint t, GLint r, GLint q);
|
---|
| 224 |
|
---|
| 225 | extern void _mesa_TexCoord4iv(const GLint *v);
|
---|
| 226 |
|
---|
| 227 | extern void _mesa_TexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
|
---|
| 228 |
|
---|
| 229 | extern void _mesa_TexCoord4sv(const GLshort *v);
|
---|
| 230 |
|
---|
| 231 |
|
---|
| 232 |
|
---|
| 233 | extern void _mesa_Vertex2d(GLdouble x, GLdouble y);
|
---|
| 234 |
|
---|
| 235 | extern void _mesa_Vertex2dv(const GLdouble *v);
|
---|
| 236 |
|
---|
| 237 | extern void _mesa_Vertex2f(GLfloat x, GLfloat y);
|
---|
| 238 |
|
---|
| 239 | extern void _mesa_Vertex2fv(const GLfloat *v);
|
---|
| 240 |
|
---|
| 241 | extern void _mesa_Vertex2i(GLint x, GLint y);
|
---|
| 242 |
|
---|
| 243 | extern void _mesa_Vertex2iv(const GLint *v);
|
---|
| 244 |
|
---|
| 245 | extern void _mesa_Vertex2s(GLshort x, GLshort y);
|
---|
| 246 |
|
---|
| 247 | extern void _mesa_Vertex2sv(const GLshort *v);
|
---|
| 248 |
|
---|
| 249 | extern void _mesa_Vertex3d(GLdouble x, GLdouble y, GLdouble z);
|
---|
| 250 |
|
---|
| 251 | extern void _mesa_Vertex3dv(const GLdouble *v);
|
---|
| 252 |
|
---|
| 253 | extern void _mesa_Vertex3f(GLfloat x, GLfloat y, GLfloat z);
|
---|
| 254 |
|
---|
| 255 | extern void _mesa_Vertex3fv(const GLfloat *v);
|
---|
| 256 |
|
---|
| 257 | extern void _mesa_Vertex3i(GLint x, GLint y, GLint z);
|
---|
| 258 |
|
---|
| 259 | extern void _mesa_Vertex3iv(const GLint *v);
|
---|
| 260 |
|
---|
| 261 | extern void _mesa_Vertex3s(GLshort x, GLshort y, GLshort z);
|
---|
| 262 |
|
---|
| 263 | extern void _mesa_Vertex3sv(const GLshort *v);
|
---|
| 264 |
|
---|
| 265 | extern void _mesa_Vertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
|
---|
| 266 |
|
---|
| 267 | extern void _mesa_Vertex4dv(const GLdouble *v);
|
---|
| 268 |
|
---|
| 269 | extern void _mesa_Vertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
|
---|
| 270 |
|
---|
| 271 | extern void _mesa_Vertex4fv(const GLfloat *v);
|
---|
| 272 |
|
---|
| 273 | extern void _mesa_Vertex4i(GLint x, GLint y, GLint z, GLint w);
|
---|
| 274 |
|
---|
| 275 | extern void _mesa_Vertex4iv(const GLint *v);
|
---|
| 276 |
|
---|
| 277 | extern void _mesa_Vertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
|
---|
| 278 |
|
---|
| 279 | extern void _mesa_Vertex4sv(const GLshort *v);
|
---|
| 280 |
|
---|
| 281 |
|
---|
| 282 |
|
---|
| 283 | extern void _mesa_MultiTexCoord1dARB(GLenum target, GLdouble s);
|
---|
| 284 |
|
---|
| 285 | extern void _mesa_MultiTexCoord1dvARB(GLenum target, const GLdouble *v);
|
---|
| 286 |
|
---|
| 287 | extern void _mesa_MultiTexCoord1fARB(GLenum target, GLfloat s);
|
---|
| 288 |
|
---|
| 289 | extern void _mesa_MultiTexCoord1fvARB(GLenum target, const GLfloat *v);
|
---|
| 290 |
|
---|
| 291 | extern void _mesa_MultiTexCoord1iARB(GLenum target, GLint s);
|
---|
| 292 |
|
---|
| 293 | extern void _mesa_MultiTexCoord1ivARB(GLenum target, const GLint *v);
|
---|
| 294 |
|
---|
| 295 | extern void _mesa_MultiTexCoord1sARB(GLenum target, GLshort s);
|
---|
| 296 |
|
---|
| 297 | extern void _mesa_MultiTexCoord1svARB(GLenum target, const GLshort *v);
|
---|
| 298 |
|
---|
| 299 | extern void _mesa_MultiTexCoord2dARB(GLenum target, GLdouble s, GLdouble t);
|
---|
| 300 |
|
---|
| 301 | extern void _mesa_MultiTexCoord2dvARB(GLenum target, const GLdouble *v);
|
---|
| 302 |
|
---|
| 303 | extern void _mesa_MultiTexCoord2fARB(GLenum target, GLfloat s, GLfloat t);
|
---|
| 304 |
|
---|
| 305 | extern void _mesa_MultiTexCoord2fvARB(GLenum target, const GLfloat *v);
|
---|
| 306 |
|
---|
| 307 | extern void _mesa_MultiTexCoord2iARB(GLenum target, GLint s, GLint t);
|
---|
| 308 |
|
---|
| 309 | extern void _mesa_MultiTexCoord2ivARB(GLenum target, const GLint *v);
|
---|
| 310 |
|
---|
| 311 | extern void _mesa_MultiTexCoord2sARB(GLenum target, GLshort s, GLshort t);
|
---|
| 312 |
|
---|
| 313 | extern void _mesa_MultiTexCoord2svARB(GLenum target, const GLshort *v);
|
---|
| 314 |
|
---|
| 315 | extern void _mesa_MultiTexCoord3dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r);
|
---|
| 316 |
|
---|
| 317 | extern void _mesa_MultiTexCoord3dvARB(GLenum target, const GLdouble *v);
|
---|
| 318 |
|
---|
| 319 | extern void _mesa_MultiTexCoord3fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r);
|
---|
| 320 |
|
---|
| 321 | extern void _mesa_MultiTexCoord3fvARB(GLenum target, const GLfloat *v);
|
---|
| 322 |
|
---|
| 323 | extern void _mesa_MultiTexCoord3iARB(GLenum target, GLint s, GLint t, GLint r);
|
---|
| 324 |
|
---|
| 325 | extern void _mesa_MultiTexCoord3ivARB(GLenum target, const GLint *v);
|
---|
| 326 |
|
---|
| 327 | extern void _mesa_MultiTexCoord3sARB(GLenum target, GLshort s, GLshort t, GLshort r);
|
---|
| 328 |
|
---|
| 329 | extern void _mesa_MultiTexCoord3svARB(GLenum target, const GLshort *v);
|
---|
| 330 |
|
---|
| 331 | extern void _mesa_MultiTexCoord4dARB(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
|
---|
| 332 |
|
---|
| 333 | extern void _mesa_MultiTexCoord4dvARB(GLenum target, const GLdouble *v);
|
---|
| 334 |
|
---|
| 335 | extern void _mesa_MultiTexCoord4fARB(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
|
---|
| 336 |
|
---|
| 337 | extern void _mesa_MultiTexCoord4fvARB(GLenum target, const GLfloat *v);
|
---|
| 338 |
|
---|
| 339 | extern void _mesa_MultiTexCoord4iARB(GLenum target, GLint s, GLint t, GLint r, GLint q);
|
---|
| 340 |
|
---|
| 341 | extern void _mesa_MultiTexCoord4ivARB(GLenum target, const GLint *v);
|
---|
| 342 |
|
---|
| 343 | extern void _mesa_MultiTexCoord4sARB(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
|
---|
| 344 |
|
---|
| 345 | extern void _mesa_MultiTexCoord4svARB(GLenum target, const GLshort *v);
|
---|
| 346 |
|
---|
| 347 |
|
---|
| 348 |
|
---|
[2938] | 349 | #endif
|
---|
| 350 |
|
---|