2 * Mesa 3-D graphics library
5 * Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
6 * (C) Copyright IBM Corporation 2006
8 * Permission is hereby granted, free of charge, to any person obtaining a
9 * copy of this software and associated documentation files (the "Software"),
10 * to deal in the Software without restriction, including without limitation
11 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
12 * and/or sell copies of the Software, and to permit persons to whom the
13 * Software is furnished to do so, subject to the following conditions:
15 * The above copyright notice and this permission notice shall be included
16 * in all copies or substantial portions of the Software.
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * BRIAN PAUL OR IBM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
23 * OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34 * Functions for the GL_APPLE_vertex_array_object extension.
36 * \author Ian Romanick <idr@us.ibm.com>
44 struct gl_array_object
* _mesa_new_array_object( GLcontext
*ctx
,
47 void _mesa_delete_array_object( GLcontext
*ctx
, struct gl_array_object
*obj
);
49 void _mesa_initialize_array_object( GLcontext
*ctx
,
50 struct gl_array_object
*obj
, GLuint name
);
52 void _mesa_save_array_object( GLcontext
*ctx
, struct gl_array_object
*obj
);
54 void _mesa_remove_array_object( GLcontext
*ctx
, struct gl_array_object
*obj
);
62 void GLAPIENTRY
_mesa_BindVertexArrayAPPLE( GLuint id
);
64 void GLAPIENTRY
_mesa_DeleteVertexArraysAPPLE(GLsizei n
, const GLuint
*ids
);
66 void GLAPIENTRY
_mesa_GenVertexArraysAPPLE(GLsizei n
, GLuint
*buffer
);
68 GLboolean GLAPIENTRY
_mesa_IsVertexArrayAPPLE( GLuint id
);
70 #endif /* ARRAYOBJ_H */