Blender Git Commit Log

Git Commits -> Revision 6c302d6

Revision 6c302d6 by Brecht Van Lommel (master)
October 10, 2019, 15:36 (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: 6c302d6529ec5283334e5ef40d07cc46534f5020
Parent Commit: 86042b7
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021