Blender Git Loki
Git Commits -> Revision 4837728
October 18, 2019, 11:35 (GMT) |
Sculpt: use TBB instead of BLI_task for multithreading This solves performance issues on some computers where there is significant threading overhead. Rather than doing the complicated work of optimizing our own task scheduler, use TBB which appears to work well. The downside is that we have another thread pool, but it is already there when using OpenVDB voxel remesh. For future releases we can switch to using TBB to replace our task scheduler implementation entirely, and use the same thread pool for BLI_task, Cycles, Mantaflow, etc. Differential Revision: https://developer.blender.org/D6030 |
Commit Details:
Full Hash: 48377288000d44d06288eebf48083f76de7e5785
Parent Commit: 26dd05a
Committed By: YimingWu
Lines Changed: +385, -239
1 Added Path:
/source/blender/blenkernel/intern/pbvh_parallel.cc (+140, -0) (View)
8 Modified Paths:
/source/blender/blenkernel/BKE_pbvh.h (+34, -4) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+9, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+12, -16) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+6, -6) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+14, -14) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+166, -188) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+2, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+2, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+9, -0) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+12, -16) (Diff)
/source/blender/editors/sculpt_paint/paint_mask.c (+6, -6) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+14, -14) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+166, -188) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+2, -9) (Diff)
/source/blender/editors/sculpt_paint/sculpt_undo.c (+2, -2) (Diff)