mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
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 | ||