aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/virgl/virgl_encode.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2018-05-22 09:32:42 +1000
committerDave Airlie <[email protected]>2019-01-31 11:23:38 +1000
commit9279a28f07fd65fa94831f7f9fb80b35921f6805 (patch)
tree7ca3776a22df8debf1a56032c312b14f86b40acf /src/gallium/drivers/virgl/virgl_encode.h
parent38658c6d4dda1df12690c1f4c01b993862d6fe68 (diff)
virgl: ARB_query_buffer_object support
v1.1: fix size define. Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_encode.h')
-rw-r--r--src/gallium/drivers/virgl/virgl_encode.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_encode.h b/src/gallium/drivers/virgl/virgl_encode.h
index f3729e8e920..70fae1db4e5 100644
--- a/src/gallium/drivers/virgl/virgl_encode.h
+++ b/src/gallium/drivers/virgl/virgl_encode.h
@@ -279,4 +279,12 @@ int virgl_encode_texture_barrier(struct virgl_context *ctx,
int virgl_encode_host_debug_flagstring(struct virgl_context *ctx,
const char *envname);
+
+int virgl_encode_get_query_result_qbo(struct virgl_context *ctx,
+ uint32_t handle,
+ struct virgl_resource *res, boolean wait,
+ uint32_t result_type,
+ uint32_t offset,
+ uint32_t index);
+
#endif