Open requested to merge Nefsen402/wlroots:gpu-reset-recover into master
Based on: !3887 !3909 !3908 (merged) !3921
This MR implements the remaining code needed for renderer/allocator recovery after a GPU reset. There are still some burrs to shave off but for the most part, this will enable a usable wayland session after a gpu reset.
Amazingly, no breaking changes for this release, all of what needed to be changed happened in !3887
For anybody that wants to test: compile https://github.com/Nefsen402/sway/tree/scene-graph-next and this MR and you might not be forced to restart the sway session after a gpu reset.