1
0
Fork 0
mutter-performance-source/src
Daniel Stone f2dea5d139 renderer-native: Remove no_add_fb2
drmModeAddFB2 allows userspace to specify a real format enum on
non-ancient kernels, as an improvement over the legacy drmModeAddFB
which derives format from a fixed depth/bpp mapping.

As an optimisation, Weston used to decide at the first failure of
drmModeAddFB2 that the ioctl was unavailable: as non-existent DRM
ioctls return -EINVAL rather than -ENOSYS or similar, bad parameters are
not distinguishable from the ioctl not being present.

Mutter has also implemented the same optimisation for dumb framebuffers,
which potentially papers over errors for the gain of avoiding one ioctl
which will rapidly fail on ancient kernels. Remove the optimisation and
always use AddFB2 where possible.

Closes: #14
2018-06-14 15:25:31 +00:00
..
backends renderer-native: Remove no_add_fb2 2018-06-14 15:25:31 +00:00
compositor shaped-texture: Disable mipmapping during animation 2018-05-18 16:45:26 +08:00
core core: Hide close dialog before destroying 2018-06-08 17:41:34 +02:00
meta build: Introspect some more types 2018-05-07 21:44:47 +02:00
tests monitor-unit-tests: Add non upright panel test 2017-12-25 17:01:45 +08:00
ui frames: Allow for unknown mouse buttons 2018-05-25 09:20:36 +00:00
wayland wayland: Detach MetaWaylandActorSurface from its actor on dispose 2018-06-14 14:05:10 +02:00
x11 window: Let implementations finish state changes 2018-04-25 21:55:05 -03:00
.cvsignore
libmutter.pc.in Make libmutter and friends parallel installable 2017-02-14 11:16:45 +08:00
Makefile-tests.am src/Makefile-tests.am: Remove reference to non-existing file 2017-09-02 11:09:28 +08:00
Makefile.am build: Adjust to filename changes 2018-05-07 22:41:01 +02:00
meta-enum-types.c.in Install enum types 2015-07-05 22:01:59 -07:00
meta-enum-types.h.in Install enum types 2015-07-05 22:01:59 -07:00
org.freedesktop.login1.xml MetaLauncher: Don't g_error() on failure 2015-11-06 17:03:59 -05:00
org.gnome.Mutter.DisplayConfig.xml DisplayConfig: Add 'legacy-ui-scaling-factor' property 2017-10-12 17:42:52 +08:00
org.gnome.Mutter.IdleMonitor.xml idle-monitor: Add ResetIdletime API, for testing purposes 2018-04-16 13:28:03 +02:00
org.gnome.Mutter.RemoteDesktop.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00
org.gnome.Mutter.ScreenCast.xml remote-desktop, screen-cast: Add version number to D-Bus APIs 2018-02-23 19:33:31 +08:00