renderer: use a dedicated decoder per thread

This commit is contained in:
itsmattkc
2020-04-11 13:18:31 +10:00
parent f5a9dee139
commit 0c3ce03348
14 changed files with 22 additions and 34 deletions
-4
View File
@@ -118,14 +118,10 @@ protected:
bool WorkerIsBusy(RenderWorker* worker) const;
void SetWorkerBusyState(RenderWorker* worker, bool busy);
DecoderCache* decoder_cache();
TimeRangeList cache_queue_;
QVector<RenderWorker*> processors_;
DecoderCache decoder_cache_;
bool compiled_;
QHash<TimeRange, qint64> render_job_info_;