Allows to avoid a global lock being held while reading files from disk,
solving performance issues when Cycles needs to read a lot of packed
images.
Simple test file F11597666
Differential D13032
Localize image mutex lock into runtime field of Image datablock Authored by Sergey Sharybin (sergey) on Oct 29 2021, 2:51 PM.
Details Allows to avoid a global lock being held while reading files from disk, Simple test file F11597666
Diff Detail
Event TimelineComment Actions Generaly LGTM, main concern here is about potential deadlocks (using several mutexes at the same time is always dangerous...).
Comment Actions
Comment Actions Seems to work well test case from this Diff Master: I1029 09:03:08.657116 12372 session.cpp:467] Total render time: 3.1518 D13032: I1029 09:04:04.073683 30076 session.cpp:467] Total render time: 1.32681 Test case from D6267 Master: I1029 09:00:46.238179 22708 session.cpp:467] Total render time: 7.56488 D13032: I1029 09:00:22.561700 26416 session.cpp:467] Total render time: 5.96962 | ||||||||||||||||||||||||||||