it is called automatically by wlr_renderer_init_wl_display()
but since we
need a pointer to wlr_linux_dmabuf_v1 to integrate it with scene API we need
to recreate that function.
Bug: https://github.com/emersion/xdg-desktop-portal-wlr/issues/216 Fixes: https://github.com/djpohly/dwl/issues/398
I5C76NH3Q4SRQHGGJEUR2NA5HPW4KDG52HGZTLMAAZQGLHWXTQIAC
wlr_renderer_init_wl_display(drw, dpy);
/* Create shm, drm and linux_dmabuf interfaces by ourselves.
* The simplest way is call:
* wlr_renderer_init_wl_display(drw);
* but we need to create manually the linux_dmabuf interface to integrate it
* with wlr_scene. */
wlr_renderer_init_wl_shm(drw, dpy);