Merge branch 'Plasma/5.18'
This commit is contained in:
commit
d3303bc407
1 changed files with 18 additions and 0 deletions
|
@ -220,7 +220,25 @@ bool Compositor::setupStart()
|
||||||
|
|
||||||
const auto availablePlugins = KPluginLoader::findPlugins(QStringLiteral("org.kde.kwin.scenes"));
|
const auto availablePlugins = KPluginLoader::findPlugins(QStringLiteral("org.kde.kwin.scenes"));
|
||||||
|
|
||||||
|
for (const KPluginMetaData &pluginMetaData : availablePlugins) {
|
||||||
|
qCDebug(KWIN_CORE) << "Available scene plugin:" << pluginMetaData.fileName();
|
||||||
|
}
|
||||||
|
|
||||||
for (auto type : qAsConst(supportedCompositors)) {
|
for (auto type : qAsConst(supportedCompositors)) {
|
||||||
|
switch (type) {
|
||||||
|
case XRenderCompositing:
|
||||||
|
qCDebug(KWIN_CORE) << "Attempting to load the XRender scene";
|
||||||
|
break;
|
||||||
|
case OpenGLCompositing:
|
||||||
|
case OpenGL2Compositing:
|
||||||
|
qCDebug(KWIN_CORE) << "Attempting to load the OpenGL scene";
|
||||||
|
break;
|
||||||
|
case QPainterCompositing:
|
||||||
|
qCDebug(KWIN_CORE) << "Attempting to load the QPainter scene";
|
||||||
|
break;
|
||||||
|
case NoCompositing:
|
||||||
|
Q_UNREACHABLE();
|
||||||
|
}
|
||||||
const auto pluginIt = std::find_if(availablePlugins.begin(), availablePlugins.end(),
|
const auto pluginIt = std::find_if(availablePlugins.begin(), availablePlugins.end(),
|
||||||
[type] (const auto &plugin) {
|
[type] (const auto &plugin) {
|
||||||
const auto &metaData = plugin.rawData();
|
const auto &metaData = plugin.rawData();
|
||||||
|
|
Loading…
Reference in a new issue