metal: allow configuring framebuffer formats
This commit is contained in:
parent
9bab4f7ce1
commit
b4ca15fec0
24 changed files with 713 additions and 58 deletions
|
|
@ -9,8 +9,8 @@ use {
|
|||
theme::{colors::Colorable, sized::Resizable, Color},
|
||||
timer::Timer,
|
||||
video::{
|
||||
connector_type::ConnectorType, Connector, DrmDevice, GfxApi, TearingMode, Transform,
|
||||
VrrMode,
|
||||
connector_type::ConnectorType, Connector, DrmDevice, Format, GfxApi, TearingMode,
|
||||
Transform, VrrMode,
|
||||
},
|
||||
Axis, Direction, PciId, Workspace,
|
||||
_private::{PollableId, WireMode},
|
||||
|
|
@ -509,6 +509,10 @@ pub enum ClientMessage<'a> {
|
|||
SetEiSocketEnabled {
|
||||
enabled: bool,
|
||||
},
|
||||
ConnectorSetFormat {
|
||||
connector: Connector,
|
||||
format: Format,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue