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

Method startRenderingFullSequence

Engine/AppInstance.cpp:1903–1925  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1901}
1902
1903void
1904AppInstancePrivate::startRenderingFullSequence(bool blocking,
1905 const RenderQueueItem& w)
1906{
1907 if (blocking) {
1908 BlockingBackgroundRender backgroundRender(w.work.writer);
1909 backgroundRender.blockingRender(w.work.useRenderStats, w.work.firstFrame, w.work.lastFrame, w.work.frameStep); //< doesn't return before rendering is finished
1910 return;
1911 }
1912
1913
1914 {
1915 QMutexLocker k(&renderQueueMutex);
1916 activeRenders.push_back(w);
1917 }
1918
1919
1920 if (w.process) {
1921 w.process->startProcess();
1922 } else {
1923 w.work.writer->renderFullSequence(false, w.work.useRenderStats, NULL, w.work.firstFrame, w.work.lastFrame, w.work.frameStep);
1924 }
1925}
1926
1927void
1928AppInstance::onQueuedRenderFinished(int /*retCode*/)

Callers 2

startWritersRenderingMethod · 0.80
startNextQueuedRenderMethod · 0.80

Calls 4

blockingRenderMethod · 0.80
startProcessMethod · 0.80
renderFullSequenceMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected