Read-only mirror of https://gitlab.gnome.org/GNOME/gnome-shell
286ffbe2b6
Shell.GenericContainer exposes the size negotiation machinery through the use of signals. Signals are not specially performant. One of the reasons is that they acquire a global lock for signal handlers lookup. GNOME Shell has more than 2,000 actors at any given point in time, up to 20 levels deep in hierarchy, making size negotiation and painting non-trivial tasks. Such a critical section of Clutter's machinery shouldn't rely on signals whatsoever. Regardless of that, Shell.GenericContainer is a workaround to a non-existing issue anymore. It shouldn't be used anyway, and any performance improvements that removing it can potentially yield are bonuses to it. This commit starts this work by removing Shell.GenericContainer usage from Panel.Panel class. The class now extends St.Widget, and as such, it has no "this.actor" field set anymore. A couple of places where this actor field was used are adjuste as well. It is important to notice that we now allocate the Panel itself inside vfunc_allocate(). This was previously done before emitting the signal by Shell.GenericContainer. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/153 |
||
---|---|---|
.settings | ||
browser-plugin | ||
data | ||
docs/reference | ||
js | ||
man | ||
meson | ||
po | ||
src | ||
subprojects | ||
tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.project | ||
config.h.meson | ||
COPYING | ||
gnome-shell.doap | ||
HACKING.md | ||
meson_options.txt | ||
meson.build | ||
NEWS | ||
README.md |
GNOME Shell
GNOME Shell provides core user interface functions for the GNOME 3 desktop, like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a visually attractive and easy to use experience.
For more information about GNOME Shell, including instructions on how to build GNOME Shell from source and how to get involved with the project, see the project wiki.
Bugs should be reported to the GNOME bug tracking system.
License
GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.