1
0
Fork 0
forked from wry/wry

dmabuf: cache is_disjoint property

This commit is contained in:
Julian Orth 2025-10-01 23:30:49 +02:00
parent f00202f149
commit 0884a5c656
9 changed files with 27 additions and 14 deletions

View file

@ -142,6 +142,7 @@ impl WlDrmRequestHandler for WlDrm {
format,
modifier: INVALID_MODIFIER,
planes: PlaneVec::new(),
is_disjoint: Default::default(),
};
if req.stride0 > 0 {
dmabuf.planes.push(DmaBufPlane {