all: implement output transforms
This commit is contained in:
parent
79df8d69f4
commit
b7d2964e19
20 changed files with 254 additions and 71 deletions
|
|
@ -10,6 +10,7 @@ use {
|
|||
INVALID_MODIFIER, LINEAR_MODIFIER,
|
||||
},
|
||||
},
|
||||
jay_config::video::Transform,
|
||||
std::{ops::Deref, rc::Rc},
|
||||
thiserror::Error,
|
||||
uapi::OwnedFd,
|
||||
|
|
@ -76,6 +77,7 @@ pub fn take_screenshot(state: &State) -> Result<Screenshot, ScreenshooterError>
|
|||
Scale::from_int(1),
|
||||
true,
|
||||
false,
|
||||
Transform::None,
|
||||
);
|
||||
let drm = gbm.drm.dup_render()?.fd().clone();
|
||||
Ok(Screenshot { drm, bo })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue