Compositor read buffers work directly on the memory buffer.

This way we can remove the memoryBuffers parameter in the executePixels,
and (de)initializeTileData methods
This commit is contained in:
2012-07-11 10:45:56 +00:00
parent 74625c8d54
commit c25240ad54
20 changed files with 64 additions and 73 deletions

View File

@@ -129,6 +129,13 @@ void ExecutionSystem::execute()
operation->setbNodeTree(this->m_context.getbNodeTree());
operation->initExecution();
}
for (index = 0; index < this->m_operations.size(); index++) {
NodeOperation *operation = this->m_operations[index];
if (operation->isReadBufferOperation()) {
ReadBufferOperation *readOperation = (ReadBufferOperation *)operation;
readOperation->updateMemoryBuffer();
}
}
for (index = 0; index < this->m_groups.size(); index++) {
ExecutionGroup *executionGroup = this->m_groups[index];
executionGroup->setChunksize(this->m_context.getChunksize());