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

Method setNodeRequestThreadLocal

Engine/EffectInstance.cpp:252–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250#endif //DEBUG
251
252void
253EffectInstance::setNodeRequestThreadLocal(const NodeFrameRequestPtr & nodeRequest)
254{
255 EffectTLSDataPtr tls = _imp->tlsData->getTLSData();
256
257 if (!tls) {
258 assert(false);
259
260 return;
261 }
262 std::list<ParallelRenderArgsPtr>& argsList = tls->frameArgs;
263 if ( argsList.empty() ) {
264 return;
265 }
266 argsList.back()->request = nodeRequest;
267}
268
269void
270EffectInstance::setParallelRenderArgsTLS(double time,

Callers 1

updateNodesRequestMethod · 0.80

Calls 2

emptyMethod · 0.80
getTLSDataMethod · 0.45

Tested by

no test coverage detected