We used to just map 32-bpp to XRGB before commit 6f3cd8763b and that was also fine. We don't really support transparency right now, but we should keep rendering.
Fixes#9126
Introduces initial support for surface format negotiation between the Linux KMS display backends (dumbbuffer, linuxfb) and the software renderers (Skia and Software). The negotiation logic prioritizes selecting a pixel format that is supported by both the renderer and the framebuffer, based on lists of supported DrmFourcc formats.
Signed-off-by: minicx <minicx@disroot.org>
With the drm output now waiting for the page flip on render *and* gbm and dumb buffer displays supporting triple buffering,
we don't need the entire async page flip handling logic anymore.
In the future we could turn wait_for_page_flip() into an async fn.