Changeset View
Changeset View
Standalone View
Standalone View
source/blender/depsgraph/intern/depsgraph.cc
| Show First 20 Lines • Show All 690 Lines • ▼ Show 20 Lines | fprintf(stdout, | ||||
| DEG::deg_color_end().c_str()); | DEG::deg_color_end().c_str()); | ||||
| fflush(stdout); | fflush(stdout); | ||||
| } | } | ||||
| void DEG_debug_print_eval_parent_typed(struct Depsgraph *depsgraph, | void DEG_debug_print_eval_parent_typed(struct Depsgraph *depsgraph, | ||||
| const char *function_name, | const char *function_name, | ||||
| const char *object_name, | const char *object_name, | ||||
| const void *object_address, | const void *object_address, | ||||
| const char *object_type, | |||||
| const char *parent_comment, | const char *parent_comment, | ||||
| const char *parent_name, | const char *parent_name, | ||||
| const void *parent_address, | const void *parent_address) | ||||
| const char *parent_type) | |||||
| { | { | ||||
| if ((DEG_debug_flags_get(depsgraph) & G_DEBUG_DEPSGRAPH_EVAL) == 0) { | if ((DEG_debug_flags_get(depsgraph) & G_DEBUG_DEPSGRAPH_EVAL) == 0) { | ||||
| return; | return; | ||||
| } | } | ||||
| fprintf(stdout, | fprintf(stdout, | ||||
| "%s%s on %s %s(%p)%s [%s] %s %s %s(%p)%s %s\n", | "%s%s on %s %s(%p) [%s] %s %s %s(%p)%s\n", | ||||
| depsgraph_name_for_logging(depsgraph).c_str(), | depsgraph_name_for_logging(depsgraph).c_str(), | ||||
| function_name, | function_name, | ||||
| object_name, | object_name, | ||||
| DEG::deg_color_for_pointer(object_address).c_str(), | DEG::deg_color_for_pointer(object_address).c_str(), | ||||
| object_address, | object_address, | ||||
| object_type, | |||||
| DEG::deg_color_end().c_str(), | DEG::deg_color_end().c_str(), | ||||
| parent_comment, | parent_comment, | ||||
| parent_name, | parent_name, | ||||
| DEG::deg_color_for_pointer(parent_address).c_str(), | DEG::deg_color_for_pointer(parent_address).c_str(), | ||||
| parent_address, | parent_address, | ||||
| DEG::deg_color_end().c_str(), | DEG::deg_color_end().c_str()); | ||||
| parent_type); | |||||
| fflush(stdout); | fflush(stdout); | ||||
| } | } | ||||
| void DEG_debug_print_eval_time(struct Depsgraph *depsgraph, | void DEG_debug_print_eval_time(struct Depsgraph *depsgraph, | ||||
| const char *function_name, | const char *function_name, | ||||
| const char *object_name, | const char *object_name, | ||||
| const void *object_address, | const void *object_address, | ||||
| float time) | float time) | ||||
| Show All 15 Lines | |||||