Add some tracking for the lightmapper's dirty state
Added some more tracking of the lightmapper's dirty state to avoid
re-setting it on each frame, which includes a full string compare each
time of the same string over and over again.
This code path was showing up during profiling when there's a lot of
view3ds active at the same time.
Pick-to: 6.11
Change-Id: I57a0a4dad40b4e519457fe8bf19100aaa52cdf51
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
| commit | a6d1bb2f1aa05c9278003af0e43d3fe61c2fd7af |
| parent | d8dfb412e8440bf392abbf415f526f5e2fb0762f |
| author | Christian Strømme <christian.stromme@qt.io> |
| committer | Christian Strømme <christian.stromme@qt.io> |
| commit time | Mon, 4 May 2026 16:55:53 +0000 |