some render cache adjustments

This commit is contained in:
itsmattkc
2019-09-04 10:58:50 +10:00
parent 12bc5839a6
commit 371d0e2b37
22 changed files with 150 additions and 48 deletions
@@ -15,6 +15,9 @@ public:
void Queue(RenderTexturePtr texture, const QString &fn, const rational &time);
public slots:
virtual void Cancel() override;
signals:
void Downloaded(const rational& time);
@@ -32,6 +35,8 @@ private:
QMutex texture_queue_lock_;
QAtomicInt cancelled_;
};
using RendererDownloadThreadPtr = std::shared_ptr<RendererDownloadThread>;