diff options
author | Edmondo Tommasina <[email protected]> | 2016-12-21 22:58:09 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-01-01 00:03:06 +0100 |
commit | 22cd9040da75cac6e1c61b821e1ac6906ac4a8ac (patch) | |
tree | 09cb6095ef2e83054de36813a549112e4ed226f3 /src/gallium/auxiliary/hud/hud_private.h | |
parent | 1f13cb8b153b92bf1da8caa62c9176b875fe7e0f (diff) |
gallium/hud: dump hud_driver_query values to files
Dump values for every selected data source in GALLIUM_HUD.
Every data source has its own file and the filename is
equal to the data source identifier.
Set GALLIUM_HUD_DUMP_DIR to dump values to files in this directory.
No values are dumped if the environment variable is not set, the
directory doesn't exist or the user doesn't have write access.
Signed-off-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/hud/hud_private.h')
-rw-r--r-- | src/gallium/auxiliary/hud/hud_private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/hud/hud_private.h b/src/gallium/auxiliary/hud/hud_private.h index c6d0dbf66fb..fa1cd8b9a45 100644 --- a/src/gallium/auxiliary/hud/hud_private.h +++ b/src/gallium/auxiliary/hud/hud_private.h @@ -48,6 +48,7 @@ struct hud_graph { unsigned num_vertices; unsigned index; /* vertex index being updated */ uint64_t current_value; + FILE *fd; }; struct hud_pane { |