]> git.sesse.net Git - nageru/blob - context.h
Support true variable input frame rate instead of hard-coding to 60.
[nageru] / context.h
1
2 // Needs to be in its own file because Qt and libepoxy seemingly don't coexist well
3 // within the same file.
4
5 class QSurface;
6 class QOpenGLContext;
7 class QSurfaceFormat;
8 class QGLWidget;
9
10 extern QGLWidget *global_share_widget;
11 QSurface *create_surface(const QSurfaceFormat &format);
12 QOpenGLContext *create_context(const QSurface *surface);
13 bool make_current(QOpenGLContext *context, QSurface *surface);