scene: add damage tracking support

This commit is contained in:
Simon Ser 2021-08-17 15:12:47 +02:00 committed by Simon Zeni
parent 9195b77e14
commit 44f0f7a0a7
2 changed files with 226 additions and 21 deletions

View file

@ -68,6 +68,7 @@ struct wlr_scene_surface {
// private state
struct wl_listener surface_destroy;
struct wl_listener surface_commit;
};
/** A scene-graph node displaying a solid-colored rectangle */
@ -84,6 +85,8 @@ struct wlr_scene_output {
struct wlr_scene *scene;
struct wlr_addon addon;
struct wlr_output_damage *damage;
int x, y;
};