blender/build_files
Omar Emara d4bf23771d Compositor: Optimize Fog Glow Glare node
This patches optimizes the Fog Glow Glare node to be about 25x faster
for 4K images. This is mainly achieved by utilizing the FFTW library and
multi-threading support code. Further improvements are still possible by
caching kernels, but the CPU compositor does not support caching yet.

The old Hartley transform was removed, so the node no longer works when
FFTW is disabled as a build time option, much like the OIDN node. A new
BLI library was introduced for FFTW, it includes some helper routines
relevant for FFTW as well as an initialization routine that sets up
multithreading using TBB as well as thread safety.

Build system support for threaded FFTW was also added, which defines the
relevant variables to detect threading support as well as add the
relevant libraries.

We do not currently have the threaded FFTW libs in our precompiled libs,
so the threading code is disabled until the libs lands in the coming
weeks. So currently, the code is only about 9x faster.

The only functional change is that the kernel is now odd sized, which
should produce more accurate results, but the final result is almost
identical and mostly undetectable.

The plan is to port this to the GPU as well similar to how we implement
OIDN until we have a GPU FFT implementation. GPU compositor can also do
caching, so it should be faster, being able to compute a 4K image in
under half a second.

Pull Request: https://projects.blender.org/blender/blender/pulls/121653
2024-05-17 12:45:21 +02:00
..
build_environment Build: Explicitly specify Homebrew Bison path on macOS for libs 2024-05-06 19:09:45 +02:00
buildbot Build: make Linux cmake release config consistent with buildbot 2023-10-09 14:41:34 +02:00
cmake Compositor: Optimize Fog Glow Glare node 2024-05-17 12:45:21 +02:00
config Build: Add pipeline overrides for Windows arm64 platform 2024-04-19 14:51:35 +02:00
package_spec License Headers: Set copyright to "Blender Authors", add AUTHORS 2023-08-16 00:20:26 +10:00
utils Extensions: Support online extensions and move add-ons outside Blender 2024-05-15 19:26:29 +02:00
windows CMake: Windows: clang-cl fixes 2024-04-24 15:59:47 +02:00