Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Bakker <jeroen@blender.org>2021-03-31 13:45:42 +0300
committerJeroen Bakker <jeroen@blender.org>2021-03-31 15:43:14 +0300
commit1a7b94236e0f4a1ff382a9c17e723c53130ce872 (patch)
tree1e9a297bf1cdd261c9011b6675b3a919a8ede5d3 /source/blender/compositor/intern/COM_WorkPackage.cc
parent14901e37741981a1317e6eb29f8be7c96526293d (diff)
Compositor: Keep WorkPackages and Data Around.
WorkPackages struct was created when scheduled. This patch keeps the WorkPackages around and stores additional data with the workpackages. The speedup is to small to notice, but it is needed as preparation to introduce a faster scheduling method.
Diffstat (limited to 'source/blender/compositor/intern/COM_WorkPackage.cc')
-rw-r--r--source/blender/compositor/intern/COM_WorkPackage.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/compositor/intern/COM_WorkPackage.cc b/source/blender/compositor/intern/COM_WorkPackage.cc
index e7cc1bbf908..c0bc274da8f 100644
--- a/source/blender/compositor/intern/COM_WorkPackage.cc
+++ b/source/blender/compositor/intern/COM_WorkPackage.cc
@@ -20,10 +20,4 @@
namespace blender::compositor {
-WorkPackage::WorkPackage(ExecutionGroup *execution_group, unsigned int chunk_number)
-{
- this->execution_group = execution_group;
- this->chunk_number = chunk_number;
-}
-
} // namespace blender::compositor