osd: draw window switcher with scene-nodes

...rather than drawing it onto a single texture.
This commit is contained in:
tokyo4j 2025-03-14 16:53:40 +09:00 committed by Johan Malm
parent 2be149064e
commit 75eb370d31
3 changed files with 110 additions and 128 deletions

View file

@ -412,6 +412,12 @@ struct output {
struct wlr_scene_tree *osd_tree;
struct wlr_scene_tree *session_lock_tree;
struct wlr_scene_buffer *workspace_osd;
struct osd_scene {
struct wl_array items; /* struct osd_scene_item */
struct wlr_scene_tree *tree;
} osd_scene;
/* In output-relative scene coordinates */
struct wlr_box usable_area;