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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/f6bd033b79
                   |                            |849ca263e4412d5d0c40b5570dd
                   |                            |346

--- Comment #5 from Vlad Zahorodnii <[email protected]> ---
Git commit f6bd033b79849ca263e4412d5d0c40b5570dd346 by Vlad Zahorodnii, on
behalf of Xaver Hugl.
Committed on 05/10/2026 at 08:55.
Pushed by vladz into branch 'master'.

qpa: use a single persistent OpenGL context for Qt

Qt can deal with every context being backed by the same platform context, and
this avoids re-creating the context every time a QtQuick effect is opened,
which
can block the main thread for some time.

On my laptop it takes about 4-5ms to create a context for example, and Qt
creates two contexts for some reason, so it ends up dropping at least 2 frames.
Related: bug 479250

M  +0    -1    src/plugins/qpa/CMakeLists.txt
D  +0    -115  src/plugins/qpa/eglhelpers.cpp
D  +0    -28   src/plugins/qpa/eglhelpers.h
M  +7    -19   src/plugins/qpa/eglplatformcontext.cpp
M  +1    -2    src/plugins/qpa/eglplatformcontext.h
M  +20   -4    src/plugins/qpa/integration.cpp
M  +8    -0    src/plugins/qpa/integration.h
M  +0    -1    src/plugins/qpa/offscreensurface.cpp

https://invent.kde.org/plasma/kwin/-/commit/f6bd033b79849ca263e4412d5d0c40b5570dd346

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

Reply via email to