mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-06-20 14:33:19 -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
|
|
@ -280,6 +280,9 @@ struct wl_window {
|
|||
struct wl_surface *scrollback_indicator_surface;
|
||||
struct wl_subsurface *scrollback_indicator_sub_surface;
|
||||
|
||||
struct wl_surface *render_timer_surface;
|
||||
struct wl_subsurface *render_timer_sub_surface;
|
||||
|
||||
struct wl_callback *frame_callback;
|
||||
|
||||
tll(const struct monitor *) on_outputs; /* Outputs we're mapped on */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue