mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -04:00
add timed present idle scheduler
This commit is contained in:
parent
e43baf4697
commit
bd193cc63b
2 changed files with 55 additions and 0 deletions
|
|
@ -38,6 +38,12 @@ struct wlr_frame_scheduler *wlr_wl_idle_scheduler_create(struct wlr_output *outp
|
|||
*/
|
||||
struct wlr_frame_scheduler *wlr_headless_idle_scheduler_create(struct wlr_output *output);
|
||||
|
||||
struct wlr_output_event_present;
|
||||
|
||||
void wlr_timed_present_idle_scheduler_on_present(struct wlr_frame_scheduler *wlr_scheduler,
|
||||
struct wlr_output_event_present *present, uint64_t predicted_render_duration_ns);
|
||||
struct wlr_frame_scheduler *wlr_timed_present_idle_scheduler_create(struct wlr_output *output);
|
||||
|
||||
/*
|
||||
* Creates an appropriate frame scheduler for the given output's backend capabilities.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue