NATRON_NAMESPACE_ANONYMOUS_EXIT ActionRetCodeEnum ViewerRenderFrameSubResult::waitForResultsReady(const TreeRenderQueueProviderPtr& provider) { for (int i = 0; i < 2; ++i) { if (perInputsData[i].render) { ActionRetCodeEnum stat = provider->waitForRenderFinished(perInputsData[i].render); if (isFailureRetCode(stat)) { return stat; } onTreeRenderFinished(i); } } return eActionStatusOK; }
void TreeRenderQueueProvider::notifyTreeRenderFinished(const TreeRenderPtr& render) { onTreeRenderFinished(render); }