more coherent render threading for now

Once again, conceptually this system should work, however it does not seem to
be the most efficient and it wouldn't surprise me if the multithreading was
eventually upgraded to an even more coherent system one day. However for
"core principles" this should be fairly decent.
This commit is contained in:
itsmattkc
2019-11-03 04:05:43 +11:00
parent 9c65cb854b
commit 663ae56ac4
18 changed files with 447 additions and 107 deletions
+6
View File
@@ -129,6 +129,11 @@ public:
*/
virtual QString Code(NodeOutput* output);
/**
* @brief Returns the parameter with the specified ID (or nullptr if it doesn't exist)
*/
NodeParam* GetParameterWithID(const QString& id);
/**
* @brief Returns whether this Node outputs data to the Node `n` in any way
*/
@@ -199,6 +204,7 @@ public:
*/
void LockProcessing();
void UnlockProcessing();
bool IsProcessingLocked();
/**
* @brief Copies inputs from from Node to another including connections