Changeset View
Changeset View
Standalone View
Standalone View
workspace.cpp
Show First 20 Lines • Show All 1601 Lines • ▼ Show 20 Line(s) | 1600 | case XRenderCompositing: | |||
---|---|---|---|---|---|
1602 | break; | 1602 | break; | ||
1603 | case QPainterCompositing: | 1603 | case QPainterCompositing: | ||
1604 | support.append("Compositing Type: QPainter\n"); | 1604 | support.append("Compositing Type: QPainter\n"); | ||
1605 | break; | 1605 | break; | ||
1606 | case NoCompositing: | 1606 | case NoCompositing: | ||
1607 | default: | 1607 | default: | ||
1608 | support.append(QStringLiteral("Something is really broken, neither OpenGL nor XRender is used")); | 1608 | support.append(QStringLiteral("Something is really broken, neither OpenGL nor XRender is used")); | ||
1609 | } | 1609 | } | ||
1610 | | ||||
1611 | support.append(i18n("\nRendering statistics:\n")); | ||||
1612 | support.append(i18n("Please note: KWin renders on demand and does not keep a constant frame rate.\n" | ||||
1613 | "Due to that the recorded frame rate is expected to be significantly lower than the screen refresh rate.\n" | ||||
1614 | "In case of multiple screens with different refresh rates, the screen with the lowest refresh rate is the reference.\n")); | ||||
1615 | const auto &statistics = Compositor::self()->frameStatistics(); | ||||
1616 | support.append(i18n("%1 frames rendered during the last %2 msec.\n", statistics.numberFrames(), statistics.measuredTime().count())); | ||||
1617 | | ||||
1610 | support.append(QStringLiteral("\nLoaded Effects:\n")); | 1618 | support.append(QStringLiteral("\nLoaded Effects:\n")); | ||
1611 | support.append(QStringLiteral( "---------------\n")); | 1619 | support.append(QStringLiteral( "---------------\n")); | ||
1612 | foreach (const QString &effect, static_cast<EffectsHandlerImpl*>(effects)->loadedEffects()) { | 1620 | foreach (const QString &effect, static_cast<EffectsHandlerImpl*>(effects)->loadedEffects()) { | ||
1613 | support.append(effect + QStringLiteral("\n")); | 1621 | support.append(effect + QStringLiteral("\n")); | ||
1614 | } | 1622 | } | ||
1615 | support.append(QStringLiteral("\nCurrently Active Effects:\n")); | 1623 | support.append(QStringLiteral("\nCurrently Active Effects:\n")); | ||
1616 | support.append(QStringLiteral( "-------------------------\n")); | 1624 | support.append(QStringLiteral( "-------------------------\n")); | ||
1617 | foreach (const QString &effect, static_cast<EffectsHandlerImpl*>(effects)->activeEffects()) { | 1625 | foreach (const QString &effect, static_cast<EffectsHandlerImpl*>(effects)->activeEffects()) { | ||
▲ Show 20 Lines • Show All 162 Lines • Show Last 20 Lines |