surface: Add comments to weston_surface_status member

Explain what each member implies.

Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2023-06-21 14:46:25 +01:00
parent 6526346b72
commit 3c1e2e5c32

View file

@ -1728,8 +1728,12 @@ struct weston_view {
};
enum weston_surface_status {
/** nothing has changed */
WESTON_SURFACE_CLEAN = 0,
/** a new buffer has been attached, but is like-for-like with the
* previous */
WESTON_SURFACE_DIRTY_BUFFER = 1 << 0,
/** surface has been resized */
WESTON_SURFACE_DIRTY_SIZE = 1 << 1,
};