render: how the fuck did it do this?

This commit is contained in:
itsmattkc
2022-07-26 10:37:44 -07:00
parent e067acb999
commit b0446e237b
-7
View File
@@ -45,9 +45,6 @@ RenderProcessor::RenderProcessor(RenderTicketPtr ticket, Renderer *render_ctx, D
TexturePtr RenderProcessor::GenerateTexture(const rational &time, const rational &frame_length)
{
QElapsedTimer t;
t.restart();
TimeRange range = TimeRange(time, time + frame_length);
NodeValueTable table;
@@ -59,8 +56,6 @@ TexturePtr RenderProcessor::GenerateTexture(const rational &time, const rational
ResolveJobs(tex_val, range);
qDebug() << "Frame took:" << t.elapsed();
return tex_val.toTexture();
}
@@ -112,8 +107,6 @@ FramePtr RenderProcessor::GenerateFrame(TexturePtr texture, const rational& time
job.SetInputAlphaAssociation(OLIVE_CONFIG("ReassocLinToNonLin").toBool() ? kAlphaAssociated : kAlphaNone);
job.SetTransformMatrix(matrix);
qDebug() << "Blitting with" << output_color_transform.get();
render_ctx_->BlitColorManaged(job, blit_tex.get());
} else {
// No color transform, just blit