mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-26 21:59:18 +01:00
c4a8afb39b
This commit adds special handling for the layer zpos property. Setting it won't forward it to KMS, instead it will be handled internally. The plane zpos (either retrieved from KMS if the property is supported, or guessed from the plane type and ID) is checked during plane allocation to have the same ordering as the layer zpos. This adds more constraints to the allocation. Note that the new constraints are too strict. In case two layers don't overlap, there's no need for one plane to be on top of the other. See [1]. Also, the new constraints don't account for underlay planes [2]. [1]: https://github.com/emersion/libhwc/issues/3 [2]: https://github.com/emersion/libhwc/issues/7 Closes: https://github.com/emersion/libhwc/issues/4 |
||
---|---|---|
.. | ||
libhwc.h | ||
list.h | ||
private.h |