Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/eval/deg_eval.cc
| Show All 39 Lines | |||||
| #include "DEG_depsgraph.h" | #include "DEG_depsgraph.h" | ||||
| #include "DEG_depsgraph_query.h" | #include "DEG_depsgraph_query.h" | ||||
| #include "atomic_ops.h" | #include "atomic_ops.h" | ||||
| #include "intern/depsgraph.h" | #include "intern/depsgraph.h" | ||||
| #include "intern/depsgraph_relation.h" | #include "intern/depsgraph_relation.h" | ||||
| #include "intern/depsgraph_tag.h" | |||||
| #include "intern/eval/deg_eval_copy_on_write.h" | #include "intern/eval/deg_eval_copy_on_write.h" | ||||
| #include "intern/eval/deg_eval_flush.h" | #include "intern/eval/deg_eval_flush.h" | ||||
| #include "intern/eval/deg_eval_stats.h" | #include "intern/eval/deg_eval_stats.h" | ||||
| #include "intern/node/deg_node.h" | #include "intern/node/deg_node.h" | ||||
| #include "intern/node/deg_node_component.h" | #include "intern/node/deg_node_component.h" | ||||
| #include "intern/node/deg_node_id.h" | #include "intern/node/deg_node_id.h" | ||||
| #include "intern/node/deg_node_operation.h" | #include "intern/node/deg_node_operation.h" | ||||
| #include "intern/node/deg_node_time.h" | #include "intern/node/deg_node_time.h" | ||||
| ▲ Show 20 Lines • Show All 304 Lines • ▼ Show 20 Lines | |||||
| * 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! | ||||
| */ | */ | ||||
| void deg_evaluate_on_refresh(Depsgraph *graph) | void deg_evaluate_on_refresh(Depsgraph *graph) | ||||
| { | { | ||||
| graph_tag_ids_for_visible_update(graph); | |||||
| /* Nothing to update, early out. */ | /* Nothing to update, early out. */ | ||||
| if (graph->entry_tags.is_empty()) { | if (graph->entry_tags.is_empty()) { | ||||
| return; | return; | ||||
| } | } | ||||
| graph->debug.begin_graph_evaluation(); | graph->debug.begin_graph_evaluation(); | ||||
| graph->is_evaluating = true; | graph->is_evaluating = true; | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||