proxy: cleaned up, re-use the render cache's disk save system for proxies, multithreaded compression

This commit is contained in:
itsmattkc
2020-05-04 00:29:26 +10:00
parent f7f437ab04
commit e4e797c901
14 changed files with 318 additions and 226 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ public:
void SetFrameGenerationParams(int width, int height, const QMatrix4x4 &matrix);
signals:
void CompletedDownload(NodeDependency path, qint64 job_time, QByteArray hash, bool texture_existed);
void CompletedDownload(NodeDependency path, qint64 job_time, QByteArray hash);
void HashAlreadyBeingCached(NodeDependency path, qint64 job_time, QByteArray hash);
@@ -103,7 +103,7 @@ protected:
ColorProcessorCache* color_cache();
private:
void Download(const rational &time, QVariant texture, QString filename);
void Download(const QByteArray &hash, const rational &time, QVariant texture);
void ResizeDownloadBuffer();