[Bf-blender-cvs] [9444cd5] master: Depsgraph: Prioritize evaluation of the new scheduled nodes
Sergey Sharybin
noreply at git.blender.org
Thu Aug 25 16:11:44 CEST 2016
Commit: 9444cd56db1a4e43d03fa8c735cd893b2e74b913
Author: Sergey Sharybin
Date: Thu Aug 25 16:08:41 2016 +0200
Branches: master
https://developer.blender.org/rB9444cd56db1a4e43d03fa8c735cd893b2e74b913
Depsgraph: Prioritize evaluation of the new scheduled nodes
The idea here is again to finish objects evaluation as soon as possible.
Seems to be giving another 3% speedup in the barber scenes.
===================================================================
M source/blender/depsgraph/intern/eval/deg_eval.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc
index c3fd202..f8cca53 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval.cc
@@ -304,7 +304,7 @@ static void schedule_node(TaskPool *pool, Depsgraph *graph, unsigned int layers,
deg_task_run_func,
node,
false,
- TASK_PRIORITY_LOW,
+ TASK_PRIORITY_HIGH,
thread_id);
}
}
More information about the Bf-blender-cvs
mailing list