render: remove deprecated code

This commit is contained in:
itsmattkc
2022-06-21 14:10:11 -07:00
parent 3f8001b146
commit 99bbb163ef
2 changed files with 2 additions and 7 deletions
+2 -2
View File
@@ -574,8 +574,8 @@ void PreviewAutoCacher::TryRender()
single_frame_render_ = nullptr;
}
// Ensure we are running tasks if we have any
const int max_tasks = RenderManager::GetNumberOfIdealConcurrentJobs();
// Completely arbitrary number. I don't know what's optimal for this yet.
const int max_tasks = 4;
// Handle video tasks
rational t;
-5
View File
@@ -108,11 +108,6 @@ public:
return backend_;
}
static int GetNumberOfIdealConcurrentJobs()
{
return QThread::idealThreadCount();
}
public slots:
void SetAggressiveGarbageCollection(bool enabled);