Force Software QtQuick rendering when starting with QPainter compositor
ClosedPublic

Authored by graesslin on Nov 5 2017, 10:09 AM.

Details

Summary

If KWin/Wayland starts up with the QPainter compositor we force software
rendering in QtQuick. It doesn't make sense to try to use the OpenGL
renderer as that normally just results in an abort when trying to create
the QOpenGLContext.

Test Plan

Run KWin with KWIN_COMPOSE=Q, tried to quick tile a window and
used Alt+Tab. Worked fine, didn't crash anymore.

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.Nov 5 2017, 10:09 AM
Restricted Application added a project: KWin. · View Herald TranscriptNov 5 2017, 10:09 AM
Restricted Application added subscribers: kwin, plasma-devel. · View Herald Transcript
davidedmundson accepted this revision.Nov 5 2017, 10:10 AM
This revision is now accepted and ready to land.Nov 5 2017, 10:10 AM
This revision was automatically updated to reflect the committed changes.