mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
view: add max_render_time
This commit is contained in:
parent
5421198489
commit
bd9a53f1a3
12 changed files with 125 additions and 18 deletions
|
|
@ -6,6 +6,13 @@ struct sway_surface {
|
|||
struct wlr_surface *wlr_surface;
|
||||
|
||||
struct wl_listener destroy;
|
||||
|
||||
/**
|
||||
* This timer can be used for issuing delayed frame done callbacks (for
|
||||
* example, to improve presentation latency). Its handler is set to a
|
||||
* function that issues a frame done callback to this surface.
|
||||
*/
|
||||
struct wl_event_source *frame_done_timer;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue