d64f62e4fa92ceeff1d945c9c51d4bc94cf4a0ee
Updating the node bounds just after deforming the vertices in the node is faster because the position data is still fresh in CPU caches. Updating it later on means all the other nodes have been processed in the meantime which will evict that position data from the caches. This results in a 1.11x improvement in the brush benchmark timing, from 0.495s to 0.438s on a Ryzen 7950x (best of 5 runs). As part of the change, the update tagging has completely moved to each brush implementation. This continues the process of making each brush more independent. Part of #118145. Pull Request: https://projects.blender.org/blender/blender/pulls/127536
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
