18 QOpenVGContext(QWindow *window);
22 void makeCurrent(EGLSurface surface);
25 void swapBuffers(EGLSurface surface);
28 QWindow *window()
const;
30 EGLDisplay eglDisplay() {
return m_display; }
31 EGLConfig eglConfig() {
return m_config; }
32 EGLContext eglContext() {
return m_context; }
34 QImage readFramebuffer(
const QSize &size);
38 static void checkErrors();