summaryrefslogtreecommitdiff
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2005-08-27 13:56:08 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2005-08-27 13:56:08 +0000
commit23ffc3a85d6172f8a98d17d7f23610bab808d84e (patch)
tree07211e0ccdc4f3418d8e434b39c43d80894e1077 /src/mesa/main/dd.h
parentca1ac986a1d6d3f292e3d20540de884ad08d9816 (diff)
Rearrange the code related to GL_ARB_occlusion_object to generalize query
objects for future types of queries.
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index e4c103c55e..311278000f 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -816,6 +816,14 @@ struct dd_function_table {
/*@}*/
#endif
+ /**
+ * \name Query objects
+ */
+ /*@{*/
+ void (*BeginQuery)(GLcontext *ctx, struct gl_query_object *q);
+ void (*EndQuery)(GLcontext *ctx, struct gl_query_object *q);
+ /*@}*/
+
/**
* \name Support for multiple T&L engines