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/nodes/COM_DirectionalBlurNode.cpp | |
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/nodes/COM_DirectionalBlurNode.cpp')
-rw-r--r-- | source/blender/compositor/nodes/COM_DirectionalBlurNode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/compositor/nodes/COM_DirectionalBlurNode.cpp b/source/blender/compositor/nodes/COM_DirectionalBlurNode.cpp index dee0e6a88da..85fc63ae8cb 100644 --- a/source/blender/compositor/nodes/COM_DirectionalBlurNode.cpp +++ b/source/blender/compositor/nodes/COM_DirectionalBlurNode.cpp @@ -37,6 +37,7 @@ void DirectionalBlurNode::convertToOperations(ExecutionSystem *graph, Compositor DirectionalBlurOperation *operation = new DirectionalBlurOperation(); operation->setQuality(context->getQuality()); operation->setData(data); + operation->setbNode(this->getbNode()); this->getInputSocket(0)->relinkConnections(operation->getInputSocket(0), 0, graph); this->getOutputSocket(0)->relinkConnections(operation->getOutputSocket()); graph->addOperation(operation); |