Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-05-02 12:46:56 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-05-02 18:09:44 +0300
commit65e6654c85a5b2fd44444057e87bd36d6ee0597a (patch)
tree15399f3ecb648f3ce99b93b17317a8a7e838c730 /source/blender/depsgraph/DEG_depsgraph.h
parent2f4dea0ef987abe0e2c11ed01df1645a59c58a74 (diff)
Depsgraph: Allow per-depsgraph debug flags
Currently only affects EVALUATION debug messages, rest are to be supported on per-depsgraph level.
Diffstat (limited to 'source/blender/depsgraph/DEG_depsgraph.h')
-rw-r--r--source/blender/depsgraph/DEG_depsgraph.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph.h b/source/blender/depsgraph/DEG_depsgraph.h
index a158279a9d1..5fffd8d7fcf 100644
--- a/source/blender/depsgraph/DEG_depsgraph.h
+++ b/source/blender/depsgraph/DEG_depsgraph.h
@@ -234,18 +234,21 @@ void DEG_editors_set_update_cb(DEG_EditorUpdateIDCb id_func,
/* Evaluation Debug ------------------------------ */
-void DEG_debug_print_eval(const char* function_name,
+void DEG_debug_print_eval(struct Depsgraph *depsgraph,
+ const char* function_name,
const char* object_name,
const void* object_address);
-void DEG_debug_print_eval_subdata(const char *function_name,
+void DEG_debug_print_eval_subdata(struct Depsgraph *depsgraph,
+ const char *function_name,
const char *object_name,
const void *object_address,
const char *subdata_comment,
const char *subdata_name,
const void *subdata_address);
-void DEG_debug_print_eval_subdata_index(const char *function_name,
+void DEG_debug_print_eval_subdata_index(struct Depsgraph *depsgraph,
+ const char *function_name,
const char *object_name,
const void *object_address,
const char *subdata_comment,
@@ -253,7 +256,8 @@ void DEG_debug_print_eval_subdata_index(const char *function_name,
const void *subdata_address,
const int subdata_index);
-void DEG_debug_print_eval_time(const char* function_name,
+void DEG_debug_print_eval_time(struct Depsgraph *depsgraph,
+ const char* function_name,
const char* object_name,
const void* object_address,
float time);