mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/wayland: implement output layers
This commit is contained in:
parent
3e0ce761ad
commit
cd17b18495
3 changed files with 182 additions and 12 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue