]> git.mdlowis.com Git - proto/labwc.git/commit
backend/drm: Implement support for renderer loss recovery
authorChristopher Snowhill <kode54@gmail.com>
Thu, 18 Jul 2024 00:13:51 +0000 (17:13 -0700)
committerConsolatis <35009135+Consolatis@users.noreply.github.com>
Tue, 23 Jul 2024 12:44:31 +0000 (14:44 +0200)
commit3879f1f080c470a053f234f67c989f4f268c3b73
tree16595de9b7b07bf6b4d6e71c2a8604466f62fb94
parente934c7a417a425b67078968e5acf82afbe66f8b0
backend/drm: Implement support for renderer loss recovery

This implementation is nearly identical to Sway's, except that
it also reloads the configuration, to spur on reloading the
server-side decorations.

v2: Fix style.
v3: Add a reset to the magnifier.
v4: Oops, restructure reset handler a bit.
v5: Commit the magnifier reset immediately, before freeing the
    lost allocator and renderer.
v6: Also check for failed render pass, which may return NULL.
v7: Add a second NULL test, just in case.
include/labwc.h
include/magnifier.h
src/magnifier.c
src/server.c