| 1211 | } |
| 1212 | |
| 1213 | bool |
| 1214 | Project::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 | |
| 1223 | int |
| 1224 | Project::currentFrame() const |
no test coverage detected