chase wlroots: Add support for HDR10 output

v2: Switch XRGB to XBGR
v3: Rewrite HDR mode checking and setting
v4: Restructure HDR support detection
v5: Fix code style
v6: Fix old style function declaration
v7: This function should be declared static
v8: This helper function can accept a const struct on input
v9: Rebase now that 0.20 is merged
This commit is contained in:
Christopher Snowhill 2026-03-29 23:52:38 -07:00
parent 7be58fbaba
commit 2a6fe0409d
4 changed files with 115 additions and 0 deletions

View file

@ -71,6 +71,8 @@ struct wlr_box output_usable_area_in_layout_coords(struct output *output);
void handle_output_power_manager_set_mode(struct wl_listener *listener,
void *data);
void output_enable_adaptive_sync(struct output *output, bool enabled);
void output_enable_hdr(struct output *output, struct wlr_output_state *os,
bool enabled);
/**
* Notifies whether a fullscreen view is displayed on the given output.