Pass EGL information from AbstractEglBackend to Platform instead of query
ClosedPublic

Authored by graesslin on Sep 5 2017, 6:42 PM.

Details

Summary

So far the Platform performed a deep query into the AbstractEglBackend
to get information such as EGLContext, EGLConfig, EGLSurface. This
change adjusts this so that the AbstractEGLPlatform forwards it directly
whenever it gets informed about one following the approach already used
for EGLDisplay. This simplifies the code a lot and allows to remove the
dependency on the actual scene backend from the Platform (in order to
split out the SceneOpenGL into a plugin).

Test Plan

Run nested kwin_wayland, triggered Outline which requires all
those methods.

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 5 2017, 6:42 PM
Restricted Application added a project: KWin. · View Herald TranscriptSep 5 2017, 6:42 PM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
graesslin updated this revision to Diff 19236.Sep 6 2017, 3:19 PM

Don't unset the EGLDisplay in the platform

Restricted Application edited projects, added Plasma; removed KWin. · View Herald TranscriptSep 6 2017, 3:19 PM
davidedmundson accepted this revision.Sep 7 2017, 11:01 AM
This revision is now accepted and ready to land.Sep 7 2017, 11:01 AM
This revision was automatically updated to reflect the committed changes.