* Added OpenCL kernel for bokeh blur

* Uncomment COM_OPENCL_ENABLED from COM_defines.h to test
This commit is contained in:
2012-06-08 09:17:07 +00:00
parent 9564138847
commit de7fe937ff
52 changed files with 632 additions and 189 deletions

View File

@@ -39,7 +39,7 @@ void TextureNode::convertToOperations(ExecutionSystem *system, CompositorContext
operation->setTexture(texture);
operation->setScene(context->getScene());
system->addOperation(operation);
addPreviewOperation(system, operation->getOutputSocket(), 9);
addPreviewOperation(system, operation->getOutputSocket());
if (this->getOutputSocket(0)->isConnected()) {
TextureAlphaOperation *alphaOperation = new TextureAlphaOperation();