mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Add full refresh rate support to custom modes
This commit is contained in:
parent
b852fb9a2b
commit
0256de0002
11 changed files with 98 additions and 40 deletions
|
|
@ -11,6 +11,7 @@ struct wlr_headless_backend {
|
|||
struct wl_display *display;
|
||||
struct wl_list outputs;
|
||||
struct wl_listener display_destroy;
|
||||
bool started;
|
||||
};
|
||||
|
||||
struct wlr_headless_backend_output {
|
||||
|
|
@ -21,6 +22,7 @@ struct wlr_headless_backend_output {
|
|||
|
||||
void *egl_surface;
|
||||
struct wl_event_source *frame_timer;
|
||||
int frame_delay; // ms
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue