metal: allow configuring color space and transfer function
This commit is contained in:
parent
04f280aabe
commit
bb56efb968
38 changed files with 1365 additions and 160 deletions
|
|
@ -11,8 +11,8 @@ use {
|
|||
theme::{Color, colors::Colorable, sized::Resizable},
|
||||
timer::Timer,
|
||||
video::{
|
||||
Connector, DrmDevice, Format, GfxApi, TearingMode, Transform, VrrMode,
|
||||
connector_type::ConnectorType,
|
||||
ColorSpace, Connector, DrmDevice, Format, GfxApi, TearingMode, TransferFunction,
|
||||
Transform, VrrMode, connector_type::ConnectorType,
|
||||
},
|
||||
xwayland::XScalingMode,
|
||||
},
|
||||
|
|
@ -533,6 +533,11 @@ pub enum ClientMessage<'a> {
|
|||
SetColorManagementEnabled {
|
||||
enabled: bool,
|
||||
},
|
||||
ConnectorSetColors {
|
||||
connector: Connector,
|
||||
color_space: ColorSpace,
|
||||
transfer_function: TransferFunction,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue