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. --- doc/footrc.5.scd | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/footrc.5.scd b/doc/footrc.5.scd index df4993ed..853b0583 100644 --- a/doc/footrc.5.scd +++ b/doc/footrc.5.scd @@ -400,6 +400,12 @@ foot. When reporting bugs, please mention if, and to what, you have changed any of these options. +*render-timer* + Enables a frame rendering timer, that prints the time it takes to + render each frame, in microseconds, either on-screen, to stderr, + or both. Valid values are *none*, *osd*, *log* and + *both*. Default: _none_. + *delayed-render-lower*, *delayed-render-upper* These two values control the timeouts (in nanoseconds) that are used to mitigate screen flicker caused by clients writing large, -- cgit v1.3