1
0
Fork 0
A repository that has original sources for patches used in the Arch User Repository package called "mutter-performance". https://aur.archlinux.org/packages/mutter-performance
Find a file
Daniel van Vugt bd3b5b64ee backends/native: Make await_flush later and inlined
"Later" as in after GL is finished rendering so as to not block the deadline
timer from updating the cursor smoothly during long GL renders. Indeed this
could make a primary plane frame late in some cases but that's only when
going from idle to active, so there is no previous frame to observe stutter
within the primary plane. It does however fix observable stutter in the
cursor plane by not dropping/stalling an otherwise good cursor update in a
continuous stream of cursor updates.

"Inlined" as in we don't need most of `meta_kms_device_await_flush`. The
important part is that it calls `disarm_crtc_frame_deadline_timer` to avoid
attempting two posts at once. So that's all that is kept.

This also fixes a deadlock in triple buffering. By not cancelling the
cursor update during a GL render we're also not cancelling a primary plane
update that might have already been piggybacked onto it by `queue_update`.

Cherry picked from !3149
2024-08-06 14:08:28 +08:00
.gitlab/issue_templates gitlab: Add missing < in markdown comment tag 2020-02-14 03:10:28 +00:00
.gitlab-ci ci: Use meson introspect to generate artifact path 2024-05-25 17:04:46 +02:00
clutter clutter/frame-clock: Record measurements of zero for cursor-only updates 2024-08-06 14:08:28 +08:00
cogl cogl/onscreen: Indent declaration parameters to align with above/below 2024-08-06 14:08:28 +08:00
data build: Compile schemas locally for use in build tests 2024-06-25 17:32:25 +08:00
doc clutter/frame-clock: Add a state for when scheduled "now" 2024-02-10 16:16:19 +00:00
meson build: Replace custom post-install script 2022-11-19 02:21:05 +01:00
mtk mtk/rectangle: Add auto-cleanup integration 2024-04-15 16:48:04 +00:00
po Update Chinese (Taiwan) translation 2024-07-27 07:38:16 +00:00
src backends/native: Make await_flush later and inlined 2024-08-06 14:08:28 +08:00
subprojects docs: Prefer using gi-docgen from a subproject 2024-02-09 12:29:50 +00:00
tools tools/uncrustify: Fix invalid align_nl_cont value 2024-03-12 12:48:20 +10:00
.gitignore misc: Add common noisy dirs to gitignore 2024-01-08 19:53:57 +01:00
.gitlab-ci.yml ci: Hook up release-module 2024-05-25 17:04:46 +02:00
check-style.py check-style: Force the default prefix in git diff 2024-03-12 12:47:56 +10:00
config.h.meson wayland: Add MetaDrmTimeline 2024-03-28 13:27:42 -04:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-12 08:44:30 +07:00
logo.svg docs: Add a logo 2024-01-09 13:38:54 +00:00
meson.build Bump version to 46.4 2024-08-04 17:36:56 +02:00
meson_options.txt meson: Make libdisplay_info a feature option 2024-02-14 11:37:21 +00:00
mutter.doap DOAP: Remove defunct mailing list; add Discourse 2023-09-15 03:19:22 +02:00
NEWS Bump version to 46.4 2024-08-04 17:36:56 +02:00
README.md misc: Use the new mutter.gnome.org URL 2024-01-12 10:48:20 +00:00

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 of 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.

Contributing

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

It can be useful to first look at the GNOME Handbook and the documentation and API references below first.

Documentation

API Reference

License

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