diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-07-11 23:32:32 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-07-11 23:32:32 +0400 |
commit | b63b8ea69df1eff52d9a4cc8c4b320c1bc3f63b8 (patch) | |
tree | 6a1f8b3311e79ab399cfdc5eeea46dfbf88caabe /source/blender/compositor/operations/COM_DirectionalBlurOperation.h | |
parent | 5aa2670d4ad3f03aed9a853d4af012bd07453c93 (diff) |
Compositor:
Added OpenCL kernel for the directional blur.
This operation always uses the full input image. In the current
implementation this input image is not cached on the device.
Future enhancement could be to cache it on the available opencl devices
Diffstat (limited to 'source/blender/compositor/operations/COM_DirectionalBlurOperation.h')
-rw-r--r-- | source/blender/compositor/operations/COM_DirectionalBlurOperation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/compositor/operations/COM_DirectionalBlurOperation.h b/source/blender/compositor/operations/COM_DirectionalBlurOperation.h index 329f855871e..0ab5e9dff2d 100644 --- a/source/blender/compositor/operations/COM_DirectionalBlurOperation.h +++ b/source/blender/compositor/operations/COM_DirectionalBlurOperation.h @@ -55,5 +55,11 @@ public: bool determineDependingAreaOfInterest(rcti *input, ReadBufferOperation *readOperation, rcti *output); void setData(NodeDBlurData *data) { this->m_data = data; } + + void executeOpenCL(OpenCLDevice* device, + MemoryBuffer *outputMemoryBuffer, cl_mem clOutputBuffer, + MemoryBuffer **inputMemoryBuffers, list<cl_mem> *clMemToCleanUp, + list<cl_kernel> *clKernelsToCleanUp); + }; #endif |