Add lite damage tracking

This skips the renderer if nothing has changed, and renders
everything otherwise.
This commit is contained in:
emersion 2018-03-30 13:18:50 -04:00
parent 5ac5e7d5a6
commit a776ecbb86
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
11 changed files with 171 additions and 66 deletions

View file

@ -113,4 +113,8 @@ void view_close(struct sway_view *view);
void view_update_outputs(struct sway_view *view, const struct wlr_box *before);
void view_damage_whole(struct sway_view *view);
void view_damage_from(struct sway_view *view);
#endif