Blender
V3.3
|
Namespaces | |
tests | |
Typedefs | |
using | Seq_build_prop_cb_data = struct Seq_build_prop_cb_data { DepsgraphRelationBuilder *builder |
using | GraphRegistry = Map< Main *, VectorSet< Depsgraph * > > |
using | FlushQueue = deque< OperationNode * > |
typedef uint64_t | IDComponentsMask |
typedef function< void(struct ::Depsgraph *)> | DepsEvalOperationCb |
Variables | |
ComponentKey | sequencer_key |
bool | has_audio_strips |
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 [static_cast< int >(NodeType::NUM_TYPES)] = {nullptr} |
static DepsNodeFactoryImpl< OperationNode > | DNTI_OPERATION |
typedef function<void(struct ::Depsgraph *)> blender::deg::DepsEvalOperationCb |
Definition at line 22 of file deg_node_operation.h.
using blender::deg::FlushQueue = typedef deque<OperationNode *> |
Definition at line 69 of file deg_eval_flush.cc.
using blender::deg::GraphRegistry = typedef Map<Main *, VectorSet<Depsgraph *> > |
Definition at line 16 of file depsgraph_registry.cc.
Definition at line 19 of file deg_node_id.h.
using blender::deg::Seq_build_prop_cb_data = typedef struct Seq_build_prop_cb_data { DepsgraphRelationBuilder *builder |
Definition at line 2946 of file deg_builder_relations.cc.
anonymous enum |
Enumerator | |
---|---|
OP_VISITED | |
OP_REACHABLE |
Definition at line 37 of file deg_builder_transitive.cc.
anonymous enum |
Enumerator | |
---|---|
ID_STATE_NONE | |
ID_STATE_MODIFIED |
Definition at line 58 of file deg_eval_flush.cc.
anonymous enum |
Enumerator | |
---|---|
COMPONENT_STATE_NONE | |
COMPONENT_STATE_SCHEDULED | |
COMPONENT_STATE_DONE |
Definition at line 63 of file deg_eval_flush.cc.
Enumerator | |
---|---|
DEG_ID_LINKED_INDIRECTLY | |
DEG_ID_LINKED_VIA_SET | |
DEG_ID_LINKED_DIRECTLY |
Definition at line 23 of file deg_node_id.h.
Enumerator | |
---|---|
DEG_UPDATE_SOURCE_TIME | |
DEG_UPDATE_SOURCE_USER_EDIT | |
DEG_UPDATE_SOURCE_RELATIONS | |
DEG_UPDATE_SOURCE_VISIBILITY |
Definition at line 61 of file depsgraph_type.h.
|
strong |
Enumerator | |
---|---|
GENERIC | |
COMPONENT | |
OPERATION |
Definition at line 29 of file deg_node.h.
|
strong |
Definition at line 44 of file deg_node.h.
|
strong |
Definition at line 25 of file deg_node_operation.h.
Enumerator | |
---|---|
DEPSOP_FLAG_NEEDS_UPDATE | |
DEPSOP_FLAG_DIRECTLY_MODIFIED | |
DEPSOP_FLAG_USER_MODIFIED | |
DEPSOP_FLAG_PINNED | |
DEPSOP_FLAG_AFFECTS_VISIBILITY | |
DEPSOP_FLAG_FLUSH |
Definition at line 202 of file deg_node_operation.h.
Enumerator | |
---|---|
RELATION_FLAG_CYCLIC | |
RELATION_FLAG_NO_FLUSH | |
RELATION_FLAG_FLUSH_USER_EDIT_ONLY | |
RELATION_FLAG_GODMODE | |
RELATION_CHECK_BEFORE_ADD |
Definition at line 18 of file depsgraph_relation.h.
|
strong |
Enumerator | |
---|---|
ENTRY | |
EXIT |
Definition at line 27 of file deg_builder_rna.h.
ListBase * blender::deg::build_collision_relations | ( | Depsgraph * | graph, |
Collection * | collection, | ||
unsigned int | modifier_type | ||
) |
Definition at line 181 of file depsgraph_physics.cc.
References BKE_collision_relations_create(), depsgraph, graph, hash, modifier_to_relation_type(), object_id_safe(), blender::deg::Depsgraph::physics_relations, and type.
Referenced by blender::deg::DepsgraphRelationBuilder::add_particle_collision_relations(), and DEG_add_collision_relations().
ListBase * blender::deg::build_effector_relations | ( | Depsgraph * | graph, |
Collection * | collection | ||
) |
Definition at line 163 of file depsgraph_physics.cc.
References BKE_effector_relations_create(), DEG_PHYSICS_EFFECTOR, depsgraph, graph, hash, object_id_safe(), blender::deg::Depsgraph::physics_relations, and blender::deg::Depsgraph::view_layer.
Referenced by blender::deg::DepsgraphRelationBuilder::add_particle_forcefield_relations(), blender::deg::DepsgraphRelationBuilder::build_rigidbody(), and DEG_add_forcefield_relations().
|
static |
Definition at line 652 of file deg_builder_nodes.cc.
References BLI_assert, blender::deg::DepsgraphNodeBuilder::build_id(), IDProperty::data, IDP_ID, IDPropertyData::pointer, IDProperty::type, and user_data.
Referenced by blender::deg::DepsgraphNodeBuilder::build_idproperties(), and blender::deg::DepsgraphRelationBuilder::build_idproperties().
|
static |
Definition at line 602 of file deg_builder_relations.cc.
References BLI_assert, blender::deg::DepsgraphRelationBuilder::build_id(), IDProperty::data, IDP_ID, IDPropertyData::pointer, IDProperty::type, and user_data.
|
static |
Definition at line 127 of file depsgraph.cc.
References deg_copy_on_write_is_expanded(), blender::deg::IDNode::destroy(), filter(), GS, blender::deg::IDNode::id_cow, id_node, blender::deg::IDNode::id_orig, and ID::name.
Referenced by blender::deg::Depsgraph::clear_id_nodes().
Definition at line 202 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, graph, hash, blender::deg::Depsgraph::physics_relations, and type.
Referenced by blender::deg::Depsgraph::clear_id_nodes().
string blender::deg::color_end | ( | ) |
Definition at line 76 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().
string blender::deg::color_for_pointer | ( | const void * | pointer | ) |
Definition at line 64 of file deg_debug.cc.
References usdtokens::b(), BLI_hash_pointer_to_color(), BLI_snprintf(), buffer, usdtokens::g(), r, 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().
Definition at line 48 of file deg_builder.cc.
References Base::base_orig, blender::deg::Depsgraph::find_id_node(), graph, blender::deg::IDNode::has_base, Object::id, id_node, and Base::object.
Definition at line 42 of file deg_builder.cc.
References blender::deg::Depsgraph::find_id_node(), graph, and 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 | ( | Audio | ) |
blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Cache | ) |
blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | CopyOnWrite | ) |
blender::deg::DEG_COMPONENT_NODE_DECLARE_GENERIC | ( | Dupli | ) |
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 | ( | LayerCollections | ) |
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 | ( | 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 | ( | 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 | |||
) |
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 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Bone | , |
BONE | , | ||
ID_RECALC_GEOMETRY | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Cache | , |
CACHE | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | CopyOnWrite | , |
COPY_ON_WRITE | , | ||
ID_RECALC_COPY_ON_WRITE | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Dupli | , |
DUPLI | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | GenericDatablock | , |
GENERIC_DATABLOCK | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Geometry | , |
GEOMETRY | , | ||
ID_RECALC_GEOMETRY | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | ImageAnimation | , |
IMAGE_ANIMATION | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | LayerCollections | , |
LAYER_COLLECTIONS | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | NTreeOutput | , |
NTREE_OUTPUT | , | ||
ID_RECALC_NTREE_OUTPUT | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | ObjectFromLayer | , |
OBJECT_FROM_LAYER | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Parameters | , |
PARAMETERS | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Particles | , |
PARTICLE_SYSTEM | , | ||
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 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Sequencer | , |
SEQUENCER | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Shading | , |
SHADING | , | ||
ID_RECALC_SHADING | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Simulation | , |
SIMULATION | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Synchronization | , |
SYNCHRONIZATION | , | ||
0 | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Transform | , |
TRANSFORM | , | ||
ID_RECALC_TRANSFORM | |||
) |
blender::deg::DEG_COMPONENT_NODE_DEFINE | ( | Visibility | , |
VISIBILITY | , | ||
0 | |||
) |
Definition at line 1062 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(), and blender::deg::RuntimeBackup::init_from_id().
Check whether ID data-block is expanded.
TODO(sergey): Make it an inline function or a macro.
Check whether copy-on-write data-block 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 1067 of file deg_eval_copy_on_write.cc.
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_variables(), blender::deg::DepsgraphNodeBuilder::build_id(), blender::deg::DepsgraphRelationBuilder::build_id(), deg_update_copy_on_write_datablock(), and blender::deg::IDNode::init_copy_on_write().
Definition at line 1073 of file deg_eval_copy_on_write.cc.
References ID_TYPE_IS_COW.
|
static |
Definition at line 467 of file deg_debug_relations_graphviz.cc.
References deg_debug_graphviz_node(), blender::deg::Depsgraph::find_time_source(), graph, blender::deg::Depsgraph::id_nodes, and node.
Referenced by DEG_debug_relations_graphviz().
|
static |
Definition at line 478 of file deg_debug_relations_graphviz.cc.
References blender::deg::IDNode::components, deg_debug_graphviz_node_relations(), blender::deg::Depsgraph::find_time_source(), graph, id_node, and blender::deg::Depsgraph::id_nodes.
Referenced by DEG_debug_relations_graphviz().
|
static |
Definition at line 160 of file deg_debug_relations_graphviz.cc.
References blender::dot::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::Graph::new_node(), blender::dot::Attributes::set(), and type_get_factory().
Referenced by DEG_debug_relations_graphviz().
|
static |
Definition at line 149 of file deg_debug_relations_graphviz.cc.
References color.
Referenced by deg_debug_graphviz_legend().
|
static |
Definition at line 369 of file deg_debug_relations_graphviz.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BONE, CACHE, blender::deg::IDNode::components, COPY_ON_WRITE, deg_debug_graphviz_node_cluster_create(), deg_debug_graphviz_node_single(), DUPLI, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, id_node, ID_REF, IMAGE_ANIMATION, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), LAYER_COLLECTIONS, node, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, blender::deg::ComponentNode::operations, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SEQUENCER, SHADING, SIMULATION, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, blender::deg::Node::type, UNDEFINED, and VISIBILITY.
Referenced by deg_debug_graphviz_graph_nodes().
|
static |
Definition at line 342 of file deg_debug_relations_graphviz.cc.
References blender::dot::Cluster::attributes, blender::dot::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::OperationNode::identifier(), blender::dot::Graph::new_cluster(), blender::dot::Graph::new_node(), node, blender::deg::DotExportContext::nodes_map, blender::dot::Attributes::set(), blender::dot::Node::set_parent_cluster(), and blender::dot::Cluster::set_parent_cluster().
Referenced by deg_debug_graphviz_node().
|
static |
Definition at line 196 of file deg_debug_relations_graphviz.cc.
References color, DEPSOP_FLAG_DIRECTLY_MODIFIED, DEPSOP_FLAG_NEEDS_UPDATE, blender::deg::OperationNode::flag, blender::deg::Node::get_class(), node, OPERATION, blender::dot::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(), node, and blender::dot::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(), node, OPERATION, blender::dot::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 434 of file deg_debug_relations_graphviz.cc.
References blender::deg::DotExportContext::clusters_map, blender::dot::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::dot::Cluster::name(), blender::deg::Relation::name, blender::dot::DirectedGraph::new_edge(), node, blender::deg::DotExportContext::nodes_map, and blender::deg::Relation::to.
Referenced by deg_debug_graphviz_graph_relations().
|
static |
Definition at line 323 of file deg_debug_relations_graphviz.cc.
References blender::dot::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::OperationNode::identifier(), blender::dot::Graph::new_node(), node, blender::deg::DotExportContext::nodes_map, blender::dot::Attributes::set(), and blender::dot::Node::set_parent_cluster().
Referenced by deg_debug_graphviz_node().
|
static |
Definition at line 297 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(), node, OPERATION, blender::dot::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 280 of file deg_debug_relations_graphviz.cc.
References COPY_ON_WRITE, blender::deg::Relation::from, blender::deg::Node::get_class(), OPERATION, blender::deg::OperationNode::owner, blender::deg::Relation::to, and blender::deg::Node::type.
Referenced by deg_debug_graphviz_node_relations().
|
static |
Definition at line 250 of file deg_debug_relations_graphviz.cc.
References color, blender::deg::Relation::flag, RELATION_FLAG_CYCLIC, and RELATION_FLAG_GODMODE.
Referenced by deg_debug_graphviz_node_relations().
|
static |
Definition at line 265 of file deg_debug_relations_graphviz.cc.
References blender::deg::Relation::flag, RELATION_FLAG_FLUSH_USER_EDIT_ONLY, and RELATION_FLAG_NO_FLUSH.
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(), node, OPERATION, and blender::deg::Node::type.
Referenced by deg_debug_graphviz_node_fillcolor().
blender::deg::DEG_DEPSNODE_DEFINE | ( | IDNode | , |
NodeType::ID_REF | , | ||
"ID Node" | |||
) |
blender::deg::DEG_DEPSNODE_DEFINE | ( | OperationNode | , |
NodeType::OPERATION | , | ||
"Operation" | |||
) |
blender::deg::DEG_DEPSNODE_DEFINE | ( | TimeSourceNode | , |
NodeType::TIMESOURCE | , | ||
"Time Source" | |||
) |
void blender::deg::deg_editors_id_update | ( | const DEGEditorUpdateContext * | update_ctx, |
ID * | id | ||
) |
Definition at line 21 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 28 of file depsgraph_update.cc.
References deg_editor_update_scene_cb.
Referenced by DEG_editors_update().
Definition at line 21 of file deg_eval_stats.cc.
References blender::deg::IDNode::components, blender::deg::Node::Stats::current_time, graph, id_node, blender::deg::Depsgraph::id_nodes, node, 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_copy_on_write | ( | struct ::Depsgraph * | depsgraph, |
const struct IDNode * | id_node | ||
) |
Callback function for depsgraph operation node which ensures copy-on-write data-block is ready for use by further evaluation routines.
void blender::deg::deg_evaluate_copy_on_write | ( | struct ::Depsgraph * | graph, |
const IDNode * | id_node | ||
) |
Definition at line 1028 of file deg_eval_copy_on_write.cc.
References DEG_debug_print_eval(), deg_update_copy_on_write_datablock(), depsgraph, graph, Scene::id, blender::deg::IDNode::id_cow, id_node, blender::deg::IDNode::id_orig, ID::name, and blender::deg::Depsgraph::scene.
Referenced by blender::deg::DepsgraphNodeBuilder::add_id_node().
void blender::deg::deg_evaluate_object_node_visibility | ( | ::Depsgraph * | depsgraph, |
IDNode * | id_node | ||
) |
Definition at line 27 of file deg_eval_visibility.cc.
References BASE_ENABLED_RENDER, BASE_ENABLED_VIEWPORT, BLI_assert, DAG_EVAL_VIEWPORT, DEG_debug_print_eval(), depsgraph, graph, GS, Object::id, blender::deg::IDNode::id_cow, id_node, ID_OB, blender::deg::IDNode::is_enabled_on_eval, blender::deg::Depsgraph::mode, ID::name, and blender::deg::Depsgraph::need_update_nodes_visibility.
Referenced by blender::deg::DepsgraphNodeBuilder::add_id_node().
Evaluate all nodes tagged for updating,
Definition at line 394 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, graph, blender::deg::Depsgraph::has_animated_visibility, blender::deg::Depsgraph::is_evaluating, state, and task_pool.
Referenced by deg_flush_updates_and_refresh().
Free content of the CoW data-block. Notes:
Helper function which frees memory used by copy-on-written data-block.
Definition at line 996 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, Object::sculpt, and type.
Referenced by deg_update_copy_on_write_datablock(), blender::deg::IDNode::destroy(), and blender::deg::DepsgraphNodeBuilder::~DepsgraphNodeBuilder().
Definition at line 136 of file deg_builder.cc.
References blender::deg::IDNode::customdata_masks, deg_copy_on_write_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(), graph, graph_id_tag_update(), GS, blender::deg::IDNode::id_cow, id_node, blender::deg::Depsgraph::id_nodes, ID_OB, blender::deg::IDNode::id_orig, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, ID::name, blender::deg::IDNode::previous_customdata_masks, blender::deg::IDNode::previous_eval_flags, and ID::recalc.
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
Clear tags from all operation nodes.
Definition at line 379 of file deg_eval_flush.cc.
References blender::deg::Depsgraph::entry_tags, graph, blender::deg::TimeSourceNode::tagged_for_update, and blender::deg::Depsgraph::time_source.
Referenced by deg_evaluate_on_refresh().
Definition at line 204 of file deg_builder_cycle.cc.
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
Flush updates from tagged nodes outwards until all affected nodes are tagged.
Definition at line 333 of file deg_eval_flush.cc.
References BLI_assert, DEGEditorUpdateContext::bmain, blender::deg::Depsgraph::bmain, DEGEditorUpdateContext::depsgraph, DEPSOP_FLAG_NEEDS_UPDATE, blender::deg::Depsgraph::entry_tags, blender::deg::OperationNode::flag, blender::deg::TimeSourceNode::flush_update_tag(), graph, id_node, blender::deg::ComponentNode::owner, blender::deg::OperationNode::owner, queue, DEGEditorUpdateContext::scene, blender::deg::Depsgraph::scene, blender::deg::Depsgraph::time_source, DEGEditorUpdateContext::view_layer, and blender::deg::Depsgraph::view_layer.
Referenced by deg_flush_updates_and_refresh().
Definition at line 50 of file deg_eval_visibility.cc.
References blender::deg::ComponentNode::affects_visible_id, BLI_assert, BLI_stack_free(), BLI_stack_is_empty(), BLI_stack_new, BLI_stack_pop(), BLI_stack_push(), blender::deg::IDNode::components, blender::deg::Node::custom_flags, DEPSOP_FLAG_AFFECTS_VISIBILITY, blender::deg::Relation::flag, blender::deg::OperationNode::flag, blender::deg::Relation::from, graph, id_node, blender::deg::Depsgraph::id_nodes, if(), blender::deg::Node::inlinks, 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::deg::ComponentNode::possibly_affects_visible_id, RELATION_FLAG_CYCLIC, 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().
Definition at line 166 of file deg_eval_visibility.cc.
References deg_graph_flush_visibility_flags(), graph, and blender::deg::Depsgraph::need_update_nodes_visibility.
Referenced by deg_evaluate_on_refresh().
Definition at line 33 of file deg_builder_remove_noop.cc.
References DEG_DEBUG_PRINTF, blender::deg::Relation::from, blender::deg::Node::get_exit_operation(), graph, blender::deg::Node::inlinks, blender::Vector< T, InlineBufferCapacity, Allocator >::is_empty(), is_unused_noop(), node, blender::deg::Depsgraph::operations, queue, and blender::deg::Relation::unlink().
Referenced by deg_graph_build_finalize().
Definition at line 42 of file deg_builder_transitive.cc.
References blender::deg::Node::custom_flags, blender::deg::Relation::from, blender::deg::Node::inlinks, node, OP_REACHABLE, and OP_VISITED.
Referenced by deg_graph_transitive_reduction().
Definition at line 56 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, graph, blender::deg::Node::inlinks, node, 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 322 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 347 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 257 of file deg_node_operation.cc.
References DNTI_OPERATION, and register_node_typeinfo().
Referenced by DEG_register_node_types().
Definition at line 1052 of file deg_eval_copy_on_write.cc.
References BLI_assert, LIB_TAG_COPIED_ON_WRITE, LIB_TAG_LOCALIZED, ID::orig_id, and ID::tag.
Referenced by blender::deg::IDNode::init_copy_on_write().
Tag given ID block as being copy-on-written.
ID* blender::deg::deg_update_copy_on_write_datablock | ( | const Depsgraph * | depsgraph, |
const IDNode * | id_node | ||
) |
Definition at line 859 of file deg_eval_copy_on_write.cc.
References backup, BKE_gpencil_can_avoid_full_copy_on_write(), BKE_gpencil_update_on_write(), BKE_object_data_is_in_editmode(), deg_copy_on_write_is_needed(), deg_free_copy_on_write_datablock(), depsgraph, GS, blender::deg::IDNode::id_cow, ID_GD, id_node, blender::deg::IDNode::id_orig, blender::deg::AnimationBackup::init_from_id(), blender::deg::IDNode::is_cow_explicitly_tagged, ID::name, OB_DATA_SUPPORT_EDITMODE, and blender::deg::AnimationBackup::restore_to_id().
Referenced by deg_evaluate_copy_on_write(), and deg_update_copy_on_write_datablock().
Definition at line 910 of file deg_eval_copy_on_write.cc.
References BLI_assert, deg_update_copy_on_write_datablock(), depsgraph, blender::deg::Depsgraph::find_id_node(), and id_node.
ID* blender::deg::deg_update_copy_on_write_datablock | ( | const struct Depsgraph * | depsgraph, |
const IDNode * | id_node | ||
) |
Makes sure given CoW data-block is brought back to state of the original data-block.
ID* blender::deg::deg_update_copy_on_write_datablock | ( | const struct Depsgraph * | depsgraph, |
struct ID * | id_orig | ||
) |
Check that given ID is properly expanded and does not have any shallow copies inside.
Definition at line 1040 of file deg_eval_copy_on_write.cc.
References BKE_library_foreach_ID_link(), data, and IDWALK_NOP.
|
static |
Definition at line 438 of file deg_builder_nodes.cc.
References blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(), LibraryIDLinkCallbackData::id_pointer, LibraryIDLinkCallbackData::id_self, IDWALK_RET_NOP, and LibraryIDLinkCallbackData::user_data.
Referenced by blender::deg::DepsgraphNodeBuilder::update_invalid_cow_pointers().
Definition at line 568 of file depsgraph_tag.cc.
References EVAL_POSE, GEOMETRY, GS, id, ID_CU_LEGACY, ID_CV, ID_GD, 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_GPENCIL, OB_LATTICE, OB_MBALL, OB_MESH, OB_POINTCLOUD, OB_SURF, OB_VOLUME, PARAMETERS, Object::type, and UNDEFINED.
Referenced by blender::deg::DepsgraphRelationBuilder::build_collection(), and DEG_object_has_geometry_component().
Definition at line 42 of file depsgraph_registry.cc.
References get_graph_registry(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr().
Referenced by DEG_id_type_tag(), DEG_relations_tag_update(), DEG_tag_on_visible_update(), DEG_time_tag_update(), and id_tag_update().
|
static |
Definition at line 56 of file depsgraph_query.cc.
References blender::deg::Depsgraph::find_id_node(), id, blender::deg::IDNode::id_cow, and id_node.
Referenced by get_evaluated_id().
Definition at line 71 of file depsgraph_query.cc.
References get_evaluated_id(), and id.
Referenced by DEG_get_evaluated_id().
|
static |
Definition at line 17 of file depsgraph_registry.cc.
Referenced by get_all_registered_graphs(), register_graph(), and unregister_graph().
Definition at line 38 of file depsgraph_query.cc.
References BLI_assert, id, LIB_TAG_COPIED_ON_WRITE, ID::orig_id, and ID::tag.
Referenced by get_original_id().
Definition at line 50 of file depsgraph_query.cc.
References get_original_id(), and id.
Referenced by DEG_get_eval_flags_for_id(), and DEG_get_original_id().
void blender::deg::graph_id_tag_update | ( | Main * | bmain, |
Depsgraph * | graph, | ||
ID * | id, | ||
int | flag, | ||
eUpdateSource | update_source | ||
) |
Definition at line 629 of file depsgraph_tag.cc.
References bitscan_forward_clear_i(), 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, graph, GS, id, blender::deg::IDNode::id_cow, id_node, ID_RECALC_POINT_CACHE, ID_RECALC_SHADING, if(), blender::deg::Depsgraph::is_evaluating, ID::name, and ID::recalc.
Referenced by deg_graph_build_finalize(), DEG_graph_id_tag_update(), blender::deg::DepsgraphNodeBuilder::foreach_id_cow_detect_need_for_update_callback(), graph_tag_ids_for_visible_update(), and id_tag_update().
Definition at line 503 of file depsgraph_tag.cc.
References BKE_animdata_from_id(), blender::deg::Depsgraph::bmain, deg_copy_on_write_is_expanded(), DEG_UPDATE_SOURCE_VISIBILITY, graph, graph_id_tag_update(), GS, blender::deg::IDNode::id_cow, id_node, blender::deg::Depsgraph::id_nodes, ID_OB, blender::deg::IDNode::id_orig, ID_RECALC_ANIMATION, ID_RECALC_COPY_ON_WRITE, ID_RECALC_GEOMETRY, ID_RECALC_TRANSFORM, ID_SCE, 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, | ||
int | flag, | ||
eUpdateSource | update_source | ||
) |
Definition at line 617 of file depsgraph_tag.cc.
References depsgraph, get_all_registered_graphs(), and graph_id_tag_update().
Referenced by DEG_id_tag_update_ex().
Definition at line 105 of file deg_builder_relations_drivers.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), from, blender::deg::Relation::from, blender::deg::Node::inlinks, and queue.
Referenced by blender::deg::DepsgraphRelationBuilder::build_driver_relations().
|
inlinestatic |
Definition at line 22 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 30 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 25 of file deg_node.cc.
References BLI_assert_msg, COMPONENT, GENERIC, and OPERATION.
const char * blender::deg::nodeTypeAsString | ( | NodeType | type | ) |
Definition at line 39 of file deg_node.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BLI_assert_msg, BONE, CACHE, COPY_ON_WRITE, DUPLI, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, ID_REF, IMAGE_ANIMATION, LAYER_COLLECTIONS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SEQUENCER, SHADING, SIMULATION, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, type, UNDEFINED, and VISIBILITY.
Referenced by blender::deg::ComponentKey::identifier(), blender::deg::OperationKey::identifier(), blender::deg::Node::identifier(), and blender::deg::IDNode::identifier().
NodeType blender::deg::nodeTypeFromObjectComponent | ( | eDepsObjectComponentType | component_type | ) |
Definition at line 171 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, component(), 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 196 of file deg_node.cc.
References ANIMATION, ARMATURE, AUDIO, BATCH_CACHE, BLI_assert_msg, BONE, CACHE, COPY_ON_WRITE, 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, DUPLI, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, ID_REF, IMAGE_ANIMATION, LAYER_COLLECTIONS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SEQUENCER, SHADING, SIMULATION, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, type, 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_WRITE, DEG_SCENE_COMP_ANIMATION, DEG_SCENE_COMP_PARAMETERS, DEG_SCENE_COMP_SEQUENCER, DUPLI, EVAL_POSE, GENERIC_DATABLOCK, GEOMETRY, ID_REF, IMAGE_ANIMATION, LAYER_COLLECTIONS, NTREE_OUTPUT, NUM_TYPES, OBJECT_FROM_LAYER, OPERATION, PARAMETERS, PARTICLE_SETTINGS, PARTICLE_SYSTEM, POINT_CACHE, SEQUENCER, SHADING, SIMULATION, SYNCHRONIZATION, TIMESOURCE, TRANSFORM, type, UNDEFINED, and VISIBILITY.
const char * blender::deg::operationCodeAsString | ( | OperationCode | opcode | ) |
Definition at line 21 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_WRITE, DIMENSIONS, DRIVER, DUPLI, FILE_CACHE_UPDATE, GENERIC_DATABLOCK_UPDATE, GEOMETRY_EVAL, GEOMETRY_EVAL_DONE, GEOMETRY_EVAL_INIT, GEOMETRY_SELECT_UPDATE, GEOMETRY_SHAPEKEY, ID_PROPERTY, IMAGE_ANIMATION, LIGHT_PROBE_EVAL, LIGHT_UPDATE, MASK_ANIMATION, MASK_EVAL, MATERIAL_UPDATE, MOVIECLIP_EVAL, MOVIECLIP_SELECT_UPDATE, 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, SIMULATION_EVAL, 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 55 of file deg_builder_cache.cc.
Definition at line 23 of file depsgraph_registry.cc.
References blender::deg::Depsgraph::bmain, depsgraph, get_graph_registry(), and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add_default().
Referenced by DEG_graph_new(), and DEG_graph_replace_owners().
void blender::deg::register_node_typeinfo | ( | DepsNodeFactory * | factory | ) |
Definition at line 15 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 394 of file deg_builder_rna.cc.
References ptr, RNA_property_is_idprop(), RNA_struct_is_a(), and PointerRNA::type.
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().
Definition at line 2952 of file deg_builder_relations.cc.
References AUDIO, BKE_view_layer_default_render(), Sequence::flag, Scene::id, bSound::id, Sequence::prop, Sequence::scene, SEQ_SCENE_STRIPS, SEQ_TYPE_SCENE, SEQUENCER, Sequence::sound, Sequence::type, and user_data.
Referenced by blender::deg::DepsgraphRelationBuilder::build_scene_sequencer().
Definition at line 25 of file deg_eval_runtime_backup_sequencer.cc.
References BLI_assert, BLI_session_uuid_is_generated(), blender::deg::SequencerBackup::depsgraph, blender::deg::SequenceBackup::init_from_sequence(), blender::deg::SequenceBackup::isEmpty(), Sequence::runtime, blender::deg::SequencerBackup::sequences_backup, SequenceRuntime::session_uuid, and user_data.
Referenced by blender::deg::SequencerBackup::init_from_scene().
Definition at line 2021 of file deg_builder_nodes.cc.
References BKE_view_layer_default_render(), blender::deg::DepsgraphNodeBuilder::build_idproperties(), blender::deg::DepsgraphNodeBuilder::build_scene_parameters(), blender::deg::DepsgraphNodeBuilder::build_scene_sequencer(), blender::deg::DepsgraphNodeBuilder::build_scene_speakers(), blender::deg::DepsgraphNodeBuilder::build_sound(), Sequence::flag, Sequence::prop, Sequence::scene, SEQ_SCENE_STRIPS, SEQ_TYPE_SCENE, Sequence::sound, Sequence::type, and user_data.
Referenced by blender::deg::DepsgraphNodeBuilder::build_scene_sequencer().
Definition at line 45 of file deg_eval_runtime_backup_sequencer.cc.
References BLI_assert, BLI_session_uuid_is_generated(), blender::deg::SequenceBackup::restore_to_sequence(), Sequence::runtime, blender::deg::SequencerBackup::sequences_backup, SequenceRuntime::session_uuid, and user_data.
Referenced by blender::deg::SequencerBackup::restore_to_scene().
bool blender::deg::terminal_do_color | ( | ) |
Definition at line 59 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 22 of file deg_node_factory.cc.
References node_typeinfo_registry, and type.
Referenced by blender::deg::IDNode::add_component(), blender::deg::Depsgraph::add_id_node(), blender::deg::ComponentNode::add_operation(), blender::deg::Depsgraph::add_time_source(), and deg_debug_graphviz_legend().
Definition at line 29 of file depsgraph_registry.cc.
References blender::deg::Depsgraph::bmain, depsgraph, get_graph_registry(), blender::VectorSet< Key, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::is_empty(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::remove(), and blender::VectorSet< Key, 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_graphviz_legend(), deg_debug_graphviz_node_cluster_create(), deg_debug_graphviz_node_single(), and DEG_debug_relations_graphviz().
|
static |
Definition at line 43 of file deg_debug_relations_graphviz.cc.
Referenced by DEG_debug_relations_graphviz().
|
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 18 of file depsgraph_update.cc.
Referenced by deg_editors_id_update(), and DEG_editors_set_update_cb().
|
static |
Definition at line 19 of file depsgraph_update.cc.
Referenced by deg_editors_scene_update(), and DEG_editors_set_update_cb().
|
static |
Definition at line 320 of file deg_node.cc.
Referenced by deg_register_base_depsnodes().
|
static |
Definition at line 255 of file deg_node_operation.cc.
Referenced by deg_register_operation_depsnodes().
|
static |
Definition at line 317 of file deg_node.cc.
Referenced by deg_register_base_depsnodes().
bool blender::deg::has_audio_strips |
Definition at line 2949 of file deg_builder_relations.cc.
|
constexpr |
Definition at line 24 of file deg_builder_stack.cc.
|
constexpr |
Definition at line 28 of file deg_builder_stack.cc.
Referenced by blender::deg::BuilderStack::print_backtrace().
|
constexpr |
Definition at line 29 of file deg_builder_stack.cc.
Referenced by blender::deg::BuilderStack::print_backtrace().
|
static |
Definition at line 13 of file deg_node_factory.cc.
Referenced by register_node_typeinfo(), and type_get_factory().
ComponentKey blender::deg::sequencer_key |
Definition at line 2948 of file deg_builder_relations.cc.
Referenced by blender::deg::DepsgraphRelationBuilder::build_scene_sequencer().