Depsgraph: Comb code to a better state all over
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 31 Jan 2019 11:56:40 +0000 (12:56 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 31 Jan 2019 13:31:41 +0000 (14:31 +0100)
commitc1da8e3b28f95188f9e9152383856c95f29586b4
tree611acd206bfb126f076e78caa047b14bcd3673b6
parent7ccef23c4d010d4b4f83efe2cd6c82ff26824a10
Depsgraph: Comb code to a better state all over

Some summary of changes:

- Don't use DEG prefix for types and enumerator values:
  the code is already inside DEG namespace.

- Put code where it locally belongs to: avoid having one
  single header file with all sort of definitions in it.

- Take advantage of modern C++11 enabled by default.
66 files changed:
source/blender/depsgraph/CMakeLists.txt
source/blender/depsgraph/DEG_depsgraph.h
source/blender/depsgraph/DEG_depsgraph_build.h
source/blender/depsgraph/DEG_depsgraph_query.h
source/blender/depsgraph/intern/builder/deg_builder.cc
source/blender/depsgraph/intern/builder/deg_builder_cycle.cc
source/blender/depsgraph/intern/builder/deg_builder_map.h
source/blender/depsgraph/intern/builder/deg_builder_nodes.cc
source/blender/depsgraph/intern/builder/deg_builder_nodes.h
source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc
source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc
source/blender/depsgraph/intern/builder/deg_builder_pchanmap.cc
source/blender/depsgraph/intern/builder/deg_builder_pchanmap.h
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/depsgraph/intern/builder/deg_builder_relations.h
source/blender/depsgraph/intern/builder/deg_builder_relations_impl.h
source/blender/depsgraph/intern/builder/deg_builder_relations_keys.cc
source/blender/depsgraph/intern/builder/deg_builder_relations_rig.cc
source/blender/depsgraph/intern/builder/deg_builder_relations_view_layer.cc
source/blender/depsgraph/intern/builder/deg_builder_transitive.cc
source/blender/depsgraph/intern/debug/deg_debug.cc [new file with mode: 0644]
source/blender/depsgraph/intern/debug/deg_debug.h [new file with mode: 0644]
source/blender/depsgraph/intern/debug/deg_debug_relations_graphviz.cc
source/blender/depsgraph/intern/debug/deg_debug_stats_gnuplot.cc
source/blender/depsgraph/intern/depsgraph.cc
source/blender/depsgraph/intern/depsgraph.h
source/blender/depsgraph/intern/depsgraph_build.cc
source/blender/depsgraph/intern/depsgraph_debug.cc
source/blender/depsgraph/intern/depsgraph_eval.cc
source/blender/depsgraph/intern/depsgraph_intern.h [deleted file]
source/blender/depsgraph/intern/depsgraph_physics.cc
source/blender/depsgraph/intern/depsgraph_physics.h [moved from source/blender/depsgraph/util/deg_util_foreach.h with 62% similarity]
source/blender/depsgraph/intern/depsgraph_query.cc
source/blender/depsgraph/intern/depsgraph_query_filter.cc
source/blender/depsgraph/intern/depsgraph_query_foreach.cc
source/blender/depsgraph/intern/depsgraph_query_iter.cc
source/blender/depsgraph/intern/depsgraph_tag.cc
source/blender/depsgraph/intern/depsgraph_tag.h [new file with mode: 0644]
source/blender/depsgraph/intern/depsgraph_type.cc [new file with mode: 0644]
source/blender/depsgraph/intern/depsgraph_type.h [new file with mode: 0644]
source/blender/depsgraph/intern/depsgraph_type_defines.cc [deleted file]
source/blender/depsgraph/intern/depsgraph_types.h [deleted file]
source/blender/depsgraph/intern/depsgraph_update.cc [new file with mode: 0644]
source/blender/depsgraph/intern/depsgraph_update.h [moved from source/blender/depsgraph/util/deg_util_function.h with 65% similarity]
source/blender/depsgraph/intern/eval/deg_eval.cc
source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc
source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.h
source/blender/depsgraph/intern/eval/deg_eval_flush.cc
source/blender/depsgraph/intern/eval/deg_eval_stats.cc
source/blender/depsgraph/intern/node/deg_node.cc [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node.h [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node_component.cc [moved from source/blender/depsgraph/intern/nodes/deg_node_component.cc with 64% similarity]
source/blender/depsgraph/intern/node/deg_node_component.h [moved from source/blender/depsgraph/intern/nodes/deg_node_component.h with 72% similarity]
source/blender/depsgraph/intern/node/deg_node_factory.cc [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node_factory.h [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node_factory_impl.h [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node_id.cc [moved from source/blender/depsgraph/intern/nodes/deg_node_id.cc with 66% similarity]
source/blender/depsgraph/intern/node/deg_node_id.h [moved from source/blender/depsgraph/intern/nodes/deg_node_id.h with 74% similarity]
source/blender/depsgraph/intern/node/deg_node_operation.cc [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node_operation.h [new file with mode: 0644]
source/blender/depsgraph/intern/node/deg_node_time.cc [moved from source/blender/depsgraph/intern/nodes/deg_node_time.cc with 77% similarity]
source/blender/depsgraph/intern/node/deg_node_time.h [moved from source/blender/depsgraph/intern/nodes/deg_node_time.h with 91% similarity]
source/blender/depsgraph/intern/nodes/deg_node.cc [deleted file]
source/blender/depsgraph/intern/nodes/deg_node.h [deleted file]
source/blender/depsgraph/intern/nodes/deg_node_operation.cc [deleted file]
source/blender/depsgraph/intern/nodes/deg_node_operation.h [deleted file]