Make allocator handle the swapchain managment
Created by: bl4ckb0ne
Another attempt to decouple the backend/renderer/output/swapchain
The allocator is now declared by the user, via either a call to wlr_allocator_autocreate
or from a custom implementation.
The user has to set the allocator to the output, otherwise nothing will be displayed on screen.
The wlr_output
is still using the wlr_renderer
, but #3197 has good ideas to get rid of this.
Related to #3222 #3215 and #3197
Edited by Simon Zeni