summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qiooperation.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2025-11-20 15:46:08 +0100
committerMarc Mutz <marc.mutz@qt.io>2025-12-09 06:03:28 +0000
commit871dcd55566b5080972ed455f7b7fe92ff14d745 (patch)
treed79a16ce4ec4b90e98786bfd0f1ea60c2eeca7e3 /src/corelib/io/qiooperation.cpp
parenteae3c8f8a798deb0b4abb78410d08aa626789035 (diff)
QMatrix4x4: restore NRVO in op*(M,M) 4/5: use Qt::Uninitialized ctorHEADdev
Instead of copying the LHS operand into the result and selectively overwriting fields whose values are not statically known for scaling and translation, write the known values into those fields manually. This allows us to use the Qt::Uninitialized constructor, like in the 3D case, which, in the last step, will allow us to re-enable NRVO in this function. It should also improve numerical stability, because it resets what might have become merely fuzzily-0/1 values to known, clean ones. Amends the start of the public history. Pick-to: 6.11 6.10 6.8 Change-Id: I595498787cebe069c36c1797a9dbe1a94780066d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/corelib/io/qiooperation.cpp')
0 files changed, 0 insertions, 0 deletions