9cbc96194ea26793d04d993a4c183bf5c4b894ad
Gamma Cross code seems to be coming from year 2005 or earlier, with complex table based machinery to approximate "raise to power" calculations. Which, for Gamma Cross, have always been hardcoded to 2.0 "since forever". So simplify all that, i.e. replace all the table lookup/interpolation things with just `x*x` and `sqrt(x)`. Applying Gamma Cross on 4K UHD resolution, Windows Ryzen 5950X machine: 36.2ms -> 8.1ms Pull Request: https://projects.blender.org/blender/blender/pulls/115801
…
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
11%
C
6.3%
GLSL
2.2%
CMake
1.3%
Other
1.1%
