summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_query.h
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2015-11-18 12:06:58 +0100
committerNicolai Hähnle <[email protected]>2015-11-18 12:27:13 +0100
commitffd01b7781eebd207c16a9df5ea2858f6f5be544 (patch)
tree184d7cde51b21a89250abf621d8d7c2c561d8ac8 /src/gallium/drivers/radeon/r600_query.h
parent50f0f938e3a577647fdfb6bdbb4ad3da252aa791 (diff)
radeon: expose r600_query_hw functions for reuse
Reviewed-by: Marek Olšák <[email protected]> [Fixed a rebase conflict and re-tested before pushing.]
Diffstat (limited to 'src/gallium/drivers/radeon/r600_query.h')
-rw-r--r--src/gallium/drivers/radeon/r600_query.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.h b/src/gallium/drivers/radeon/r600_query.h
index f6dc74aa86d..29c635ea825 100644
--- a/src/gallium/drivers/radeon/r600_query.h
+++ b/src/gallium/drivers/radeon/r600_query.h
@@ -118,7 +118,17 @@ struct r600_query_hw {
unsigned stream;
};
+boolean r600_query_hw_init(struct r600_common_context *rctx,
+ struct r600_query_hw *query);
void r600_query_hw_destroy(struct r600_common_context *rctx,
struct r600_query *rquery);
+boolean r600_query_hw_begin(struct r600_common_context *rctx,
+ struct r600_query *rquery);
+void r600_query_hw_end(struct r600_common_context *rctx,
+ struct r600_query *rquery);
+boolean r600_query_hw_get_result(struct r600_common_context *rctx,
+ struct r600_query *rquery,
+ boolean wait,
+ union pipe_query_result *result);
#endif /* R600_QUERY_H */