-# $Id: APIspec,v 1.21 2003/11/24 22:30:32 brianp Exp $
+# $Id: APIspec,v 1.22 2003/11/24 23:03:29 brianp Exp $
# This file describes all the OpenGL functions.
# We use a number of Python scripts to parse this file and
param dfactorRGB GLenum
param sfactorAlpha GLenum
param dfactorAlpha GLenum
-category GL_EXT_blend_func_separate
+category GL_INGR_blend_func_separate
# GL_EXT_vertex_weighting
alias BufferSubDataARB
return void
param target GLenum
+param offset GLintptrARB
param size GLsizeiptrARB
param data const GLvoid *
category 1.5
alias GetBufferSubDataARB
return void
param target GLenum
+param offset GLintptrARB
param size GLsizeiptrARB
param data void *
category 1.5
param id GLuint
param pname GLenum
param params GLint *
-category GL_ARB_occlusion_query
+category 1.5
name GetQueryObjectuiv
alias GetQueryObjectuivARB
param id GLuint
param pname GLenum
param params GLuint *
-category GL_ARB_occlusion_query
+category 1.5
DISPATCH(BufferDataARB, (target, size, data, usage), (F, "glBufferData(0x%x, %p, %p, 0x%x);\n", target, (const void *) size, (const void *) data, usage));
}
-KEYWORD1 void KEYWORD2 NAME(BufferSubData)(GLenum target, GLsizeiptrARB size, const GLvoid * data)
+KEYWORD1 void KEYWORD2 NAME(BufferSubData)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid * data)
{
- DISPATCH(BufferSubDataARB, (target, size, data), (F, "glBufferSubData(0x%x, %p, %p);\n", target, (const void *) size, (const void *) data));
+ DISPATCH(BufferSubDataARB, (target, offset, size, data), (F, "glBufferSubData(0x%x, %p, %p, %p);\n", target, (const void *) offset, (const void *) size, (const void *) data));
}
KEYWORD1 void KEYWORD2 NAME(DeleteBuffers)(GLsizei n, const GLuint * buffer)
DISPATCH(GetBufferPointervARB, (target, pname, params), (F, "glGetBufferPointerv(0x%x, 0x%x, %p);\n", target, pname, (const void *) params));
}
-KEYWORD1 void KEYWORD2 NAME(GetBufferSubData)(GLenum target, GLsizeiptrARB size, void * data)
+KEYWORD1 void KEYWORD2 NAME(GetBufferSubData)(GLenum target, GLintptrARB offset, GLsizeiptrARB size, void * data)
{
- DISPATCH(GetBufferSubDataARB, (target, size, data), (F, "glGetBufferSubData(0x%x, %p, %p);\n", target, (const void *) size, (const void *) data));
+ DISPATCH(GetBufferSubDataARB, (target, offset, size, data), (F, "glGetBufferSubData(0x%x, %p, %p, %p);\n", target, (const void *) offset, (const void *) size, (const void *) data));
}
KEYWORD1 GLboolean KEYWORD2 NAME(IsBuffer)(GLuint buffer)