Go to file
Daniel García Moreno e642e1c106 texture-cache: Remove also scaled keys from the cache
We're storing in the texture cache images and scaled images appending
the scaling factor to the key. When a file changes the cache key
corresponding to that file is removed, but not the keys for the scaled
ones so that images in the cache are never reloaded.

This patch removes all keys from the cache related to the file that
changes, including those with the scaling factor.

A new set (hash table) was added to keep track of scale used to be able
to remove all possible images in the cache.

When the KEY is removed from the cache, we can look now in the scale set
for and each scale we also remove the key "KEY1.000000", "KEY2.000000",
etc.

Assuming that the number of used scales is small (I would typically
expect one or two), the overhead should be negligible.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/567
2019-11-26 08:28:21 +01:00
.gitlab-ci lint: Convert eslint JSON to YAML 2019-11-11 23:51:17 +00:00
.settings Clean out some eclipse artefacts 2019-02-13 04:39:26 +01:00
data data: Enable clean session shutdown after gnome-shell failure 2019-11-25 21:49:49 +00:00
docs/reference docs: Fix interface prefix for D-Bus docs 2019-07-25 15:56:20 +02:00
js extensionSystem: Create a file to flag that extensions are being loaded 2019-11-25 21:49:49 +00:00
lint lint: Disable eqeqeq in legacy configuration 2019-11-11 23:51:17 +00:00
man man: Update project website 2018-01-07 21:39:18 +01:00
meson build: Run postinstall script where necessary 2018-04-09 19:19:33 +00:00
po Update Greek translation 2019-11-25 19:20:20 +00:00
src texture-cache: Remove also scaled keys from the cache 2019-11-26 08:28:21 +01:00
subprojects gvc: Update submodule 2019-11-23 15:16:51 +01:00
test Add convert_xml test 2019-03-04 20:55:15 +00:00
tests cleanup: Replace deprecated lower/raise calls 2019-11-06 09:42:57 +01:00
tools build: Remove Canberra dependency 2019-01-09 23:09:18 +00:00
.eslintrc.yml lint: Convert eslint JSON to YAML 2019-11-11 23:51:17 +00:00
.gitignore Ignore '.vscode' folder for users of that editor 2019-04-02 17:37:31 +00:00
.gitlab-ci.yml ci: Run tests through dbus-run-session 2019-10-30 19:43:53 +01:00
.gitmodules submodules: Replace non-functional git.gnome.org URL by GNOME Gitlab URL 2018-09-25 08:41:30 +02:00
cldr2json.py Fix override for fr-CA 2019-03-04 20:55:15 +00:00
config.h.meson Add check_cloexec_fds debug command 2018-07-30 23:11:41 +00:00
COPYING Changed obsolete FSF postal address. 2014-01-08 04:35:14 +07:00
gnome-shell.doap doap: Clean up list of maintainers 2019-10-16 12:47:05 +02:00
HACKING.md docs: Update actor and delegate_ paragraph in HACKING 2019-10-16 15:26:13 +00:00
meson_options.txt extensions-tool: Start import 2019-08-21 18:28:02 +02:00
meson.build environment: Use gjs smart GObject GTypeName computation 2019-10-29 18:38:35 +00:00
NEWS Bump version to 3.35.1 2019-10-12 22:38:36 +02:00
README.md README.md: Add contribution section 2019-02-13 20:37:39 +01:00
README.mdwn Add basic documentation 2019-03-04 20:55:15 +00:00

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.

Contributing

To contribute, open merge requests at https://gitlab.gnome.org/GNOME/gnome-shell.

Commit messages should follow the GNOME commit message guidelines. We require an URL to either an issue or a merge request in each commit.

License

GNOME Shell is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for details.