summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-01-29 12:36:26 -0700
committerBrian Paul <[email protected]>2010-01-29 14:01:34 -0700
commit98f3f1c695f232120541670a8b5a355003ce3cc8 (patch)
tree49bff4191e5608647c4eb7ebbf47490017c3e65c /src/gallium/include/pipe
parent3fc73c389a62228792608b3c7a9cf7ad24f1a8b3 (diff)
gallium: document pipe_context::get_query_result()
Diffstat (limited to 'src/gallium/include/pipe')
-rw-r--r--src/gallium/include/pipe/p_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index f3ee0954481..f1e6a60e041 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -122,6 +122,11 @@ struct pipe_context {
void (*begin_query)(struct pipe_context *pipe, struct pipe_query *q);
void (*end_query)(struct pipe_context *pipe, struct pipe_query *q);
+ /**
+ * Get results of a query.
+ * \param wait if true, this query will block until the result is ready
+ * \return TRUE if results are ready, FALSE otherwise
+ */
boolean (*get_query_result)(struct pipe_context *pipe,
struct pipe_query *q,
boolean wait,