summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/queryobj.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-09-20 06:34:23 -0700
committerKeith Whitwell <keith@tungstengraphics.com>2008-09-21 09:44:25 -0700
commit7ce597508e7400e962c8fdb2d255f9887cb9c710 (patch)
tree4a34d426e1ec2eefa3aed84cf6e212dc81f55478 /src/mesa/main/queryobj.h
parentdc8058c3370588bfcad49fadace1691da47d58cd (diff)
downloadexternal_mesa3d-7ce597508e7400e962c8fdb2d255f9887cb9c710.zip
external_mesa3d-7ce597508e7400e962c8fdb2d255f9887cb9c710.tar.gz
external_mesa3d-7ce597508e7400e962c8fdb2d255f9887cb9c710.tar.bz2
mesa: improved driver query interface
Brought over from gallium-0.2 branch.
Diffstat (limited to 'src/mesa/main/queryobj.h')
-rw-r--r--src/mesa/main/queryobj.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/mesa/main/queryobj.h b/src/mesa/main/queryobj.h
index ada8cf8..c05a1f3 100644
--- a/src/mesa/main/queryobj.h
+++ b/src/mesa/main/queryobj.h
@@ -1,8 +1,8 @@
/*
* Mesa 3-D graphics library
- * Version: 6.5
+ * Version: 7.1
*
- * Copyright (C) 1999-2005 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -36,6 +36,19 @@ _mesa_init_query(GLcontext *ctx);
extern void
_mesa_free_query_data(GLcontext *ctx);
+extern void
+_mesa_delete_query(struct gl_query_object *q);
+
+extern void
+_mesa_begin_query(GLcontext *ctx, struct gl_query_object *q);
+
+extern void
+_mesa_end_query(GLcontext *ctx, struct gl_query_object *q);
+
+extern void
+_mesa_wait_query(GLcontext *ctx, struct gl_query_object *q);
+
+
extern void GLAPIENTRY
_mesa_GenQueriesARB(GLsizei n, GLuint *ids);