wayland/screencopy: support dmabufs in vulkan mode

This commit is contained in:
reakjra 2026-02-09 18:20:14 +01:00 committed by outfoxxed
parent 158db16b93
commit a99519c3ad
No known key found for this signature in database
GPG key ID: 4C88A185FB89301E
8 changed files with 375 additions and 2 deletions

View file

@ -19,6 +19,7 @@
xorg,
libdrm,
libgbm ? null,
vulkan-headers,
pipewire,
pam,
polkit,
@ -77,7 +78,7 @@
++ lib.optional withJemalloc jemalloc
++ lib.optional (withWayland && lib.strings.compareVersions qt6.qtbase.version "6.10.0" == -1) qt6.qtwayland
++ lib.optionals withWayland [ wayland wayland-protocols ]
++ lib.optionals (withWayland && libgbm != null) [ libdrm libgbm ]
++ lib.optionals (withWayland && libgbm != null) [ libdrm libgbm vulkan-headers ]
++ lib.optional withX11 xorg.libxcb
++ lib.optional withPam pam
++ lib.optional withPipewire pipewire