aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2015-11-19 12:13:43 +0100
committerNicolai Hähnle <[email protected]>2015-11-26 10:57:43 +0100
commitf36d9857cd35300d23c6be092feb6cd8c8a0e290 (patch)
tree665cda8367aa3456130686559c963a89ec6e5f8d /src/gallium/include
parent80a16dece614ef3763e2817d10a45462367af8b2 (diff)
gallium: add PIPE_DRIVER_QUERY_FLAG_DONT_LIST
This allows the driver to give a hint to the HUD so that GALLIUM_HUD=help is less spammy. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include')
-rw-r--r--src/gallium/include/pipe/p_defines.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h
index b3c8b9f7360..b18eedd004d 100644
--- a/src/gallium/include/pipe/p_defines.h
+++ b/src/gallium/include/pipe/p_defines.h
@@ -861,6 +861,9 @@ enum pipe_driver_query_result_type
*/
#define PIPE_DRIVER_QUERY_FLAG_BATCH (1 << 0)
+/* Do not list this query in the HUD. */
+#define PIPE_DRIVER_QUERY_FLAG_DONT_LIST (1 << 1)
+
struct pipe_driver_query_info
{
const char *name;