diff options
author | Jeroen Bakker <jeroen@blender.org> | 2021-03-23 17:33:51 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-03-23 18:14:11 +0300 |
commit | 7046e37eded55ac8879835500788a1e734437bbf (patch) | |
tree | aacb75cefa2fbacc48c255b5082b126f00391792 /source/blender/compositor/COM_compositor.h | |
parent | 83df3545246aada2c98264146efc2cb2cbe0796a (diff) |
Cleanup: WorkScheduler.
- Use constexpr for better readability.
- Split in functions per backend.
- Split work scheduler global struct in smaller structs.
- Replaced std::vector with blender::Vector.
- Removed threading defines in COM_defines.h
Diffstat (limited to 'source/blender/compositor/COM_compositor.h')
-rw-r--r-- | source/blender/compositor/COM_compositor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/compositor/COM_compositor.h b/source/blender/compositor/COM_compositor.h index 7c230c8379a..8e3caf7aaf5 100644 --- a/source/blender/compositor/COM_compositor.h +++ b/source/blender/compositor/COM_compositor.h @@ -250,8 +250,8 @@ extern "C" { * * \subsection singlethread Single threaded * For debugging reasons the multi-threading can be disabled. - * This is done by changing the COM_CURRENT_THREADING_MODEL - * to COM_TM_NOTHREAD. When compiling the work-scheduler + * This is done by changing the `COM_threading_model` + * to `ThreadingModel::SingleThreaded`. When compiling the work-scheduler * will be changes to support no threading and run everything on the CPU. * * \section devices Devices |