render: add wlr_renderer_get_dmabuf_render_formats
The main motivation for this PR is to ensure we select a format we can render to in the headless backend.
It contains also some breaking changes that clarify what formats advertised by wlr_renderer
are good for.
Breaking changes:
-
wlr_egl_get_dmabuf_formats
has been renamed towlr_egl_get_dmabuf_texture_formats
-
wlr_renderer_get_formats
has been renamed towlr_renderer_get_shm_texture_formats
-
wlr_renderer_get_dmabuf_formats
has been renamed towlr_renderer_get_dmabuf_texture_formats
-
wlr_renderer_format_supported
has been removed (instead, usewlr_renderer_get_shm_texture_formats
)