[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 90c9f0fb91746512330629a2fad049de6a886227 to e933f36945552354d018eccd8497f7b437691569 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 e933f36945552354d018eccd8497f7b437691569 by Qt Cherry-pick Bot (on behalf of Paul Olav Tvete) on 05/08/2026 at 15:25.. Avoid redundant per-glyph QRawFont/GlyphData cache lookups in fillText QCRhiDistanceFieldGlyphCache::m_rawFontCache[m_referenceFont] was re-hashed on every glyph (fontScale, distanceFieldRadius, populate, update, glyphData) even though it only changes when setRawFont() sees a genuinely different font; cache the resolved ReferenceFont once there instead. generateVertices() and the eviction path in requestGlyphs() also each did two separate glyphData() lookups for the same glyph index - now just one. Confirmed via callgrind on the emoji text_performance benchmark: qHash(QRawFont) and the QHash<QRawFont,ReferenceFont> bucket lookup drop out of the per-glyph hot path entirely. Co-Authored-By: Claude Sonnet 5 <[email protected]> Change-Id: If677129b71b4db70901cdec21b2dbaf324d98ce1 Reviewed-by: Kaj Grönholm <[email protected]> (cherry picked from commit 56435de74ebd105035d83f6011a96821a0165fd1) Reviewed-by: Qt Cherry-pick Bot <[email protected]> https://invent.kde.org/qt/qt/qtcanvaspainter/-/commit/e933f36945552354d018eccd8497f7b437691569