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:
authorTon Roosendaal <ton@blender.org>2006-11-29 22:31:45 +0300
committerTon Roosendaal <ton@blender.org>2006-11-29 22:31:45 +0300
commit5a3959e54b7a08ee852e5e65d46fe6ea2e37d342 (patch)
tree3b535fa23c7d8cd37ebc34758c42c8a12e7b924a /source/blender/render/extern
parentf1b74d0098f8166655998bfbbd872fcd36d2f7f0 (diff)
Thread support for commandline:
-t <threads> It overrides the settings as saved in scenes. Only works for background rendering, to force thread amounts to match the cpus in system. For funny jokers: amount is clipped for MAXTHREADS :)
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r--source/blender/render/extern/include/RE_pipeline.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/RE_pipeline.h b/source/blender/render/extern/include/RE_pipeline.h
index 65a0bf0b7ad..0a07dd4cdac 100644
--- a/source/blender/render/extern/include/RE_pipeline.h
+++ b/source/blender/render/extern/include/RE_pipeline.h
@@ -159,6 +159,9 @@ void RE_Database_Free (struct Render *re);
/* project dbase again, when viewplane/perspective changed */
void RE_DataBase_ApplyWindow(struct Render *re);
+/* override the scene setting for amount threads, commandline */
+void RE_set_max_threads(int threads);
+
/* the main processor, assumes all was set OK! */
void RE_TileProcessor(struct Render *re, int firsttile);