mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
compositor: drop wlr_surface.external_damage
This commit is contained in:
parent
56cc25185d
commit
7dfbd87771
4 changed files with 2 additions and 53 deletions
|
|
@ -141,11 +141,6 @@ struct wlr_surface {
|
|||
* positions need to be damaged.
|
||||
*/
|
||||
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
|
||||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ struct wlr_subsurface {
|
|||
bool has_cache;
|
||||
|
||||
bool synchronized;
|
||||
bool reordered;
|
||||
bool added;
|
||||
|
||||
struct wl_listener surface_client_commit;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue