Add Wayland DRM leasing support to the Linux DRM backend

This commit is contained in:
Tera << 8 2025-06-07 17:29:20 -04:00
parent 3366acf975
commit cc772e4bcb
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
8 changed files with 1567 additions and 54 deletions

23
shell.nix Normal file
View file

@ -0,0 +1,23 @@
{
pkgs ? import <nixpkgs> { },
}: pkgs.mkShell {
buildInputs = with pkgs; [
clang-tools
pkg-config
wayland-scanner
wayland
libGL
libgbm
libdrm
xorg.libXi
xorg.libXcursor
xorg.libXrandr
xorg.libXinerama
xorg.libX11
];
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.lib.makeLibraryPath [ pkgs.xorg.libX11 pkgs.libGL ]}:$LD_LIBRARY_PATH"
export PKG_CONFIG_PATH="${pkgs.lib.makeLibraryPath [ pkgs.libGL pkgs.libgbm pkgs.libdrm ]}/pkgconfig:$PKG_CONFIG_PATH"
'';
}