Use scene-graph for damage tracking

This commit is contained in:
Simon Ser 2021-08-17 17:09:31 +02:00
parent 1ef4cf5b8b
commit c737e32632
11 changed files with 11 additions and 285 deletions

3
view.h
View file

@ -52,7 +52,6 @@ struct cg_view_child {
struct wlr_surface *wlr_surface;
struct wl_list link;
struct wl_listener commit;
struct wl_listener new_subsurface;
void (*destroy)(struct cg_view_child *child);
@ -68,8 +67,6 @@ struct cg_subsurface {
char *view_get_title(struct cg_view *view);
bool view_is_primary(struct cg_view *view);
bool view_is_transient_for(struct cg_view *child, struct cg_view *parent);
void view_damage_part(struct cg_view *view);
void view_damage_whole(struct cg_view *view);
void view_activate(struct cg_view *view, bool activate);
void view_position(struct cg_view *view);
void view_unmap(struct cg_view *view);