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

Method removeRenderFromQueue

Engine/AppInstance.cpp:1942–1953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1940}
1941
1942void
1943AppInstance::removeRenderFromQueue(OutputEffectInstance* writer)
1944{
1945 QMutexLocker k(&_imp->renderQueueMutex);
1946
1947 for (std::list<RenderQueueItem>::iterator it = _imp->renderQueue.begin(); it != _imp->renderQueue.end(); ++it) {
1948 if (it->work.writer == writer) {
1949 _imp->renderQueue.erase(it);
1950 break;
1951 }
1952 }
1953}
1954
1955void
1956AppInstance::startNextQueuedRender(OutputEffectInstance* finishedWriter)

Callers 1

cancelTaskMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected