plug export into render thread

This commit is contained in:
itsmattkc
2019-01-17 01:31:08 +11:00
parent 0580fce981
commit 6a98e33959
6 changed files with 48 additions and 17 deletions
+2 -1
View File
@@ -20,7 +20,7 @@ public:
GLuint frameBuffer;
GLuint texColorBuffer;
void paint();
void start_render(QOpenGLContext* share, Sequence* s, const QString &save = nullptr, int idivider = 0);
void start_render(QOpenGLContext* share, Sequence* s, const QString &save = nullptr, GLvoid *pixels = nullptr, int idivider = 0);
bool did_texture_fail();
void cancel();
signals:
@@ -43,6 +43,7 @@ private:
bool texture_failed;
bool running;
QString save_fn;
GLvoid *pixel_buffer;
};
#endif // RENDERTHREAD_H