summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/r600_query.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-03-12 21:44:07 +0100
committerMarek Olšák <[email protected]>2017-05-15 13:01:33 +0200
commit04299f7e5dc1139f2e49da17a99455d830f3362b (patch)
tree0808b7571fd2351ccb18f4765f66d199be9579f7 /src/gallium/drivers/radeon/r600_query.h
parentb40d8026fa8753f71c7a67f8e39f245ddcb99eda (diff)
gallium/radeon: subclass and handle threaded_query
Reviewed-by: Nicolai Hähnle <[email protected]> Tested-by: Dieter Nützel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_query.h')
-rw-r--r--src/gallium/drivers/radeon/r600_query.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/r600_query.h b/src/gallium/drivers/radeon/r600_query.h
index 05aceb72839..485bb61b700 100644
--- a/src/gallium/drivers/radeon/r600_query.h
+++ b/src/gallium/drivers/radeon/r600_query.h
@@ -28,9 +28,7 @@
#ifndef R600_QUERY_H
#define R600_QUERY_H
-#include "pipe/p_defines.h"
-#include "pipe/p_state.h"
-#include "util/list.h"
+#include "util/u_threaded_context.h"
struct pipe_context;
struct pipe_query;
@@ -129,6 +127,7 @@ struct r600_query_ops {
};
struct r600_query {
+ struct threaded_query b;
struct r600_query_ops *ops;
/* The type of query */