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

Method Implementation

Engine/EffectInstancePrivate.cpp:408–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

406}
407
408EffectInstance::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
442EffectInstance::Implementation::Implementation(const Implementation& other)
443: _publicInterface(0)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected