mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
scene: add damage tracking support
This commit is contained in:
parent
9195b77e14
commit
44f0f7a0a7
2 changed files with 226 additions and 21 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue