glthread,hud: draw per-frame values and expose the number of batches per frame

This is better because we see the statistics for 1 frame instead of 1 second.

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18828>
This commit is contained in:
Marek Olšák
2022-08-23 00:09:23 -04:00
committed by Marge Bot
parent 62501fbf7b
commit 2fa864b38a
5 changed files with 24 additions and 9 deletions
+1
View File
@@ -273,6 +273,7 @@ struct util_queue_monitoring
unsigned num_offloaded_items;
unsigned num_direct_items;
unsigned num_syncs;
unsigned num_batches;
};
#ifdef __cplusplus