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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kpipewire/-/commit/8dc32
                   |                            |59da28212a5df85d398f49ca981
                   |                            |41fbf697
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #25 from Vlad Zahorodnii <[email protected]> ---
Git commit 8dc3259da28212a5df85d398f49ca98141fbf697 by Vlad Zahorodnii, on
behalf of David Edmundson.
Committed on 26/05/2026 at 07:18.
Pushed by vladz into branch 'Plasma/6.6'.

PipewireSourceItem: Simplify cleanup

Rather than manually trying to cleanup in response to scene changes or
release resource callbacks, instead clean up when the QSGTexture goes
out of scope.

One cavaeat is that we want to use one QOpenGLTexture throughout, this
is done as a shared pointer with the base class having a weak reference
and the QSGTexture holding a reference. We then use one instance as we
replace the QSGTexture instance each frame, but still cleanup up in the
render thread on destruction.

(cherry picked from commit 77776ef0ad4055a2a8fe9c32fb1c077264d8d526)

M  +39   -71   src/pipewiresourceitem.cpp
M  +0    -4    src/pipewiresourceitem.h

https://invent.kde.org/plasma/kpipewire/-/commit/8dc3259da28212a5df85d398f49ca98141fbf697

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

Reply via email to