diff options
author | emersion <contact@emersion.fr> | 2018-03-30 13:18:50 -0400 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-03-30 17:16:35 -0400 |
commit | a776ecbb860608e0f75430a53ea75a6ed19ac746 (patch) | |
tree | f664978ac74c3fc13993ed709cc1015c025d3344 /include/sway/tree/view.h | |
parent | Merge pull request #1667 from emersion/wlroots-xwayland-map (diff) | |
download | sway-a776ecbb860608e0f75430a53ea75a6ed19ac746.tar.gz sway-a776ecbb860608e0f75430a53ea75a6ed19ac746.tar.zst sway-a776ecbb860608e0f75430a53ea75a6ed19ac746.zip |
Add lite damage tracking
This skips the renderer if nothing has changed, and renders
everything otherwise.
Diffstat (limited to 'include/sway/tree/view.h')
-rw-r--r-- | include/sway/tree/view.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/sway/tree/view.h b/include/sway/tree/view.h index 54f6d90e..526a8485 100644 --- a/include/sway/tree/view.h +++ b/include/sway/tree/view.h | |||
@@ -113,4 +113,8 @@ void view_close(struct sway_view *view); | |||
113 | 113 | ||
114 | void view_update_outputs(struct sway_view *view, const struct wlr_box *before); | 114 | void view_update_outputs(struct sway_view *view, const struct wlr_box *before); |
115 | 115 | ||
116 | void view_damage_whole(struct sway_view *view); | ||
117 | |||
118 | void view_damage_from(struct sway_view *view); | ||
119 | |||
116 | #endif | 120 | #endif |