[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 '6.12'. Changed from 30613f33b0d28f0b66e92175f89f0b918a3adcc9 to 2fb1a7cb7311286dd212f089fed5ac56b0f1812d 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 2fb1a7cb7311286dd212f089fed5ac56b0f1812d by Qt Cherry-pick Bot (on behalf of Paul Olav Tvete) on 27/07/2026 at 08:37.. 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. Change-Id: Ie96d553c8250917f7bd4adce2f30fc0fd4f7732b Reviewed-by: Owais Akhtar <[email protected]> Reviewed-by: Laszlo Agocs <[email protected]> (cherry picked from commit dddca0d8863e2f266d5138acb4e32f296feb8baa) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtcanvaspainter/-/commit/2fb1a7cb7311286dd212f089fed5ac56b0f1812d