From 17070a0d54e66641839805c68cfe1670c7012525 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 13 Aug 2020 18:35:17 +0200 Subject: config: add tweak.render-timer option This can be set to 'none' (the default), 'osd', 'log' or 'both'. When 'osd' is enabled, we'll render the frame rendering time to a sub-surface after each frame. When 'log' is enabled, the frame rendering time is logged on stderr. --- config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 3c7ff1ae..7963aee7 100644 --- a/config.h +++ b/config.h @@ -127,6 +127,8 @@ struct config { bool hold_at_exit; struct { + bool render_timer_osd; + bool render_timer_log; uint64_t delayed_render_lower_ns; uint64_t delayed_render_upper_ns; off_t max_shm_pool_size; -- cgit v1.3