[qt/qt/qtcanvaspainter]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt/qtcanvaspainter Pushed by mirror-service into branch 'dev'. Changed from 290a6ea43edbe67de7a85555f12de3f274f42656 to dddca0d8863e2f266d5138acb4e32f296feb8baa Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit dddca0d8863e2f266d5138acb4e32f296feb8baa by Paul Olav Tvete on 27/07/2026 at 08:15.. Fix crash when using large number of different fonts QCDistanceFieldGlyphCache keeps a QCRhiDistanceFieldGlyphCache for every font used. QCRhiDistanceFieldGlyphCache would keep a QRhiResourceUpdateBatch allocated at all times. However the number of update batches has a hard limit of 64 for the whole QRhi instance, and nextResourceUpdateBatch() will return nullptr if this limit is exeeded. This patch does two things: 1. Add nullptr guards to avoid crashing if m_batch is nullptr. 2. Allocate m_batch lazily instead of in the constructor. Pick-to: 6.12 Change-Id: Ie96d553c8250917f7bd4adce2f30fc0fd4f7732b Reviewed-by: Owais Akhtar <[email protected]> Reviewed-by: Laszlo Agocs <[email protected]> https://invent.kde.org/qt/qt/qtcanvaspainter/-/commit/dddca0d8863e2f266d5138acb4e32f296feb8baa