mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-17 23:39:18 +02:00
fix gtao glitches; add timer to measure animation phase
This commit is contained in:
@@ -33,6 +33,8 @@ void perfgraph_panel::render_contents() {
|
||||
stopwatch = &Timer::subsystem.gfx_swap;
|
||||
else if (current_timer == gfx_gui)
|
||||
stopwatch = &Timer::subsystem.gfx_gui;
|
||||
else if (current_timer == gfx_animate)
|
||||
stopwatch = &Timer::subsystem.gfx_animate;
|
||||
else if (current_timer == sim_total)
|
||||
stopwatch = &Timer::subsystem.sim_total;
|
||||
else if (current_timer == sim_dynamics)
|
||||
|
||||
@@ -12,6 +12,7 @@ class perfgraph_panel : public ui_panel
|
||||
gfx_reflections,
|
||||
gfx_swap,
|
||||
gfx_gui,
|
||||
gfx_animate,
|
||||
sim_total,
|
||||
sim_dynamics,
|
||||
sim_events,
|
||||
@@ -31,6 +32,7 @@ class perfgraph_panel : public ui_panel
|
||||
"gfx_reflections",
|
||||
"gfx_swap",
|
||||
"gfx_gui",
|
||||
"gfx_animate",
|
||||
"sim_total",
|
||||
"sim_dynamics",
|
||||
"sim_events",
|
||||
|
||||
Reference in New Issue
Block a user