1
0
Fork 0
forked from wry/wry

metal: allow configuring color space and transfer function

This commit is contained in:
Julian Orth 2025-03-11 14:54:35 +01:00
parent 04f280aabe
commit bb56efb968
38 changed files with 1365 additions and 160 deletions

View file

@ -26,7 +26,7 @@ use {
logging::LogLevel,
status::MessageFormat,
theme::Color,
video::{Format, GfxApi, TearingMode, Transform, VrrMode},
video::{ColorSpace, Format, GfxApi, TearingMode, TransferFunction, Transform, VrrMode},
xwayland::XScalingMode,
},
std::{
@ -220,6 +220,8 @@ pub struct Output {
pub vrr: Option<Vrr>,
pub tearing: Option<Tearing>,
pub format: Option<Format>,
pub color_space: Option<ColorSpace>,
pub transfer_function: Option<TransferFunction>,
}
#[derive(Debug, Clone)]