From 526652a554e941f4c86f3be5affe953ded84dacd Mon Sep 17 00:00:00 2001 From: "Devin J. Pohly" Date: Fri, 13 Aug 2021 15:18:29 -0500 Subject: scene: iterate nodes instead of surfaces when rendering This will allow us to create node types which are rendered but not surface-based, such as a solid color or image. --- include/wlr/types/wlr_scene.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index a489d6af..6e0aebf8 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -67,6 +67,9 @@ struct wlr_scene_surface { struct wl_listener surface_destroy; }; +typedef void (*wlr_scene_node_iterator_func_t)(struct wlr_scene_node *node, + int sx, int sy, void *data); + /** * Immediately destroy the scene-graph node. */ -- cgit v1.2.3