mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
699e1b305b
So far our logic for queueing redraws goes like this: Actor notices that it needs to redraw -> actor tells stage that it needs to redraw via clutter_stage_queue_actor_redraw() -> stage collects more and more redraws into a QueueRedrawList before the actual stage update happens -> when that happens, the stage collects the actual redraw clips from the actors via clutter_actor_get_redraw_clip(). The logic behind this QueueRedrawList was that by storing a list of redraw entries on the stage, way we can avoid traversing the whole actor tree one more time to build the redraw clip before the stage update. These days we have clutter_actor_finish_layout() though, which is basically exactly that, a whole actor tree traversal that happens before every stage update. Since we have that now, we might as well get rid of the whole dance back and forth between ClutterStage and ClutterActor, and simply merge the logic to queue redraws into the finish-layout step. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2679> |
||
---|---|---|
.. | ||
clutter | ||
.gitignore | ||
meson.build |