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
Pekka Paalanen 6502735f01 cogl: Remove mesa_46631_slow_read_pixels_workaround
This function gets hit even today on relatively modern Intel systems (I
have a Haswell Desktop with Mesa 18.2.4) if the pixel format is right.
Presumably it makes things slower for no longer a reason.

According to cb146dc515, this
functionality was refactored into a workaround path in 2012. The commit
message mentions the problem existing before Mesa 8.0.2. The number
refers to https://bugs.freedesktop.org/show_bug.cgi?id=46631 .

The use case where I hit this is when improving support for DisplayLink
video outputs. These are used through a "secondary GPU", and since
DisplayLink does not have a GPU, Mutter uses the CPU copy path with Cogl
read-pixels[1]. If the DisplayLink framebuffer was allocated as
DRM_FORMAT_XRGB8888 (the only format it currently handles correctly),
mesa_46631_slow_read_pixels_workaround would get hit. The render buffer is
the same format as the framebuffer, yet doing the copy XRGB -> XRGB ends
up being slower than XRGB -> XBGR which makes no sense.

This patch is not sufficient to fix the XRGB -> XRGB copy performance,
but it is required.

This patch reverts CoglGpuInfoDriverBug into what it was before
cb146dc515.

[1] This is not actually true until
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/278 is
    merged.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/313
2018-12-19 19:21:51 +00:00
.gitlab-ci Dockerfile: Install gsettings-desktop-schemas rpm built from git 2018-12-11 11:05:29 +01:00
clutter tests: Don't check pixels outside actor allocation 2018-12-18 13:54:09 +01:00
cogl cogl: Remove mesa_46631_slow_read_pixels_workaround 2018-12-19 19:21:51 +00:00
data Add meson build support 2018-11-06 18:51:44 +01:00
doc Add meson build support 2018-11-06 18:51:44 +01:00
po Add meson build support 2018-11-06 18:51:44 +01:00
src compositor: Avoid changing pipeline/source if shadow is not being painted 2018-12-18 12:51:28 +01:00
tools tools: Remove obsolete ppa-magic.py 2018-11-30 11:12:12 +08:00
.gitignore Add meson build support 2018-11-06 18:51:44 +01:00
.gitlab-ci.yml gitlab-ci.yml: Increase test timeout multiplier further 2018-11-22 18:20:58 +01:00
autogen.sh autogen.sh: Don't run intltoolize 2018-12-03 11:36:45 +00:00
config.h.meson Add meson build support 2018-11-06 18:51:44 +01:00
configure.ac build: Depend on gsettings-desktop-schemas >= 3.31.0 2018-12-06 18:30:13 +01:00
COPYING Updated obsolete FSF postal address in COPYING 2014-01-12 08:44:30 +07:00
Makefile.am autotools: Make install directories paths more consistent 2018-11-06 17:17:36 +01:00
meson.build build: Depend on gsettings-desktop-schemas >= 3.31.0 2018-12-06 18:30:13 +01:00
meson_options.txt Add meson build support 2018-11-06 18:51:44 +01:00
mutter.doap Replace Bugzilla by Gitlab URL in DOAP file 2018-12-15 23:50:01 +01:00
NEWS Bump version to 3.31.2 2018-11-14 02:01:25 +01:00
README.md README: Mention usage by Gala 2018-11-08 17:11:27 +01: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 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.