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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/e3908ecea5 |ma/kwin/-/commit/79c0aca568
                   |b5e93e5d43712e3cd035a69197a |e281c2af8b7820281e7c38b31cf
                   |ce1                         |90d

--- Comment #5 from Zamundaaa <[email protected]> ---
Git commit 79c0aca568e281c2af8b7820281e7c38b31cf90d by Xaver Hugl.
Committed on 16/09/2026 at 12:43.
Pushed by zamundaaa into branch 'Plasma/6.8'.

core/gbmgraphicsbufferallocator: destroy gbm_bo as soon as possible

This avoids crashing when the buffer outlives the allocator, which is
sometimes required when rendering to the buffer. The buffer's life
time is instead simply bound to the dmabuf file descriptor.

To make that possible, this also removes the ability to map gbm
buffers, but that was unused anyways. If we need it again, it would
be pretty trivial to add it back for linear buffers specifically.


(cherry picked from commit e3908ecea5b5e93e5d43712e3cd035a69197ace1)

Co-authored-by: Xaver Hugl <[email protected]>

M  +7    -45   src/core/gbmgraphicsbufferallocator.cpp

https://invent.kde.org/plasma/kwin/-/commit/79c0aca568e281c2af8b7820281e7c38b31cf90d

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

Reply via email to