diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-07-12 00:51:00 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-07-12 00:51:00 +0400 |
commit | 4fb850c72ee15cf0a305079e8fb6d23f180fb419 (patch) | |
tree | d15b2ecb8f2ed2bb057e6ff04e2e189b347beae1 /source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h | |
parent | 83d2314edfe2c123c3151884a66c5a6ba2d849f6 (diff) |
Compositor:
re-optimized the Defocus node.
* localized MemoryBuffers
* removed read(x,y) calls
* shuffled some lines in the execute pixel
* added a readNoCheck function to the memorybuffer (only use this when
you are certain you are reading a pixel inside the memorybuffer.
Diffstat (limited to 'source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h index 6c9196c3eab..0ecfb5a542c 100644 --- a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h +++ b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h @@ -50,6 +50,10 @@ public: */ void initExecution(); + void *initializeTileData(rcti *rect, MemoryBuffer **memoryBuffers); + + void deinitializeTileData(rcti *rect, MemoryBuffer **memoryBuffers, void *data); + /** * Deinitialize the execution */ |