MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / tearDownGL

Method tearDownGL

Engine/AppManagerPrivate.cpp:1161–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1159}
1160
1161void
1162AppManagerPrivate::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
1181void
1182AppManagerPrivate::copyUtf8ArgsToMembers(const std::vector<std::string>& utf8Args)

Callers 1

~AppManagerMethod · 0.80

Calls 2

resetMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected