Find a file
Simon Ser dac885222b
Add support for reading immutable plane zpos
If zpos is present, instead of guessing the zpos from the plane type, just use
it. If two planes have the same zpos, we consider their relative position as
undefined.

We don't handle the case where some planes have zpos set but some others don't.

References: https://github.com/emersion/libhwc/issues/4
2019-09-09 19:46:44 +03:00
include Guess zpos from plane type 2019-09-08 18:33:09 +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 Add support for reading immutable plane zpos 2019-09-09 19:46:44 +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