mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-30 00:15:58 +01:00
3d0848daae
Instead of ensuring the renderer and allocator are initialized in each backend, do it in wlr_backend_autocreate. This allows compositors to create backends without any renderer/allocator if they side-step wlr_backend_autocreate. Since the wlr_backend_get_renderer and backend_get_allocator end up calling wlr_renderer_autocreate and wlr_allocator_autocreate, it sounds like a good idea to centralize all of the opimionated bits in one place. |
||
---|---|---|
.. | ||
atomic.c | ||
backend.c | ||
bo_handle_table.c | ||
cvt.c | ||
drm.c | ||
legacy.c | ||
meson.build | ||
properties.c | ||
renderer.c | ||
util.c |