dmabuf: cache is_disjoint property
This commit is contained in:
parent
f00202f149
commit
0884a5c656
9 changed files with 27 additions and 14 deletions
|
|
@ -69,6 +69,7 @@ async fn run(screenshot: Rc<Screenshot>) {
|
|||
format: XRGB8888,
|
||||
modifier: ev.modifier,
|
||||
planes,
|
||||
is_disjoint: Default::default(),
|
||||
};
|
||||
res.push(Ok((buf, Some(ev.drm_dev))));
|
||||
});
|
||||
|
|
@ -96,6 +97,7 @@ async fn run(screenshot: Rc<Screenshot>) {
|
|||
format: XRGB8888,
|
||||
modifier: ev.modifier,
|
||||
planes: planes.take(),
|
||||
is_disjoint: Default::default(),
|
||||
};
|
||||
res.push(Ok((buf, dev.take())))
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue