scene: add wlr_scene_subsurface_tree_create

This commit is contained in:
Simon Ser 2021-08-20 12:41:23 +02:00 committed by Isaac Freund
parent 597ba2b932
commit 2e590026e9
3 changed files with 226 additions and 0 deletions

View file

@ -224,4 +224,11 @@ bool wlr_scene_output_commit(struct wlr_scene_output *scene_output);
bool wlr_scene_attach_output_layout(struct wlr_scene *scene,
struct wlr_output_layout *output_layout);
/**
* Add a node displaying a surface and all of its sub-surfaces to the
* scene-graph.
*/
struct wlr_scene_node *wlr_scene_subsurface_tree_create(
struct wlr_scene_node *parent, struct wlr_surface *surface);
#endif