renderer: weaved out various unnecessary InvalidateVisible functions

This commit is contained in:
itsmattkc
2020-05-13 23:04:15 +10:00
parent 194fddef7e
commit c5dfddff0d
7 changed files with 53 additions and 138 deletions
+1 -5
View File
@@ -51,8 +51,6 @@ public:
void CancelQueue();
void InvalidateVisible(const TimeRange &range, NodeInput *from);
public slots:
void InvalidateCache(const TimeRange &range, NodeInput *from);
@@ -79,7 +77,7 @@ protected:
*/
virtual bool GenerateCacheIDInternal(QCryptographicHash& hash) = 0;
virtual void InvalidateCacheInternal(const rational &start_range, const rational &end_range, bool only_visible);
virtual void InvalidateCacheInternal(const rational &start_range, const rational &end_range);
virtual void CacheIDChangedEvent(const QString& id);
@@ -124,8 +122,6 @@ protected:
NodeGraph copied_graph_;
private:
void InvalidateCacheVeryInternal(const TimeRange &range, NodeInput *from, bool only_visible);
void CopyNodeInputValue(NodeInput* input);
Node *CopyNodeConnections(Node *src_node);
void CopyNodeMakeConnection(NodeInput *src_input, NodeInput *dst_input);