nodes: optimize job infrastructure
Rework traversing so that jobs are only resolved when they are used. This should provide moderate optimize to the traversing process.
This commit is contained in:
+5
-36
@@ -172,42 +172,6 @@ public:
|
||||
*/
|
||||
kAudioParams,
|
||||
|
||||
/**
|
||||
* Job type
|
||||
*
|
||||
* An internal type used to indicate to the renderer that a footage job needs to
|
||||
* run. This value will usually be taken from a table and a kTexture or kSamples value will be
|
||||
* pushed to take its place.
|
||||
*/
|
||||
kFootageJob,
|
||||
|
||||
/**
|
||||
* Job type
|
||||
*
|
||||
* An internal type used to indicate to the renderer that an accelerated shader job needs to
|
||||
* run. This value will usually be taken from a table and a kTexture value will be pushed to
|
||||
* take its place.
|
||||
*/
|
||||
kShaderJob,
|
||||
|
||||
/**
|
||||
* Job type
|
||||
*
|
||||
* An internal type used to indicate to the renderer that an accelerated sample job needs to
|
||||
* take place. This value will usually be taken from a table and a kSamples value will be
|
||||
* pushed to take its place.
|
||||
*/
|
||||
kSampleJob,
|
||||
|
||||
/**
|
||||
* Job type
|
||||
*
|
||||
* An internal type used to indicate to the renderer that an accelerated sample job needs to
|
||||
* take place. This value will usually be taken from a table and a kSamples value will be
|
||||
* pushed to take its place.
|
||||
*/
|
||||
kGenerateJob,
|
||||
|
||||
/**
|
||||
* End of list
|
||||
*/
|
||||
@@ -244,6 +208,11 @@ public:
|
||||
return data_;
|
||||
}
|
||||
|
||||
void set_data(const QVariant& data)
|
||||
{
|
||||
data_ = data;
|
||||
}
|
||||
|
||||
const QString& tag() const
|
||||
{
|
||||
return tag_;
|
||||
|
||||
Reference in New Issue
Block a user