PDA

View Full Version : procedures + functions implied by extension specs



Dan Bartlett
08-10-2010, 07:34 PM
Hi,
When you have an extension spec written against a particular OpenGL version, where the extension spec mentions certain functions/procedures, then is it safe to assume that these other functions mentioned will always be available?

eg. For GL_ARB_timer_query (http://www.opengl.org/registry/specs/ARB/timer_query.txt) it is written against version 3.2, and the only 3 procedures + functions it provides are:

void QueryCounter(uint id, enum target);
void GetQueryObjecti64v(uint id, enum pname, int64 *params);
void GetQueryObjectui64v(uint id, enum pname, uint64 *params);

If you query + find GL_ARB_timer_query, is it then safe to assume that the following mentioned procedures + functions will always exist:
glGenQueries, glDeleteQueries, glIsQuery, glBeginQuery, glEndQuery, glGetQueryiv, glGetQueryObjectiv, glGetQueryObjectuiv, glGetBooleanv, glGetIntegerv,
glGetInteger64v(OpenGL 3.2), glGetFloatv, and glGetDoublev

Alfonse Reinheart
08-10-2010, 08:23 PM
When you have an extension spec written against a particular OpenGL version, where the extension spec mentions certain functions/procedures, then is it safe to assume that these other functions mentioned will always be available?

Yes.