Add support for HDR10 output

This commit is contained in:
Simon Ser 2025-01-27 21:00:54 +01:00
parent c7d7d56f61
commit bac8c0f4d0
11 changed files with 139 additions and 23 deletions

View file

@ -261,7 +261,7 @@ enum scale_filter_mode {
};
enum render_bit_depth {
RENDER_BIT_DEPTH_DEFAULT, // the default is currently 8
RENDER_BIT_DEPTH_DEFAULT, // the default is currently 8 for SDR, 10 for HDR
RENDER_BIT_DEPTH_6,
RENDER_BIT_DEPTH_8,
RENDER_BIT_DEPTH_10,
@ -291,6 +291,7 @@ struct output_config {
bool set_color_transform;
struct wlr_color_transform *color_transform;
int allow_tearing;
int hdr;
char *background;
char *background_option;