gnome-shell/js
Jonas Dreßler 959639bdc9 windowPreview: Cache the boundingBox of the layout manager
Accessing GObject properties from JS has proven to be quite slow because
of the JS->C->JS roundtrip involved. With the WindowPreview this
actually has an impact since we're accessing those properties very often
while creating new layouts.

So cache the boundingBox and the windowCenter properties of the
WindowPreview using a this._cachedBoundingBox JS object. This might
speed up opening the overview with lots of open windows significantly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1617>
2021-02-01 13:12:43 +00:00
..
dbusServices dbusServices/screencast: Use GTK4 2021-01-25 21:09:22 +01:00
gdm loginDialog: Make notListedButton accessible 2021-01-13 22:10:03 +01:00
misc util: Add lerp function 2021-01-29 15:01:03 +00:00
perf perf: Add basic run tests 2020-08-12 15:43:39 +00:00
portalHelper
ui windowPreview: Cache the boundingBox of the layout manager 2021-02-01 13:12:43 +00:00
js-resources.gresource.xml magnifier: Stop exposing D-Bus interface 2020-12-06 06:18:07 +01:00
meson.build extensions-app: Move Extensions app to new subproject 2020-03-27 23:33:30 +00:00
portal-resources.gresource.xml