metal: allow changing the connector mode
This commit is contained in:
parent
558bea47b7
commit
98b6eba81c
9 changed files with 124 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ use {
|
|||
crate::{
|
||||
async_engine::SpawnedFuture,
|
||||
backend::{
|
||||
Backend, Connector, ConnectorEvent, ConnectorId, ConnectorKernelId, DrmDeviceId,
|
||||
Backend, Connector, ConnectorEvent, ConnectorId, ConnectorKernelId, DrmDeviceId, Mode,
|
||||
},
|
||||
video::drm::ConnectorType,
|
||||
},
|
||||
|
|
@ -56,4 +56,8 @@ impl Connector for DummyOutput {
|
|||
fn set_enabled(&self, _enabled: bool) {
|
||||
// nothing
|
||||
}
|
||||
|
||||
fn set_mode(&self, _mode: Mode) {
|
||||
// nothing
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue