| 1 |
/* $Id: varray.h,v 1.2 2000/10/27 15:21:40 mholst Exp $ */ |
| 2 |
|
| 3 |
/* |
| 4 |
* Mesa 3-D graphics library |
| 5 |
* Version: 2.0 |
| 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 |
#ifndef VARRAY_H |
| 24 |
#define VARRAY_H |
| 25 |
|
| 26 |
|
| 27 |
#include "types.h" |
| 28 |
|
| 29 |
|
| 30 |
extern void gl_VertexPointer( GLcontext *ctx, |
| 31 |
GLint size, GLenum type, GLsizei stride, |
| 32 |
const GLvoid *ptr ); |
| 33 |
|
| 34 |
|
| 35 |
extern void gl_NormalPointer( GLcontext *ctx, |
| 36 |
GLenum type, GLsizei stride, const GLvoid *ptr ); |
| 37 |
|
| 38 |
|
| 39 |
extern void gl_ColorPointer( GLcontext *ctx, |
| 40 |
GLint size, GLenum type, GLsizei stride, |
| 41 |
const GLvoid *ptr ); |
| 42 |
|
| 43 |
|
| 44 |
extern void gl_IndexPointer( GLcontext *ctx, |
| 45 |
GLenum type, GLsizei stride, |
| 46 |
const GLvoid *ptr ); |
| 47 |
|
| 48 |
|
| 49 |
extern void gl_TexCoordPointer( GLcontext *ctx, |
| 50 |
GLint size, GLenum type, GLsizei stride, |
| 51 |
const GLvoid *ptr ); |
| 52 |
|
| 53 |
|
| 54 |
extern void gl_EdgeFlagPointer( GLcontext *ctx, |
| 55 |
GLsizei stride, const GLboolean *ptr ); |
| 56 |
|
| 57 |
|
| 58 |
extern void gl_GetPointerv( GLcontext *ctx, GLenum pname, GLvoid **params ); |
| 59 |
|
| 60 |
|
| 61 |
extern void gl_ArrayElement( GLcontext *ctx, GLint i ); |
| 62 |
|
| 63 |
extern void gl_save_ArrayElement( GLcontext *ctx, GLint i ); |
| 64 |
|
| 65 |
|
| 66 |
extern void gl_DrawArrays( GLcontext *ctx, |
| 67 |
GLenum mode, GLint first, GLsizei count ); |
| 68 |
|
| 69 |
extern void gl_save_DrawArrays( GLcontext *ctx, |
| 70 |
GLenum mode, GLint first, GLsizei count ); |
| 71 |
|
| 72 |
|
| 73 |
extern void gl_DrawElements( GLcontext *ctx, |
| 74 |
GLenum mode, GLsizei count, |
| 75 |
GLenum type, const GLvoid *indices ); |
| 76 |
|
| 77 |
extern void gl_save_DrawElements( GLcontext *ctx, |
| 78 |
GLenum mode, GLsizei count, |
| 79 |
GLenum type, const GLvoid *indices ); |
| 80 |
|
| 81 |
|
| 82 |
extern void gl_InterleavedArrays( GLcontext *ctx, |
| 83 |
GLenum format, GLsizei stride, |
| 84 |
const GLvoid *pointer ); |
| 85 |
|
| 86 |
extern void gl_save_InterleavedArrays( GLcontext *ctx, |
| 87 |
GLenum format, GLsizei stride, |
| 88 |
const GLvoid *pointer ); |
| 89 |
|
| 90 |
#endif |
| 91 |
|
| 92 |
|
| 93 |
|