12 * Mesa 3-D graphics library
15 * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
17 * Permission is hereby granted, free of charge, to any person obtaining a
18 * copy of this software and associated documentation files (the "Software"),
19 * to deal in the Software without restriction, including without limitation
20 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
21 * and/or sell copies of the Software, and to permit persons to whom the
22 * Software is furnished to do so, subject to the following conditions:
24 * The above copyright notice and this permission notice shall be included
25 * in all copies or substantial portions of the Software.
27 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
28 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
30 * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
31 * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
32 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
44 extern void GLAPIENTRY
45 _mesa_VertexPointer(GLint size
, GLenum type
, GLsizei stride
,
48 extern void GLAPIENTRY
49 _mesa_UnlockArraysEXT( void );
51 extern void GLAPIENTRY
52 _mesa_LockArraysEXT(GLint first
, GLsizei count
);
55 extern void GLAPIENTRY
56 _mesa_NormalPointer(GLenum type
, GLsizei stride
, const GLvoid
*ptr
);
59 extern void GLAPIENTRY
60 _mesa_ColorPointer(GLint size
, GLenum type
, GLsizei stride
, const GLvoid
*ptr
);
63 extern void GLAPIENTRY
64 _mesa_IndexPointer(GLenum type
, GLsizei stride
, const GLvoid
*ptr
);
67 extern void GLAPIENTRY
68 _mesa_TexCoordPointer(GLint size
, GLenum type
, GLsizei stride
,
72 extern void GLAPIENTRY
73 _mesa_EdgeFlagPointer(GLsizei stride
, const GLvoid
*ptr
);
76 extern void GLAPIENTRY
77 _mesa_VertexPointerEXT(GLint size
, GLenum type
, GLsizei stride
,
78 GLsizei count
, const GLvoid
*ptr
);
81 extern void GLAPIENTRY
82 _mesa_NormalPointerEXT(GLenum type
, GLsizei stride
, GLsizei count
,
86 extern void GLAPIENTRY
87 _mesa_ColorPointerEXT(GLint size
, GLenum type
, GLsizei stride
, GLsizei count
,
91 extern void GLAPIENTRY
92 _mesa_IndexPointerEXT(GLenum type
, GLsizei stride
, GLsizei count
,
96 extern void GLAPIENTRY
97 _mesa_TexCoordPointerEXT(GLint size
, GLenum type
, GLsizei stride
,
98 GLsizei count
, const GLvoid
*ptr
);
101 extern void GLAPIENTRY
102 _mesa_EdgeFlagPointerEXT(GLsizei stride
, GLsizei count
, const GLboolean
*ptr
);
105 extern void GLAPIENTRY
106 _mesa_FogCoordPointerEXT(GLenum type
, GLsizei stride
, const GLvoid
*ptr
);
109 extern void GLAPIENTRY
110 _mesa_SecondaryColorPointerEXT(GLint size
, GLenum type
,
111 GLsizei stride
, const GLvoid
*ptr
);
114 extern void GLAPIENTRY
115 _mesa_PointSizePointer(GLenum type
, GLsizei stride
, const GLvoid
*ptr
);
118 extern void GLAPIENTRY
119 _mesa_VertexAttribPointerNV(GLuint index
, GLint size
, GLenum type
,
120 GLsizei stride
, const GLvoid
*pointer
);
123 extern void GLAPIENTRY
124 _mesa_VertexAttribPointerARB(GLuint index
, GLint size
, GLenum type
,
125 GLboolean normalized
, GLsizei stride
,
126 const GLvoid
*pointer
);
129 extern void GLAPIENTRY
130 _mesa_InterleavedArrays(GLenum format
, GLsizei stride
, const GLvoid
*pointer
);
133 extern void GLAPIENTRY
134 _mesa_MultiDrawArraysEXT( GLenum mode
, GLint
*first
,
135 GLsizei
*count
, GLsizei primcount
);
137 extern void GLAPIENTRY
138 _mesa_MultiDrawElementsEXT( GLenum mode
, const GLsizei
*count
, GLenum type
,
139 const GLvoid
**indices
, GLsizei primcount
);
142 extern void GLAPIENTRY
143 _mesa_MultiModeDrawArraysIBM( const GLenum
* mode
, const GLint
* first
,
144 const GLsizei
* count
,
145 GLsizei primcount
, GLint modestride
);
148 extern void GLAPIENTRY
149 _mesa_MultiModeDrawElementsIBM( const GLenum
* mode
, const GLsizei
* count
,
150 GLenum type
, const GLvoid
* const * indices
,
151 GLsizei primcount
, GLint modestride
);
153 extern void GLAPIENTRY
154 _mesa_LockArraysEXT(GLint first
, GLsizei count
);
156 extern void GLAPIENTRY
157 _mesa_UnlockArraysEXT( void );
160 extern void GLAPIENTRY
161 _mesa_DrawArrays(GLenum mode
, GLint first
, GLsizei count
);
163 extern void GLAPIENTRY
164 _mesa_DrawElements(GLenum mode
, GLsizei count
, GLenum type
,
165 const GLvoid
*indices
);
167 extern void GLAPIENTRY
168 _mesa_DrawRangeElements(GLenum mode
, GLuint start
, GLuint end
, GLsizei count
,
169 GLenum type
, const GLvoid
*indices
);
174 _mesa_init_varray( GLcontext
* ctx
);
179 #define _mesa_init_varray( c ) ((void)0)