summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2005-09-02 13:42:49 +0000
committerBrian Paul <[email protected]>2005-09-02 13:42:49 +0000
commit4fb995084e1b4b629667f09331adf060aa0fac4c (patch)
treeb8652385e0cc674b51aafa6191719536ea116757 /src/mesa/main/dd.h
parent8cdf3729468aefb7c67c8ecd32fd850adbf6d351 (diff)
Prototype implementation of new GL_EXT_timer_query extension (not finalized yet).
Extends the query mechanism to query elapsed time while rendering.
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index 311278000f2..0b4903629c2 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -820,8 +820,10 @@ struct dd_function_table {
* \name Query objects
*/
/*@{*/
- void (*BeginQuery)(GLcontext *ctx, struct gl_query_object *q);
- void (*EndQuery)(GLcontext *ctx, struct gl_query_object *q);
+ struct gl_query_object * (*NewQueryObject)(GLcontext *ctx, GLuint id);
+ void (*BeginQuery)(GLcontext *ctx, GLenum target,
+ struct gl_query_object *q);
+ void (*EndQuery)(GLcontext *ctx, GLenum target, struct gl_query_object *q);
/*@}*/