gallium/hud: add API-thread-busy for monitoring the thread load
[mesa.git] / src / gallium / auxiliary / hud / hud_private.h
index 580ceb3af8c4e4d107cfec0e78c9e2a0c4f96e25..b8726da7342ed325133ca2d798cdd5aa985de546 100644 (file)
@@ -144,7 +144,7 @@ int hud_get_num_cpus(void);
 
 void hud_fps_graph_install(struct hud_pane *pane);
 void hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index);
-void hud_main_thread_busy_install(struct hud_pane *pane, const char *name);
+void hud_thread_busy_install(struct hud_pane *pane, const char *name, bool main);
 void hud_pipe_query_install(struct hud_batch_query_context **pbq,
                             struct hud_pane *pane, struct pipe_context *pipe,
                             const char *name, unsigned query_type,