Create shm buffer directly instead of using RawPool

Currently needed if we want an fd to pass to iced-sctk for subsurfaces.
Rather than a wl_buffer.

It would be good if this logic and the dmabuf type could be shared in
some crate.
This commit is contained in:
Ian Douglas Scott 2024-01-26 14:13:58 -08:00
parent d50c1f13f6
commit 2164c1ea5a
3 changed files with 79 additions and 10 deletions

View file

@ -26,6 +26,7 @@ itertools = "0.12.0"
log = "0.4.20"
i18n-embed-fl = "0.7.0"
rust-embed = "8.1.0"
rustix = { version = "0.38.30", features = ["fs"] }
[dependencies.i18n-embed]
version = "0.14.1"