mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-25 08:32:30 +00:00
e804de923d
The previous code would always print "falling back to legacy method", even if the format wasn't ARGB8888. Drop get_fb_for_bo_legacy, since the code can just be inlined without hurting readability. Ideally we should only fallback to drmModeAddFB if the error code indicates the BE failure, but the original PR [1] doesn't say what error code is returned by the kernel. [1]: https://github.com/swaywm/wlroots/pull/2569 |
||
---|---|---|
.. | ||
atomic.c | ||
backend.c | ||
cvt.c | ||
drm.c | ||
legacy.c | ||
meson.build | ||
properties.c | ||
renderer.c | ||
util.c |