Replaced tile based memory manager with a single aligned buffer

- should increase speed with large node setups
 - enables caching of buffers in the node editor (in the future)
 - OpenCL part still needs some work
This commit is contained in:
2012-06-01 10:20:24 +00:00
parent a78dca27a2
commit 285a24b3e0
16 changed files with 92 additions and 474 deletions

View File

@@ -31,7 +31,6 @@
#include "COM_NodeBase.h"
#include "COM_WorkScheduler.h"
#include "COM_ReadBufferOperation.h"
#include "COM_MemoryManager.h"
#include "stdio.h"
#include "COM_GroupNode.h"
#include "COM_WriteBufferOperation.h"
@@ -114,8 +113,6 @@ void ExecutionSystem::execute()
order ++;
}
}
MemoryManager::initialize();
unsigned int index;
for (index = 0 ; index < this->operations.size() ; index ++) {
@@ -156,7 +153,6 @@ void ExecutionSystem::execute()
ExecutionGroup * executionGroup = this->groups[index];
executionGroup->deinitExecution();
}
MemoryManager::clear();
}
void ExecutionSystem::addOperation(NodeOperation *operation)