Added IncrementalCompileOperation::compileAllForNextFrame(uint) method and supporting

functionality that  tell the IncrementalCompileOperation to compile all pending objects during next draw traversal,
for specified number of frames.
This commit is contained in:
Robert Osfield
2011-04-18 12:35:19 +00:00
parent a74289614d
commit 8ffa50a88e
5 changed files with 61 additions and 21 deletions

View File

@@ -1075,7 +1075,7 @@ void CompositeViewer::updateTraversal()
if (_incrementalCompileOperation.valid())
{
// merge subgraphs that have been compiled by the incremental compiler operation.
_incrementalCompileOperation->mergeCompiledSubgraphs();
_incrementalCompileOperation->mergeCompiledSubgraphs(getFrameStamp());
}
if (_updateOperations.valid())

View File

@@ -983,7 +983,7 @@ void Viewer::updateTraversal()
if (_incrementalCompileOperation.valid())
{
// merge subgraphs that have been compiled by the incremental compiler operation.
_incrementalCompileOperation->mergeCompiledSubgraphs();
_incrementalCompileOperation->mergeCompiledSubgraphs(getFrameStamp());
}
{