diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-02 12:46:56 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-05-02 18:09:44 +0300 |
commit | 65e6654c85a5b2fd44444057e87bd36d6ee0597a (patch) | |
tree | 15399f3ecb648f3ce99b93b17317a8a7e838c730 /source/blender/depsgraph/DEG_depsgraph_debug.h | |
parent | 2f4dea0ef987abe0e2c11ed01df1645a59c58a74 (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_debug.h')
-rw-r--r-- | source/blender/depsgraph/DEG_depsgraph_debug.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/depsgraph/DEG_depsgraph_debug.h b/source/blender/depsgraph/DEG_depsgraph_debug.h index 363749dab26..2f4cfc86955 100644 --- a/source/blender/depsgraph/DEG_depsgraph_debug.h +++ b/source/blender/depsgraph/DEG_depsgraph_debug.h @@ -45,6 +45,13 @@ struct ViewLayer; /* ------------------------------------------------ */ +/* NOTE: Those flags are same bitmask as G.debug_flags */ + +void DEG_set_debug_flags(struct Depsgraph *depsgraph, int flags); +int DEG_get_debug_flags(const struct Depsgraph *depsgraph); + +/* ------------------------------------------------ */ + void DEG_stats_simple(const struct Depsgraph *graph, size_t *r_outer, size_t *r_operations, |