1def099047
This is a step towards moving the primary GPU logic into the native renderer exclusively. In the future the renderer will have one more criterion on choosing the primary GPU than MetaMonitorManagerKms should know about: does a GPU offer hardware rendering. The choosing of primary GPU is separated from the discovery of GPUs. When GPUs are discovered and added to the list, the MetaGpuKmsFlag is now populated correctly and used in choosing. Choosing the primary GPU is done after all GPUs have been found and is slightly different from before: - Skipping devices that do not belong to our seat now works instead of becoming the primary GPU. - Fall back to any non-platform, non-boot_vga device if neither kind is found. The old preference of platform over boot_vga device is kept. The hotplug path will continue creating a gpu_kms without flags, because at that point the primary GPU has already been chosen and the flags are irrelevant. Co-authored by: Pekka Paalanen <pekka.paalanen@collabora.com> https://gitlab.gnome.org/GNOME/mutter/merge_requests/271 |
||
---|---|---|
.gitlab-ci | ||
clutter | ||
cogl | ||
data | ||
doc | ||
po | ||
src | ||
tools | ||
.gitignore | ||
.gitlab-ci.yml | ||
config.h.meson | ||
COPYING | ||
meson_options.txt | ||
meson.build | ||
mutter.doap | ||
NEWS | ||
README.md |
Mutter
Mutter is a Wayland display server and X11 window manager and compositor library.
When used as a Wayland display server, it runs on top of KMS and libinput. It implements the compositor side of the Wayland core protocol as well as various protocol extensions. It also has functionality related to running X11 applications using Xwayland.
When used on top of Xorg it acts as a X11 window manager and compositing manager.
It contains functionality related to, among other things, window management, window compositing, focus tracking, workspace management, keybindings and monitor configuration.
Internally it uses a fork of Cogl, a hardware acceleration abstraction library used to simplify usage of OpenGL pipelines, as well as a fork af Clutter, a scene graph and user interface toolkit.
Mutter is used by, for example, GNOME Shell, the GNOME core user interface, and by Gala, elementary OS's window manager. It can also be run standalone, using the command "mutter", but just running plain mutter is only intended for debugging purposes.
License
Mutter is distributed under the terms of the GNU General Public License, version 2 or later. See the COPYING file for detalis.