aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-08-13 16:35:17 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-08-13 16:35:17 +0000
commit17070a0d54e66641839805c68cfe1670c7012525 (patch)
tree874d7bb50be9fd724daf50956a7575cd1c68aebb /config.h
parentdoc: footclient.1: move DESCRIPTION up before OPTIONS (diff)
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.
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
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;