video: add udmabuf allocator
This commit is contained in:
parent
2579834a60
commit
62cd29056a
33 changed files with 883 additions and 256 deletions
|
|
@ -79,7 +79,7 @@ impl TestRun {
|
|||
let client = self.state.clients.get(client_id)?;
|
||||
Ok(Rc::new(TestClient {
|
||||
run: self.clone(),
|
||||
server: client,
|
||||
_server: client,
|
||||
tran,
|
||||
jc,
|
||||
comp: registry.get_compositor().await?,
|
||||
|
|
@ -106,7 +106,14 @@ impl TestRun {
|
|||
}
|
||||
|
||||
pub async fn create_default_setup(&self) -> Result<DefaultSetup, TestError> {
|
||||
self.backend.install_default()?;
|
||||
self.create_default_setup2(true).await
|
||||
}
|
||||
|
||||
pub async fn create_default_setup2(
|
||||
&self,
|
||||
prefer_udmabuf: bool,
|
||||
) -> Result<DefaultSetup, TestError> {
|
||||
self.backend.install_default2(prefer_udmabuf)?;
|
||||
let seat = self.get_seat("default")?;
|
||||
self.state.eng.yield_now().await;
|
||||
let output = match self.state.root.outputs.lock().values().next() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue