Skip to content

render: add wlr_renderer_get_dmabuf_render_formats

Simon Ser requested to merge github/fork/emersion/render-formats into master

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 to wlr_egl_get_dmabuf_texture_formats
  • wlr_renderer_get_formats has been renamed to wlr_renderer_get_shm_texture_formats
  • wlr_renderer_get_dmabuf_formats has been renamed to wlr_renderer_get_dmabuf_texture_formats
  • wlr_renderer_format_supported has been removed (instead, use wlr_renderer_get_shm_texture_formats)

Merge request reports

Loading