Find a file
Simon Ser fc901d0e26
Fix early bailout when we already have a better allocation
In case we can't do better than the current best allocation even if we manage
to allocate all remaining planes, we bail out early. However the bailout
condition was incorrect and didn't account for the current score.
2019-09-12 10:17:03 +03:00
include List planes by allocation order 2019-09-09 20:55:43 +03:00
.editorconfig Initial experiments 2019-08-21 23:07:37 +03:00
.gitignore Initial experiments 2019-08-21 23:07:37 +03:00
display.c Fix early bailout when we already have a better allocation 2019-09-12 10:17:03 +03:00
example.c Basic brute-force plane allocation 2019-09-08 16:32:38 +03:00
layer.c Initial experiments 2019-08-21 23:07:37 +03:00
LICENSE Add LICENSE 2019-08-21 23:13:35 +03:00
list.c Initial experiments 2019-08-21 23:07:37 +03:00
meson.build Initial experiments 2019-08-21 23:07:37 +03:00
output.c Check plane is compatible with CRTC 2019-09-08 17:41:25 +03:00
README.md Add README 2019-08-21 23:12:11 +03:00

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