[qt/qt/qtquick3d]: 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/qtquick3d
Pushed by mirror-service into branch '6.12'.
Changed from e64a54109dcb8c75e961fcc2962921ef72291e24 to ee2f9ce77d136a134152c173f5e615c14539c735
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 36315bade56a94e9359b1383690a813d240ed557 by Qt Cherry-pick Bot (on behalf of Andy Nichols) on 07/08/2026 at 10:23..
Fix out-of-bounds access when culling depth sorted LOD instances

The depth sorted call site passed a byte count where cullLodInstances()
expects a number of QSSGRenderInstanceTableEntry, so the loop ran 80
times too many iterations, reading past the end of the source buffer and
writing past the end of the destination. Plain QML is enough to trigger
it, and the corruption is severe enough to crash.

Convert both helpers to take spans of entries, so the byte count to
entry count conversion happens in one place and the call sites cannot
disagree about which of the two they pass. The conversion clamps to what
the buffer can hold, which also covers sortInstances(), where nothing
guaranteed that the advertised instance count fit in the table data. The
two LOD call sites are now identical and merged, and the stride
assertion moves to prepareInstancing() so it covers culling as well.

The new autotest renders instances at three known distances with various
thresholds and verifies that exactly the ones within them are drawn.
Without this fix the depth sorted rows abort the test.

The test is blacklisted on Android, where the emulator's GLES translator
refuses the instanced vertex attribute arrays of the LOD culled draws
and keeps its previous attribute state instead, putting the instances
somewhere other than where the thresholds asked for. The rows without
culling render correctly there, so the culling itself is fine.

Fixes: QTBUG-148789
Pick-to: 6.11 6.8
Change-Id: I5bfebbac32ac5f6b0c79c5f1035cbd54d3f4ed86
Reviewed-by: Christian Strømme <[email protected]>
(cherry picked from commit 62116be041a3f744ec7fb951599c392d45cbdf82)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtquick3d/-/commit/36315bade56a94e9359b1383690a813d240ed557

Git commit ee2f9ce77d136a134152c173f5e615c14539c735 by Qt Cherry-pick Bot (on behalf of Andy Nichols) on 07/08/2026 at 10:23..
Doc: Mark QQuick3DLightmapBaker member documentation as internal

QDoc reports "Cannot tie this documentation to anything" for the
comments preceding QQuick3DLightmapBaker::bake(Callback) and
QQuick3DLightmapBaker::denoise(Callback).

Task-number: QTBUG-148806
Pick-to: 6.11 6.8
Change-Id: I079c63e1cc9c0eac0c71b62f5bb278d736c3e0a3
Reviewed-by: Jonas Karlsson <[email protected]>
(cherry picked from commit c9acf91973b86c1f956dfabd20ccaa09a24c23bc)
Reviewed-by: Qt Cherry-pick Bot <[email protected]>
https://invent.kde.org/qt/qt/qtquick3d/-/commit/ee2f9ce77d136a134152c173f5e615c14539c735
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.