threaded improvements

This commit is contained in:
itsmattkc
2019-01-15 18:59:55 +11:00
parent 658a6d379e
commit 13d30ab06a
5 changed files with 34 additions and 16 deletions
+2 -1
View File
@@ -19,13 +19,14 @@ public:
GLuint frameBuffer;
GLuint texColorBuffer;
void paint();
void start_render(QOpenGLContext* share, Sequence* s);
void start_render(QOpenGLContext* share, Sequence* s, int idivider = 0);
private:
QWaitCondition waitCond;
QOffscreenSurface surface;
QOpenGLContext* share_ctx;
QOpenGLContext* ctx;
Sequence* seq;
int divider;
};
#endif // RENDERTHREAD_H