work towards rewriting the render infrastructure
Mostly foundational work and re-implementing older code in a smarter way (i.e. context creation code should be slightly faster than it was before)
This commit is contained in:
@@ -84,7 +84,7 @@ ViewerWidget::ViewerWidget(QWidget *parent) :
|
||||
ruler_->SetScale(48.0);
|
||||
|
||||
// Start background renderers
|
||||
video_renderer_ = new OpenGLBackend(gl_widget_->context(), this);
|
||||
video_renderer_ = new OpenGLBackend(this);
|
||||
connect(video_renderer_, SIGNAL(CachedFrameReady(const rational&)), this, SLOT(RendererCachedFrame(const rational&)));
|
||||
}
|
||||
|
||||
|
||||
@@ -100,6 +100,7 @@ protected:
|
||||
* Simple OpenGL drawing function for painting the texture on screen. Standardized around OpenGL ES 3.2 Core.
|
||||
*/
|
||||
virtual void paintGL() override;
|
||||
|
||||
private:
|
||||
/**
|
||||
* @brief Creates the render pipeline shader
|
||||
|
||||
Reference in New Issue
Block a user