diff options
author | Simon Ser <contact@emersion.fr> | 2022-09-05 16:56:47 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-09-22 09:38:27 +0200 |
commit | 0cabc83046474618b9ed619649b819dc7ef23d28 (patch) | |
tree | fb6126e68ea7b75b2cc96e0015caffb38e96f15e /include/backend/drm/util.h | |
parent | 2178573b0a5a8160564da1fd85c1f16f7d4d7bdd (diff) |
backend/drm: pass through mode picture aspect ratio
Diffstat (limited to 'include/backend/drm/util.h')
-rw-r--r-- | include/backend/drm/util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/backend/drm/util.h b/include/backend/drm/util.h index fc632e12..0d4c3d74 100644 --- a/include/backend/drm/util.h +++ b/include/backend/drm/util.h @@ -9,6 +9,7 @@ struct wlr_drm_connector; // Calculates a more accurate refresh rate (mHz) than what mode itself provides int32_t calculate_refresh_rate(const drmModeModeInfo *mode); +enum wlr_output_mode_aspect_ratio get_picture_aspect_ratio(const drmModeModeInfo *mode); // Populates the make/model/phys_{width,height} of output from the edid data void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data); |