1
0
Fork 0
forked from wry/wry

wl_buffer: remember client dmabuf when converting udmabuf to shm

This commit is contained in:
Julian Orth 2026-02-11 11:13:12 +01:00
parent 7122b89cb9
commit d90ddba50a
5 changed files with 12 additions and 9 deletions

View file

@ -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());