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
2015-07-06 00:52:18 -07:00
2018-06-13 08:36:21 +00:00
2018-06-14 15:25:31 +00:00
2014-03-18 20:37:35 -04:00
2017-05-11 13:45:44 +02:00
2018-05-24 17:12:55 +02:00
2016-04-27 20:37:47 +02:00
2014-07-31 17:50:28 +02:00
2018-05-24 17:12:55 +02:00
Description
91 MiB
Languages
C 98.9%
Meson 0.7%
Python 0.3%