mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
backend/wayland: maintain a list of displays
This commit is contained in:
parent
89dcecba39
commit
c15cd16d0e
2 changed files with 75 additions and 0 deletions
|
|
@ -48,9 +48,21 @@ struct wlr_wl_backend {
|
|||
struct wl_drm *legacy_drm;
|
||||
struct xdg_activation_v1 *activation_v1;
|
||||
struct wl_subcompositor *subcompositor;
|
||||
struct wl_list remote_outputs; // wlr_wl_remote_output.link
|
||||
char *drm_render_name;
|
||||
};
|
||||
|
||||
struct wlr_wl_remote_output {
|
||||
struct wl_output *output;
|
||||
uint32_t scale;
|
||||
|
||||
// we use this to identify the output in the
|
||||
// global registry so that we can remove it later
|
||||
uint32_t name;
|
||||
|
||||
struct wl_list link; // wlr_wl_backend.remote_outputs
|
||||
};
|
||||
|
||||
struct wlr_wl_buffer {
|
||||
struct wlr_buffer *buffer;
|
||||
struct wl_buffer *wl_buffer;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue