mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-15 08:21:03 -04:00
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.
This commit is contained in:
parent
c7126c4076
commit
17070a0d54
8 changed files with 158 additions and 55 deletions
2
config.h
2
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue