c48423256d3aadac09fbddf17d2c1dc44902ae25
Currently the mode transfer overlay has to check whether it should draw for every single object. For scenes with many instances even that small amount of work per object can be significant. I observed the overlay taking 1.8% of the samples in a profile. This commit removes the mode transfer timer and stores it in a global map instead. Besides the benefit of removing 8 bytes per object, the main improvement is that it's now trivial to check whether the overlay can be completely disabled. Pull Request: https://projects.blender.org/blender/blender/pulls/140374
…
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%
