https://bugs.kde.org/show_bug.cgi?id=411980

Roman Gilg <subd...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/7459aabcac2471862a35a7c04
                   |                            |5de7176b5435f1c
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |FIXED
   Version Fixed In|                            |5.17.2

--- Comment #15 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 413403
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.

Reply via email to