Simon Ser
|
73f4867ba1
|
Remove primary plane special case
This doesn't work on i915. 8a971695bd ("test: introduce
liftoff_mock_require_primary_plane") makes sure we catch this in
the tests.
|
2021-08-18 11:55:15 +02:00 |
|
Simon Ser
|
32683879e7
|
Add newline after function return type
Aligns our style with Linux' and Weston's.
|
2021-08-13 22:02:33 +02:00 |
|
Simon Ser
|
f5a2b541ce
|
Make liftoff_device_register_all_planes return an int
For consistency with liftoff_output_apply.
|
2021-07-30 16:19:29 +02:00 |
|
Simon Ser
|
61fd4c099a
|
Make liftoff_output_apply return an int
Callers may want to get more details about the failure, in
particular EPERM indicates that the user isn't DRM master (can
happen on VT switch).
|
2021-07-27 12:28:00 +02:00 |
|
Simon Ser
|
8260fa67d7
|
Introduce liftoff_plane_get_id
This allow users calling liftoff_device_register_all_planes to
easily figure out what a liftoff_plane represents.
|
2021-07-01 11:39:52 +02:00 |
|
Simon Ser
|
562f8b0af6
|
Allow to choose which planes are managed by libliftoff
Closes: https://github.com/emersion/libliftoff/issues/10
|
2021-07-01 11:37:10 +02:00 |
|
Simon Ser
|
95da3ee649
|
Add support for the rotation property
|
2020-05-26 11:35:50 +02:00 |
|
Simon Ser
|
44946c44d8
|
Add support for the alpha property
If the layer is completely opaque, we don't need a plane with the alpha
property.
|
2020-05-22 17:40:33 +02:00 |
|
Simon Ser
|
dcca965fc1
|
Remove chatty debug log
|
2019-12-12 23:26:05 +01:00 |
|
Simon Ser
|
99ef3d5b2e
|
Unset plane->layer and layer->plane on destroy
This fixes a use-after-free when destroying a layer/plane early.
|
2019-12-06 15:06:14 +01:00 |
|
Simon Ser
|
b0e2b083f9
|
Rename display to device
"Display" can also mean "screen"/"monitor", so it's kind of confusing for
this usage.
|
2019-11-24 12:59:10 +01:00 |
|
Simon Ser
|
ef29d341cb
|
Move plane allocation algorithm to alloc.c
And move plane-related functions to plane.c.
|
2019-10-19 13:43:09 +03:00 |
|
Simon Ser
|
ba80e32054
|
Introduce liftoff_log_errno
Like perror, but uses the liftoff logging infrastructure.
|
2019-10-19 13:35:14 +03:00 |
|
Simon Ser
|
aacbcf40b4
|
Split plane functions into a separate file
|
2019-10-11 17:09:35 +03:00 |
|