backend: support outputs with arbitrary modes
This commit is contained in:
parent
dd10e1a585
commit
1a9753847a
23 changed files with 199 additions and 59 deletions
|
|
@ -71,7 +71,7 @@ pub struct WlOutputGlobal {
|
|||
pub output_id: Rc<OutputId>,
|
||||
pub mode: Cell<backend::Mode>,
|
||||
pub refresh_nsec: Cell<u64>,
|
||||
pub modes: Vec<backend::Mode>,
|
||||
pub modes: Option<Vec<backend::Mode>>,
|
||||
pub formats: CloneCell<Rc<Vec<&'static Format>>>,
|
||||
pub format: Cell<&'static Format>,
|
||||
pub width_mm: i32,
|
||||
|
|
@ -199,7 +199,7 @@ impl WlOutputGlobal {
|
|||
name: GlobalName,
|
||||
state: &Rc<State>,
|
||||
connector: &Rc<ConnectorData>,
|
||||
modes: Vec<backend::Mode>,
|
||||
modes: Option<Vec<backend::Mode>>,
|
||||
width_mm: i32,
|
||||
height_mm: i32,
|
||||
output_id: &Rc<OutputId>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue