| 1159 | } |
| 1160 | |
| 1161 | void |
| 1162 | AppManagerPrivate::tearDownGL() |
| 1163 | { |
| 1164 | // Kill all rendering context |
| 1165 | renderingContextPool.reset(); |
| 1166 | |
| 1167 | #ifdef Q_OS_WIN32 |
| 1168 | if (wglInfo) { |
| 1169 | OSGLContext_win::destroyWGLData( wglInfo.get() ); |
| 1170 | } |
| 1171 | #elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) |
| 1172 | if (eglInfo) { |
| 1173 | OSGLContext_wayland::destroyEGLData( eglInfo.get() ); |
| 1174 | } |
| 1175 | if (glxInfo) { |
| 1176 | OSGLContext_x11::destroyGLXData( glxInfo.get() ); |
| 1177 | } |
| 1178 | #endif |
| 1179 | } |
| 1180 | |
| 1181 | void |
| 1182 | AppManagerPrivate::copyUtf8ArgsToMembers(const std::vector<std::string>& utf8Args) |
no test coverage detected