clutter/actor: Introduce notify_transform_invalid

This allows clients to maybe avoid triggering a redraw if they don't know
beforehand if the transform would actually change.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2726>
This commit is contained in:
msizanoen1
2022-12-04 11:14:21 +07:00
committed by Marge Bot
parent 875922fbe3
commit ddc5de610b
2 changed files with 36 additions and 0 deletions

View File

@@ -132,6 +132,9 @@ void clutter_get_debug_flags (ClutterDebugFlag *debug_flags,
ClutterDrawDebugFlag *draw_flags,
ClutterPickDebugFlag *pick_flags);
CLUTTER_EXPORT
void clutter_actor_notify_transform_invalid (ClutterActor *self);
#undef __CLUTTER_H_INSIDE__
#endif /* __CLUTTER_MUTTER_H__ */