diff options
author | Monique Dewanchand <m.dewanchand@atmind.nl> | 2012-06-01 14:20:24 +0400 |
---|---|---|
committer | Monique Dewanchand <m.dewanchand@atmind.nl> | 2012-06-01 14:20:24 +0400 |
commit | 285a24b3e07b3441e98a0a502c42af50b9738f3a (patch) | |
tree | 8b767dd73e3d5317c29f07621663fb8f0d4cf3f5 /source/blender/compositor/intern/COM_ExecutionGroup.h | |
parent | a78dca27a22d1d434dcde6d589cc7969c5039565 (diff) |
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
Diffstat (limited to 'source/blender/compositor/intern/COM_ExecutionGroup.h')
-rw-r--r-- | source/blender/compositor/intern/COM_ExecutionGroup.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/source/blender/compositor/intern/COM_ExecutionGroup.h b/source/blender/compositor/intern/COM_ExecutionGroup.h index adab7df4690..cbdc9bb1787 100644 --- a/source/blender/compositor/intern/COM_ExecutionGroup.h +++ b/source/blender/compositor/intern/COM_ExecutionGroup.h @@ -334,8 +334,16 @@ public: * @param chunkNumber the chunk to be calculated * @return MemoryBuffer** the inputbuffers */ - MemoryBuffer** getInputBuffers(int chunkNumber); - + MemoryBuffer** getInputBuffersCPU(); + + /** + * @brief get all inputbuffers needed to calculate an chunk + * @note all inputbuffers must be executed + * @param chunkNumber the chunk to be calculated + * @return MemoryBuffer** the inputbuffers + */ + MemoryBuffer** getInputBuffersOpenCL(int chunkNumber); + /** * @brief allocate the outputbuffer of a chunk * @param chunkNumber the number of the chunk in the ExecutionGroup |