Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/eval/deg_eval.cc
| Show First 20 Lines • Show All 347 Lines • ▼ Show 20 Lines | |||||
| } // namespace | } // namespace | ||||
| static TaskPool *deg_evaluate_task_pool_create(DepsgraphEvalState *state) | static TaskPool *deg_evaluate_task_pool_create(DepsgraphEvalState *state) | ||||
| { | { | ||||
| if (G.debug & G_DEBUG_DEPSGRAPH_NO_THREADS) { | if (G.debug & G_DEBUG_DEPSGRAPH_NO_THREADS) { | ||||
| return BLI_task_pool_create_no_threads(state); | return BLI_task_pool_create_no_threads(state); | ||||
| } | } | ||||
| return BLI_task_pool_create_suspended(state, TASK_PRIORITY_HIGH); | /* TODO: Disable task isolation. */ | ||||
| return BLI_task_pool_create_suspended(state, TASK_PRIORITY_HIGH, TASK_ISOLATION_ON); | |||||
| } | } | ||||
| /** | /** | ||||
| * Evaluate all nodes tagged for updating, | * Evaluate all nodes tagged for updating, | ||||
| * \warning This is usually done as part of main loop, but may also be | * \warning This is usually done as part of main loop, but may also be | ||||
| * called from frame-change update. | * called from frame-change update. | ||||
| * | * | ||||
| * \note Time sources should be all valid! | * \note Time sources should be all valid! | ||||
| ▲ Show 20 Lines • Show All 54 Lines • Show Last 20 Lines | |||||