wl_buffer: remember client dmabuf when converting udmabuf to shm
This commit is contained in:
parent
7122b89cb9
commit
d90ddba50a
5 changed files with 12 additions and 9 deletions
|
|
@ -703,7 +703,7 @@ impl CommitDataCollector {
|
|||
self.shm_uploads += 1;
|
||||
}
|
||||
if !pending.explicit_sync
|
||||
&& let Some(dmabuf) = &buffer.dmabuf
|
||||
&& let Some(dmabuf) = &buffer.client_dmabuf
|
||||
{
|
||||
for plane in &dmabuf.planes {
|
||||
self.implicit_dmabufs.push(plane.fd.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue