renderer: added path for generating resized frames from textures

This commit is contained in:
itsmattkc
2020-04-22 22:58:00 +10:00
parent 26b928597c
commit 361a986b79
8 changed files with 92 additions and 10 deletions
@@ -97,6 +97,13 @@ void VideoRenderBackend::SetOperatingMode(const VideoRenderWorker::OperatingMode
}
}
void VideoRenderBackend::SetFrameGenerationParams(int width, int height, const QMatrix4x4 &matrix)
{
foreach (RenderWorker* worker, processors_) {
static_cast<VideoRenderWorker*>(worker)->SetFrameGenerationParams(width, height, matrix);
}
}
void VideoRenderBackend::SetOnlySignalLastFrameRequested(bool enabled)
{
only_signal_last_frame_requested_ = enabled;