ARB_query_buffer_object requires us to provide a query_ops
callback for statistics about the operation in the OpenGL pipeline.

Signed-off-by: Edward O'Callaghan <eocallag...@alterapraxis.com>
---
 src/gallium/drivers/radeon/r600_query.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/drivers/radeon/r600_query.h 
b/src/gallium/drivers/radeon/r600_query.h
index 8b2c4e3..b3d4501 100644
--- a/src/gallium/drivers/radeon/r600_query.h
+++ b/src/gallium/drivers/radeon/r600_query.h
@@ -73,6 +73,11 @@ struct r600_query_ops {
        boolean (*get_result)(struct r600_common_context *,
                              struct r600_query *, boolean wait,
                              union pipe_query_result *result);
+       void (*get_query_result_resource)(struct r600_common_context *,
+                             struct r600_query *, boolean wait,
+                             enum pipe_query_value_type result_type,
+                             int index, struct pipe_resource *resource,
+                             unsigned offset);
 };
 
 struct r600_query {
-- 
2.5.5

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to