render/allocator: add udmabuf allocator

udmabuf can create a DMA-BUF backed by a memfd. This is useful
when running with a software implementation of GL/Vulkan: the memfd
can be passed to the parent compositor via wl_shm and the DMA-BUF
can be imported via the usual APIs into GL/Vulkan.
This commit is contained in:
Simon Ser 2024-10-03 12:31:52 +02:00
parent 1c604207c6
commit 7cf8e80ffe
7 changed files with 209 additions and 3 deletions

View file

@ -29,7 +29,7 @@ sources:
tasks:
- wlroots: |
cd wlroots
meson setup build --fatal-meson-warnings -Dauto_features=enabled
meson setup build --fatal-meson-warnings -Dauto_features=enabled -Dallocators=gbm
ninja -C build
sudo ninja -C build install
- tinywl: |