[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 83e6d179de2ff319979aa8845fadf37782924376 to 56435de74ebd105035d83f6011a96821a0165fd1 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 56435de74ebd105035d83f6011a96821a0165fd1 by Paul Olav Tvete on 05/08/2026 at 14:31.. 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]> Pick-to: 6.12 Change-Id: If677129b71b4db70901cdec21b2dbaf324d98ce1 Reviewed-by: Kaj Grönholm <[email protected]> https://invent.kde.org/qt/qt/qtcanvaspainter/-/commit/56435de74ebd105035d83f6011a96821a0165fd1