render: remove unused function

This commit is contained in:
itsmattkc
2022-05-27 11:20:38 -07:00
parent 60f7f06de4
commit 3d8c0114fb
3 changed files with 0 additions and 12 deletions
-5
View File
@@ -121,11 +121,6 @@ protected:
}
}
virtual bool CanCacheFrames()
{
return false;
}
QVector2D GenerateResolution() const;
bool IsCancelled()
-5
View File
@@ -556,11 +556,6 @@ void RenderProcessor::ProcessFrameGeneration(TexturePtr destination, const Node
destination->Upload(frame->data(), frame->linesize_pixels());
}
bool RenderProcessor::CanCacheFrames()
{
return ticket_->property("type").value<RenderManager::TicketType>() == RenderManager::kTypeVideo;
}
void RenderProcessor::ConvertToReferenceSpace(TexturePtr destination, TexturePtr source, const QString &input_cs)
{
ColorManager* color_manager = Node::ValueToPtr<ColorManager>(ticket_->property("colormanager"));
-2
View File
@@ -56,8 +56,6 @@ protected:
virtual void ProcessFrameGeneration(TexturePtr destination, const Node *node, const GenerateJob& job) override;
virtual bool CanCacheFrames() override;
virtual TexturePtr CreateTexture(const VideoParams &p) override
{
return render_ctx_->CreateTexture(p);