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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/f6bd033b79 |ma/kwin/-/commit/96879c1322
                   |849ca263e4412d5d0c40b5570dd |73db3a409e57a0d8b043bfe62d8
                   |346                         |5cf

--- Comment #6 from Vlad Zahorodnii <[email protected]> ---
Git commit 96879c132273db3a409e57a0d8b043bfe62d85cf by Vlad Zahorodnii, on
behalf of Xaver Hugl.
Committed on 06/10/2026 at 13:47.
Pushed by vladz into branch 'Plasma/6.8'.

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
(cherry picked from commit f6bd033b79849ca263e4412d5d0c40b5570dd346)

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/96879c132273db3a409e57a0d8b043bfe62d85cf

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

Reply via email to