|
Blender V5.0
|
Namespaces | |
| namespace | light_linking |
| namespace | sync_writeback |
| namespace | tests |
Typedefs | |
| using | GraphSetPtr = std::unique_ptr<VectorSet<Depsgraph *>> |
| using | FlushQueue = std::deque<OperationNode *> |
| using | IDComponentsMask = uint64_t |
| using | DepsEvalOperationCb = std::function<void(::Depsgraph *)> |
Variables | |
| constexpr int | kColumnSpacing = 4 |
| constexpr int | kPrintDepthWidth = 5 + kColumnSpacing |
| constexpr int | kPrintTypeWidth = 21 + kColumnSpacing |
| static const char * | deg_debug_graphviz_fontname = "helvetica" |
| static float | deg_debug_graphviz_graph_label_size = 20.0f |
| static float | deg_debug_graphviz_node_label_size = 14.0f |
| static const int | deg_debug_max_colors = 12 |
| static const char * | deg_debug_colors_light [] |
| static DEG_EditorUpdateIDCb | deg_editor_update_id_cb = nullptr |
| static DEG_EditorUpdateSceneCb | deg_editor_update_scene_cb = nullptr |
| static DepsNodeFactoryImpl< TimeSourceNode > | DNTI_TIMESOURCE |
| static DepsNodeFactoryImpl< IDNode > | DNTI_ID_REF |
| static DepsNodeFactory * | node_typeinfo_registry [int(NodeType::NUM_TYPES)] = {nullptr} |
| static DepsNodeFactoryImpl< OperationNode > | DNTI_OPERATION |
| using blender::deg::DepsEvalOperationCb = std::function<void(::Depsgraph *)> |
Definition at line 26 of file deg_node_operation.hh.
| using blender::deg::FlushQueue = std::deque<OperationNode *> |
Definition at line 66 of file deg_eval_flush.cc.
| using blender::deg::GraphSetPtr = std::unique_ptr<VectorSet<Depsgraph *>> |
Definition at line 26 of file depsgraph_registry.cc.
Definition at line 24 of file deg_node_id.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| OP_VISITED | |
| OP_REACHABLE | |
Definition at line 38 of file deg_builder_transitive.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| ID_STATE_NONE | |
| ID_STATE_MODIFIED | |
Definition at line 55 of file deg_eval_flush.cc.
| anonymous enum |
| Enumerator | |
|---|---|
| COMPONENT_STATE_NONE | |
| COMPONENT_STATE_SCHEDULED | |
| COMPONENT_STATE_DONE | |
Definition at line 60 of file deg_eval_flush.cc.
| Enumerator | |
|---|---|
| DEG_ID_LINKED_INDIRECTLY | |
| DEG_ID_LINKED_VIA_SET | |
| DEG_ID_LINKED_DIRECTLY | |
Definition at line 28 of file deg_node_id.hh.
Definition at line 31 of file depsgraph_type.hh.
|
strong |
| Enumerator | |
|---|---|
| GENERIC | |
| COMPONENT | |
| OPERATION | |
Definition at line 32 of file deg_node.hh.
|
strong |
Definition at line 47 of file deg_node.hh.
|
strong |
Definition at line 29 of file deg_node_operation.hh.
Definition at line 220 of file deg_node_operation.hh.
| Enumerator | |
|---|---|
| RELATION_FLAG_CYCLIC | |
| RELATION_FLAG_NO_FLUSH | |
| RELATION_FLAG_FLUSH_USER_EDIT_ONLY | |
| RELATION_FLAG_GODMODE | |
| RELATION_CHECK_BEFORE_ADD | |
| RELATION_NO_VISIBILITY_CHANGE | |
Definition at line 17 of file depsgraph_relation.hh.
|
strong |
| Enumerator | |
|---|---|
| ENTRY | |
| EXIT | |
Definition at line 32 of file deg_builder_rna.h.
| ListBase * blender::deg::build_collision_relations | ( | Depsgraph * | graph, |
| Collection * | collection, | ||
| uint | modifier_type ) |
Definition at line 267 of file depsgraph_physics.cc.
References BKE_collision_relations_create(), depsgraph, hash, modifier_to_relation_type(), object_id_safe(), and blender::deg::Depsgraph::physics_relations.
Referenced by blender::deg::DepsgraphRelationBuilder::add_particle_collision_relations(), and blender::deg::DepsgraphRelationBuilder::build_rigidbody().
| ListBase * blender::deg::build_effector_relations | ( | Depsgraph * | graph, |
| Collection * | collection ) |
Definition at line 249 of file depsgraph_physics.cc.
References BKE_effector_relations_create(), DEG_PHYSICS_EFFECTOR, depsgraph, hash, object_id_safe(), blender::deg::Depsgraph::physics_relations, blender::deg::Depsgraph::scene, and blender::deg::Depsgraph::view_layer.
Referenced by blender::deg::DepsgraphRelationBuilder::add_particle_forcefield_relations(), and blender::deg::DepsgraphRelationBuilder::build_rigidbody().
|
static |
Definition at line 127 of file depsgraph.cc.
References deg_eval_copy_is_expanded(), filter, and GS.
Referenced by blender::deg::Depsgraph::clear_id_nodes().
| void blender::deg::clear_physics_relations | ( | Depsgraph * | graph | ) |
Definition at line 286 of file depsgraph_physics.cc.
References BKE_collision_relations_free(), BKE_effector_relations_free(), DEG_PHYSICS_COLLISION, DEG_PHYSICS_DYNAMIC_BRUSH, DEG_PHYSICS_EFFECTOR, DEG_PHYSICS_RELATIONS_NUM, DEG_PHYSICS_SMOKE_COLLISION, hash, i, and blender::deg::Depsgraph::physics_relations.
Referenced by blender::deg::Depsgraph::clear_id_nodes().
| std::string blender::deg::color_end | ( | ) |
Definition at line 72 of file deg_debug.cc.
References terminal_do_color(), and TRUECOLOR_ANSI_COLOR_FINISH.
Referenced by DEG_debug_print_eval(), DEG_debug_print_eval_parent_typed(), DEG_debug_print_eval_subdata(), DEG_debug_print_eval_subdata_index(), and DEG_debug_print_eval_time().
| std::string blender::deg::color_for_pointer | ( | const void * | pointer | ) |
Definition at line 60 of file deg_debug.cc.
References b, BLI_hash_pointer_to_color(), SNPRINTF, terminal_do_color(), and TRUECOLOR_ANSI_COLOR_FORMAT.
Referenced by DEG_debug_print_eval(), DEG_debug_print_eval_parent_typed(), DEG_debug_print_eval_subdata(), DEG_debug_print_eval_subdata_index(), and DEG_debug_print_eval_time().
Returns whether the data at the given path may be implicitly shared (also see ImplicitSharingInfo). If it is shared, writing to it through RNA will make a local copy that can be edited without affecting the other users.
If multi-threaded writing to the path is required, one should trigger making the mutable copy before multi-threaded writing starts. Otherwise there is a race condition where each thread tries to make its own copy. The "unsharing" can be triggered by doing a dummy-write to it.
Definition at line 243 of file deg_builder_relations_drivers.cc.
References blender::StringRefBase::endswith(), GS, ID_KE, ID_OB, name, OB_ARMATURE, blender::StringRefBase::startswith(), and Object::type.
Referenced by blender::deg::DepsgraphNodeBuilder::build_animdata_drivers(), and blender::deg::DepsgraphRelationBuilder::build_animdata_drivers().
Definition at line 48 of file deg_builder.cc.
References Base::base_orig, blender::deg::Depsgraph::find_id_node(), blender::deg::IDNode::has_base, Object::id, and Base::object.
Definition at line 42 of file deg_builder.cc.
References blender::deg::Depsgraph::find_id_node().
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Animation | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Armature | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Cache | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | CopyOnWrite | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | GenericDatablock | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Geometry | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | ImageAnimation | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Instancing | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | LayerCollections | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | NTreeGeometryPreprocess | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | NTreeOutput | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Particles | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | ParticleSettings | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | PointCache | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Pose | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Scene | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Sequencer | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | ShadingParameters | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Simulation | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Synchronization | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Transform | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_NO_COW_TAG_ON_UPDATE | ( | BatchCache | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_NO_COW_TAG_ON_UPDATE | ( | Hierarchy | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_NO_COW_TAG_ON_UPDATE | ( | ObjectFromLayer | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_NO_COW_TAG_ON_UPDATE | ( | Shading | ) |
| blender::deg::DEG_COMPONENT_NODE_DECLARE_NO_COW_TAG_ON_UPDATE | ( | Visibility | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Animation | , |
| ANIMATION | , | ||
| ID_RECALC_ANIMATION | ) |
References ID_RECALC_ANIMATION.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Armature | , |
| ARMATURE | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Audio | , |
| AUDIO | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | BatchCache | , |
| BATCH_CACHE | , | ||
| ID_RECALC_SHADING | ) |
References ID_RECALC_SHADING.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Bone | , |
| BONE | , | ||
| ID_RECALC_GEOMETRY | ) |
References ID_RECALC_GEOMETRY.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Cache | , |
| CACHE | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | CopyOnWrite | , |
| COPY_ON_EVAL | , | ||
| ID_RECALC_SYNC_TO_EVAL | ) |
References ID_RECALC_SYNC_TO_EVAL.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | GenericDatablock | , |
| GENERIC_DATABLOCK | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Geometry | , |
| GEOMETRY | , | ||
| ID_RECALC_GEOMETRY | ) |
References ID_RECALC_GEOMETRY.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Hierarchy | , |
| HIERARCHY | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | ImageAnimation | , |
| IMAGE_ANIMATION | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Instancing | , |
| INSTANCING | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | LayerCollections | , |
| LAYER_COLLECTIONS | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | NTreeGeometryPreprocess | , |
| NTREE_GEOMETRY_PREPROCESS | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | NTreeOutput | , |
| NTREE_OUTPUT | , | ||
| ID_RECALC_NTREE_OUTPUT | ) |
References ID_RECALC_NTREE_OUTPUT.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | ObjectFromLayer | , |
| OBJECT_FROM_LAYER | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Parameters | , |
| PARAMETERS | , | ||
| ID_RECALC_PARAMETERS | ) |
References ID_RECALC_PARAMETERS.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Particles | , |
| PARTICLE_SYSTEM | , | ||
| ID_RECALC_GEOMETRY | ) |
References ID_RECALC_GEOMETRY.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | ParticleSettings | , |
| PARTICLE_SETTINGS | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | PointCache | , |
| POINT_CACHE | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Pose | , |
| EVAL_POSE | , | ||
| ID_RECALC_GEOMETRY | ) |
References ID_RECALC_GEOMETRY.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Scene | , |
| SCENE | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Sequencer | , |
| SEQUENCER | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Shading | , |
| SHADING | , | ||
| ID_RECALC_SHADING | ) |
References ID_RECALC_SHADING.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Synchronization | , |
| SYNCHRONIZATION | , | ||
| 0 | ) |
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Transform | , |
| TRANSFORM | , | ||
| ID_RECALC_TRANSFORM | ) |
References ID_RECALC_TRANSFORM.
| blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Visibility | , |
| VISIBILITY | , | ||
| 0 | ) |
| void blender::deg::deg_create_eval_copy | ( | ::Depsgraph * | graph, |
| const IDNode * | id_node ) |
Definition at line 999 of file deg_eval_copy_on_write.cc.
References DEG_debug_print_eval(), deg_update_eval_copy_datablock(), depsgraph, blender::deg::IDNode::id_cow, blender::deg::IDNode::id_orig, and ID::name.
Referenced by blender::deg::DepsgraphNodeBuilder::add_id_node().
| void blender::deg::deg_create_eval_copy | ( | struct ::Depsgraph * | depsgraph, |
| const struct IDNode * | id_node ) |
Callback function for depsgraph operation node which ensures evaluated data-block is ready for use by further evaluation routines.
References depsgraph.
|
static |
Definition at line 476 of file deg_debug_relations_graphviz.cc.
References deg_debug_graphviz_node(), blender::deg::Depsgraph::find_time_source(), and blender::deg::Depsgraph::id_nodes.
Referenced by DEG_debug_graph_to_dot().
|
static |
Definition at line 487 of file deg_debug_relations_graphviz.cc.
References blender::deg::IDNode::components, deg_debug_graphviz_node_relations(), blender::deg::Depsgraph::find_time_source(), and blender::deg::Depsgraph::id_nodes.
Referenced by DEG_debug_graph_to_dot().
|
static |
Definition at line 160 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Node::attributes, deg_debug_colors_light, deg_debug_graphviz_fontname, deg_debug_graphviz_legend_color(), deg_debug_max_colors, blender::deg::DotExportContext::digraph, blender::dot_export::Graph::new_node(), blender::dot_export::Attributes::set(), and type_get_factory().
Referenced by DEG_debug_graph_to_dot().
|
static |
Definition at line 149 of file deg_debug_relations_graphviz.cc.
References name.
Referenced by deg_debug_graphviz_legend().
|
static |
Definition at line 374 of file deg_debug_relations_graphviz.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BONE, CACHE, blender::deg::IDNode::components, COPY_ON_EVAL, deg_debug_graphviz_node(), deg_debug_graphviz_node_cluster_create(), deg_debug_graphviz_node_single(), EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, HIERARCHY, ID_REF, IMAGE_ANIMATION, INSTANCING, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), LAYER_COLLECTIONS, NTREE_GEOMETRY_PREPROCESS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, blender::deg::ComponentNode::operations, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SCENE, SEQUENCER, SHADING, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, blender::deg::Node::type, UNDEFINED, and VISIBILITY.
Referenced by deg_debug_graphviz_graph_nodes(), and deg_debug_graphviz_node().
|
static |
Definition at line 348 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Cluster::attributes, blender::dot_export::Node::attributes, blender::deg::DotExportContext::clusters_map, deg_debug_graphviz_fontname, deg_debug_graphviz_node_color(), deg_debug_graphviz_node_fillcolor(), deg_debug_graphviz_node_label_size, deg_debug_graphviz_node_penwidth(), deg_debug_graphviz_node_style(), blender::deg::DotExportContext::digraph, blender::deg::Node::identifier(), name, blender::dot_export::Graph::new_cluster(), blender::dot_export::Graph::new_node(), blender::deg::DotExportContext::nodes_map, blender::dot_export::Attributes::set(), blender::dot_export::Cluster::set_parent_cluster(), and blender::dot_export::Node::set_parent_cluster().
Referenced by deg_debug_graphviz_node().
|
static |
Definition at line 196 of file deg_debug_relations_graphviz.cc.
References DEPSOP_FLAG_DIRECTLY_MODIFIED, DEPSOP_FLAG_NEEDS_UPDATE, blender::deg::OperationNode::flag, blender::deg::Node::get_class(), OPERATION, blender::dot_export::Attributes::set(), and blender::deg::DotExportContext::show_tags.
Referenced by deg_debug_graphviz_node_cluster_create(), and deg_debug_graphviz_node_single().
|
static |
Definition at line 240 of file deg_debug_relations_graphviz.cc.
References deg_debug_colors_light, deg_debug_max_colors, deg_debug_node_color_index(), and blender::dot_export::Attributes::set().
Referenced by deg_debug_graphviz_node_cluster_create(), and deg_debug_graphviz_node_single().
|
static |
Definition at line 218 of file deg_debug_relations_graphviz.cc.
References DEPSOP_FLAG_DIRECTLY_MODIFIED, DEPSOP_FLAG_NEEDS_UPDATE, blender::deg::OperationNode::flag, blender::deg::Node::get_class(), OPERATION, blender::dot_export::Attributes::set(), and blender::deg::DotExportContext::show_tags.
Referenced by deg_debug_graphviz_node_cluster_create(), and deg_debug_graphviz_node_single().
|
static |
Definition at line 443 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Edge::attributes, blender::deg::DotExportContext::clusters_map, blender::dot_export::Cluster::contains(), deg_debug_graphviz_relation_arrowhead(), deg_debug_graphviz_relation_color(), deg_debug_graphviz_relation_style(), blender::deg::DotExportContext::digraph, blender::deg::Relation::from, blender::deg::Node::inlinks, blender::deg::Relation::name, blender::dot_export::Cluster::name(), blender::dot_export::DirectedGraph::new_edge(), blender::deg::DotExportContext::nodes_map, blender::dot_export::Attributes::set(), and blender::deg::Relation::to.
Referenced by deg_debug_graphviz_graph_relations().
|
static |
Definition at line 329 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Node::attributes, deg_debug_graphviz_fontname, deg_debug_graphviz_node_color(), deg_debug_graphviz_node_fillcolor(), deg_debug_graphviz_node_label_size, deg_debug_graphviz_node_penwidth(), deg_debug_graphviz_node_style(), blender::deg::DotExportContext::digraph, blender::deg::Node::identifier(), name, blender::dot_export::Graph::new_node(), blender::deg::DotExportContext::nodes_map, blender::dot_export::Attributes::set(), and blender::dot_export::Node::set_parent_cluster().
Referenced by deg_debug_graphviz_node().
|
static |
Definition at line 303 of file deg_debug_relations_graphviz.cc.
References COMPONENT, DEPSOP_FLAG_DIRECTLY_MODIFIED, DEPSOP_FLAG_NEEDS_UPDATE, blender::deg::OperationNode::flag, GENERIC, blender::deg::Node::get_class(), OPERATION, blender::dot_export::Attributes::set(), and blender::deg::DotExportContext::show_tags.
Referenced by deg_debug_graphviz_node_cluster_create(), and deg_debug_graphviz_node_single().
|
static |
Definition at line 281 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Edge::attributes, COPY_ON_EVAL, blender::deg::Relation::from, blender::deg::Node::get_class(), ID_RECALC_ALL, blender::deg::ComponentNode::need_tag_cow_before_update(), OPERATION, blender::deg::OperationNode::owner, blender::dot_export::Attributes::set(), blender::deg::Relation::to, and blender::deg::Node::type.
Referenced by deg_debug_graphviz_node_relations().
|
static |
Definition at line 251 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Edge::attributes, blender::deg::Relation::flag, RELATION_FLAG_CYCLIC, RELATION_FLAG_GODMODE, and blender::dot_export::Attributes::set().
Referenced by deg_debug_graphviz_node_relations().
|
static |
Definition at line 266 of file deg_debug_relations_graphviz.cc.
References blender::dot_export::Edge::attributes, blender::deg::Relation::flag, RELATION_FLAG_FLUSH_USER_EDIT_ONLY, RELATION_FLAG_NO_FLUSH, and blender::dot_export::Attributes::set().
Referenced by deg_debug_graphviz_node_relations().
|
static |
Definition at line 99 of file deg_debug_relations_graphviz.cc.
References COMPONENT, DEPSOP_FLAG_PINNED, blender::deg::OperationNode::flag, blender::deg::Node::get_class(), ID_REF, blender::deg::OperationNode::is_noop(), OPERATION, and blender::deg::Node::type.
Referenced by deg_debug_graphviz_node_fillcolor().
| blender::deg::DEG_DEPSNODE_DEFINE | ( | IDNode | , |
| NodeType::ID_REF | , | ||
| "ID Node" | ) |
References ID_REF.
| blender::deg::DEG_DEPSNODE_DEFINE | ( | OperationNode | , |
| NodeType::OPERATION | , | ||
| "Operation" | ) |
References OPERATION.
| blender::deg::DEG_DEPSNODE_DEFINE | ( | TimeSourceNode | , |
| NodeType::TIMESOURCE | , | ||
| "Time Source" | ) |
References TIMESOURCE.
| void blender::deg::deg_editors_id_update | ( | const DEGEditorUpdateContext * | update_ctx, |
| ID * | id ) |
Definition at line 20 of file depsgraph_update.cc.
References deg_editor_update_id_cb.
| void blender::deg::deg_editors_scene_update | ( | const DEGEditorUpdateContext * | update_ctx, |
| bool | updated ) |
Definition at line 27 of file depsgraph_update.cc.
References deg_editor_update_scene_cb.
Referenced by DEG_editors_update().
| bool blender::deg::deg_eval_copy_is_expanded | ( | const ID * | id_cow | ) |
Definition at line 1034 of file deg_eval_copy_on_write.cc.
Referenced by blender::deg::DepsgraphNodeBuilder::begin_build(), clear_id_nodes_conditional(), DEG_get_evaluated_scene(), deg_graph_build_finalize(), graph_tag_ids_for_visible_update(), blender::deg::RuntimeBackup::init_from_id(), and blender::deg::DepsgraphNodeBuilder::update_invalid_cow_pointers().
| bool blender::deg::deg_eval_copy_is_expanded | ( | const struct ID * | id_cow | ) |
Check whether ID data-block is expanded.
TODO(sergey): Make it an inline function or a macro.
| bool blender::deg::deg_eval_copy_is_needed | ( | const ID * | id_orig | ) |
Check whether an evaluated data-block copy is needed for given ID.
There are some exceptions on data-blocks which are covered by dependency graph but which we don't want to start duplicating.
This includes images.
Definition at line 1039 of file deg_eval_copy_on_write.cc.
References deg_eval_copy_is_needed(), GS, and ID::name.
Referenced by blender::deg::DepsgraphNodeBuilder::add_id_node(), blender::deg::DepsgraphNodeBuilder::begin_build(), blender::deg::DepsgraphRelationBuilder::build_copy_on_write_relations(), blender::deg::DepsgraphRelationBuilder::build_driver_rna_path_variable(), blender::deg::DepsgraphNodeBuilder::build_id(), blender::deg::DepsgraphRelationBuilder::build_id(), deg_eval_copy_is_needed(), deg_update_eval_copy_datablock(), and blender::deg::IDNode::init_copy_on_write().
| bool blender::deg::deg_eval_copy_is_needed | ( | const ID_Type | id_type | ) |
Definition at line 1045 of file deg_eval_copy_on_write.cc.
References ID_TYPE_USE_COPY_ON_EVAL.
| void blender::deg::deg_eval_stats_aggregate | ( | Depsgraph * | graph | ) |
Definition at line 20 of file deg_eval_stats.cc.
References blender::deg::IDNode::components, blender::deg::Node::Stats::current_time, blender::deg::Depsgraph::id_nodes, blender::deg::Depsgraph::operations, blender::deg::ComponentNode::owner, blender::deg::OperationNode::owner, blender::deg::Node::Stats::reset_current(), and blender::deg::Node::stats.
Referenced by deg_evaluate_on_refresh().
| void blender::deg::deg_evaluate_object_modifiers_mode_node_visibility | ( | ::Depsgraph * | depsgraph, |
| IDNode * | id_node ) |
Definition at line 54 of file deg_eval_visibility.cc.
References BLI_assert, BLI_assert_msg, BLI_listbase_is_empty(), DAG_EVAL_VIEWPORT, DEG_debug_print_eval(), depsgraph, DEPSOP_FLAG_MUTE, eModifierMode_Realtime, eModifierMode_Render, blender::deg::IDNode::find_component(), blender::deg::ComponentNode::find_operation(), blender::deg::OperationNode::flag, GEOMETRY, GS, Object::id, blender::deg::IDNode::id_cow, ID_OB, LISTBASE_FOREACH, blender::deg::Depsgraph::mode, MODIFIER, Object::modifiers, ID::name, blender::deg::Depsgraph::need_update_nodes_visibility, and blender::deg::Depsgraph::use_visibility_optimization.
| void blender::deg::deg_evaluate_object_node_visibility | ( | ::Depsgraph * | depsgraph, |
| IDNode * | id_node ) |
Definition at line 30 of file deg_eval_visibility.cc.
References BASE_ENABLED_RENDER, BASE_ENABLED_VIEWPORT, BLI_assert, DAG_EVAL_VIEWPORT, DEG_debug_print_eval(), depsgraph, GS, Object::id, blender::deg::IDNode::id_cow, ID_OB, blender::deg::IDNode::is_enabled_on_eval, blender::deg::Depsgraph::mode, ID::name, blender::deg::Depsgraph::need_update_nodes_visibility, and blender::deg::Depsgraph::use_visibility_optimization.
Referenced by blender::deg::DepsgraphNodeBuilder::add_id_node().
| void blender::deg::deg_evaluate_on_refresh | ( | Depsgraph * | graph | ) |
Evaluate all nodes tagged for updating,
Definition at line 381 of file deg_eval.cc.
References blender::deg::DepsgraphDebug::begin_graph_evaluation(), BLI_task_pool_free(), BPy_BEGIN_ALLOW_THREADS, BPy_END_ALLOW_THREADS, blender::deg::Depsgraph::debug, deg_eval_stats_aggregate(), deg_graph_clear_tags(), deg_graph_flush_visibility_flags_if_needed(), blender::deg::DepsgraphDebug::do_time_debug(), blender::deg::DepsgraphDebug::end_graph_evaluation(), blender::deg::Depsgraph::entry_tags, blender::deg::Depsgraph::has_animated_visibility, blender::deg::Depsgraph::is_evaluating, blender::deg::Depsgraph::need_update_nodes_visibility, state, task_pool, and blender::deg::Depsgraph::update_count.
Referenced by deg_flush_updates_and_refresh().
| void blender::deg::deg_free_eval_copy_datablock | ( | struct ID * | id_cow | ) |
Helper function which frees memory used by copy-on-written data-block.
Definition at line 961 of file deg_eval_copy_on_write.cc.
References BKE_libblock_free_data(), BKE_libblock_free_data_py(), BKE_libblock_free_datablock(), Object::data, GS, ID_OB, ID::name, and Object::sculpt.
Referenced by deg_update_eval_copy_datablock(), blender::deg::IDNode::destroy(), and blender::deg::DepsgraphNodeBuilder::~DepsgraphNodeBuilder().
Definition at line 176 of file deg_builder.cc.
References BKE_collection_object_cache_free(), blender::deg::IDNode::customdata_masks, deg_eval_copy_is_expanded(), deg_graph_flush_visibility_flags(), deg_graph_remove_unused_noops(), DEG_UPDATE_SOURCE_RELATIONS, blender::deg::IDNode::eval_flags, blender::deg::IDNode::finalize_build(), flag, graph_id_tag_update(), blender::deg::IDNode::id_cow, ID_GR, blender::deg::Depsgraph::id_nodes, ID_NT, ID_OB, blender::deg::IDNode::id_orig, ID_RECALC_AUDIO, ID_RECALC_GEOMETRY, ID_RECALC_NTREE_OUTPUT, ID_RECALC_SEQUENCER_STRIPS, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, ID_SCE, blender::deg::IDNode::id_type, blender::deg::Depsgraph::is_active, LIB_ID_CREATE_NO_DEG_TAG, blender::deg::IDNode::previous_customdata_masks, blender::deg::IDNode::previous_eval_flags, and ID::recalc.
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
| void blender::deg::deg_graph_clear_tags | ( | struct Depsgraph * | graph | ) |
Clear tags from all operation nodes.
Definition at line 351 of file deg_eval_flush.cc.
References blender::deg::Depsgraph::entry_tags, blender::deg::TimeSourceNode::tagged_for_update, and blender::deg::Depsgraph::time_source.
Referenced by deg_evaluate_on_refresh().
| void blender::deg::deg_graph_detect_cycles | ( | Depsgraph * | graph | ) |
Definition at line 203 of file deg_builder_cycle.cc.
References state.
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
| void blender::deg::deg_graph_flush_updates | ( | struct Depsgraph * | graph | ) |
Flush updates from tagged nodes outwards until all affected nodes are tagged.
Definition at line 305 of file deg_eval_flush.cc.
References BLI_assert, blender::deg::Depsgraph::bmain, DEGEditorUpdateContext::bmain, DEGEditorUpdateContext::depsgraph, DEPSOP_FLAG_NEEDS_UPDATE, blender::deg::Depsgraph::entry_tags, blender::deg::OperationNode::flag, blender::deg::TimeSourceNode::flush_update_tag(), blender::deg::ComponentNode::owner, blender::deg::OperationNode::owner, blender::deg::Depsgraph::scene, DEGEditorUpdateContext::scene, blender::deg::Depsgraph::time_source, blender::deg::Depsgraph::view_layer, and DEGEditorUpdateContext::view_layer.
Referenced by deg_flush_updates_and_refresh().
| void blender::deg::deg_graph_flush_visibility_flags | ( | Depsgraph * | graph | ) |
Definition at line 91 of file deg_eval_visibility.cc.
References blender::deg::ComponentNode::affects_visible_id, BLI_assert, blender::deg::IDNode::components, blender::deg::Node::custom_flags, DEPSOP_FLAG_AFFECTS_VISIBILITY, DEPSOP_FLAG_MUTE, blender::deg::OperationNode::flag, blender::deg::Relation::flag, blender::deg::Relation::from, blender::deg::Depsgraph::id_nodes, blender::deg::Node::inlinks, blender::Stack< T, InlineBufferCapacity, Allocator >::is_empty(), blender::deg::IDNode::is_enabled_on_eval, blender::deg::IDNode::is_visible_on_build, blender::deg::Depsgraph::need_update_nodes_visibility, blender::deg::OperationNode::num_links_pending, OPERATION, blender::deg::Depsgraph::operations, blender::deg::Node::outlinks, blender::deg::ComponentNode::owner, blender::deg::OperationNode::owner, blender::Stack< T, InlineBufferCapacity, Allocator >::pop(), blender::deg::ComponentNode::possibly_affects_visible_id, blender::Stack< T, InlineBufferCapacity, Allocator >::push(), RELATION_FLAG_CYCLIC, RELATION_NO_VISIBILITY_CHANGE, SYNCHRONIZATION, blender::deg::Relation::to, blender::deg::Node::type, and VISIBILITY.
Referenced by deg_graph_build_finalize(), and deg_graph_flush_visibility_flags_if_needed().
| void blender::deg::deg_graph_flush_visibility_flags_if_needed | ( | Depsgraph * | graph | ) |
Definition at line 225 of file deg_eval_visibility.cc.
References deg_graph_flush_visibility_flags(), and blender::deg::Depsgraph::need_update_nodes_visibility.
Referenced by deg_evaluate_on_refresh().
| void blender::deg::deg_graph_remove_unused_noops | ( | Depsgraph * | graph | ) |
Definition at line 55 of file deg_builder_remove_noop.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), DEG_DEBUG_PRINTF, blender::deg::Relation::from, blender::deg::Node::get_exit_operation(), blender::deg::Node::inlinks, is_removable_relation(), is_unused_noop(), blender::deg::Depsgraph::operations, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by deg_graph_build_finalize().
|
static |
Definition at line 43 of file deg_builder_transitive.cc.
References blender::deg::Node::custom_flags, deg_graph_tag_paths_recursive(), blender::deg::Relation::from, blender::deg::Node::inlinks, OP_REACHABLE, and OP_VISITED.
Referenced by deg_graph_tag_paths_recursive(), and deg_graph_transitive_reduction().
| void blender::deg::deg_graph_transitive_reduction | ( | Depsgraph * | graph | ) |
Definition at line 57 of file deg_builder_transitive.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::deg::Node::custom_flags, DEG_DEBUG_PRINTF, deg_graph_tag_paths_recursive(), blender::deg::Relation::from, blender::deg::Node::inlinks, OP_REACHABLE, OP_VISITED, blender::deg::Depsgraph::operations, TIMESOURCE, blender::deg::Node::type, and blender::deg::Relation::unlink().
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
| void blender::deg::deg_register_base_depsnodes | ( | ) |
Definition at line 317 of file deg_node.cc.
References DNTI_ID_REF, DNTI_TIMESOURCE, and register_node_typeinfo().
Referenced by DEG_register_node_types().
| void blender::deg::deg_register_component_depsnodes | ( | ) |
Definition at line 318 of file deg_node_component.cc.
References register_node_typeinfo().
Referenced by DEG_register_node_types().
| void blender::deg::deg_register_operation_depsnodes | ( | ) |
Definition at line 277 of file deg_node_operation.cc.
References DNTI_OPERATION, and register_node_typeinfo().
Referenced by DEG_register_node_types().
| void blender::deg::deg_tag_eval_copy_id | ( | deg::Depsgraph & | depsgraph, |
| ID * | id_cow, | ||
| const ID * | id_orig ) |
Definition at line 1023 of file deg_eval_copy_on_write.cc.
References BLI_assert, depsgraph, ID_TAG_COPIED_ON_EVAL, ID_TAG_LOCALIZED, ID::orig_id, ID::runtime, and ID::tag.
| ID * blender::deg::deg_update_eval_copy_datablock | ( | const Depsgraph * | depsgraph, |
| const IDNode * | id_node ) |
Definition at line 839 of file deg_eval_copy_on_write.cc.
References BKE_object_data_is_in_editmode(), deg_eval_copy_is_needed(), deg_free_eval_copy_datablock(), depsgraph, GS, blender::deg::IDNode::id_cow, blender::deg::IDNode::id_orig, blender::deg::RuntimeBackup::init_from_id(), blender::deg::IDNode::is_cow_explicitly_tagged, ID::name, OB_DATA_SUPPORT_EDITMODE, and blender::deg::RuntimeBackup::restore_to_id().
Referenced by deg_create_eval_copy(), and deg_update_eval_copy_datablock().
Definition at line 880 of file deg_eval_copy_on_write.cc.
References BLI_assert, deg_update_eval_copy_datablock(), and depsgraph.
| ID * blender::deg::deg_update_eval_copy_datablock | ( | const struct Depsgraph * | depsgraph, |
| const IDNode * | id_node ) |
Makes sure given evaluated data-block is brought back to state of the original data-block.
References depsgraph.
| ID * blender::deg::deg_update_eval_copy_datablock | ( | const struct Depsgraph * | depsgraph, |
| struct ID * | id_orig ) |
References depsgraph.
| bool blender::deg::deg_validate_eval_copy_datablock | ( | ID * | id_cow | ) |
Check that given ID is properly expanded and does not have any shallow copies inside.
Definition at line 1011 of file deg_eval_copy_on_write.cc.
References BKE_library_foreach_ID_link(), data, and IDWALK_NOP.
Referenced by evil::DEG_iterator_temp_object_from_dupli().
|
static |
Definition at line 465 of file deg_builder_nodes.cc.
References blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(), GS, LibraryIDLinkCallbackData::id_pointer, ID_TYPE_USE_COPY_ON_EVAL, IDWALK_RET_NOP, ID::name, LibraryIDLinkCallbackData::self_id, and LibraryIDLinkCallbackData::user_data.
Referenced by blender::deg::DepsgraphNodeBuilder::update_invalid_cow_pointers().
Definition at line 599 of file depsgraph_tag.cc.
References EVAL_POSE, GEOMETRY, GS, ID_CU_LEGACY, ID_CV, ID_GD_LEGACY, ID_GP, ID_GR, ID_LP, ID_LT, ID_MB, ID_ME, ID_MSK, ID_OB, ID_PA, ID_PAL, ID_PT, ID_VO, ID::name, OB_ARMATURE, OB_CURVES, OB_CURVES_LEGACY, OB_FONT, OB_GREASE_PENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, OB_VOLUME, PARAMETERS, Object::type, and UNDEFINED.
Referenced by DEG_object_has_geometry_component().
Definition at line 64 of file depsgraph_registry.cc.
References get_graph_registry(), lock, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), blender::deg::GraphRegistry::map, and blender::deg::GraphRegistry::mutex.
Referenced by DEG_id_type_tag(), DEG_relations_tag_update(), DEG_tag_on_visible_update(), DEG_time_tag_update(), and id_tag_update().
Definition at line 55 of file depsgraph_query.cc.
References blender::deg::Depsgraph::find_id_node(), and blender::deg::IDNode::id_cow.
Referenced by DEG_get_evaluated_id(), and get_evaluated_id().
Definition at line 70 of file depsgraph_query.cc.
References get_evaluated_id().
|
static |
Definition at line 32 of file depsgraph_registry.cc.
Referenced by get_all_registered_graphs(), register_graph(), and unregister_graph().
|
static |
Definition at line 1190 of file deg_builder_relations.cc.
References ModifierData::prev.
Referenced by blender::deg::DepsgraphRelationBuilder::build_object_pointcache().
Definition at line 37 of file depsgraph_query.cc.
References BLI_assert, ID_TAG_COPIED_ON_EVAL, ID::orig_id, and ID::tag.
Referenced by DEG_get_eval_flags_for_id(), DEG_get_original_id(), DEG_get_original_id(), DEG_id_is_fully_evaluated(), get_original_id(), and operation_needs_update().
Definition at line 49 of file depsgraph_query.cc.
References get_original_id().
| void blender::deg::graph_id_tag_update | ( | Main * | bmain, |
| Depsgraph * | graph, | ||
| ID * | id, | ||
| uint | flags, | ||
| eUpdateSource | update_source ) |
Definition at line 688 of file depsgraph_tag.cc.
References bitscan_forward_clear_uint(), DEG_debug_flags_get(), DEG_graph_id_type_tag(), DEG_UPDATE_SOURCE_USER_EDIT, blender::deg::Depsgraph::find_id_node(), G, G_DEBUG_DEPSGRAPH_TAG, GS, blender::deg::IDNode::id_cow, ID_RECALC_POINT_CACHE, ID_RECALC_SHADING, blender::deg::Depsgraph::is_evaluating, ID::name, printf, ID::recalc, and set_id_update_count().
Referenced by deg_graph_build_finalize(), DEG_graph_id_tag_update(), DEG_id_tag_update_for_side_effect_request(), blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(), graph_tag_ids_for_visible_update(), and id_tag_update().
| void blender::deg::graph_tag_ids_for_visible_update | ( | Depsgraph * | graph | ) |
Definition at line 527 of file depsgraph_tag.cc.
References BKE_animdata_from_id(), blender::deg::Depsgraph::bmain, deg_eval_copy_is_expanded(), DEG_UPDATE_SOURCE_VISIBILITY, graph_id_tag_update(), GS, blender::deg::IDNode::id_cow, blender::deg::Depsgraph::id_nodes, ID_OB, blender::deg::IDNode::id_orig, ID_RECALC_ANIMATION, ID_RECALC_GEOMETRY, ID_RECALC_SYNC_TO_EVAL, ID_RECALC_TRANSFORM, ID_SCE, ID_TYPE_USE_COPY_ON_EVAL, ID::name, blender::deg::Depsgraph::need_tag_id_on_graph_visibility_time_update, blender::deg::Depsgraph::need_tag_id_on_graph_visibility_update, blender::deg::IDNode::previously_visible_components_mask, blender::deg::IDNode::tag_update(), and blender::deg::IDNode::visible_components_mask.
Referenced by deg_flush_updates_and_refresh().
| void blender::deg::id_tag_update | ( | Main * | bmain, |
| ID * | id, | ||
| uint | flags, | ||
| eUpdateSource | update_source ) |
Definition at line 650 of file depsgraph_tag.cc.
References BKE_lib_override_id_tag_on_deg_tag_from_user(), DEG_UPDATE_SOURCE_USER_EDIT, depsgraph, get_all_registered_graphs(), and graph_id_tag_update().
Referenced by DEG_id_tag_update_ex().
Definition at line 112 of file deg_builder_relations_drivers.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::deg::Relation::from, and blender::deg::Node::inlinks.
Referenced by blender::deg::DepsgraphRelationBuilder::build_driver_relations().
|
inlinestatic |
Definition at line 35 of file deg_builder_remove_noop.cc.
References blender::deg::Relation::from, OPERATION, blender::deg::OperationNode::owner, blender::deg::Relation::to, and blender::deg::Node::type.
Referenced by deg_graph_remove_unused_noops().
|
inlinestatic |
Definition at line 24 of file deg_builder_remove_noop.cc.
References DEPSOP_FLAG_PINNED, blender::deg::OperationNode::flag, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), blender::deg::OperationNode::is_noop(), and blender::deg::Node::outlinks.
Referenced by deg_graph_remove_unused_noops().
| const char * blender::deg::linkedStateAsString | ( | eDepsNode_LinkedState_Type | linked_state | ) |
Definition at line 24 of file deg_node_id.cc.
References BLI_assert_msg, DEG_ID_LINKED_DIRECTLY, DEG_ID_LINKED_INDIRECTLY, and DEG_ID_LINKED_VIA_SET.
| const char * blender::deg::nodeClassAsString | ( | NodeClass | node_class | ) |
Definition at line 21 of file deg_node.cc.
References BLI_assert_msg, COMPONENT, GENERIC, and OPERATION.
| const char * blender::deg::nodeTypeAsString | ( | NodeType | type | ) |
Definition at line 35 of file deg_node.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BLI_assert_msg, BONE, CACHE, COPY_ON_EVAL, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, HIERARCHY, ID_REF, IMAGE_ANIMATION, INSTANCING, LAYER_COLLECTIONS, NTREE_GEOMETRY_PREPROCESS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SCENE, SEQUENCER, SHADING, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, UNDEFINED, and VISIBILITY.
Referenced by blender::deg::ComponentKey::identifier(), blender::deg::IDNode::identifier(), blender::deg::Node::identifier(), and blender::deg::OperationKey::identifier().
| NodeType blender::deg::nodeTypeFromObjectComponent | ( | eDepsObjectComponentType | component_type | ) |
Definition at line 173 of file deg_node.cc.
References ANIMATION, BONE, CACHE, DEG_OB_COMP_ANIMATION, DEG_OB_COMP_ANY, DEG_OB_COMP_BONE, DEG_OB_COMP_CACHE, DEG_OB_COMP_EVAL_POSE, DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_PARAMETERS, DEG_OB_COMP_SHADING, DEG_OB_COMP_TRANSFORM, EVAL_POSE, GEOMETRY, PARAMETERS, SHADING, TRANSFORM, and UNDEFINED.
Referenced by DEG_add_bone_relation(), DEG_add_object_cache_relation(), DEG_add_object_pointcache_relation(), and DEG_add_object_relation().
| NodeType blender::deg::nodeTypeFromSceneComponent | ( | eDepsSceneComponentType | component | ) |
Definition at line 112 of file deg_node.cc.
References ANIMATION, DEG_SCENE_COMP_ANIMATION, DEG_SCENE_COMP_PARAMETERS, DEG_SCENE_COMP_SEQUENCER, PARAMETERS, SEQUENCER, and UNDEFINED.
| eDepsObjectComponentType blender::deg::nodeTypeToObjectComponent | ( | NodeType | type | ) |
Definition at line 198 of file deg_node.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BLI_assert_msg, BONE, CACHE, COPY_ON_EVAL, DEG_OB_COMP_ANIMATION, DEG_OB_COMP_BONE, DEG_OB_COMP_CACHE, DEG_OB_COMP_EVAL_POSE, DEG_OB_COMP_GEOMETRY, DEG_OB_COMP_PARAMETERS, DEG_OB_COMP_SHADING, DEG_OB_COMP_TRANSFORM, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, HIERARCHY, ID_REF, IMAGE_ANIMATION, INSTANCING, LAYER_COLLECTIONS, NTREE_GEOMETRY_PREPROCESS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SCENE, SEQUENCER, SHADING, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, UNDEFINED, and VISIBILITY.
| eDepsSceneComponentType blender::deg::nodeTypeToSceneComponent | ( | NodeType | type | ) |
Definition at line 125 of file deg_node.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BLI_assert_msg, BONE, CACHE, COPY_ON_EVAL, DEG_SCENE_COMP_ANIMATION, DEG_SCENE_COMP_PARAMETERS, DEG_SCENE_COMP_SEQUENCER, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, HIERARCHY, ID_REF, IMAGE_ANIMATION, INSTANCING, LAYER_COLLECTIONS, NTREE_GEOMETRY_PREPROCESS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SCENE, SEQUENCER, SHADING, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, UNDEFINED, and VISIBILITY.
| const char * blender::deg::operationCodeAsString | ( | OperationCode | opcode | ) |
Definition at line 18 of file deg_node_operation.cc.
References ANIMATION_ENTRY, ANIMATION_EVAL, ANIMATION_EXIT, ARMATURE_EVAL, AUDIO_ENTRY, AUDIO_VOLUME, BLI_assert_msg, BONE_CONSTRAINTS, BONE_DONE, BONE_LOCAL, BONE_POSE_PARENT, BONE_READY, BONE_SEGMENTS, COPY_ON_EVAL, DIMENSIONS, DRIVER, DRIVER_UNSHARE, FILE_CACHE_UPDATE, GENERIC_DATABLOCK_UPDATE, GEOMETRY_EVAL, GEOMETRY_EVAL_DONE, GEOMETRY_EVAL_INIT, GEOMETRY_SELECT_UPDATE, GEOMETRY_SHAPEKEY, HIERARCHY, ID_PROPERTY, IMAGE_ANIMATION, INSTANCE, INSTANCE_GEOMETRY, INSTANCER, LIGHT_LINKING_UPDATE, LIGHT_PROBE_EVAL, LIGHT_UPDATE, MASK_ANIMATION, MASK_EVAL, MATERIAL_UPDATE, MODIFIER, MOVIECLIP_EVAL, NTREE_GEOMETRY_PREPROCESS, NTREE_OUTPUT, OBJECT_BASE_FLAGS, OBJECT_FROM_LAYER_ENTRY, OBJECT_FROM_LAYER_EXIT, OPERATION, PARAMETERS_ENTRY, PARAMETERS_EVAL, PARAMETERS_EXIT, PARTICLE_SETTINGS_EVAL, PARTICLE_SETTINGS_INIT, PARTICLE_SETTINGS_RESET, PARTICLE_SYSTEM_DONE, PARTICLE_SYSTEM_EVAL, PARTICLE_SYSTEM_INIT, POINT_CACHE_RESET, POSE_CLEANUP, POSE_DONE, POSE_IK_SOLVER, POSE_INIT, POSE_INIT_IK, POSE_SPLINE_IK_SOLVER, RIGIDBODY_REBUILD, RIGIDBODY_SIM, RIGIDBODY_TRANSFORM_COPY, SCENE_EVAL, SEQUENCES_EVAL, SHADING, SHADING_DONE, SOUND_EVAL, SPEAKER_EVAL, SYNCHRONIZE_TO_ORIGINAL, TRANSFORM_CONSTRAINTS, TRANSFORM_EVAL, TRANSFORM_FINAL, TRANSFORM_INIT, TRANSFORM_LOCAL, TRANSFORM_PARENT, TRANSFORM_SIMULATION_INIT, VIEW_LAYER_EVAL, VISIBILITY, and WORLD_UPDATE.
Referenced by blender::deg::DepsgraphRelationBuilder::get_node(), blender::deg::OperationKey::identifier(), and blender::deg::OperationNode::identifier().
| bool blender::deg::operator== | ( | const AnimatedPropertyID & | a, |
| const AnimatedPropertyID & | b ) |
Definition at line 51 of file deg_builder_cache.cc.
| void blender::deg::register_graph | ( | Depsgraph * | depsgraph | ) |
Definition at line 38 of file depsgraph_registry.cc.
References depsgraph, get_graph_registry(), lock, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_cb(), blender::deg::GraphRegistry::map, and blender::deg::GraphRegistry::mutex.
Referenced by DEG_graph_new(), and DEG_graph_replace_owners().
| void blender::deg::register_node_typeinfo | ( | DepsNodeFactory * | factory | ) |
Definition at line 16 of file deg_node_factory.cc.
References BLI_assert, node_typeinfo_registry, and blender::deg::DepsNodeFactory::type().
Referenced by deg_register_base_depsnodes(), deg_register_component_depsnodes(), and deg_register_operation_depsnodes().
|
inlinestatic |
Definition at line 108 of file deg_builder_relations_impl.h.
References ELEM, RigidBodyOb::mesh_source, RB_SHAPE_CONVEXH, RB_SHAPE_TRIMESH, RBO_MESH_BASE, and RigidBodyOb::shape.
Referenced by blender::deg::DepsgraphRelationBuilder::add_depends_on_transform_relation(), and blender::deg::DepsgraphRelationBuilder::build_rigidbody().
| bool blender::deg::rna_prop_affects_parameters_node | ( | const PointerRNA * | ptr, |
| const PropertyRNA * | prop ) |
Definition at line 401 of file deg_builder_rna.cc.
References ptr, RNA_property_is_idprop(), and RNA_struct_is_a().
Referenced by blender::deg::DepsgraphRelationBuilder::build_driver_data(), blender::deg::DepsgraphNodeBuilder::build_driver_id_property(), blender::deg::DepsgraphRelationBuilder::build_driver_id_property(), and blender::deg::RNANodeQuery::construct_node_identifier().
|
static |
Definition at line 679 of file depsgraph_tag.cc.
References GS, ID_IM, ID::name, and Image::runtime.
Referenced by graph_id_tag_update().
|
static |
Definition at line 3424 of file deg_builder_relations.cc.
References blender::deg::DepsgraphRelationBuilder::add_relation(), AUDIO, BKE_view_layer_default_render(), blender::deg::DepsgraphRelationBuilder::build_idproperties(), blender::deg::DepsgraphRelationBuilder::build_nodetree(), blender::deg::DepsgraphRelationBuilder::build_scene_parameters(), blender::deg::DepsgraphRelationBuilder::build_scene_sequencer(), blender::deg::DepsgraphRelationBuilder::build_scene_speakers(), blender::deg::DepsgraphRelationBuilder::build_sound(), blender::deg::Seq_build_prop_cb_data::builder, eSeqModifierType_Compositor, Strip::flag, blender::deg::Seq_build_prop_cb_data::has_audio_strips, bNodeTree::id, bSound::id, Scene::id, LISTBASE_FOREACH, Strip::modifiers, SequencerCompositorModifierData::node_group, NTREE_OUTPUT, Strip::prop, Strip::scene, SEQ_SCENE_STRIPS, SEQUENCER, blender::deg::Seq_build_prop_cb_data::sequencer_key, Strip::sound, STRIP_TYPE_SCENE, Strip::system_properties, and Strip::type.
Referenced by blender::deg::DepsgraphRelationBuilder::build_scene_sequencer().
|
static |
Definition at line 26 of file deg_eval_runtime_backup_sequencer.cc.
References BLI_assert, BLI_session_uid_is_generated(), blender::deg::SequencerBackup::depsgraph, blender::deg::StripBackup::init_from_strip(), blender::deg::StripBackup::isEmpty(), Strip::runtime, StripRuntime::session_uid, and blender::deg::SequencerBackup::strips_backup.
Referenced by blender::deg::SequencerBackup::init_from_scene().
|
static |
Definition at line 2307 of file deg_builder_nodes.cc.
References BKE_view_layer_default_render(), blender::deg::DepsgraphNodeBuilder::build_idproperties(), blender::deg::DepsgraphNodeBuilder::build_nodetree(), blender::deg::DepsgraphNodeBuilder::build_scene_parameters(), blender::deg::DepsgraphNodeBuilder::build_scene_sequencer(), blender::deg::DepsgraphNodeBuilder::build_scene_speakers(), blender::deg::DepsgraphNodeBuilder::build_sound(), eSeqModifierType_Compositor, Strip::flag, LISTBASE_FOREACH, Strip::modifiers, SequencerCompositorModifierData::node_group, Strip::prop, Strip::scene, SEQ_SCENE_STRIPS, Strip::sound, STRIP_TYPE_SCENE, Strip::system_properties, and Strip::type.
Referenced by blender::deg::DepsgraphNodeBuilder::build_scene_sequencer().
|
static |
Definition at line 46 of file deg_eval_runtime_backup_sequencer.cc.
References BLI_assert, BLI_session_uid_is_generated(), blender::deg::StripBackup::restore_to_strip(), Strip::runtime, StripRuntime::session_uid, and blender::deg::SequencerBackup::strips_backup.
Referenced by blender::deg::SequencerBackup::restore_to_scene().
| bool blender::deg::terminal_do_color | ( | ) |
Definition at line 55 of file deg_debug.cc.
References G, and G_DEBUG_DEPSGRAPH_PRETTY.
Referenced by color_end(), and color_for_pointer().
| DepsNodeFactory * blender::deg::type_get_factory | ( | const NodeType | type | ) |
Definition at line 23 of file deg_node_factory.cc.
References node_typeinfo_registry.
Referenced by blender::deg::IDNode::add_component(), blender::deg::Depsgraph::add_id_node(), blender::deg::ComponentNode::add_operation(), blender::deg::Depsgraph::add_time_source(), deg_debug_graphviz_legend(), and blender::deg::ComponentNode::identifier().
| void blender::deg::unregister_graph | ( | Depsgraph * | depsgraph | ) |
Definition at line 49 of file depsgraph_registry.cc.
References depsgraph, get_graph_registry(), lock, Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::deg::GraphRegistry::map, blender::deg::GraphRegistry::mutex, and Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove().
Referenced by DEG_graph_free(), and DEG_graph_replace_owners().
|
static |
Definition at line 63 of file deg_debug_relations_graphviz.cc.
Referenced by deg_debug_graphviz_legend(), and deg_debug_graphviz_node_fillcolor().
|
static |
Definition at line 42 of file deg_debug_relations_graphviz.cc.
Referenced by DEG_debug_graph_to_dot(), deg_debug_graphviz_legend(), deg_debug_graphviz_node_cluster_create(), and deg_debug_graphviz_node_single().
|
static |
Definition at line 43 of file deg_debug_relations_graphviz.cc.
Referenced by DEG_debug_graph_to_dot().
|
static |
Definition at line 44 of file deg_debug_relations_graphviz.cc.
Referenced by deg_debug_graphviz_node_cluster_create(), and deg_debug_graphviz_node_single().
|
static |
Definition at line 45 of file deg_debug_relations_graphviz.cc.
Referenced by deg_debug_graphviz_legend(), and deg_debug_graphviz_node_fillcolor().
|
static |
Definition at line 17 of file depsgraph_update.cc.
Referenced by deg_editors_id_update(), and DEG_editors_set_update_cb().
|
static |
Definition at line 18 of file depsgraph_update.cc.
Referenced by deg_editors_scene_update(), and DEG_editors_set_update_cb().
|
static |
Definition at line 315 of file deg_node.cc.
Referenced by deg_register_base_depsnodes().
|
static |
Definition at line 275 of file deg_node_operation.cc.
Referenced by deg_register_operation_depsnodes().
|
static |
Definition at line 312 of file deg_node.cc.
Referenced by deg_register_base_depsnodes().
|
constexpr |
Definition at line 25 of file deg_builder_stack.cc.
|
constexpr |
Definition at line 29 of file deg_builder_stack.cc.
Referenced by blender::deg::BuilderStack::print_backtrace().
|
constexpr |
Definition at line 30 of file deg_builder_stack.cc.
Referenced by blender::deg::BuilderStack::print_backtrace().
|
static |
Definition at line 14 of file deg_node_factory.cc.
Referenced by register_node_typeinfo(), and type_get_factory().