Blender Git Loki
Git Commits -> Revision def527c
Revision def527c by Jacques Lucke (builtin-simulation-nodes, functions, functions-experimental-refactor, particle-solver-dev, simulation-tree) August 14, 2019, 11:59 (GMT) |
Do not use a reference counter for Types Types can be expected to stay alive until Blender exists. This also works well with the fact that they are identified by their pointer. Furthermore, the number of types is fairly low, but they are passed around a lot. Maintaining a thread-safe reference count seems to be unnecessary overhead. |
Commit Details:
Full Hash: def527c9b03aa0b6f035fa0065a32adb6bd4e044
Parent Commit: f073f23
Lines Changed: +207, -226
47 Modified Paths:
/source/blender/blenkernel/intern/fcurve.c (+2, -2) (Diff)
/source/blender/functions/backends/cpp/list.hpp (+3, -3) (Diff)
/source/blender/functions/backends/cpp/tuple.cpp (+2, -2) (Diff)
/source/blender/functions/backends/cpp/tuple.hpp (+3, -3) (Diff)
/source/blender/functions/backends/llvm/fgraph_ir_generation.cpp (+1, -1) (Diff)
/source/blender/functions/backends/llvm/llvm_type_info.hpp (+1, -1) (Diff)
/source/blender/functions/core/core-c.cpp (+2, -7) (Diff)
/source/blender/functions/core/core-c.h (+0, -1) (Diff)
/source/blender/functions/core/data_graph.hpp (+5, -5) (Diff)
/source/blender/functions/core/data_graph_builder.hpp (+4, -4) (Diff)
/source/blender/functions/core/function.cpp (+2, -2) (Diff)
/source/blender/functions/core/function.hpp (+12, -12) (Diff)
/source/blender/functions/core/function_builder.cpp (+6, -4) (Diff)
/source/blender/functions/core/function_builder.hpp (+4, -4) (Diff)
/source/blender/functions/core/type.hpp (+1, -5) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings.cpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings.hpp (+6, -6) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings/conversion_inserters.cpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings/node_inserters.cpp (+11, -11) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings/socket_loaders.cpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/unlinked_input_inserters.cpp (+6, -6) (Diff)
/source/blender/functions/frontends/data_flow_nodes/unlinked_input_inserters.hpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/vtree_data_graph_builder.cpp (+8, -9) (Diff)
/source/blender/functions/frontends/data_flow_nodes/vtree_data_graph_builder.hpp (+5, -5) (Diff)
/source/blender/functions/functions/array_execution.cpp (+2, -2) (Diff)
/source/blender/functions/functions/auto_vectorization.cpp (+11, -11) (Diff)
/source/blender/functions/functions/lists.cpp (+26, -28) (Diff)
/source/blender/functions/functions/lists.hpp (+7, -7) (Diff)
/source/blender/functions/functions/simple_conversions.cpp (+2, -2) (Diff)
/source/blender/functions/functions/switch.cpp (+5, -6) (Diff)
/source/blender/functions/functions/switch.hpp (+1, -1) (Diff)
/source/blender/functions/types/boolean.cpp (+2, -2) (Diff)
/source/blender/functions/types/boolean.hpp (+1, -1) (Diff)
/source/blender/functions/types/external.cpp (+2, -2) (Diff)
/source/blender/functions/types/external.hpp (+1, -1) (Diff)
/source/blender/functions/types/lists.cpp (+10, -10) (Diff)
/source/blender/functions/types/lists.hpp (+7, -7) (Diff)
/source/blender/functions/types/numeric.cpp (+8, -8) (Diff)
/source/blender/functions/types/numeric.hpp (+4, -4) (Diff)
/source/blender/functions/types/types-c.cpp (+2, -8) (Diff)
/source/blender/functions/types/types-c.h (+8, -9) (Diff)
/source/blender/modifiers/intern/MOD_functiondeform.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_functionpoints.c (+3, -3) (Diff)
/source/blender/simulations/bparticles/emitters.cpp (+10, -10) (Diff)
/source/blender/simulations/bparticles/inserters.cpp (+2, -2) (Diff)
/source/blender/simulations/bparticles/particle_function.hpp (+1, -1) (Diff)
/source/blender/simulations/bparticles/particle_function_builder.cpp (+1, -1) (Diff)
/source/blender/functions/backends/cpp/list.hpp (+3, -3) (Diff)
/source/blender/functions/backends/cpp/tuple.cpp (+2, -2) (Diff)
/source/blender/functions/backends/cpp/tuple.hpp (+3, -3) (Diff)
/source/blender/functions/backends/llvm/fgraph_ir_generation.cpp (+1, -1) (Diff)
/source/blender/functions/backends/llvm/llvm_type_info.hpp (+1, -1) (Diff)
/source/blender/functions/core/core-c.cpp (+2, -7) (Diff)
/source/blender/functions/core/core-c.h (+0, -1) (Diff)
/source/blender/functions/core/data_graph.hpp (+5, -5) (Diff)
/source/blender/functions/core/data_graph_builder.hpp (+4, -4) (Diff)
/source/blender/functions/core/function.cpp (+2, -2) (Diff)
/source/blender/functions/core/function.hpp (+12, -12) (Diff)
/source/blender/functions/core/function_builder.cpp (+6, -4) (Diff)
/source/blender/functions/core/function_builder.hpp (+4, -4) (Diff)
/source/blender/functions/core/type.hpp (+1, -5) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings.cpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings.hpp (+6, -6) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings/conversion_inserters.cpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings/node_inserters.cpp (+11, -11) (Diff)
/source/blender/functions/frontends/data_flow_nodes/mappings/socket_loaders.cpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/unlinked_input_inserters.cpp (+6, -6) (Diff)
/source/blender/functions/frontends/data_flow_nodes/unlinked_input_inserters.hpp (+1, -1) (Diff)
/source/blender/functions/frontends/data_flow_nodes/vtree_data_graph_builder.cpp (+8, -9) (Diff)
/source/blender/functions/frontends/data_flow_nodes/vtree_data_graph_builder.hpp (+5, -5) (Diff)
/source/blender/functions/functions/array_execution.cpp (+2, -2) (Diff)
/source/blender/functions/functions/auto_vectorization.cpp (+11, -11) (Diff)
/source/blender/functions/functions/lists.cpp (+26, -28) (Diff)
/source/blender/functions/functions/lists.hpp (+7, -7) (Diff)
/source/blender/functions/functions/simple_conversions.cpp (+2, -2) (Diff)
/source/blender/functions/functions/switch.cpp (+5, -6) (Diff)
/source/blender/functions/functions/switch.hpp (+1, -1) (Diff)
/source/blender/functions/types/boolean.cpp (+2, -2) (Diff)
/source/blender/functions/types/boolean.hpp (+1, -1) (Diff)
/source/blender/functions/types/external.cpp (+2, -2) (Diff)
/source/blender/functions/types/external.hpp (+1, -1) (Diff)
/source/blender/functions/types/lists.cpp (+10, -10) (Diff)
/source/blender/functions/types/lists.hpp (+7, -7) (Diff)
/source/blender/functions/types/numeric.cpp (+8, -8) (Diff)
/source/blender/functions/types/numeric.hpp (+4, -4) (Diff)
/source/blender/functions/types/types-c.cpp (+2, -8) (Diff)
/source/blender/functions/types/types-c.h (+8, -9) (Diff)
/source/blender/modifiers/intern/MOD_functiondeform.c (+3, -3) (Diff)
/source/blender/modifiers/intern/MOD_functionpoints.c (+3, -3) (Diff)
/source/blender/simulations/bparticles/emitters.cpp (+10, -10) (Diff)
/source/blender/simulations/bparticles/inserters.cpp (+2, -2) (Diff)
/source/blender/simulations/bparticles/particle_function.hpp (+1, -1) (Diff)
/source/blender/simulations/bparticles/particle_function_builder.cpp (+1, -1) (Diff)