Blender Git Loki
Git Commits -> Revision d87fb03
Revision d87fb03 by Bastien Montagne (master) July 30, 2019, 13:42 (GMT) |
Make 3d projpaint iteration lockless. While speedup is hard to detect (highly fluctuent), it seems to be around 5% on average on my 8 threads machine... It also remove usage of a 'global' thread lock, which is always good. Note that I also tried to use proper foreach threaded iterator construct (see D5372), but that proved to be relatively slower (presumably due to the very high dissymmetry between tasks, usually during a paint stroke only a few chunks will require most of the computing effort, overhead of threaded foreach management is then noticeable). This concludes (for now) the work on T51133 Bad performance with texture painting depending on multi-thread settings. |
Commit Details:
Full Hash: d87fb0356a320206e418c6e0885a759fc7a16b06
Parent Commit: 363dd97
Lines Changed: +19, -29