render: remove deprecated code
This commit is contained in:
@@ -574,8 +574,8 @@ void PreviewAutoCacher::TryRender()
|
|||||||
single_frame_render_ = nullptr;
|
single_frame_render_ = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ensure we are running tasks if we have any
|
// Completely arbitrary number. I don't know what's optimal for this yet.
|
||||||
const int max_tasks = RenderManager::GetNumberOfIdealConcurrentJobs();
|
const int max_tasks = 4;
|
||||||
|
|
||||||
// Handle video tasks
|
// Handle video tasks
|
||||||
rational t;
|
rational t;
|
||||||
|
|||||||
@@ -108,11 +108,6 @@ public:
|
|||||||
return backend_;
|
return backend_;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int GetNumberOfIdealConcurrentJobs()
|
|
||||||
{
|
|
||||||
return QThread::idealThreadCount();
|
|
||||||
}
|
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void SetAggressiveGarbageCollection(bool enabled);
|
void SetAggressiveGarbageCollection(bool enabled);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user