renderer: improve thread safety

Since we share render backends between the viewer and cache tasks now, we
should ensure the render backend is thread safe.
This commit is contained in:
itsmattkc
2020-07-07 13:16:25 +10:00
parent a45f514f68
commit 919314cce8
6 changed files with 17 additions and 19 deletions
-1
View File
@@ -40,7 +40,6 @@ public:
protected:
void Render(const TimeRangeList &video_range,
const TimeRangeList &audio_range,
const QMatrix4x4 &mat,
bool use_disk_cache);
virtual QFuture<void> DownloadFrame(FramePtr frame, const QByteArray &hash) = 0;