Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/intern/task_pool.cc
| Show All 28 Lines | |||||
| #include "DNA_listBase.h" | #include "DNA_listBase.h" | ||||
| #include "BLI_math.h" | #include "BLI_math.h" | ||||
| #include "BLI_mempool.h" | #include "BLI_mempool.h" | ||||
| #include "BLI_task.h" | #include "BLI_task.h" | ||||
| #include "BLI_threads.h" | #include "BLI_threads.h" | ||||
| #ifdef WITH_TBB | #ifdef WITH_TBB | ||||
| /* Quiet top level deprecation message, unrelated to API usage here. */ | # include <tbb/blocked_range.h> | ||||
| # define TBB_SUPPRESS_DEPRECATED_MESSAGES 1 | # include <tbb/task_arena.h> | ||||
| # include <tbb/tbb.h> | # include <tbb/task_group.h> | ||||
| #endif | #endif | ||||
| /* Task | /* Task | ||||
| * | * | ||||
| * Unit of work to execute. This is a C++ class to work with TBB. */ | * Unit of work to execute. This is a C++ class to work with TBB. */ | ||||
| class Task { | class Task { | ||||
| public: | public: | ||||
| ▲ Show 20 Lines • Show All 506 Lines • Show Last 20 Lines | |||||