• Daniel van Vugt's avatar
    clutter: Avoid redundant margin changes · e0fd7a6d
    Daniel van Vugt authored
    When profiling gnome-shell it was found that one of the main triggers
    of `clutter_actor_queue_relayout` during animations was
    `clutter_actor_set_margin_internal` continuously setting the same
    zero margins. That's obviously pointless and also expensive. So just
    avoid redundant margin changes.
    
    This helps to further improve performance in:
    #233,
    gnome-shell#349
    
    This change previously landed as 59acb389 and then got reverted because
    it was found to make gnome-shell#517 worse. However that bug now has a
    proper fix and this branch isn't really directly related so is being
    reproposed...
    e0fd7a6d
Name
Last commit
Last update
.gitlab-ci Loading commit data...
clutter Loading commit data...
cogl Loading commit data...
data Loading commit data...
doc Loading commit data...
po Loading commit data...
src Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
COPYING Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
config.h.meson Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
mutter.doap Loading commit data...