https://bugs.kde.org/show_bug.cgi?id=445666

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/commit/379ae2d5c258
                   |                            |cc6610eec107413e1c3074a32a3
                   |                            |6
             Status|CONFIRMED                   |RESOLVED

--- Comment #2 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 379ae2d5c258cc6610eec107413e1c3074a32a36 by Vlad Zahorodnii.
Committed on 19/11/2021 at 10:52.
Pushed by vladz into branch 'master'.

effects/overview: Reuse qml loading results between effect activations

Currently, every time you launch the overview effect, QtQuick will go
out and parse QML files. With the overview effect gaining more features
and the code size getting bigger, it takes more time for the overview to
present the first frame after it got triggered.

With this change, the overview effect will keep the ScreenView
QQmlComponent object around that can be used to avoid reparsing qml code
every time the overview effect is launched.

It also ports the Overview effect from de-facto deprecated qml context
to initial properties, which yield slightly better startup times.

M  +1    -0    src/effects/CMakeLists.txt
M  +40   -9    src/effects/overview/overvieweffect.cpp
M  +11   -2    src/effects/overview/overvieweffect.h
M  +3    -0    src/effects/overview/qml/ScreenView.qml

https://invent.kde.org/plasma/kwin/commit/379ae2d5c258cc6610eec107413e1c3074a32a36

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to