diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-02 15:55:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-02 18:09:44 +0300 |
commit | b6aa8a71fd8b12306ced2281805d70a24a6fc288 (patch) | |
tree | f4f5806e7cd0453cfd939603e6a2b626c753228b /source/blender/depsgraph/DEG_depsgraph.h | |
parent | 651a2559318a5e8f3546286a207a5766e33feebe (diff) |
Depsgraph: Add per-depsgraph debug name which is shown in the logs
This way we can see for which depsgraph datablock is being evaluated for.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h index 5fffd8d7fcf..604034bb0a7 100644 --- a/source/blender/depsgraph/DEG_depsgraph.h +++ b/source/blender/depsgraph/DEG_depsgraph.h @@ -234,6 +234,8 @@ void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func, /* Evaluation Debug ------------------------------ */ +void DEG_debug_print_begin(struct Depsgraph *depsgraph); + void DEG_debug_print_eval(struct Depsgraph *depsgraph, const char* function_name, const char* object_name, @@ -256,6 +258,16 @@ void DEG_debug_print_eval_subdata_index(struct Depsgraph *depsgraph, const void *subdata_address, const int subdata_index); +void DEG_debug_print_eval_parent_typed(struct Depsgraph *depsgraph, + const char *function_name, + const char *object_name, + const void *object_address, + const char *object_type, + const char *parent_comment, + const char *parent_name, + const void *parent_address, + const char *parent_type); + void DEG_debug_print_eval_time(struct Depsgraph *depsgraph, const char* function_name, const char* object_name, |