| 406 | } |
| 407 | |
| 408 | EffectInstance::Implementation::Implementation(EffectInstance* publicInterface) |
| 409 | : _publicInterface(publicInterface) |
| 410 | , tlsData() |
| 411 | , duringInteractActionMutex() |
| 412 | , duringInteractAction(false) |
| 413 | , pluginMemoryChunksMutex() |
| 414 | , pluginMemoryChunks() |
| 415 | , supportsRenderScale(eSupportsMaybe) |
| 416 | , actionsCache() |
| 417 | #if NATRON_ENABLE_TRIMAP |
| 418 | , imagesBeingRenderedMutex() |
| 419 | , imagesBeingRendered() |
| 420 | #endif |
| 421 | , overlaySlaves() |
| 422 | , metadataMutex() |
| 423 | , metadata() |
| 424 | , runningClipPreferences(false) |
| 425 | , overlaysViewport(0) |
| 426 | #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) |
| 427 | , attachedContextsMutex() |
| 428 | #else |
| 429 | , attachedContextsMutex(QMutex::Recursive) |
| 430 | #endif |
| 431 | , attachedContexts() |
| 432 | , mainInstance(0) |
| 433 | , isDoingInstanceSafeRender(false) |
| 434 | , renderClonesMutex() |
| 435 | , renderClonesPool() |
| 436 | , mustSyncPrivateData(false) |
| 437 | { |
| 438 | tlsData = std::make_shared<TLSHolder<EffectTLSData> >(); |
| 439 | actionsCache = std::make_shared<ActionsCache>(appPTR->getHardwareIdealThreadCount() * 2); |
| 440 | } |
| 441 | |
| 442 | EffectInstance::Implementation::Implementation(const Implementation& other) |
| 443 | : _publicInterface(0) |
nothing calls this directly
no test coverage detected