3589735f68442c2b083ff1807297158d3915cf19
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_VertexAttribPointerNV(GLuint index
, GLint size
, GLenum type
,
116 GLsizei stride
, const GLvoid
*pointer
);
119 extern void GLAPIENTRY
120 _mesa_VertexAttribPointerARB(GLuint index
, GLint size
, GLenum type
,
121 GLboolean normalized
, GLsizei stride
,
122 const GLvoid
*pointer
);
125 extern void GLAPIENTRY
126 _mesa_InterleavedArrays(GLenum format
, GLsizei stride
, const GLvoid
*pointer
);
129 extern void GLAPIENTRY
130 _mesa_MultiDrawArraysEXT( GLenum mode
, GLint
*first
,
131 GLsizei
*count
, GLsizei primcount
);
133 extern void GLAPIENTRY
134 _mesa_MultiDrawElementsEXT( GLenum mode
, const GLsizei
*count
, GLenum type
,
135 const GLvoid
**indices
, GLsizei primcount
);
138 extern void GLAPIENTRY
139 _mesa_MultiModeDrawArraysIBM( const GLenum
* mode
, const GLint
* first
,
140 const GLsizei
* count
,
141 GLsizei primcount
, GLint modestride
);
144 extern void GLAPIENTRY
145 _mesa_MultiModeDrawElementsIBM( const GLenum
* mode
, const GLsizei
* count
,
146 GLenum type
, const GLvoid
* const * indices
,
147 GLsizei primcount
, GLint modestride
);
151 _mesa_init_varray( GLcontext
* ctx
);
156 #define _mesa_init_varray( c ) ((void)0)