started porting renderer to new portable form

This commit is contained in:
itsmattkc
2019-10-31 19:14:58 +11:00
parent d96395ea27
commit 77bcb70dac
77 changed files with 789 additions and 2237 deletions
-10
View File
@@ -70,16 +70,6 @@ NodeInput *ViewerOutput::length_input()
return length_input_;
}
RenderTexturePtr ViewerOutput::GetTexture(const rational &time)
{
return texture_input_->get_value(time).value<RenderTexturePtr>();
}
QByteArray ViewerOutput::GetSamples(const rational &in, const rational &out)
{
return samples_input_->get_value(in, out).toByteArray();
}
void ViewerOutput::InvalidateCache(const rational &start_range, const rational &end_range, NodeInput *from)
{
Node::InvalidateCache(start_range, end_range, from);
+1 -5
View File
@@ -23,8 +23,7 @@
#include "node/node.h"
#include "render/videoparams.h"
#include "render/audio/audioparams.h"
#include "render/rendertexture.h"
#include "render/audioparams.h"
/**
* @brief A bridge between a node system and a ViewerPanel
@@ -46,9 +45,6 @@ public:
NodeInput* samples_input();
NodeInput* length_input();
RenderTexturePtr GetTexture(const rational& time);
QByteArray GetSamples(const rational& in, const rational& out);
virtual void InvalidateCache(const rational &start_range, const rational &end_range, NodeInput *from = nullptr) override;
const VideoParams& video_params();