|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | DEG_debug_flags_set (Depsgraph *depsgraph, int flags) |
| int | DEG_debug_flags_get (const Depsgraph *depsgraph) |
| void | DEG_debug_name_set (Depsgraph *depsgraph, const char *name) |
| const char * | DEG_debug_name_get (Depsgraph *depsgraph) |
| void | DEG_stats_simple (const Depsgraph *graph, size_t *r_outer, size_t *r_operations, size_t *r_relations) |
| std::string | DEG_debug_graph_to_dot (const Depsgraph &graph, blender::StringRef label) |
| void | DEG_debug_stats_gnuplot (const Depsgraph *graph, FILE *fp, const char *label, const char *output_filename) |
| bool | DEG_debug_compare (const Depsgraph *graph1, const Depsgraph *graph2) |
| bool | DEG_debug_graph_relations_validate (Depsgraph *graph, Main *bmain, Scene *scene, ViewLayer *view_layer) |
| bool | DEG_debug_consistency_check (Depsgraph *graph) |
Public API for Querying and Filtering Depsgraph
Definition in file DEG_depsgraph_debug.hh.
| bool DEG_debug_compare | ( | const Depsgraph * | graph1, |
| const Depsgraph * | graph2 ) |
Compare two dependency graphs.
Definition at line 56 of file depsgraph_debug.cc.
References BLI_assert, blender::deg::Depsgraph::operations, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by DEG_debug_graph_relations_validate().
| bool DEG_debug_consistency_check | ( | Depsgraph * | graph | ) |
Perform consistency check on the graph.
Definition at line 91 of file depsgraph_debug.cc.
References BLI_assert, graph, blender::deg::Depsgraph::operations, and printf.
Referenced by blender::deg::AbstractBuilderPipeline::build_step_finalize().
| int DEG_debug_flags_get | ( | const Depsgraph * | depsgraph | ) |
Definition at line 38 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::flags.
Referenced by DEG_debug_print_eval(), DEG_debug_print_eval_parent_typed(), DEG_debug_print_eval_subdata(), DEG_debug_print_eval_subdata_index(), DEG_debug_print_eval_time(), and blender::deg::graph_id_tag_update().
| void DEG_debug_flags_set | ( | Depsgraph * | depsgraph, |
| int | flags ) |
Definition at line 32 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::flags.
| bool DEG_debug_graph_relations_validate | ( | Depsgraph * | graph, |
| Main * | bmain, | ||
| Scene * | scene, | ||
| ViewLayer * | view_layer ) |
Check that dependencies in the graph are really up to date.
Definition at line 74 of file depsgraph_debug.cc.
References BLI_assert_msg, DEG_debug_compare(), DEG_get_mode(), DEG_graph_build_from_view_layer(), DEG_graph_free(), and DEG_graph_new().
| std::string DEG_debug_graph_to_dot | ( | const Depsgraph & | graph, |
| blender::StringRef | label ) |
Definition at line 505 of file deg_debug_relations_graphviz.cc.
References blender::dot::Graph::attributes, blender::deg::deg_debug_graphviz_fontname, blender::deg::deg_debug_graphviz_graph_label_size, blender::deg::deg_debug_graphviz_graph_nodes(), blender::deg::deg_debug_graphviz_graph_relations(), blender::deg::deg_debug_graphviz_legend(), graph, label, blender::dot::Attributes::set(), blender::dot::Graph::set_rankdir(), and blender::dot::DirectedGraph::to_dot_string().
| const char * DEG_debug_name_get | ( | Depsgraph * | depsgraph | ) |
Definition at line 50 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::name.
Referenced by depsgraph_name_for_logging().
| void DEG_debug_name_set | ( | Depsgraph * | depsgraph, |
| const char * | name ) |
Definition at line 44 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::debug, depsgraph, and blender::deg::DepsgraphDebug::name.
Referenced by blender::ed::space_node::compo_initjob(), engine_depsgraph_init(), render_init_depsgraph(), scene_ensure_depsgraph_p(), and seq_prefetch_init_depsgraph().
| void DEG_debug_stats_gnuplot | ( | const Depsgraph * | graph, |
| FILE * | fp, | ||
| const char * | label, | ||
| const char * | output_filename ) |
Definition at line 138 of file deg_debug_stats_gnuplot.cc.
References depsgraph, label, and output_filename.
| void DEG_stats_simple | ( | const Depsgraph * | graph, |
| size_t * | r_outer, | ||
| size_t * | r_operations, | ||
| size_t * | r_relations ) |
Obtain simple statistics about the complexity of the depsgraph.
| [out] | r_outer | The number of outer nodes in the graph. |
| [out] | r_operations | The number of operation nodes in the graph. |
| [out] | r_relations | The number of relations between (executable) nodes in the graph. |
Definition at line 184 of file depsgraph_debug.cc.
References blender::deg::Depsgraph::find_time_source(), graph, id_node, blender::deg::Depsgraph::id_nodes, blender::deg::Node::inlinks, blender::deg::Depsgraph::operations, and blender::Vector< T, InlineBufferCapacity, Allocator >::size().