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

Method removeRenderFromQueue

Engine/AppInstance.cpp:1926–1937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1924}
1925
1926void
1927AppInstance::removeRenderFromQueue(OutputEffectInstance* writer)
1928{
1929 QMutexLocker k(&_imp->renderQueueMutex);
1930
1931 for (std::list<RenderQueueItem>::iterator it = _imp->renderQueue.begin(); it != _imp->renderQueue.end(); ++it) {
1932 if (it->work.writer == writer) {
1933 _imp->renderQueue.erase(it);
1934 break;
1935 }
1936 }
1937}
1938
1939void
1940AppInstance::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