backend/wayland: implement output layers

This commit is contained in:
Simon Ser 2022-08-18 12:04:39 +02:00
parent 3e0ce761ad
commit cd17b18495
3 changed files with 182 additions and 12 deletions

View file

@ -47,6 +47,7 @@ struct wlr_wl_backend {
struct wlr_drm_format_set linux_dmabuf_v1_formats;
struct wl_drm *legacy_drm;
struct xdg_activation_v1 *activation_v1;
struct wl_subcompositor *subcompositor;
char *drm_render_name;
};
@ -65,6 +66,13 @@ struct wlr_wl_presentation_feedback {
uint32_t commit_seq;
};
struct wlr_wl_output_layer {
struct wlr_addon addon;
struct wl_surface *surface;
struct wl_subsurface *subsurface;
};
struct wlr_wl_output {
struct wlr_output wlr_output;