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 <j.bakker@atmind.nl>2012-07-04 15:39:28 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-07-04 15:39:28 +0400
commit778999cbbf6d6430f6c8d75d8d9e2ea49fa8ace6 (patch)
tree0ece147a79e1e2249fa22ec28dcd60abf2d49b03 /source/blender/compositor/intern/COM_CompositorContext.h
parent33e12a298350d9aa684381a71a639864bf9bee3c (diff)
Two pass execution:
1. first pass only fast nodes are calculated and only to the active viewer node 2. second pass all nodes to all outputs Temp disabled highlights because of random crashes.
Diffstat (limited to 'source/blender/compositor/intern/COM_CompositorContext.h')
-rw-r--r--source/blender/compositor/intern/COM_CompositorContext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/compositor/intern/COM_CompositorContext.h b/source/blender/compositor/intern/COM_CompositorContext.h
index 49acda811f1..2f6abf39985 100644
--- a/source/blender/compositor/intern/COM_CompositorContext.h
+++ b/source/blender/compositor/intern/COM_CompositorContext.h
@@ -73,6 +73,11 @@ private:
* @brief does this system have active opencl devices?
*/
bool m_hasActiveOpenCLDevices;
+
+ /**
+ * @brief Skip slow nodes
+ */
+ bool m_fastCalculation;
public:
/**
@@ -148,6 +153,9 @@ public:
int getChunksize() { return this->getbNodeTree()->chunksize; }
const int isColorManaged() const;
+
+ void setFastCalculation(bool fastCalculation) {this->m_fastCalculation = fastCalculation;}
+ bool isFastCalculation() {return this->m_fastCalculation;}
};