diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-03-29 16:39:21 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-03-29 16:39:21 +0000 |
commit | 997d468afeca6791d21ce703af36d8604e72a0c1 (patch) | |
tree | 87519dd9bc9d2651bda08059820e21251e18f0a0 /include/GL | |
parent | 88e3ed2d816cd619b26a20755262bae85e05175e (diff) | |
download | external_mesa3d-997d468afeca6791d21ce703af36d8604e72a0c1.zip external_mesa3d-997d468afeca6791d21ce703af36d8604e72a0c1.tar.gz external_mesa3d-997d468afeca6791d21ce703af36d8604e72a0c1.tar.bz2 |
added GL_ARB_vertex_buffer_object functions
Diffstat (limited to 'include/GL')
-rw-r--r-- | include/GL/glext.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/GL/glext.h b/include/GL/glext.h index 7d1f396..f0fd7bb 100644 --- a/include/GL/glext.h +++ b/include/GL/glext.h @@ -5025,6 +5025,28 @@ typedef void (APIENTRY * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face); #define GL_ATI_texture_env_combine3 1 #endif + +#ifndef GL_ARB_vertex_buffer_object +#define GL_ARB_vertex_buffer_object 1 +/* large enough to contain any pointer (32 or 64 bit): */ +typedef long int GLsizeiptrARB; +typedef long int GLintptrARB; + +extern void glBindBufferARB(GLenum target, GLuint buffer); +extern void glDeleteBuffersARB(GLsizei n, const GLuint * buffer); +extern void glGenBuffersARB(GLsizei n, GLuint * buffer); +extern GLboolean glIsBufferARB(GLuint buffer); +extern void glBufferDataARB(GLenum target, GLsizeiptrARB size, const GLvoid * data, GLenum usage); +extern void glBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data); +extern void glGetBufferSubDataARB(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data); +extern void glMapBufferARB(GLenum target, GLenum access); +extern GLboolean glUnmapBufferARB(GLenum target); +extern void glGetBufferParameterivARB(GLenum target, GLenum pname, GLint * params); +extern void glGetBufferPointervARB(GLenum target, GLenum pname, GLvoid ** params); + +#endif + + #ifdef __cplusplus } #endif |