mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: send output layer feedback events
This commit is contained in:
parent
e1335a792a
commit
22d9df2af4
4 changed files with 77 additions and 1 deletions
|
|
@ -38,6 +38,7 @@ struct wlr_drm_plane {
|
|||
};
|
||||
|
||||
struct wlr_drm_layer {
|
||||
struct wlr_output_layer *wlr;
|
||||
struct liftoff_layer *liftoff;
|
||||
struct wlr_addon addon; // wlr_output_layer.addons
|
||||
struct wl_list link; // wlr_drm_crtc.layers
|
||||
|
|
@ -50,6 +51,9 @@ struct wlr_drm_layer {
|
|||
struct wlr_drm_fb *current_fb;
|
||||
|
||||
int pending_width, pending_height;
|
||||
|
||||
// One entry per wlr_drm_backend.planes
|
||||
bool *candidate_planes;
|
||||
};
|
||||
|
||||
struct wlr_drm_crtc {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue