diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-24 17:00:50 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 12:25:10 +0300 |
commit | f29ff14d6e369d77878769329fc6b08478a54a03 (patch) | |
tree | 28f16911b796a694e4067b633ad15bdaeab73489 /source/blender/depsgraph/intern/depsgraph_debug.cc | |
parent | 2103194f794c9c5260583ceb7d7bbaf73f783f48 (diff) |
Depsgraph: Remove bunch of debug code
Was never actually used and implementation seems to be slow: we shouldn't be
doing per-node evaluation hash lookups, adds too much overhead. We can instead
store statistics in the node itself, and maybe even group them somehow.
Ideally such a statistics should be user-friendly so riggers and animators
can see exactly what's happening.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_debug.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_debug.cc | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/source/blender/depsgraph/intern/depsgraph_debug.cc b/source/blender/depsgraph/intern/depsgraph_debug.cc index 388b692d742..0b1156a78ba 100644 --- a/source/blender/depsgraph/intern/depsgraph_debug.cc +++ b/source/blender/depsgraph/intern/depsgraph_debug.cc @@ -41,30 +41,9 @@ extern "C" { #include "DEG_depsgraph_debug.h" #include "DEG_depsgraph_build.h" -#include "intern/eval/deg_eval_debug.h" #include "intern/depsgraph_intern.h" #include "util/deg_util_foreach.h" -/* ************************************************ */ - -DepsgraphStats *DEG_stats(void) -{ - return DEG::DepsgraphDebug::stats; -} - -void DEG_stats_verify() -{ - DEG::DepsgraphDebug::verify_stats(); -} - -DepsgraphStatsID *DEG_stats_id(ID *id) -{ - if (!DEG::DepsgraphDebug::stats) { - return NULL; - } - return DEG::DepsgraphDebug::get_id_stats(id, false); -} - bool DEG_debug_compare(const struct Depsgraph *graph1, const struct Depsgraph *graph2) { |