https://bugs.kde.org/show_bug.cgi?id=413403
--- Comment #6 from Roman Gilg <subd...@gmail.com> --- Git commit 7459aabcac2471862a35a7c045de7176b5435f1c by Roman Gilg. Committed on 29/10/2019 at 11:10. Pushed by romangilg into branch 'Plasma/5.17'. Dmabuf recovery on EGL reset Summary: The EGL platform might go away at any time through reconfiguration or because of a graphic error. KWin then resets the graphics. The dmabuf implementation must respect that and recover from a graphics reset by recreating all EGL images for existing buffer. This assumes that we won't change our graphics API mid-session and that supported plane and modifier configuration stays constant. In practise we remember all current dmabufs in a single map and only remove them if the client did destroy the resource. Related: bug 411980 FIXED-IN: 5.17.2 Test Plan: Applied screenedge configuration without crash. Reviewers: #kwin, zzag Reviewed By: #kwin, zzag Subscribers: fvogt, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D24954 M +1 -0 CMakeLists.txt A +88 -0 linux_dmabuf.cpp [License: GPL (v2)] C +12 -49 linux_dmabuf.h [from: platformsupport/scenes/opengl/linux_dmabuf.h - 053% similarity] M +1 -1 platformsupport/scenes/opengl/CMakeLists.txt M +4 -4 platformsupport/scenes/opengl/abstract_egl_backend.cpp R +52 -63 platformsupport/scenes/opengl/egl_dmabuf.cpp [from: platformsupport/scenes/opengl/linux_dmabuf.cpp - 084% similarity] R +23 -30 platformsupport/scenes/opengl/egl_dmabuf.h [from: platformsupport/scenes/opengl/linux_dmabuf.h - 068% similarity] M +10 -0 wayland_server.cpp M +15 -0 wayland_server.h https://commits.kde.org/kwin/7459aabcac2471862a35a7c045de7176b5435f1c -- You are receiving this mail because: You are watching all bug changes.