mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 12:02:04 +00:00
f2dea5d139
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 |
||
---|---|---|
.. | ||
backends | ||
compositor | ||
core | ||
meta | ||
tests | ||
ui | ||
wayland | ||
x11 | ||
.cvsignore | ||
libmutter.pc.in | ||
Makefile-tests.am | ||
Makefile.am | ||
meta-enum-types.c.in | ||
meta-enum-types.h.in | ||
org.freedesktop.login1.xml | ||
org.gnome.Mutter.DisplayConfig.xml | ||
org.gnome.Mutter.IdleMonitor.xml | ||
org.gnome.Mutter.RemoteDesktop.xml | ||
org.gnome.Mutter.ScreenCast.xml |