Improvements to wayland backend

- Use wayland-client `0.30.0-beta.14`
- Use `memfd` instead of temporary file
- Make sure buffer and buffer pool objects are destroyed
This commit is contained in:
Ian Douglas Scott 2022-12-19 16:07:16 -08:00 committed by Jeremy Soller
parent 7351d68814
commit 3dc11f75c1
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
2 changed files with 159 additions and 41 deletions

View file

@ -16,8 +16,9 @@ thiserror = "1.0.30"
raw-window-handle = "0.5.0"
[target.'cfg(target_os = "linux")'.dependencies]
tempfile = "3.3.0"
wayland-client = {version = "0.29", features = ["use_system_lib"], default_features = false}
nix = "0.26.1"
wayland-backend = {version = "0.1.0-beta.14", features = ["client_system"]}
wayland-client = {version = "0.30.0-beta.14"}
x11-dl = "2.19.1"
[target.'cfg(target_os = "windows")'.dependencies.winapi]