metal: implement VRR
This commit is contained in:
parent
cd09e57568
commit
2d7c13b0b4
35 changed files with 1320 additions and 91 deletions
|
|
@ -8,7 +8,7 @@ use {
|
|||
logging::LogLevel,
|
||||
theme::{colors::Colorable, sized::Resizable, Color},
|
||||
timer::Timer,
|
||||
video::{connector_type::ConnectorType, Connector, DrmDevice, GfxApi, Transform},
|
||||
video::{connector_type::ConnectorType, Connector, DrmDevice, GfxApi, Transform, VrrMode},
|
||||
Axis, Direction, PciId, Workspace,
|
||||
_private::{PollableId, WireMode},
|
||||
},
|
||||
|
|
@ -487,6 +487,14 @@ pub enum ClientMessage<'a> {
|
|||
seat: Seat,
|
||||
enabled: bool,
|
||||
},
|
||||
SetVrrMode {
|
||||
connector: Option<Connector>,
|
||||
mode: VrrMode,
|
||||
},
|
||||
SetVrrCursorHz {
|
||||
connector: Option<Connector>,
|
||||
hz: f64,
|
||||
},
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue