Skip to content

Draft: Support wayland reconnect mechanism

David Edmundson requested to merge davidedmundson/mesa:reconnect into main

After a reconnection event it becomes the responsibility of all library code dealing with wayland to refetch all existing globals and in the case of DRM any modifiers.

From a mesa perspective, we want all openGL contexts to persist with all their data unaffected, we just need to reset anything that specifically related to wayland.

It remains the responsibility of the client to call eglDestroySurface / eglCreateWindowSurface for all existing windows and push frames after reconnecting which implicitly handles all wayland objects there.

Depends on wayland/wayland!283 (closed)

Merge request reports