summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.h
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2015-02-16 12:20:19 +0200
committerMartin Peres <martin.peres@linux.intel.com>2015-03-25 10:05:45 +0200
commit19e6efc0ad0e937bd89c00967d06f54d987810bc (patch)
treee09680ee01681f41821ca491e345182ed3fae472 /src/mesa/main/queryobj.h
parentc3c1ed874e57b439e856a3eec735181b3221730e (diff)
downloadexternal_mesa3d-19e6efc0ad0e937bd89c00967d06f54d987810bc.zip
external_mesa3d-19e6efc0ad0e937bd89c00967d06f54d987810bc.tar.gz
external_mesa3d-19e6efc0ad0e937bd89c00967d06f54d987810bc.tar.bz2
main: Added entry points for glGetQueryBufferObject*
These entry points will be fleshed out when the GL_ARB_query_buffer_object extension gets implemented. In the meantime, return GL_INVALID_OPERATION as suggested by Ian. Reviewed-by: Laura Ekstrand <laura@jlekstrand.net> Signed-off-by: Martin Peres <martin.peres@linux.intel.com>
Diffstat (limited to 'src/mesa/main/queryobj.h')
-rw-r--r--src/mesa/main/queryobj.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h
index 431d420..d1036fc 100644
--- a/src/mesa/main/queryobj.h
+++ b/src/mesa/main/queryobj.h
@@ -79,5 +79,17 @@ void GLAPIENTRY
_mesa_GetQueryObjecti64v(GLuint id, GLenum pname, GLint64EXT *params);
void GLAPIENTRY
_mesa_GetQueryObjectui64v(GLuint id, GLenum pname, GLuint64EXT *params);
+void GLAPIENTRY
+_mesa_GetQueryBufferObjectiv(GLuint id, GLuint buffer, GLenum pname,
+ GLintptr offset);
+void GLAPIENTRY
+_mesa_GetQueryBufferObjectuiv(GLuint id, GLuint buffer, GLenum pname,
+ GLintptr offset);
+void GLAPIENTRY
+_mesa_GetQueryBufferObjecti64v(GLuint id, GLuint buffer, GLenum pname,
+ GLintptr offset);
+void GLAPIENTRY
+_mesa_GetQueryBufferObjectui64v(GLuint id, GLuint buffer, GLenum pname,
+ GLintptr offset);
#endif /* QUERYOBJ_H */