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:
@@ -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())
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user