diff options
author | emersion <contact@emersion.fr> | 2017-12-17 18:02:55 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-12-17 18:02:55 +0100 |
commit | 0256de00029e8f17da0514e14460fb9ff2283433 (patch) | |
tree | fed0f00d1888d0c6509b071668a03a372691f9f0 /include/wlr/interfaces | |
parent | b852fb9a2b3842dc6d122a2483c11322beb7a489 (diff) |
Add full refresh rate support to custom modes
Diffstat (limited to 'include/wlr/interfaces')
-rw-r--r-- | include/wlr/interfaces/wlr_output.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/wlr/interfaces/wlr_output.h b/include/wlr/interfaces/wlr_output.h index 1cfe7568..6d71f9b6 100644 --- a/include/wlr/interfaces/wlr_output.h +++ b/include/wlr/interfaces/wlr_output.h @@ -28,8 +28,10 @@ struct wlr_output_impl { void wlr_output_init(struct wlr_output *output, struct wlr_backend *backend, const struct wlr_output_impl *impl); void wlr_output_free(struct wlr_output *output); -void wlr_output_update_size(struct wlr_output *output, int32_t width, - int32_t height); +void wlr_output_update_mode(struct wlr_output *output, + struct wlr_output_mode *mode); +void wlr_output_update_custom_mode(struct wlr_output *output, int32_t width, + int32_t height, int32_t refresh); struct wl_global *wlr_output_create_global(struct wlr_output *wlr_output, struct wl_display *display); void wlr_output_destroy_global(struct wlr_output *wlr_output); |