Introduces a few more attributes needed for creating the OpenGL context
used by the QPA.
Details
Details
- Reviewers
davidedmundson - Group Reviewers
KWin Plasma - Commits
- R108:73fa7b21a187: [qpa] Use the new OpenGLContextAttributeBuilder to create Qt's OpenGL context
Extended test and run KWin/Wayland and verified that OpenGL context
gets created correctly.
Diff Detail
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.
Comment Actions
Sort of offtopic: are you aware of the new(ish) QOpenGLContext::setNativeHandle() theoretically we can just wrap kwin's existing OpenGL context and not have to actually switch contexts.
(I tried for Aurorae on X, it didn't work out, but I can't remember why)
Comment Actions
KWin's context is not good enough for QtQuick. We don't have a stencil buffer. And in the other direction QtQuick's context is not good enough for KWin as it is not using the robustness extension.