mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
output, backend/drm: add desired luminances to wlr_output
This commit is contained in:
parent
b7fe653aac
commit
7b91939d9e
2 changed files with 4 additions and 0 deletions
|
|
@ -110,6 +110,9 @@ void parse_edid(struct wlr_drm_connector *conn, size_t len, const uint8_t *data)
|
|||
if (conn->props.hdr_output_metadata != 0 && hdr_static_metadata->type1 && hdr_static_metadata->pq) {
|
||||
output->supported_transfer_functions |= WLR_COLOR_TRANSFER_FUNCTION_ST2084_PQ;
|
||||
}
|
||||
output->min_luminance = hdr_static_metadata->desired_content_min_luminance;
|
||||
output->max_luminance = hdr_static_metadata->desired_content_max_luminance;
|
||||
output->max_fall = hdr_static_metadata->desired_content_max_frame_avg_luminance;
|
||||
|
||||
di_info_destroy(info);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue