Make AbstractEglBackend a QObject
ClosedPublic

Authored by graesslin on Sep 3 2017, 8:31 AM.

Details

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

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
graesslin created this revision.Sep 3 2017, 8:31 AM
Restricted Application added a project: KWin. · View Herald TranscriptSep 3 2017, 8:31 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Sep 7 2017, 11:04 AM
This revision is now accepted and ready to land.Sep 7 2017, 11:04 AM
This revision was automatically updated to reflect the committed changes.