all: implement output transforms
This commit is contained in:
parent
79df8d69f4
commit
b7d2964e19
20 changed files with 254 additions and 71 deletions
|
|
@ -158,6 +158,15 @@ impl Connector {
|
|||
}
|
||||
get!().connector_set_enabled(self, enabled);
|
||||
}
|
||||
|
||||
/// Sets the transformation to apply to the content of this connector.
|
||||
pub fn set_transform(self, transform: Transform) {
|
||||
if !self.exists() {
|
||||
log::warn!("set_transform called on a connector that does not exist");
|
||||
return;
|
||||
}
|
||||
get!().connector_set_transform(self, transform);
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns all available DRM devices.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue