Blender Git Commit Log

Git Commits -> Revision fac1892

Revision fac1892 by Sergey Sharybin (master)
April 12, 2018, 09:05 (GMT)
Depsgraph: Bind base by it's index

For the performance we convert object bases list to an array
during view layer evaluation. This makes it possible to have
very cheap index-based base lookup.

The goal of this change is to get rid of base used for function
binding, and avoid scene datablock expansion at the depsgraph
construction time.

Commit Details:

Full Hash: fac1892e110956c7ed285ef2d7b097d632bcc25e
Parent Commit: 9c406b7
Lines Changed: +53, -25

9 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/layer.c (+13, -1) (Diff)
/source/blender/blenkernel/intern/object_update.c (+9, -2) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+19, -16) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.h (+3, -2) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_rig.cc (+1, -1) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes_view_layer.cc (+5, -2) (Diff)
/source/blender/makesdna/DNA_layer_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021