mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 05:50:10 +01:00
libweston: Remove weston_surface_damage()
There is no valid reason for anyone to call this. True surface damage is already handled when surfaces are committed. View damage is already handled through any per-view manipulation which would generate damage. There is thus no reason for anyone to ever call this. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
653182759f
commit
816e4180bc
2 changed files with 0 additions and 14 deletions
|
|
@ -2193,9 +2193,6 @@ void
|
|||
weston_surface_set_size(struct weston_surface *surface,
|
||||
int32_t width, int32_t height);
|
||||
|
||||
void
|
||||
weston_surface_damage(struct weston_surface *surface);
|
||||
|
||||
void
|
||||
weston_view_damage_below(struct weston_view *view);
|
||||
|
||||
|
|
|
|||
|
|
@ -2071,17 +2071,6 @@ weston_view_schedule_repaint(struct weston_view *view)
|
|||
weston_output_schedule_repaint(output);
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
weston_surface_damage(struct weston_surface *surface)
|
||||
{
|
||||
struct weston_paint_node *pnode;
|
||||
|
||||
wl_list_for_each(pnode, &surface->paint_node_list, surface_link)
|
||||
pnode->status |= PAINT_NODE_CONTENT_DIRTY;
|
||||
|
||||
weston_surface_schedule_repaint(surface);
|
||||
}
|
||||
|
||||
WL_EXPORT void
|
||||
weston_view_set_rel_position(struct weston_view *view,
|
||||
struct weston_coord_surface offset)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue