Add full refresh rate support to custom modes

This commit is contained in:
emersion 2017-12-17 18:02:55 +01:00
parent b852fb9a2b
commit 0256de0002
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
11 changed files with 98 additions and 40 deletions

View file

@ -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