* 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

@@ -59,7 +59,7 @@ void OutputFileNode::convertToOperations(ExecutionSystem *graph, CompositorConte
input->relinkConnections(outputOperation->getInputSocket(i));
}
}
if (hasConnections) addPreviewOperation(graph, outputOperation->getInputSocket(0), 5);
if (hasConnections) addPreviewOperation(graph, outputOperation->getInputSocket(0));
graph->addOperation(outputOperation);
}
@@ -81,7 +81,7 @@ void OutputFileNode::convertToOperations(ExecutionSystem *graph, CompositorConte
input->relinkConnections(outputOperation->getInputSocket(0));
graph->addOperation(outputOperation);
if (!previewAdded) {
addPreviewOperation(graph, outputOperation->getInputSocket(0), 5);
addPreviewOperation(graph, outputOperation->getInputSocket(0));
previewAdded = true;
}
}