dedbf0cb09
When blurring only the actor (ACTOR mode), we don't want to apply any scale, it looks fine without using the resource scale and it also seems like `clutter_actor_continue_paint` in `paint_actor_offscreen` only draws an unscaled texture anyway (ie. if the resource scale is 2, only a quarter of the framebuffer is being drawn to). In BACKGROUND mode though, we need to scale the framebuffer using the scale factor of the stage view (ie. the final scale factor for the monitor) because the content of the framebuffer we blit is scaled using that factor. Also, since the framebuffer we blit belongs to a stage view and only includes the contents of this view, we need to adjust the stage-coordinates of the actor to be relative to the stage-view. To make sure we don't have to get the transformed actor size or position multiple times during one paint-run and don't have to carefully floor() or ceil() widths and positions, store the size of the actor (which is also the size of the framebuffer) and its position relative to the stage view inside a ClutterActorBox. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/1000 |
||
---|---|---|
.gitlab/issue_templates | ||
.gitlab-ci | ||
.settings | ||
data | ||
docs/reference | ||
js | ||
lint | ||
man | ||
meson | ||
po | ||
src | ||
subprojects | ||
tests | ||
tools | ||
.eslintrc.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
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.
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.