Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/DEG_depsgraph_debug.h
| Show All 35 Lines | |||||
| #include <stdio.h> | #include <stdio.h> | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| struct Depsgraph; | struct Depsgraph; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneLayer; | struct ViewLayer; | ||||
| /* ------------------------------------------------ */ | /* ------------------------------------------------ */ | ||||
| void DEG_stats_simple(const struct Depsgraph *graph, | void DEG_stats_simple(const struct Depsgraph *graph, | ||||
| size_t *r_outer, | size_t *r_outer, | ||||
| size_t *r_operations, | size_t *r_operations, | ||||
| size_t *r_relations); | size_t *r_relations); | ||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| /* Diagram-Based Graph Debugging */ | /* Diagram-Based Graph Debugging */ | ||||
| void DEG_debug_graphviz(const struct Depsgraph *graph, FILE *stream, const char *label, bool show_eval); | void DEG_debug_graphviz(const struct Depsgraph *graph, FILE *stream, const char *label, bool show_eval); | ||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| /* Compare two dependency graphs. */ | /* Compare two dependency graphs. */ | ||||
| bool DEG_debug_compare(const struct Depsgraph *graph1, | bool DEG_debug_compare(const struct Depsgraph *graph1, | ||||
| const struct Depsgraph *graph2); | const struct Depsgraph *graph2); | ||||
| /* Check that dependnecies in the graph are really up to date. */ | /* Check that dependnecies in the graph are really up to date. */ | ||||
| bool DEG_debug_graph_relations_validate(struct Depsgraph *graph, | bool DEG_debug_graph_relations_validate(struct Depsgraph *graph, | ||||
| struct Main *bmain, | struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct SceneLayer *scene_layer); | struct ViewLayer *view_layer); | ||||
| /* Perform consistency check on the graph. */ | /* Perform consistency check on the graph. */ | ||||
| bool DEG_debug_consistency_check(struct Depsgraph *graph); | bool DEG_debug_consistency_check(struct Depsgraph *graph); | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } /* extern "C" */ | } /* extern "C" */ | ||||
| #endif | #endif | ||||
| #endif /* __DEG_DEPSGRAPH_DEBUG_H__ */ | #endif /* __DEG_DEPSGRAPH_DEBUG_H__ */ | ||||