mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-11 13:29:45 -05:00
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.
This commit is contained in:
parent
b0972a94c3
commit
526652a554
2 changed files with 49 additions and 18 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue