diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2024-01-10 22:47:12 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-01 14:51:43 +0000 |
commit | 7dfbd877718b3ac00ecd226c0157d6d028d5432c (patch) | |
tree | 84d695eb20ea2dd91e7ddddd189cd014b7f27407 /include | |
parent | 56cc25185d440616e264f26a35d02d708479956a (diff) |
compositor: drop wlr_surface.external_damage
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_compositor.h | 10 | ||||
-rw-r--r-- | include/wlr/types/wlr_subcompositor.h | 1 |
2 files changed, 1 insertions, 10 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 39bc3e21..dc95b303 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -142,11 +142,6 @@ struct wlr_surface { */ pixman_region32_t buffer_damage; /** - * The last commit's damage caused by surface and its subsurfaces' - * movement, in surface-local coordinates. - */ - pixman_region32_t external_damage; - /** * The current opaque region, in surface-local coordinates. It is clipped to * the surface bounds. If the surface's buffer is using a fully opaque * format, this is set to the whole surface. @@ -404,10 +399,7 @@ void wlr_surface_for_each_surface(struct wlr_surface *surface, wlr_surface_iterator_func_t iterator, void *user_data); /** - * Get the effective surface damage in surface-local coordinate space. Besides - * buffer damage, this includes damage induced by resizing and moving the - * surface and its subsurfaces. The resulting damage is not expected to be - * bounded by the surface itself. + * Get the effective surface damage in surface-local coordinate space. */ void wlr_surface_get_effective_damage(struct wlr_surface *surface, pixman_region32_t *damage); diff --git a/include/wlr/types/wlr_subcompositor.h b/include/wlr/types/wlr_subcompositor.h index 63323da6..bd3899b8 100644 --- a/include/wlr/types/wlr_subcompositor.h +++ b/include/wlr/types/wlr_subcompositor.h @@ -39,7 +39,6 @@ struct wlr_subsurface { bool has_cache; bool synchronized; - bool reordered; bool added; struct wl_listener surface_client_commit; |