mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2025-01-18 10:27:00 +01:00
42db49c6fe
Many drivers don't expose the zpos plane property. We can guess it from the plane type though: primary, overlay, cursor. Except some drivers expose underlays too: underlays, primary, overlay, cursor. Underlay planes don't have a special type, they are just marked as overlays. To detect them, check whether their plane ID is less than the primary plane ID. References: https://github.com/emersion/libhwc/issues/3 |
||
---|---|---|
include | ||
.editorconfig | ||
.gitignore | ||
display.c | ||
example.c | ||
layer.c | ||
LICENSE | ||
list.c | ||
meson.build | ||
output.c | ||
README.md |
libhwc
Lightweight hardware composer library for libdrm.
libhwc eases the use of KMS planes from userspace without standing in your way. Users create "virtual planes" called layers, set KMS properties on them, and libhwc will allocate planes for these layers if possible.
Building
Depends on libdrm. Requires universal planes and atomic.
meson build/
ninja -C build/
License
MIT