summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P23/ibm23v03.xml
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2024-06-18 08:47:25 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2024-06-18 21:14:35 +0200
commitb959b8f5ed537f530221e0174b723ea39a34cd58 (patch)
tree8e4b85df93b8404cbcefe9a0d5634984855d64fa /tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P23/ibm23v03.xml
parent90e79aea8e3f297de65a69d4e6c82a5d753b9c86 (diff)
Make it possible to create distance field with specific sizeHEADdev
The distance field size calculation is floating point math and sensitive to numerical errors. When used in Qt Quick, it is vital that the allocated memory is the same as what we calculate in the cache, otherwise we will get memory corruption. In certain cases, numerical errors would cause a qCeil() to round what was actually an integer up, and we would end up with an allocated size that was off by one. To avoid this, we allow the user to specify the size to allocate, so that we can do the calculation in a single place. Pick-to: 5.15 6.2 6.5 6.7 6.8 Task-number: QTBUG-124572 Change-Id: I14e381952fdf331286f1ae4b51bb5fef9e39d704 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'tests/auto/corelib/serialization/qxmlstream/XML-Test-Suite/xmlconf/ibm/valid/P23/ibm23v03.xml')
0 files changed, 0 insertions, 0 deletions