Files
test/source/blender
Hans Goudey 889b142924 Sculpt: Reduce locking when storing undo nodes
Instead of locking for the whole time the undo data is being stored,
only lock while the step's per-node undo node map is being accessed.
This is fine because each PBVH node is only processed by a single thread.

Changing the node vector to not store anything until the undo step is
finalized makes this process a bit simpler because we don't have to build
both the map and the vector at the same time.

Overall this improved the performance of the sculpt brush benchmark
from #118145 by 12%, from 0.68s to 0.61s.
2024-06-20 13:39:33 -04:00
..
2024-06-20 15:06:03 +02:00
2024-06-06 11:26:28 +10:00
2024-06-20 10:31:13 -07:00
2024-06-20 18:03:56 +02:00
2024-06-19 12:48:56 -07:00
2024-06-20 15:06:03 +02:00
2024-06-20 15:30:41 +02:00