several adjustments to node caching system

This commit is contained in:
itsmattkc
2019-09-02 11:29:50 +10:00
parent eca20c2356
commit f2972651af
18 changed files with 168 additions and 48 deletions
@@ -13,7 +13,10 @@ public:
const olive::PixelFormat& format,
const olive::RenderMode& mode);
void Queue(RenderTexturePtr texture, const QString &fn);
void Queue(RenderTexturePtr texture, const QString &fn, const rational &time);
signals:
void Downloaded(const rational& time);
protected:
virtual void ProcessLoop() override;
@@ -25,6 +28,8 @@ private:
QVector<QString> download_filenames_;
QVector<rational> texture_times_;
QMutex texture_queue_lock_;
};