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:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-10-12 18:08:59 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-10-12 18:08:59 +0400
commitf0dcff9aa982d32bcb91e594df49a780ac376b5b (patch)
tree707bcc05ed6a1c6e5494d7d48ae8a07d5482c1ef /source/blender/editors/armature/BIF_retarget.h
parent9d7567d6ac9b91d9754bb112fa388c83002a7fdc (diff)
Task scheduler ported form CYcles to C
Replaces ThreadedWorker and is gonna to be used for threaded object update in the future and some more upcoming changes. But in general, it's to be used for any task based subsystem in Blender. Originally written by Brecht, with some fixes and tweaks by self.
Diffstat (limited to 'source/blender/editors/armature/BIF_retarget.h')
-rw-r--r--source/blender/editors/armature/BIF_retarget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/armature/BIF_retarget.h b/source/blender/editors/armature/BIF_retarget.h
index 2ea0e0ab0d7..21e85b6fe89 100644
--- a/source/blender/editors/armature/BIF_retarget.h
+++ b/source/blender/editors/armature/BIF_retarget.h
@@ -29,6 +29,7 @@
#include "BLI_graph.h"
#include "BLI_ghash.h"
+#include "BLI_task.h"
#include "BLI_threads.h"
#include "reeb.h"
@@ -68,7 +69,8 @@ typedef struct RigGraph {
ReebGraph *link_mesh;
- struct ThreadedWorker *worker;
+ TaskScheduler *task_scheduler;
+ TaskPool *task_pool;
GHash *bones_map; /* map of editbones by name */
GHash *controls_map; /* map of rigcontrols by bone pointer */