1
0
Fork 0
A repository that has original source 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 f2290877be
clutter/frame-clock: Optimize latency for platforms missing TIMESTAMP_QUERY
Previously if we had no measurements then `compute_max_render_time_us`
would pessimise its answer to ensure triple buffering could be reached:
```
if (frame_clock->state == CLUTTER_FRAME_CLOCK_STATE_DISPATCHED_ONE)
  ret += refresh_interval_us;
```
But that also meant entering triple buffering even when not required.

Now we make `compute_max_render_time_us` more honest and return failure
if the answer isn't known (or is disabled). This in turn allows us to
optimize `calculate_next_update_time_us` for this special case, ensuring
triple buffering can be used, but isn't blindly always used.

This makes a visible difference to the latency when dragging windows in
Xorg, but will also help Wayland sessions on platforms lacking
TIMESTAMP_QUERY such as Raspberry Pi.

(cherry picked from commit 7852451a9e93f5116fa853350020a318d31cb710)
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1441>
Signed-off-by: Mingi Sung <sungmg@saltyming.net>
2024-10-22 17:13:55 +09:00
.gitlab/issue_templates gitlab: Add missing < in markdown comment tag 2020-02-14 03:10:28 +00:00
.gitlab-ci ci: Rebase image to F41 2024-09-20 18:06:26 +00:00
clutter clutter/frame-clock: Optimize latency for platforms missing TIMESTAMP_QUERY 2024-10-22 17:13:55 +09:00
cogl cogl/onscreen: Add function cogl_onscreen_get_pending_frame_count 2024-10-22 17:03:45 +09:00
data core: Add debug control setting for session management 2024-09-14 13:47:21 +00:00
doc clutter/frame-clock: Add triple buffering support 2024-10-22 17:11:02 +09:00
meson build: Replace custom post-install script 2022-11-19 02:21:05 +01:00
mtk mtk: Move meta_rectangle_transform to Mtk 2024-08-09 15:51:36 +00:00
po Update German translation 2024-10-20 20:16:54 +00:00
src tests/native-kms-render: Fix failing client-scanout test 2024-10-22 17:13:02 +09:00
subprojects build: Add gvdb dependency 2024-09-14 13:47:21 +00:00
tools core/debug-control: Allow changing the reference luminance of outputs 2024-08-30 20:03:43 +00:00
.editorconfig Add editorconfig file 2024-05-21 09:09:11 +00:00
.gitignore Add gvdb subproject to .gitignore 2024-10-18 14:54:12 +02:00
.gitlab-ci.yml ci: Don't build our own gtk3 2024-10-18 14:57:22 +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 clutter/settings: Remove unused fontconfig-timestamp property 2024-08-22 19:09:51 +00: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 47.1 2024-10-18 21:52:47 +02:00
meson_options.txt clutter/settings: Remove unused fontconfig-timestamp property 2024-08-22 19:09:51 +00:00
mutter.doap doap: Remove marge-bot maintainer entry 2024-08-13 08:48:28 +00:00
NEWS Bump version to 47.1 2024-10-18 21:52:47 +02:00
README.md cally: Merge inside Clutter 2024-08-07 22:46:16 +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

Meetings

There are recurring meetings to discuss development of GNOME Shell, mutter and related components.

License

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