merged all drawing functions into a single shader processing function

This commit is contained in:
itsmattkc
2020-11-10 15:50:13 +11:00
parent 1d61f89920
commit 0429e70fe0
46 changed files with 570 additions and 398 deletions
+2 -3
View File
@@ -297,9 +297,8 @@ void ViewerDisplayWidget::OnPaint()
//color_service()->pipeline()->setUniformValue("ove_deinterlace", deinterlace_);
}
// Bind retrieved texture
renderer()->SetViewport(width(), height());
renderer()->BlitColorManaged(color_service(), texture_.get());
// Draw texture through color transform
renderer()->BlitColorManaged(color_service(), texture_, VideoParams(width(), height(), PixelFormat::PIX_FMT_RGBA16F));
}