If glx is not available try to create egl backend
ClosedPublic

Authored by graesslin on May 10 2016, 8:18 AM.

Details

Summary

So far the OpenGL is unsafe check functionality in Compositor disabled
OpenGL compositing if glx is not available and we are in standalone X11
mode.

This is technically no longer correct for quite some time. Just because
GLX is not available doesn't mean that OpenGL doesn't work. We have an
EGL backend. So let's try to use that if glx is not available.

This change removes the check completely from Compositor. Instead the
standalone x11 plugin checks whether glx is available prior to createing
the glx backend. If not available it falls through to the egl backend.

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 updated this revision to Diff 3743.May 10 2016, 8:18 AM
graesslin retitled this revision from to If glx is not available try to create egl backend.
graesslin updated this object.
graesslin edited the test plan for this revision. (Show Details)
graesslin added a reviewer: Plasma.
Restricted Application added a project: Plasma. · View Herald TranscriptMay 10 2016, 8:18 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.May 17 2016, 12:05 PM
mart added a reviewer: mart.
This revision is now accepted and ready to land.May 17 2016, 12:05 PM
broulik accepted this revision.May 17 2016, 12:16 PM
broulik added a reviewer: broulik.
This revision was automatically updated to reflect the committed changes.