Mesa (master): gallium/hud: set filedescriptor for cpu graph

Marek Olšák mareko at kemper.freedesktop.org
Sat Dec 31 23:30:14 UTC 2016


Module: Mesa
Branch: master
Commit: 94c9916710ad19aeec998cc44cbbe95945695e92
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=94c9916710ad19aeec998cc44cbbe95945695e92

Author: Edmondo Tommasina <edmondo.tommasina at gmail.com>
Date:   Wed Dec 21 22:58:12 2016 +0100

gallium/hud: set filedescriptor for cpu graph

Signed-off-by: Marek Olšák <marek.olsak at amd.com>

---

 src/gallium/auxiliary/hud/hud_cpu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/gallium/auxiliary/hud/hud_cpu.c b/src/gallium/auxiliary/hud/hud_cpu.c
index c06e777..c65444e 100644
--- a/src/gallium/auxiliary/hud/hud_cpu.c
+++ b/src/gallium/auxiliary/hud/hud_cpu.c
@@ -213,6 +213,8 @@ hud_cpu_graph_install(struct hud_pane *pane, unsigned cpu_index)
    info = gr->query_data;
    info->cpu_index = cpu_index;
 
+   hud_graph_set_dump_file(gr);
+
    hud_pane_add_graph(pane, gr);
    hud_pane_set_max_value(pane, 100);
 }




More information about the mesa-commit mailing list