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

Method isOpenGLRenderingEnabled

Engine/Settings.cpp:420–428  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418}
419
420bool
421Settings::isOpenGLRenderingEnabled() const
422{
423 if (_enableOpenGL->getIsSecret()) {
424 return false;
425 }
426 EnableOpenGLEnum enableOpenGL = (EnableOpenGLEnum)_enableOpenGL->getValue();
427 return enableOpenGL == eEnableOpenGLEnabled || (enableOpenGL == eEnableOpenGLDisabledIfBackground && !appPTR->isBackground());
428}
429
430int
431Settings::getMaxOpenGLContexts() const

Callers 6

renderRoIMethod · 0.80
initializeKnobsMethod · 0.80

Calls 3

getIsSecretMethod · 0.80
getValueMethod · 0.45
isBackgroundMethod · 0.45

Tested by

no test coverage detected