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

Method isOpenGLRenderActivated

Engine/Project.cpp:1213–1221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1211}
1212
1213bool
1214Project::isOpenGLRenderActivated() const
1215{
1216 if (!appPTR->getCurrentSettings()->isOpenGLRenderingEnabled()) {
1217 return false;
1218 }
1219 int index = _imp->gpuSupport->getValue();
1220 return index == 0 || (index == 2 && !getApp()->isBackground());
1221}
1222
1223int
1224Project::currentFrame() const

Callers 2

loadMethod · 0.80

Calls 5

getAppFunction · 0.85
getCurrentSettingsMethod · 0.80
getValueMethod · 0.45
isBackgroundMethod · 0.45

Tested by

no test coverage detected