graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY Several of the subclasses are already derived from QObject. The main reason is that the class should be moved out of KWin core in order to move the OpenGL scene into a plugin. As Compositor calls into the AbstractEglBackend to unbind the wayland display this creates a problem which is easily solved by turning the AbstractEglBackend into a QObject and connect to the signal emitted by the Compositor. TEST PLAN Compiles REPOSITORY R108 KWin BRANCH abstract-egl-backend-qobject REVISION DETAIL https://phabricator.kde.org/D7669 AFFECTED FILES abstract_egl_backend.cpp abstract_egl_backend.h composite.cpp plugins/platforms/drm/egl_gbm_backend.cpp plugins/platforms/drm/egl_gbm_backend.h plugins/platforms/virtual/egl_gbm_backend.cpp plugins/platforms/virtual/egl_gbm_backend.h plugins/platforms/wayland/egl_wayland_backend.cpp plugins/platforms/wayland/egl_wayland_backend.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart, lukas