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

Method getRenderHash

Engine/EffectInstance.cpp:394–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392}
393
394U64
395EffectInstance::getRenderHash() const
396{
397 EffectTLSDataPtr tls = _imp->tlsData->getTLSData();
398
399 if ( !tls || tls->frameArgs.empty() ) {
400 //No tls: get the GUI hash
401 return getHash();
402 }
403
404 const ParallelRenderArgsPtr &args = tls->frameArgs.back();
405
406 if (args->request) {
407 //A request pass was made, Hash for this thread was already computed, use it
408 return args->request->nodeHash;
409 }
410
411 //Use the hash that was computed when we set the ParallelRenderArgs TLS
412 return args->nodeHash;
413}
414
415bool
416EffectInstance::Implementation::aborted(bool isRenderResponseToUserInteraction,

Callers 12

isIdentityMethod · 0.80
getImageMethod · 0.80
getRegionsOfInterestMethod · 0.80
renderMaskFromStrokeMethod · 0.80
getInputsRoIsFunctorMethod · 0.80
getFrameRangeMethod · 0.80
getUnmappedFrameRangeMethod · 0.80
getFrameRangeMethod · 0.80
getFrameRangeMethod · 0.80

Calls 2

emptyMethod · 0.80
getTLSDataMethod · 0.45

Tested by

no test coverage detected