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 |
||
---|---|---|
.. | ||
components | ||
status | ||
accessDialog.js | ||
altTab.js | ||
animation.js | ||
appDisplay.js | ||
appFavorites.js | ||
audioDeviceSelection.js | ||
background.js | ||
backgroundMenu.js | ||
barLevel.js | ||
boxpointer.js | ||
calendar.js | ||
checkBox.js | ||
closeDialog.js | ||
ctrlAltTab.js | ||
dash.js | ||
dateMenu.js | ||
dialog.js | ||
dnd.js | ||
edgeDragAction.js | ||
endSessionDialog.js | ||
environment.js | ||
extensionDownloader.js | ||
extensionSystem.js | ||
focusCaretTracker.js | ||
grabHelper.js | ||
ibusCandidatePopup.js | ||
iconGrid.js | ||
inhibitShortcutsDialog.js | ||
kbdA11yDialog.js | ||
keyboard.js | ||
layout.js | ||
lightbox.js | ||
lookingGlass.js | ||
magnifier.js | ||
magnifierDBus.js | ||
main.js | ||
messageList.js | ||
messageTray.js | ||
modalDialog.js | ||
mpris.js | ||
notificationDaemon.js | ||
osdMonitorLabeler.js | ||
osdWindow.js | ||
overview.js | ||
overviewControls.js | ||
padOsd.js | ||
panel.js | ||
panelMenu.js | ||
pointerWatcher.js | ||
popupMenu.js | ||
remoteMenu.js | ||
remoteSearch.js | ||
runDialog.js | ||
screencast.js | ||
screenShield.js | ||
screenshot.js | ||
scripting.js | ||
search.js | ||
sessionMode.js | ||
shellDBus.js | ||
shellEntry.js | ||
shellMountOperation.js | ||
slider.js | ||
switcherPopup.js | ||
switchMonitor.js | ||
tweener.js | ||
unlockDialog.js | ||
userWidget.js | ||
viewSelector.js | ||
windowAttentionHandler.js | ||
windowManager.js | ||
windowMenu.js | ||
workspace.js | ||
workspacesView.js | ||
workspaceSwitcherPopup.js | ||
workspaceThumbnail.js | ||
xdndHandler.js |